Remove stray spurious-underflow markings from cexp test.
[glibc.git] / ChangeLog
blob34de35ecf732387065c6d1dade45035c7f3b8ccf
1 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
3         * math/auto-libm-test-in: Remove spurious underflow allowance for
4         tests of cexp.
5         * math/auto-libm-test-out: Regenerated.
7         [BZ #18558]
8         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
9         unconditional definition.
10         (MCAST_BLOCK_SOURCE): Likewise.
11         (MCAST_UNBLOCK_SOURCE): Likewise.
12         (MCAST_LEAVE_GROUP): Likewise.
13         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
15         (MCAST_MSFILTER): Likewise.
16         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
17         Remove variable.
18         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
21         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
22         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
24 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
26         * NEWS: Mention addition of x86_64 vector sincosf.
27         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
28         * math/test-float-vlen4.h: Likewise.
29         * math/test-float-vlen8.h: Likewise.
30         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
31         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
32         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33         * sysdeps/x86_64/fpu/Versions: New versions added.
34         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
36         Added build of SSE, AVX2 and AVX512 IFUNC versions.
37         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
38         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
39         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
40         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
41         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
42         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
43         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
44         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
45         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
46         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
47         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
48         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
49         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
50         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
51         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
52         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
53         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
54         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
55         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
56         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
57         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
59         * NEWS: Mention addition of x86_64 vector sincos.
60         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
61         * math/math.h (__MATHDECL_VEC): New macro.
62         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
63         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
64         declaration under condition.
65         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
66         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
67         TEST_VEC_LOOP change.
68         * math/test-double-vlen4.h: Likewise.
69         * math/test-double-vlen8.h: Likewise.
70         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
71         * math/test-float-vlen4.h: Likewise.
72         * math/test-float-vlen8.h: Likewise.
73         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
74         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
75         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
76         * sysdeps/x86_64/fpu/Versions: New versions added.
77         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
78         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
79         Added build of SSE, AVX2 and AVX512 IFUNC versions.
80         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
81         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
82         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
83         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
84         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
85         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
86         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
87         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
88         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
89         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
90         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
91         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
92         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
93         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
94         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
95         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
96         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
97         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
98         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
99         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
100         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
102         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
103         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
104         redirections for powf.
105         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
106         * sysdeps/x86_64/fpu/Versions: New versions added.
107         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
108         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
109         Added build of SSE, AVX2 and AVX512 IFUNC versions.
110         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
111         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
112         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
113         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
114         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
115         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
116         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
117         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
118         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
119         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
120         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
121         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
122         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
123         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
124         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
125         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
126         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
127         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
128         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
129         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
130         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
131         * math/test-float-vlen16.h: Fixed 2 argument macro.
132         * math/test-float-vlen4.h: Likewise.
133         * math/test-float-vlen8.h: Likewise.
134         * NEWS: Mention addition of x86_64 vector powf.
136 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
138         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
139         and redefine.
140         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
141         and redefine.
142         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
143         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
144         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
146         [BZ #18553]
147         * resource/getpriority.c (getpriority): Rename to __getpriority
148         and define as weak alias of __getpriority.
149         * resource/setpriority.c (setpriority): Rename to __setpriority
150         and define as weak alias of __setpriority.
151         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
152         __getpriority and define as weak alias of __getpriority.
153         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
154         __setpriority and define as weak alias of __setpriority.
155         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
156         strong name.
157         (setpriority): Use __setpriority as strong name.
158         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
159         __getpriority and define as weak alias of __getpriority.
160         * include/sys/resource.h (__getpriority): Declare.  Use
161         libc_hidden_proto.
162         (__setpriority): Likewise.
163         (getpriority): Don't use libc_hidden_proto.
164         (setpriority): Likewise.
165         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
166         getpriority.  Call __setpriority instead of setpriority.
167         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
168         Remove variable.
170         [BZ #18547]
171         * misc/getttyent.c (getttynam): Rename to __getttynam and define
172         as weak alias of __getttynam.  Use prototype function definition.
173         Call __setttyent, __getttyent and __endttyent instead of
174         setttyent, getttyent and endttyent.
175         (getttyent): Rename to __getttyent and define as weak alias of
176         __getttyent.  Call __setttyent instead of setttyent.  Call
177         __fgets_unlocked instead of fgets_unlocked.
178         (setttyent): Rename to __setttyent and define as weak alias of
179         __setttyent.
180         (endttyent): Rename to __endttyent and define as weak alias of
181         __endttyent.
182         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
183         (__setttyent): Likewise.
184         (__endttyent): Likewise.
185         (getttyent): Don't use libc_hidden_proto.
186         (setttyent): Likewise.
187         (endttyent): Likewise.
188         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
189         __endttyent instead of setttyent, getttyent and endttyent.
190         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
191         Remove variable.
193         [BZ #18546]
194         * socket/recv.c (__recv): Use libc_hidden_def.
195         * socket/socket.c (__socket): Likewise.
196         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
197         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
198         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
199         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
200         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
201         libc_hidden_def.
202         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
203         libc_hidden_weak.
204         * include/sys/socket.h (__socket): Do not use attribute_hidden.
205         Use libc_hidden_proto.
206         (__recv): Likewise.
207         * socket/Versions (libc): Export __recv and __socket at version
208         GLIBC_PRIVATE.
209         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
210         instead of recv.
211         (init_mq_netlink): Call __socket instead of socket.
212         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
213         Remove variable.
215         [BZ #18545]
216         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
217         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
218         hidden_weak.
219         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
220         define as alias of __mq_timedsend.  Use hidden_weak.
221         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
222         __mq_timedsend as strong name.
223         (mq_timedreceive): Use __mq_timedreceive as strong name.
224         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
225         (__mq_timedreceive): Likewise.
226         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
227         __mq_timedreceive instead of mq_timedreceive.
228         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
229         instead of mq_timedsend.
230         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
231         Remove variable.
233         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
234         hidden_def and hidden_weak instead of libc_hidden_def and
235         libc_hidden_weak.
236         (top level): Refer to hidden_def in comment.
237         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
238         macro.  Use it instead of libc_hidden_def.
239         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
240         specify __GI_* name explicitly.
241         (mq_timedreceive): Likewise.
242         (mq_setattr): Likewise.
244         [BZ #18544]
245         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
246         __pthread_barrier_init and define as weak alias of
247         __pthread_barrier_init.
248         * sysdeps/sparc/nptl/pthread_barrier_init.c
249         (pthread_barrier_init): Likewise.
250         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
251         __pthread_barrier_wait and define as weak alias of
252         __pthread_barrier_wait.
253         * sysdeps/sparc/nptl/pthread_barrier_wait.c
254         (pthread_barrier_wait): Likewise.
255         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
256         (pthread_barrier_wait): Likewise.
257         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
258         (pthread_barrier_wait): Likewise.
259         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
260         (pthread_barrier_wait): Likewise.
261         * nptl/Versions (libpthread): Export __pthread_barrier_init and
262         __pthread_barrier_wait at version GLIBC_PRIVATE.
263         * include/pthread.h (__pthread_barrier_init): Declare.
264         (__pthread_barrier_wait): Likewise.
265         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
266         Call __pthread_barrier_wait instead of pthread_barrier_wait.
267         (helper_thread): Likewise.
268         (init_mq_netlink): Call __pthread_barrier_init instead of
269         pthread_barrier_init.
271         [BZ #18542]
272         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
273         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
274         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
275         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
276         vswscanf.
277         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
278         Remove variable.
280         [BZ #18540]
281         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
282         strong alias of _IO_fflush.  Use libc_hidden_def.
283         * libio/iofflush_u.c (fflush_unlocked): Rename to
284         __fflush_unlocked and define as weak alias of __fflush_unlocked.
285         Use libc_hidden_weak.
286         * include/stdio.h (__fflush_unlocked): Declare.  Use
287         libc_hidden_proto.
288         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
289         fflush_unlocked.
290         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
291         Remove variable.
293         [BZ #18539]
294         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
295         define as weak alias of __addseverity.
296         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
297         Remove variable.
298         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
299         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
300         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
302         [BZ #18536]
303         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
304         (__tfind): Likewise.
305         (__tdelete): Likewise.
306         (__twalk): Likewise.
307         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
308         __twalk to GLIBC_PRIVATE.
309         * include/search.h (__tsearch): Use libc_hidden_proto.
310         (__tfind): Likewise.
311         (__tdelete): Likewise.
312         (__twalk): Likewise.
313         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
314         Call __tdelete instead of tdelete.
315         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
316         tfind.  Call __tsearch instead of tsearch.
317         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
318         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
319         Remove variable.
320         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
322         [BZ #18534]
323         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
324         (dprintf): Define as a weak alias of __dprintf, not a strong
325         alias.
326         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
327         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
328         dprintf.
329         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
330         Remove variable.
331         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
332         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
334         [BZ #18533]
335         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
336         not a strong alias.
337         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
338         Remove variable.
340         [BZ #18532]
341         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
342         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
343         (in6addr_loopback): Rename to __in6addr_loopback and define as
344         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
345         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
346         libc_hidden_proto.
347         (__in6addr_any): Likewise.
348         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
349         in6addr_any.
350         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
351         variable.
352         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
354 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
356         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
357         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
358         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
359         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
360         redirections for pow.
361         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
362         * sysdeps/x86_64/fpu/Versions: New versions added.
363         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
364         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
365         build of SSE, AVX2 and AVX512 IFUNC versions.
366         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
367         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
368         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
369         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
370         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
371         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
372         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
373         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
374         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
375         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
376         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
377         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
378         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
379         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
380         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
381         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
382         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
383         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
384         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
385         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
386         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
387         * NEWS: Mention addition of x86_64 vector pow.
389         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
390         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
391         redirections for expf.
392         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
393         * sysdeps/x86_64/fpu/Versions: New versions added.
394         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
395         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
396         build of SSE, AVX2 and AVX512 IFUNC versions.
397         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
398         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
399         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
400         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
401         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
402         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
403         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
404         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
405         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
406         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
407         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
408         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
409         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
410         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
411         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
412         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
413         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
414         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
415         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
416         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
417         * NEWS: Mention addition of x86_64 vector expf.
419         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
420         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
421         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
422         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
423         redirections for exp.
424         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
425         * sysdeps/x86_64/fpu/Versions: New versions added.
426         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
427         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
428         build of SSE, AVX2 and AVX512 IFUNC versions.
429         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
430         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
431         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
432         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
433         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
434         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
435         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
436         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
437         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
438         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
439         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
440         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
441         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
442         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
443         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
444         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
445         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
446         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
447         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
448         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
449         * NEWS: Mention addition of x86_64 vector exp.
451         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
452         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
453         redirections for logf.
454         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
455         * sysdeps/x86_64/fpu/Versions: New versions added.
456         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
457         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
458         build of SSE, AVX2 and AVX512 IFUNC versions.
459         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
460         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
461         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
462         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
463         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
464         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
465         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
466         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
467         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
468         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
469         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
470         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
471         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
472         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
473         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
474         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
475         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
476         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
477         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
478         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
479         * NEWS: Mention addition of x86_64 vector logf.
481         * bits/libm-simd-decl-stubs.h: Added stubs for log.
482         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
483         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
484         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
485         redirections for log.
486         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
487         * sysdeps/x86_64/fpu/Versions: New versions added.
488         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
489         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
490         build of SSE, AVX2 and AVX512 IFUNC versions.
491         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
492         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
493         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
494         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
495         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
496         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
497         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
498         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
499         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
500         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
501         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
502         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
503         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
504         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
505         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
506         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
507         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
508         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
509         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
510         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
511         * NEWS: Mention addition of x86_64 vector log.
513 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
515         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
516         cfi_adjust_cfa_offset argument.
517         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
518         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
520         [BZ #18034]
521         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
522         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
523         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
524         ordering using ldar.
525         (_dl_tlsdesc_dynamic): Likewise.
526         (_dl_tlsdesc_return_lazy): Likewise.
527         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
528         relaxed atomics instead of volatile and synchronize with release store.
529         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
530         volatile.
531         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
533 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
535         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
536         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
537         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
538         * sysdeps/x86_64/fpu/Versions: New versions added.
539         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
540         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
541         build of SSE, AVX2 and AVX512 IFUNC versions.
542         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
543         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
544         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
545         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
546         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
547         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
548         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
549         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
550         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
551         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
552         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
553         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
554         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
555         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
556         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
557         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
558         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
559         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
560         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
561         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
562         * NEWS: Mention addition of x86_64 vector sinf.
564 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
566         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
567         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
568         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
569         Remove variable.
570         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
571         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
573 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
575         [BZ #18530]
576         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
577         strong alias of _IO_fputs.  Use libc_hidden_def.
578         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
579         and define as weak alias of __fputs_unlocked.  Use
580         libc_hidden_weak.
581         * include/stdio.h (__fputs_unlocked): Declare.  Use
582         libc_hidden_proto.
583         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
584         fputs_unlocked.
586         [BZ #18529]
587         * resolv/netdb.h [__USE_POSIX]: Change condition to
588         [__USE_XOPEN2K].
589         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
590         not expect.
591         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
592         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
593         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
594         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
595         [XPG4 || UNIX98] (AI_ALL): Likewise.
596         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
597         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
598         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
599         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
600         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
601         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
602         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
603         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
604         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
605         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
606         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
607         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
608         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
609         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
610         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
611         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
612         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
613         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
614         [XPG4 || UNIX98] (gai_strerror): Likewise.
615         [XPG4 || UNIX98] (getaddrinfo): Likewise.
616         [XPG4 || UNIX98] (getnameinfo): Likewise.
618         [BZ #18528]
619         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
620         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
621         __USE_XOPEN2K8].
622         (getgrent): Likewise.
623         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
624         expect.
625         [XPG3 || POSIX2008] (endgrent): Likewise.
626         [XPG3] (setgrent): Likewise.
627         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
628         variable.
629         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
631         [BZ #18527]
632         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
633         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
634         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
635         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
636         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
637         * include/unistd.h (__getlogin_r): Declare.  Use
638         libc_hidden_proto.
639         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
640         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
641         variable.
642         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
643         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
644         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
646 2015-06-12  Martin Sebor  <msebor@redhat.com>
648         [BZ #18512]
649         * Makerules (check-install-supported): New target.
650         (install): Add check-install-supported as a dependency.
651         * manual/install.texi (Installing the C Library): Document
652         that overriding prefix and exec_prefix is not supported.
653         Mention DESTDIR.
654         * INSTALL: Regenerate from the above.
656 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
658         [BZ #18519]
659         * posix/Versions (libc): Export __libc_pread at version
660         GLIBC_PRIVATE.
661         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
662         instead of pread.
663         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
664         variable.
666         [BZ #18522]
667         * misc/efgcvt_r.c
668         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
669         (cvt_symbol): Use weak_alias instead of strong_alias.
670         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
671         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
672         Remove variable.
673         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
674         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
676         [BZ #18520]
677         * inet/herrno.c (h_errno): Rename to __h_errno.
678         (__libc_h_errno): Define as alias of __h_errno not h_errno.
679         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
680         to __h_errno instead of h_errno.
681         * nptl/herrno.c (h_errno): Rename to __h_errno.
682         (__h_errno_location): Refer to __h_errno not h_errno.
683         * resolv/Versions (h_errno): Rename to __h_errno.
684         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
685         Remove variable.
686         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
688 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
690         * configure.ac: More strict check for AVX512 assembler support.
691         * configure: Regenerated.
693         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
694         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
695         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
696         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
697         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
698         * sysdeps/x86_64/fpu/Versions: New versions added.
699         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
700         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
701         build of SSE, AVX2 and AVX512 IFUNC versions.
702         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
703         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
704         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
705         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
706         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
707         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
708         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
709         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
710         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
711         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
712         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
713         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
714         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
715         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
716         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
717         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
718         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
719         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
720         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
721         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
722         * NEWS: Mention addition of x86_64 vector sin.
724 2015-06-11  Florian Weimer  <fweimer@redhat.com>
726         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
727         comment.
729 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
731         [BZ #18479]
732         * nptl/pt-interp.c: New file.
733         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
734         Add pt-interp.
735         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
736         $(common-objpfx)runtime-linker.h.
738 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
740         * Makeconfig (+interp): Remove unused variable.
741         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
742         only.  Depend on $(common-objpfx)runtime-linker.h instead of
743         $(elf-objpfx)runtime-linker.h.
744         ($(elf-objpfx)runtime-linker.h): Rename to
745         $(common-objpfx)runtime-linker.h and move ...
746         * Makerules [$(build-shared) = yes]: ... here.
747         * elf/interp.c: Include <runtime-linker.h> instead of
748         <elf/runtime-linker.h>.
750 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
752         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
753         (__gettimeofday_syscall): Remove vsyscall fallback.
754         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
755         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
756         Add syscall fallback function.
757         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
758         if vDSO is not present.
759         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
760         fallback function.
761         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
762         present.
763         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
764         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
766 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
768         [BZ #18497]
769         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
770         of wcscmp.
771         (wcscmp): Define as weak alias of WCSCMP.
772         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
773         wcscoll.
774         (USE_HIDDEN_DEF): Define.
775         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
776         __wcscoll.  Don't use libc_hidden_weak.
777         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
778         wcscmp.
779         * sysdeps/i386/i686/multiarch/wcscmp-c.c
780         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
781         __GI_wcscmp.
782         (weak_alias): Undefine and redefine.
783         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
784         __wcscmp and define as weak alias of __wcscmp.
785         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
786         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
787         (__wcscoll): Likewise.
788         (wcscmp): Don't use libc_hidden_proto.
789         (wcscoll): Likewise.
790         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
791         wcscoll.
792         * posix/regexec.c (check_node_accept_bytes): Likewise.
793         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
794         variable.
795         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
796         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
798         [BZ #18507]
799         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
800         __fstatvfs and define as weak alias of __fstatvfs.  Use
801         libc_hidden_weak.
802         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
803         and define as weak alias of __statvfs.  Use libc_hidden_weak.
804         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
805         Define as alias of __fstatvfs, not fstatvfs.
806         (fstatvfs64): Likewise.
807         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
808         Define as alias of __statvfs, not statvfs.
809         (statvfs64): Likewise.
810         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
811         Remove variable.
813 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
816         (HAVE_GETCPU_VSYSCALL): Define.
817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
818         (HAVE_GETCPU_VSYSCALL): Likewise.
819         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
820         * sysdeps/unix/sysv/linux/sched_getcpu.c
821         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
822         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
823         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
824         prototype.
825         * sysdeps/unix/sysv/linux/x86_64/init-first.c
826         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
827         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
828         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
829         Define.
830         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
831         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
832         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
833         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
835 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
837         * sysdeps/x86_64/fpu/Makefile: New file.
838         * sysdeps/x86_64/fpu/Versions: New file.
839         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
840         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
841         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
842         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
843         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
844         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
845         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
846         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
847         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
848         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
849         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
850         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
851         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
852         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
853         build of SSE, AVX2 and AVX512 IFUNC versions.
854         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
855         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
856         * sysdeps/x86_64/configure.ac: Options for libmvec build.
857         * sysdeps/x86_64/configure: Regenerated.
858         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
859         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
860         * manual/install.texi (Configuring and compiling): Document
861         --disable-mathvec.
862         * INSTALL: Regenerated.
863         * NEWS: Mention addition of libmvec and x86_64 vector cos.
865         * math/Makefile: Added rules for vector tests.
866         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
867         declaration under condition.
868         * math/test-double-vlen2.h: New file.
869         * math/test-double-vlen4.h: New file.
870         * math/test-double-vlen8.h: New file.
871         * math/test-vec-loop.h: Added initialization macro.
872         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
873         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
874         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
875         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
876         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
877         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
878         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
879         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
880         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
881         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
882         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
884         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
885         * sysdeps/x86_64/fpu/Versions: New versions added.
886         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
887         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
888         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
889         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
890         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
891         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
892         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
893         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
894         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
895         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
896         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
897         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
898         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
899         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
900         build of SSE, AVX2 and AVX512 IFUNC versions.
901         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
902         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
903         * NEWS: Mention addition of x86_64 vector cosf.
905         * math/Makefile: Added CFLAGS for new tests.
906         * math/test-float-vlen16.h: New file.
907         * math/test-float-vlen4.h: New file.
908         * math/test-float-vlen8.h: New file.
909         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
910         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
911         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
912         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
913         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
914         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
915         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
916         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
917         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
918         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
919         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
921 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
923         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
924         * locale/programs/ld-ctype.c: Likewise.
926 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
928         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
929         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
930         bit_ZMM16_31_state): New macro.
931         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
932         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
934 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
936         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
938 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
940         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
942 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
944         [BZ #18498]
945         * libio/memstream.c (open_memstream): Rename to __open_memstream
946         and define as weak alias of __open_memstream.
947         * include/stdio.h (__open_memstream): Declare.  Use
948         libc_hidden_proto.
949         (open_memstream): Don't use libc_hidden_proto.
950         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
951         open_memstream.
952         * posix/getopt.c (_getopt_internal_r): Likewise.
953         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
954         variable.
955         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
956         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
957         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
959         [BZ #18496]
960         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
961         instead of wcrtomb.
963         [BZ #18483]
964         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
965         [__USE_XOPEN2K8].  Remove redundant #endif.
966         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
967         Remove redundant #if.
968         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
969         Remove variable.
970         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
971         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
973         [BZ #18495]
974         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
975         (__iswlower): Likewise.
976         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
977         (__iswlower): Likewise.
978         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
979         instead of towlower.
980         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
981         instead of iswlower.  Call __towupper instead of towupper.
982         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
983         instead of iswalnum.
985 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
987         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
988         errors to stderr.
990 2015-06-05  Florian Weimer  <fweimer@redhat.com>
992         [BZ #15661]
993         [BZ #17322]
994         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
995         Check for overflow properly.  Check for O_APPEND.  Ignore large
996         file system block sizes.  Add comments about problems.
997         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
998         * manual/filesys.texi (Storage Allocation): New node.
1000 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1002         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
1003         cancellable syscalls.
1004         (SYS_ify): Add guard to no redefine it.
1005         (INLINE_SYSCALL): Likewise.
1006         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
1007         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
1008         SYSCALL_CANCEL instead.
1009         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
1010         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1011         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1012         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1013         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1014         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
1015         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
1016         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
1017         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1018         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1019         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
1020         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
1021         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
1022         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
1023         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
1024         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1025         Likewise.
1026         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1027         (__libc_pread64): Likewise.
1028         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
1029         (__libc_preadv): Likewise.
1030         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
1031         (__libc_readv64): Likewise.
1032         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1033         (__libc_pwrite): Likewise.
1034         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1035         (__libc_pwrite64): Likewise.
1036         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
1037         (__libc_pwritev): Likewise.
1038         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
1039         (__libc_pwritev64): Likewise.
1040         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
1041         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
1042         (sync_file_range): Likewise.
1043         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
1044         Likewise.
1045         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
1046         Likewise.
1047         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1048         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1049         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1050         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1051         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1052         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1053         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1054         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
1055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1056         Likewise.
1057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1058         (__libc_read64): Likewise.
1059         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
1060         Likewise.
1061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
1062         Likewise.
1063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
1064         Likewise.
1065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
1066         Likewise.
1067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
1068         (__libc_pread64): Likewise.
1069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
1070         Likewise.
1071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
1072         (__libc_pwrite64): Likewise.
1073         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
1074         (sync_file_range): Likewise.
1075         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
1076         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1077         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1078         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
1079         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
1080         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1081         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1082         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
1083         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
1084         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
1085         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
1086         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1087         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1088         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1089         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
1090         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1091         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1092         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1093         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1094         Likewise.
1095         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
1096         Likewise.
1097         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
1098         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
1099         Likewise.
1100         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
1101         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
1102         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
1103         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
1104         Likewise.
1105         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
1106         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
1107         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
1108         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
1109         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
1111 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
1113         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
1114         Include dl-vdso.
1115         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
1116         Use VDSO routines for gettimeofday, clock_gettime if
1117         available.
1118         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
1119         Declare VDSO symbols.
1120         * sysdeps/unix/sysv/linux/arm/sysdep.h:
1121         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
1122         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1123         * sysdeps/unix/sysv/linux/arm/Versions: Add
1124         __vdso_clock_gettime.
1126 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1128         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
1129         be an inline implementation regardless of library is built within.
1130         (open_not_cancel_2): Likewise.
1131         (__read_nocancel): Likewise.
1132         (__write_nocancel): Likewise.
1133         (openat_not_cancel): Likewise.
1134         (openat_not_cancel_3): Likewise.
1135         (openat64_not_cancel): Likewise.
1136         (openat64_not_cancel_3): Likewise.
1137         (__close_nocancel): Likewise.
1138         (pause_not_cancel): Likewise.
1139         (nanosleep_not_cancel): Likewise.
1140         (sigsuspend_not_cancel): Likewise.
1142 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1144         [BZ #14958]
1145         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1146         wake-up.
1147         (__pthread_rwlock_rdlock_slow): Likewise.
1148         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1149         Likewise.
1150         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1151         Likewise.
1152         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1153         * nptl/tst-rwlock16.c: New file.
1154         * nptl/Makefile (tests): Add new test.
1156 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1158         [BZ #18324]
1159         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1160         missing wake-up of readers.
1161         * nptl/tst-rwlock15.c: New file.
1162         * nptl/Makefile (tests): Add new test.
1164 2015-06-03  Roland McGrath  <roland@hack.frob.com>
1166         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1167         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1168         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1169         and __nacl_supply_interface_rtld.
1170         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1171         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1172         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1173         Add __nacl_supply_interface_rtld.
1174         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1176 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1178         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1179         isfinite.
1180         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1181         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1183 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1185         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1186         __signbit* with standard C99 macros.
1187         * math/e_exp10l.c: Likewise.
1188         * math/e_exp2l.c: Likewise.
1189         * math/e_scalb.c: Likewise.
1190         * math/e_scalbf.c: Likewise.
1191         * math/e_scalbl.c: Likewise.
1192         * math/s_ldexp.c: Likewise.
1193         * math/s_ldexpf.c: Likewise.
1194         * math/s_ldexpl.c: Likewise.
1195         * math/w_atan2.c: Likewise.
1196         * math/w_atan2f.c: Likewise.
1197         * math/w_atan2l.c: Likewise.
1198         * math/w_cosh.c: Likewise.
1199         * math/w_coshf.c: Likewise.
1200         * math/w_coshl.c: Likewise.
1201         * math/w_exp10.c: Likewise.
1202         * math/w_exp10f.c: Likewise.
1203         * math/w_exp10l.c: Likewise.
1204         * math/w_exp2.c: Likewise.
1205         * math/w_exp2f.c: Likewise.
1206         * math/w_exp2l.c: Likewise.
1207         * math/w_fmod.c: Likewise.
1208         * math/w_fmodf.c: Likewise.
1209         * math/w_fmodl.c: Likewise.
1210         * math/w_hypot.c: Likewise.
1211         * math/w_hypotf.c: Likewise.
1212         * math/w_hypotl.c: Likewise.
1213         * math/w_jnl.c: Likewise.
1214         * math/w_lgamma.c: Likewise.
1215         * math/w_lgamma_r.c: Likewise.
1216         * math/w_lgammaf.c: Likewise.
1217         * math/w_lgammaf_r.c: Likewise.
1218         * math/w_lgammal.c: Likewise.
1219         * math/w_lgammal_r.c: Likewise.
1220         * math/w_pow.c: Likewise.
1221         * math/w_powf.c: Likewise.
1222         * math/w_powl.c: Likewise.
1223         * math/w_remainder.c: Likewise.
1224         * math/w_remainderf.c: Likewise.
1225         * math/w_remainderl.c: Likewise.
1226         * math/w_scalb.c: Likewise.
1227         * math/w_scalbf.c: Likewise.
1228         * math/w_scalbl.c: Likewise.
1229         * math/w_scalbln.c: Likewise.
1230         * math/w_scalblnf.c: Likewise.
1231         * math/w_scalblnl.c: Likewise.
1232         * math/w_sinh.c: Likewise.
1233         * math/w_sinhf.c: Likewise.
1234         * math/w_sinhl.c: Likewise.
1235         * math/w_tgamma.c: Likewise.
1236         * math/w_tgammaf.c: Likewise.
1237         * math/w_tgammal.c: Likewise.
1238         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1239         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1240         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1241         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1242         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1243         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1244         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1245         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1246         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1247         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1248         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1249         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1250         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1251         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1252         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1253         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1254         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1255         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1256         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1257         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1258         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1259         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1260         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1261         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1262         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1263         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1264         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1265         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1266         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1267         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1268         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1269         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1270         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1271         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1272         * stdio-common/printf_fp.c: Likewise.
1273         * stdio-common/printf_fphex.c: Likewise.
1274         * stdio-common/printf_size.c: Likewise.
1276 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
1278         [BZ #18470]
1279         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1280         strnlen.
1281         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1282         Remove variable.
1283         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1284         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1285         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1286         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1287         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1288         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1289         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1290         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1291         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1292         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1294         [BZ #18468]
1295         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1296         weak alias of __wmemchr.  Use libc_hidden_weak.
1297         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
1298         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1299         instead of wmemchr.
1301 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1303         [BZ #18383]
1304         * elf/tst-tlsalign-extern.c: New file.
1305         * elf/tst-tlsalign-extern-static.c: New file.
1306         * elf/tst-tlsalign-vars.c: New file.
1307         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1308         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1309         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1310         ($(objpfx)tst-tlsalign-extern-static): Likewise.
1311         (test-xfail-tst-tlsalign-extern-static): New variable.
1313 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
1315         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1316         Use variable name _sc_err instead of err.
1317         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1318         instead of ret.
1319         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1320         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1321         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1322         (INLINE_SYSCALL): Likewise.
1324         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1325         * include/string.h (__strnlen): Use libc_hidden_proto.
1326         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1327         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1328         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1329         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1330         (libc_hidden_def): Undefine and redefine.
1331         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1332         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1333         __GI_strnlen.
1334         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1335         libc_hidden_def.
1336         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1338         [BZ #18469]
1339         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1340         weak alias of __towlower.  Use libc_hidden_weak.
1341         (towupper): Rename to __towupper and define as weak alias of
1342         __towupper.  Use libc_hidden_weak.
1343         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
1344         (__towupper): Likewise.
1345         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1346         __towlower instead of towlower.
1348 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1350         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1351         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1353 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1355         * sysdeps/aarch64/libm-test-ulps: Update.
1357 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1359         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1360         Define.
1361         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1362         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1363         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1364         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1365         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1366         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1367         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1369 2015-06-01  Martin Sebor  <msebor@redhat.com>
1371         [BZ #18116]
1372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1373         (__setcontext): Use extended four-operand version of mtsf whenever
1374         possible.
1375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1376         (__novec_swapcontext): Likewise.
1378 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1380         * benchtests/scripts/compare_bench.py: New file.
1381         * benchtests/scripts/import_bench.py (mean): New function.
1382         (split_list): Likewise.
1383         (do_for_all_timings): Likewise.
1384         (compress_timings): Likewise.
1386         * benchtests/scripts/import_bench.py: New file.
1387         * benchtests/scripts/validate_benchout.py: Import import_bench
1388         instead of jsonschema.
1389         (validate_bench): Remove function.
1390         (main): Use import_bench.
1392 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
1394         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1395         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1397 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1399         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1401 2015-05-28  Roland McGrath  <roland@hack.frob.com>
1403         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1404         set THREAD_SELF->tid to a magic value and futex-wake it.
1405         Pass its address to the thread_exit system call.
1406         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1407         bit is clear.
1408         * sysdeps/nacl/lowlevellock.h: New file.
1409         * sysdeps/nacl/lll_timedwait_tid.c: New file.
1411         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1412         Add TIMEOUT to current time, don't subtract it.
1414 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
1416         [BZ #18422]
1417         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1418         ($(objpfx)tst-audit2.out): Also depend on
1419         $(objpfx)tst-auditmod9b.so.
1420         * elf/tst-audit2.c: Include <dlfcn.h>.
1421         (calloc_called): New.
1422         (calloc): Allow to be called more than once.
1423         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1425 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
1427         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1428         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1430 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
1432         * stdlib/monetary.h: Fix comment.
1434 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
1436         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1437         Avoid using variables in #defines that might cause shadowing.
1438         (INTERNAL_VSYSCALL_CALL): Likewise.
1440 2015-05-26  Roland McGrath  <roland@hack.frob.com>
1442         * sysdeps/nacl/lll_timedlock_wait.c: New file.
1444         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1445         * nptl/lll_timedlock_wait.c: ... to this new file.
1446         * nptl/Makefile (libpthread-routines): Add it.
1447         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1448         * nptl/lll_timedwait_tid.c: ... to this new file.
1449         * nptl/Makefile (libpthread-routines): Add it.
1450         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1451         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1452         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1453         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1454         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1455         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1456         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1457         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1458         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1459         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1461 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1463         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1464         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1465         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1466         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1467         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1468         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1469         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1470         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1471         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1472         * sysdeps/unix/sysv/linux/tile/sysdep.h
1473         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1474         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1475         using vDSO syscall macro.
1477 2015-05-26  Andriy Rysin  <arysin@gmail.com>
1479         [BZ #17293]
1480         * uk_UA: Fix sorting order for Ukrainian locale
1482 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
1484         * stdlib/monetary.h: Fix comment.
1486 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1488         [BZ #18234]
1489         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1490         st_mtim and st_ctim members.
1491         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1492         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1493         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1494         (struct stat64): Likewise.
1495         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1496         (struct stat64): Likewise.
1497         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1498         (struct stat64): Likewise.
1500 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1502         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1503         Define and include sysdep-vdso.h.
1504         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1505         Likewise.
1506         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1507         Likewise.
1508         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1509         Define with VDSO_SYMBOL and use PTR_MANGLE.
1510         (__vdso_clock_gettime): Likewise.
1511         (__vdso_clock_getres): Likewise.
1512         (_libc_vdso_platform_setup): Likewise.
1513         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1514         Likewise.
1515         (_libc_vdso_platform_setup): Likewise.
1516         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1517         Likewise.
1518         (__vdso_clock_gettime): Likewise.
1519         (__vdso_clock_getres): Likewise.
1520         (__vdso_get_tbfreq): Likewise.
1521         (__vdso_getcpu): Likewise.
1522         (__vdso_time): Likewise.
1523         (__vdso_sigtramp_rt64): Likewise.
1524         (__vdso_signtramp32): Likewise.
1525         (__vdso_sigtramp_rt32): Likewise.
1526         (_libc_vdso_platform_setup): Likewise.
1527         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1528         Likewise.
1529         (__vdso_clock_gettime): Likewise.
1530         (__vdso_clock_getres): Likewise.
1531         (_libc_vdso_platform_setup): Likewise.
1532         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1533         Likewise.
1534         (__vdso_clock_gettime): Likewise.
1535         (_libc_vdso_platform_setup): Likewise.
1536         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1537         Likewise.
1538         (__vdso_getcpu): Likewise.
1539         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1540         Use VDSO_SYMBOL macro to define.
1541         (__vdso_clock_gettime): Likewise.
1542         (__vdso_clock_getres): Likewise.
1543         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1544         Likewise.
1545         (__vdso_clock_gettime): Likewise.
1546         (__vdso_clock_getres): Likewise.
1547         (__vdso_get_tbfreq): Likewise.
1548         (__vdso_getcpu): Likewise.
1549         (__vdso_time): Likewise.
1550         (__vdso_sigtramp_rt64): Likewise.
1551         (__vdso_signtramp32): Likewise.
1552         (__vdso_sigtramp_rt32): Likewise.
1553         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1554         Likewise.
1555         (__vdso_clock_gettime): Likewise.
1556         (__vdso_clock_getres): Likewise.
1557         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1558         Likewise.
1559         (__vdso_clock_gettime): Likewise.
1560         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1561         Likewise.
1562         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
1563         macro.
1564         (INTERNAL_VSYSCALL): Likewise.
1565         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1566         Remove macro.
1567         (INTERNAL_VSYSCALL): Likewise.
1568         (INTERNAL_VSYSCALL_NCS): Likewise.
1569         (INTERNAL_VSYSCALL_CALL): New macro.
1570         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1571         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1572         Likewise.
1573         (INTERNAL_VSYSCALL): Likewise.
1574         (INTERNAL_VSYSCALL_NCS): Likewise.
1575         (INTERNAL_VSYSCALL_CALL): New macro.
1576         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1578         (INLINE_VSYSCALL): Remove macro.
1579         (INTERNAL_VSYSCALL): Remove macro.
1580         (INTERNAL_VSYSCALL_NCS): Remove macro.
1581         (INTERNAL_VSYSCALL_CALL): New macro.
1582         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1583         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1584         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1585         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1586         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1588         (INLINE_VSYSCALL): Remove macro.
1589         (INTERNAL_VSYSCALL): Likewise.
1590         (INTERNAL_VSYSCALL_NCS): Likewise.
1591         (INTERNAL_VSYSCALL_CALL): New macro.
1592         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1593         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1594         PTR_DEMANGLE on vDSO pointer.
1595         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1596         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1597         macro.
1598         (INTERNAL_SYSCALL): Likewise.
1599         (INTERNAL_VSYSCALL_NCS): Remove macro.
1600         (INTERNAL_VSYSCALL_CALL): New macro.
1601         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1602         Remove macro.
1603         (INTERNAL_VSYSCALL): Likewise.
1604         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1605         sysdep-vdso.h instead of libc-vdso.h.
1606         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1607         definition.
1608         (INLINE_VSYSCALL): Likewise.
1609         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1610         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1611         definition.
1612         (INLINE_VSYSCALL): Likewise.
1613         (INTERNAL_VSYSCALL): Likewise.
1614         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1615         * sysdeps/unix/sysv/linux/timespec_get.c
1616         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1617         (timespec_get): Use ANSI prototype.
1618         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1619         and definition for Linux.
1621 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1623         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1624         * include/libc-symbols.h: libmvec_hidden_* macro series added.
1626 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1628         [BZ #18410]
1629         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1630         for missing DT_PLTRELSZ.
1632 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1634         Remove obsolete aliases that broke 'locale -a'
1635         [BZ #18412]
1636         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1637         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1638         breaking some applications that use 'locale -a' output.
1639         Change the encoding of this file from Latin-1 to ASCII to avoid
1640         other potential problems with people grepping this file.
1642 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1644         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1645         -fasynchronous-unwind-tables.
1646         (CFLAGS-sendto.c): Likewise.
1647         (CFLAGS-sendmsg.c): Likewise.
1648         (CFLAGS-connect.c): Likewise.
1649         (CFLAGS-recvmsg.c): Likewise.
1650         (CFLAGS-recvfrom.c): Likewise.
1651         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1652         (SOCKETCALL): New macro: non-cancellable socketcall.
1653         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1654         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1655         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1656         * sysdeps/unix/sysv/linux/accept.c: New file.
1657         * sysdeps/unix/sysv/linux/bind.c: Likewise.
1658         * sysdeps/unix/sysv/linux/connect.c: Likewise.
1659         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1660         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1661         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1662         * sysdeps/unix/sysv/linux/listen.c: Likewise.
1663         * sysdeps/unix/sysv/linux/recv.c: Likewise.
1664         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1665         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1666         * sysdeps/unix/sysv/linux/send.c: Likewise.
1667         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1668         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1669         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1670         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1671         * sysdeps/unix/sysv/linux/socket.c: Likewise.
1672         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1673         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1674         prototype.
1675         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1676         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1677         instead of __internal_xxx function.
1678         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1679         prototype.
1680         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1681         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1682         instead of __internal_xxx function.
1683         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1684         prototype.
1685         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1686         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1687         instead of __internal_xxx function.
1688         * sysdeps/unix/sysv/linux/accept.S: Remove file.
1689         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1690         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1691         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1692         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1693         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1694         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1695         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1696         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1697         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1698         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1699         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1700         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1701         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1702         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1703         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1704         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1705         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1706         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1707         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1710         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1711         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1712         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1713         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1714         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1715         * sysdeps/unix/sysv/linux/send.S: Likewise.
1716         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1717         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1718         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1719         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1720         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1721         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1722         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1723         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1724         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1725         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1726         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1727         socketcall is implemented in GLIBC.
1729 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1731         * soft-fp/fmadf4.c: Include <libc-internal.h>.
1732         (__fma): Ignore uninitialized warnings around packing.
1733         * soft-fp/fmasf4.c: Include <libc-internal.h>.
1734         (__fmaf): Ignore uninitialized warnings around packing.
1735         * soft-fp/fmatf4.c: Include <libc-internal.h>.
1736         (__fmal): Ignore uninitialized warnings around packing.
1738         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1739         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1740         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1741         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1743         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1744         switch statement into default case.
1745         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1747         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1748         a conditional in forcing "inexact".
1749         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1750         Likewise.
1752 2015-05-22  Roland McGrath  <roland@hack.frob.com>
1754         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1755         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1756         for each INTERNAL_SYSCALL use.
1758 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1760         [BZ #438]
1761         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1762         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1763         variable.
1765         [BZ #18444]
1766         * string/basename.c (basename): Rename to __basename and define as
1767         weak alias of __basename.  Use libc_hidden_weak.
1768         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
1769         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1770         __basename instead of basename.
1771         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1772         Remove variable.
1773         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1775 2015-05-18  Florian Weimer  <fweimer@redhat.com>
1777         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1778         (_IO_JUMPS_FILE_plus): New.
1779         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1780         _IO_CAST_FIELD_ACCESS.
1781         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1782         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1783         * libio/freopen.c (freopen): Likewise.
1784         * libio/freopen64.c (freopen64): Likewise.
1785         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1786         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1787         * libio/iofwide.c (_IO_fwide): Likewise.
1788         * libio/memstream.c (open_memstream): Likewise.
1789         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1790         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1791         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1793 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
1795         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1796         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1797         NADJ.
1798         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1799         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1800         NADJ.
1801         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1802         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1803         NADJ.
1805         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1806         (p == 4) case.
1808         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1809         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1810         Remove variable.
1811         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1812         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1813         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1815 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1817         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1818         Adjust jump table label generation macros.
1820 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1822         * stdio-common/vfprintf.c (vfprintf): Move local variables
1823         args_malloced, specs, specs_malloced, and the code after
1824         do_positional to the printf_positional function.
1825         (printf_positional): New function.
1827 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1829         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1830         function.
1831         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1832         STEP4_TABLE, process_arg): Move macro definitions
1833         out of the vfprintf function.  (Cosmetic change only.)
1835 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
1837         * benchtests/Makefile (stdio-common-bench): Define.
1838         (benchset): Add stdio-common-bench.
1839         * sprintf-inputs: New file.
1840         * sprintf-source.c: New file.
1842 2015-05-21  Andreas Schwab  <schwab@suse.de>
1844         [BZ #13028]
1845         [BZ #17053]
1846         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1847         of struct __res_state.
1848         * resolv/res_send.c (__libc_res_nsend): Likewise.
1849         (get_nsaddr): New function.
1850         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1851         statp directly.
1853 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
1855         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1856         -D_POSIX_C_SOURCE=199506L.
1858         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1860         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1861         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1862         Do not mention otherwise.
1863         [POSIX] (_XOPEN_VERSION): Do not expect.
1864         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1865         [POSIX] (_POSIX2_C_BIND): Likewise.
1866         [POSIX] (_POSIX2_VERSION): Likewise.
1867         [POSIX] (_XOPEN_XPG2): Likewise.
1868         [POSIX] (_XOPEN_XPG3): Likewise.
1869         [POSIX] (_XOPEN_XPG4): Likewise.
1870         [POSIX] (_XOPEN_UNIX): Likewise.
1871         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1872         [POSIX] (_POSIX_BARRIERS): Likewise.
1873         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1874         [POSIX] (_POSIX_CPUTIME): Likewise.
1875         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1876         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1877         [POSIX] (_POSIX_SHELL): Likewise.
1878         [POSIX] (_POSIX_SPAWN): Likewise.
1879         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1880         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1881         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1882         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1883         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1884         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1885         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1886         [POSIX] (_XBS5_LP64_OFF64): Likewise.
1887         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1888         [POSIX] (_POSIX_TIMEOUTS): Likewise.
1889         [POSIX] (_POSIX2_PBS): Likewise.
1890         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1891         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1892         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1893         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1894         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1895         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1896         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1897         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1898         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1899         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1900         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1901         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1902         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1903         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1904         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1905         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1906         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1907         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1908         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1909         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1910         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1911         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1912         [POSIX] (_SC_2_C_BIND): Likewise.
1913         [POSIX] (_SC_2_C_VERSION): Likewise.
1914         [POSIX] (_SC_2_PBS): Likewise.
1915         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1916         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1917         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1918         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1919         [POSIX] (_SC_2_PBS_TRACK): Likewise.
1920         [POSIX] (_SC_ATEXIT_MAX): Likewise.
1921         [POSIX] (_SC_BARRIERS): Likewise.
1922         [POSIX] (_SC_BASE): Likewise.
1923         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1924         [POSIX] (_SC_DEVICE_IO): Likewise.
1925         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1926         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1927         [POSIX] (_SC_FD_MGMT): Likewise.
1928         [POSIX] (_SC_FIFO): Likewise.
1929         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1930         [POSIX] (_SC_FILE_LOCKING): Likewise.
1931         [POSIX] (_SC_FILE_SYSTEM): Likewise.
1932         [POSIX] (_SC_IOV_MAX): Likewise.
1933         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1934         [POSIX] (_SC_NETWORKING): Likewise.
1935         [POSIX] (_SC_PAGE_SIZE): Likewise.
1936         [POSIX] (_SC_PASS_MAX): Likewise.
1937         [POSIX] (_SC_PIPE): Likewise.
1938         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1939         [POSIX] (_SC_REGEXP): Likewise.
1940         [POSIX] (_SC_SHELL): Likewise.
1941         [POSIX] (_SC_SIGNALS): Likewise.
1942         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1943         [POSIX] (_SC_SPIN_LOCKS): Likewise.
1944         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1945         [POSIX] (_SC_USER_GROUPS): Likewise.
1946         [POSIX] (_SC_USER_GROUPS_R): Likewise.
1947         [POSIX] (_SC_STREAMS): Likewise.
1948         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1949         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1950         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1951         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1952         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1953         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1954         [POSIX] (_PC_FILESIZEBITS): Likewise.
1955         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1956         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1957         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1958         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1959         [POSIX] (uid_t): Likewise.
1960         [POSIX] (gid_t): Likewise.
1961         [POSIX] (off_t): Likewise.
1962         [POSIX] (pid_t): Likewise.
1963         [POSIX] (cuserid): Allow.
1964         (_SC_2_CHAR_TERM): Require constant.
1965         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1966         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1967         variable.
1969 2015-05-20  Roland McGrath  <roland@hack.frob.com>
1971         * sysdeps/nacl/pthread-pids.h: New file.
1972         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1973         (create_thread): Use __nacl_get_tid to initialize PD->tid.
1975         * nptl/pthread-pids.h: New file.
1976         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1977         * nptl/nptl-init.c: Include <pthread-pids.h>.
1978         (__pthread_initialize_minimal_internal):
1979         Call __pthread_initialize_pids instead of set_tid_address syscall.
1981         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1982         * sysdeps/posix/usleep.c: ... here.
1984 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1986         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1987         call_pselect6 object.
1988         [$(subdir) = io]: Remove call_sync_file_range object.
1989         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1990         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1991         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1992         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1994 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
1996         * math/s_cproj.c: Add include "math_private.h".
1997         * math/s_cprojf.c: Likewise.
1998         * math/s_cprojl.c: Likewise.
2000 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
2002         [BZ #18244]
2003         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
2004         high mantissa bit when testing whether P is a NaN.
2005         * math/libm-test.inc (remainder_test_data): Add more tests.
2006         (remquo_test_data): Likewise.
2008         [BZ #18049]
2009         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
2010         below -32, return the argument, with underflow if subnormal.
2011         * math/auto-libm-test-in: Add more tests of atanh.
2012         * math/auto-libm-test-out: Regenerated.
2014 2015-05-19  Roland McGrath  <roland@hack.frob.com>
2016         [BZ #18434]
2017         * nptl/tst-sem15.c: New file.
2018         * nptl/Makefile (tests): Add it.
2019         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
2020         s/<</>>/ to fix typo in EOVERFLOW check.
2021         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
2023 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2025         * manual/strings.texi (envz_remove): Fix typo in safety
2026         annotations.
2028 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
2029             Steve Ellcey  <sellcey@imgtec.com>
2031         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
2032         in order to avoid strict alias warnings.
2033         (iruserok_af): Ditto for ra.
2035 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
2037         [BZ #17581]
2038         * malloc/hooks.c
2039         (magicbyte): Convert to a function and avoid returning 0x01.
2040         (mem2mem_check): Avoid using a length byte equal to the magic byte.
2041         (mem2chunk_check): Fix unsigned comparisons to zero.
2042         Hoist defs of sz and magic.
2044 2015-05-19  Richard Henderson  <rth@redhat.com>
2046         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
2048         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2050 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2052         [BZ #16159]
2053         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
2054         * malloc/arena.c (arena_lock): Check if arena is corrupt.
2055         (reused_arena): Find a non-corrupt arena.
2056         (heap_trim): Pass arena to unlink.
2057         * malloc/hooks.c (malloc_check_get_size): Pass arena to
2058         malloc_printerr.
2059         (top_check): Likewise.
2060         (free_check): Likewise.
2061         (realloc_check): Likewise.
2062         * malloc/malloc.c (malloc_printerr): Add arena argument.
2063         (unlink): Likewise.
2064         (munmap_chunk): Adjust.
2065         (ARENA_CORRUPTION_BIT): New macro.
2066         (arena_is_corrupt): Likewise.
2067         (set_arena_corrupt): Likewise.
2068         (sysmalloc): Use mmap if there are no usable arenas.
2069         (_int_malloc): Likewise.
2070         (__libc_malloc): Don't fail if arena_get returns NULL.
2071         (_mid_memalign): Likewise.
2072         (__libc_calloc): Likewise.
2073         (__libc_realloc): Adjust for additional argument to
2074         malloc_printerr.
2075         (_int_free): Likewise.
2076         (malloc_consolidate): Likewise.
2077         (_int_realloc): Likewise.
2078         (_int_memalign): Don't touch corrupt arenas.
2079         * malloc/tst-malloc-backtrace.c: New test case.
2081         * Makefile (summarize-tests): Fix return value on success.
2083         * manual/string.texi (Envz Functions): Add envz_remove.
2085 2015-05-18  Roland McGrath  <roland@hack.frob.com>
2087         * sysdeps/posix/opendir.c: Include <stdbool.h>.
2088         (invalid_name): New function, broken out of ...
2089         (__opendirat): ... here.  Call it.
2090         (need_isdir_precheck): New function, broken out of ...
2091         (__opendirat): ... here.  Call it.
2092         Use __fxstatat64, not __xstatat64.
2093         (opendir_oflags): New function, broken out of ...
2094         (__opendirat): ... here.  Call it.
2095         (opendir_tail): New function, broken out of ...
2096         (__opendirat): ... here.  Call it.
2097         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
2098         opendir_tail, rather than punting to __opendirat.
2099         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
2101 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2103         * .gitignore: Ignore generated *.pyc.
2105 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
2107         * include/stdio.h: Define __need_wint_t.
2108         * test-skeleton.c: Avoid `for' loop initial declaration.
2109         * nptl/tst-initializers1.c: Use test-skeleton.c.
2111 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2113         [BZ #18418]
2114         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
2116 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2118         [BZ #16352]
2119         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
2120         (__ieee754_atanh): Force underflow exception for results with
2121         small absolute value.
2122         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
2123         (__ieee754_atanhf): Force underflow exception for results with
2124         small absolute value.
2125         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
2126         (__ieee754_atanh): Force underflow exception for results with
2127         small absolute value.
2128         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
2129         (__ieee754_atanhf): Force underflow exception for results with
2130         small absolute value.
2131         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
2132         (__ieee754_atanhl): Force underflow exception for results with
2133         small absolute value.
2134         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2135         (__ieee754_atanhl): Force underflow exception for results with
2136         small absolute value.
2137         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2138         (__ieee754_atanhl): Force underflow exception for results with
2139         small absolute value.
2140         * math/auto-libm-test-in: Do not allow missing underflow
2141         exceptions from atanh.
2142         * math/auto-libm-test-out: Regenerated.
2144         [BZ #18221]
2145         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2146         2**-28 as threshold for returning x or +/- 1/x.
2147         * math/auto-libm-test-in: Add more tests of tan.
2148         * math/auto-libm-test-out: Regenerated.
2150         [BZ #18220]
2151         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2152         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2153         * math/auto-libm-test-in: Add another test of lgamma.
2154         * math/auto-libm-test-out: Regenerated.
2156 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
2158         * stdio-common/printf_fp.c (___printf_fp): Use abs.
2159         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
2160         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2161         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2162         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
2163         (ADD2A): Use fabs.  (SUB2A): Use fabs.
2164         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2165         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2166         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2167         (log1): Use fabs.  (my_log2): Use fabs.
2168         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2169         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2170         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2171         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2172         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2173         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
2174         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
2175         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
2176         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
2177         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2178         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2180 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2182         [BZ #18217]
2183         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2184         as threshold for returning 1 - x.
2185         * math/auto-libm-test-in: Add more tests of erfc.
2186         * math/auto-libm-test-out: Regenerated.
2188 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
2190         [BZ #18196]
2191         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2192         threshold for large arguments.
2193         * math/auto-libm-test-in: Add another test of atan.
2194         * math/auto-libm-test-out: Regenerated.
2196         [BZ #16339]
2197         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2198         (__log1p): Force underflow exception for results with small
2199         absolute value.
2200         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2201         (__log1pf): Force underflow exception for results with small
2202         absolute value.
2203         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2204         (__log1p): Force underflow exception for results with small
2205         absolute value.
2206         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2207         (__log1pf): Force underflow exception for results with small
2208         absolute value.
2209         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2210         (__log1pl): Force underflow exception for results with small
2211         absolute value.
2212         * math/auto-libm-test-in: Do not allow missing underflow
2213         exceptions from log1p.
2214         * math/auto-libm-test-out: Regenerated.
2216 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
2217             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2219         [BZ #16704]
2220         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2222 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
2224         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2225         (libmvec): New variable.
2226         * configure.ac: Added option for mathvec build.
2227         * configure: Regenerated.
2228         * mathvec/Depend: New file.
2229         * mathvec/Makefile: New file.
2230         * shlib-versions: Added libmvec.
2231         * math/Makefile: Added rule for libm.so installation.
2233         * bits/math-vector.h: New file.
2234         * bits/libm-simd-decl-stubs.h: New header.
2235         * math/Makefile (headers): Added new header
2236         libm-simd-decl-stubs.h.
2237         * math/math.h (__MATHCALL_VEC): New macro.
2239         * math/gen-libm-have-vector-test.sh: Script generates series of macros
2240         for conditions in testing functions.
2241         * math/Makefile: Added call of libm-have-vector-test.sh.
2242         * math/libm-test.inc (HAVE_VECTOR): New macros.
2244         * math/libm-test.inc: START refactored.
2245         * math/test-double.c (TEST_MATHVEC): Add define.
2246         * math/test-float.c: Likewise.
2247         * math/test-idouble.c: Likewise.
2248         * math/test-ifloat.c: Likewise.
2249         * math/test-ildoubl.c: Likewise.
2250         * math/test-ldouble.c: Likewise.
2251         * sysdeps/generic/math-tests-arch.h
2252         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2253         architecture check.
2255         * math/test-double.c (FUNC_TEST): New macro.
2256         * math/test-float.c: Likewise.
2257         * math/test-idouble.c: Likewise.
2258         * math/test-ifloat.c: Likewise.
2259         * math/test-ildoubl.c: Likewise.
2260         * math/test-ldouble.c: Likewise.
2261         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2263 2015-05-13  Roland McGrath  <roland@hack.frob.com>
2265         * sysdeps/nacl/fdopendir.c: New file.
2267         * dirent/scandir-tail.c: New file.
2268         * dirent/scandir64-tail.c: New file.
2269         * dirent/Makefile (routines): Add them.
2270         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2271         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2272         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2273         [!SCANDIR] (SCANDIR_TAIL): New macro.
2274         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2275         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2276         (SCANDIRAT): Macro removed.
2277         (SCANDIR_TAIL): New macro.
2278         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2279         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2280         (SCANDIRAT): Just call __opendirat and __scandir_tail.
2281         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2282         (READDIR): Macro removed.
2283         (SCANDIR_TAIL): New macro.
2284         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2285         (SCANDIR_TAIL): New macro.
2287         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2288         * dirent/scandir-cancel.c: ... to this new file.
2289         * dirent/Makefile (routines): Add it.
2290         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2291         * sysdeps/unix/sysv/linux/i386/scandir64.c
2292         (SKIP_SCANDIR_CANCEL): Macro removed.
2293         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2295         * dirent/tst-scandir.c: New file.
2296         * dirent/tst-scandir64.c: New file.
2297         * dirent/Makefile (tests): Add them.
2299 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2301         [BZ #18409]
2302         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2304 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2306         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2307         list.
2309 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
2311         * benchtests/bench-strcoll.c: New benchmark.
2312         * benchtests/Makefile: Generate locales and run benchmark.
2313         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2314         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2315         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2316         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2317         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2318         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2319         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2320         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2321         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2322         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2323         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2324         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2325         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2326         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2327         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2328         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2329         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2330         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2331         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2332         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2333         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2334         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2335         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2336         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2338 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
2340         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2341         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2343 2015-05-12  Roland McGrath  <roland@hack.frob.com>
2345         * posix/uname-values.h: New file.
2346         * posix/uname.c: Include that instead of <config-name.h>.
2347         * sysdeps/nacl/uname-values.h: New file.
2348         * sysdeps/arm/nacl/uname-values.h: New file.
2350 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
2352         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2353         splitting into fields.
2355 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
2357         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2358         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2359         * locale/localeinfo.h: Add enum collation_encoding_type.
2360         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2361         * programs/ld-collate.c (collate_output): Add encoding type info.
2362         * string/strcoll_l.c (STRDIFF): New function.
2363         * (STRCOLL): Use STRDIFF to skip over equal prefix.
2364         * wcsmbs/wcscoll_l.c: Define STRDIFF.
2366 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
2368         [BZ #18397]
2369         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2370         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
2371         <fpu_control.h> instead of <math/fpu_control.c>.
2372         * sysdeps/mips/mips32/fpu/Makefile: New file.
2374 2015-05-11  Andreas Schwab  <schwab@suse.de>
2376         [BZ #18007]
2377         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2378         nss_endgrent.
2379         (_nss_compat_endgrent): Call nss_endgrent.
2380         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2381         nss_endpwent.
2382         (_nss_compat_endpwent): Call nss_endpwent.
2383         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2384         needent, call nss_setspent only if non-zero.
2385         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2386         (internal_endspent): Don't call nss_endspent.
2387         (_nss_compat_endspent): Call nss_endspent.
2388         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2389         Remove.  All uses removed.
2390         (internal_setent): Remove parameter stayopen, add parameter
2391         stream.  Use it instead of global variable.
2392         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2393         (internal_endent, internal_getent): Add parameter stream.  Use it
2394         instead of global variable.
2395         (CONCAT(_nss_files_end,ENTNAME))
2396         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2397         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
2398         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
2399         uses removed.
2400         (internal_setent, internal_endent): Add parameter stream.  Use it
2401         instead of global variable.
2402         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2403         stream.
2404         (get_next_alias): Add parameter stream.
2405         (_nss_files_getaliasent_r): Pass global stream.
2406         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
2407         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2408         (_nss_files_gethostbyname4_r): Pass local stream to
2409         internal_setent, internal_getent and internal_endent.  Remove
2410         locking.
2412 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2414         * tst-strfmon1.c (tests): Update expected currency symbol.
2416 2015-05-08  Roland McGrath  <roland@hack.frob.com>
2418         * sysdeps/nacl/gethostname.c: New file.
2420 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
2422         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2423         and sinh.
2424         * math/auto-libm-test-out: Regenerated.
2425         * sysdeps/i386/fpu/libm-test-ulps: Update.
2426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2428 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
2430         [BZ #18125]
2431         * stdlib/tst-setcontext3.c: New file.
2432         * stdlib/tst-setcontext3.sh: New file.
2433         * stdlib/Makefile (tests): Add tst-setcontext3.
2434         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2435         to verify test program created output file.
2436         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2437         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2438         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2439         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2441 2015-05-06  Roland McGrath  <roland@hack.frob.com>
2443         [BZ #18383]
2444         * elf/tst-tlsalign.c: New file.
2445         * elf/tst-tlsalign-static.c: New file.
2446         * elf/tst-tlsalign-lib.c: New file.
2447         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2448         (tests-static): Add tst-tlsalign-static.
2449         (modules-names): Add tst-tlsalign-lib.
2450         (test-xfail-tst-tlsalign): New variable.
2451         (test-xfail-tst-tlsalign-static): New variable.
2453         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2454         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2456 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
2458         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2459         csqrt, erfc, sin and sincos.
2460         * math/auto-libm-test-out: Regenerated.
2461         * sysdeps/i386/fpu/libm-test-ulps: Update.
2462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2464 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2466         * sysdeps/aarch64/libm-test-ulps: Update.
2468 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
2470         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2471         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2472         * math/auto-libm-test-out: Regenerated.
2473         * sysdeps/i386/fpu/libm-test-ulps: Update.
2474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2476 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
2478         [BZ #18265]
2479         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2480         (wcsncpy): Likewise.
2482 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2484         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2485         Assume __ASSUME_FALLOCATE is always true.
2486         * sysdeps/unix/sysv/linux/posix_fallocate64.c
2487         (__posix_fallocate64_l64): Likweise.
2488         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2489         (posix_fallocate): Likewise.
2490         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2491         (__posix_fallocate64_l64): Likewise.
2492         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2493         [!__ASSUME_FALLOCATE]: Add comment.
2495 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2497         * sysdeps/unix/sysv/linux/i386/Makefile
2498         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2499         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2500         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2501         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2502         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2503         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2504         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2506 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
2508         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2509         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2510         tgamma.
2511         * math/auto-libm-test-out: Regenerated.
2512         * sysdeps/i386/fpu/libm-test-ulps: Update.
2513         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2515 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2517         * math/auto-libm-test-in: Add more tests of tgamma.
2518         * math/auto-libm-test-out: Regenerated.
2519         * sysdeps/i386/fpu/libm-test-ulps: Update.
2520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2522         * math/auto-libm-test-in: Add more tests of tanh.
2523         * math/auto-libm-test-out: Regenerated.
2524         * sysdeps/i386/fpu/libm-test-ulps: Update.
2525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2527         * math/auto-libm-test-in: Add more tests of tan.
2528         * math/auto-libm-test-out: Regenerated.
2529         * sysdeps/i386/fpu/libm-test-ulps: Update.
2530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2532         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2533         * math/auto-libm-test-out: Regenerated.
2534         * sysdeps/i386/fpu/libm-test-ulps: Update.
2535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2537         * math/auto-libm-test-in: Add another test of pow.
2538         * math/auto-libm-test-out: Regenerated.
2539         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2541         * math/auto-libm-test-in: Add more tests of lgamma.
2542         * math/auto-libm-test-out: Regenerated.
2543         * sysdeps/i386/fpu/libm-test-ulps: Update.
2544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2546         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2547         log1p.
2548         * math/auto-libm-test-out: Regenerated.
2549         * sysdeps/i386/fpu/libm-test-ulps: Update.
2550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2552 2015-05-01  Mark Wielaard  <mjw@redhat.com>
2554         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2555         Elf64_Chdr structs and ELFCOMPRESS constants.
2557 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2559         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2560         expm1.
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         * math/auto-libm-test-in: Add more tests of erf and erfc.
2566         * math/auto-libm-test-out: Regenerated.
2567         * sysdeps/i386/fpu/libm-test-ulps: Update.
2568         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2570 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2572         * config.h.in (HAVE_AARCH64_BE): Add.
2574 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
2576         * math/auto-libm-test-in: Add more tests of csqrt.
2577         * math/auto-libm-test-out: Regenerated.
2578         * sysdeps/i386/fpu/libm-test-ulps: Update.
2579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2581         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2582         * math/auto-libm-test-out: Regenerated.
2583         * sysdeps/i386/fpu/libm-test-ulps: Update.
2584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2586         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2588 2015-04-29  Roland McGrath  <roland@hack.frob.com>
2590         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2591         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2593         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2594         (euidaccess, eaccess): Define as weak aliases.
2596         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2597         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
2598         but __suseconds_t is often 'long int' so some sources assume that
2599         type is being used (e.g. they use %ld to print tv_usec).
2601 2015-04-29  Florian Weimer  <fweimer@redhat.com>
2603         [BZ #18007]
2604         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2605         (CVE-2014-8121)
2606         * nss/tst-nss-getpwent.c: New file.
2607         * nss/Makefile (tests): Add new test.
2609 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
2611         [BZ #18346]
2612         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2613         exponents less than 48 as cases where high part of mantissa needs
2614         examining to determine whether argument is integral.
2615         * math/libm-test.inc (round_test_data): Add more tests.
2617 2015-04-28  Mark Wielaard  <mjw@redhat.com>
2619         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2621 2015-04-27  David S. Miller  <davem@davemloft.net>
2623         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2624         __tls_get_addr.
2625         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2627 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
2629         [BZ#18333]
2630         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2632 2015-04-27  Florian Weimer  <fweimer@redhat.com>
2634         [BZ#18333]
2635         * time/tzset.c (parse_tzname): Return error on memory allocation
2636         failure.
2637         * test-skeleton.c (struct temp_name_list): Change type of name
2638         member to non-const.
2639         (add_temp_file): Create a copy of the file name.
2640         (delete_temp_files): Deallocate memory.
2641         (create_temp_file): Add comment.
2643 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2645         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2646         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2648 2015-04-24  Roland McGrath  <roland@hack.frob.com>
2650         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2651         * sysdeps/arm/configure: Regenerated.
2653 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2655         [BZ #17715]
2656         * time/tzfile.c (__tzfile_read): Check for large values of
2657         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
2658         * time/tzset.c (__tzstring_len): New function, based on the old
2659         __tzstring function.
2660         (__tzstring): Call __tzstring_len.
2661         (parse_tzname): New helper function extracted from
2662         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
2663         the input string.
2664         (parse_offset): New helper function extracted from
2665         __tzset_parse_tz.  Replace switch with fallthrough with
2666         initialization before sscanf.
2667         (parse_rule): Likewise.
2668         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
2669         new-style function definition.
2670         * timezone/Makefile (tests): Add tst-tzset.
2671         (tst-tzset.out): Dependencies on time zone files.
2672         (tst-tzset-ENV): Set TZDIR.
2673         (testdata/XT%): Copy crafted time zone files.
2674         * timezone/README: Mention crafted time zone files.
2675         * timezone/testdata/XT1, timezone/testdata/XT2,
2676         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2677         files.
2678         * timezone/tst-tzset.c: New test.
2680 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2682         * Makeconfig (+gccwarn): Remove -Winline.
2684 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2686         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2688 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2690         * NEWS: Mention sysconf() cache information support for s390.
2691         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2693 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
2695         * math/k_casinh.c (__kernel_casinh): Use __copysign.
2696         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2697         (__nearbyint): Likewise.
2698         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2699         (copysignl): Likewise.
2701 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
2703         [BZ #18287]
2704         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2705         based on padding.  (CVE-2015-1781)
2707 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2709         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2710         libc-vdso.h.
2711         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2712         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2713         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2714         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2715         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2716         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2717         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2718         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2719         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2720         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2721         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2722         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2723         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2724         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2725         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2726         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2727         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2728         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2729         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2730         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2731         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2732         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2733         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2735 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
2737         * stdlib/setenv.c (__add_to_environ):
2738         Dump core quickly if setenv (..., NULL, ...) is called.
2739         This time, do it the right way, and pacify GCC with a pragma.
2741 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2743         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2744         IMAP->l_prev cannot be null, and #if out the code for the contrary
2745         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2746         believe that NS (&_dl_ns[NSID]) could point outside the array.
2748         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2749         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2750         before using NSID as an index.
2752 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
2754         [BZ #17825]
2755         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2756         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2757         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2759 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2761         Add preliminary port to Google Native Client on ARM.
2762         * abi-tags (.*-.*-nacl.*): New entry.
2763         * sysdeps/arm/nacl: New directory.
2764         * sysdeps/nacl: New directory.
2766 2015-04-16  David S. Miller  <davem@davemloft.net>
2768         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2769         lowlevellock-futex.h
2771 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
2773         * sysdeps/tile/configure.ac: New file.
2774         * sysdeps/tile/configure: Regenerated.
2776 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2778         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
2779         conditionals for weak_alias and libc_hidden_weak.
2780         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2781         libc_hidden_weak and weak_alias.
2782         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2783         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2784         and weak_alias for static one.
2786 2015-04-15  David S. Miller  <davem@davemloft.net>
2788         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2790 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2792         [BZ #18206]
2793         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2794           Use signed comparision instead of substraction to avoid
2795           overflow bug.
2796         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2797           Take the sign of ret.
2798         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2799           Do not expect precise return values. Only the sign matters.
2800         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2801         * wcsmbs/test-wcsncmp.c: New File.
2802         * string/test-strncmp.c: Add wcsncmp support.
2804 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2806         [BZ #6792]
2807         * math/w_log1p.c: New file.
2808         * math/w_log1pf.c: Likewise.
2809         * math/w_log1pl.c: Likewise.
2810         * math/Makefile (libm-calls): Add w_log1p.
2811         * math/s_log1pl.c (log1pl): Remove weak_alias.
2812         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2813         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2814         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2815         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2816         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2817         [NO_LONG_DOUBLE] (log1pl): Likewise.
2818         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2819         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2820         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2821         (log1p): Remove long_double_symbol.
2822         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2823         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2824         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2825         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2826         remove weak_alias for corresponding log1p function.
2827         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2828         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2829         * sysdeps/ia64/fpu/w_log1p.c: New file.
2830         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2831         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2832         * math/libm-test.inc (log1p_test_data): Add errno expectations.
2834 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
2836         [BZ #18247]
2837         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2838         decimal exponent by 1.
2839         * stdlib/tst-strtod-round-data: Add more tests.
2840         * stdlib/tst-strtod-round.c (tests): Regenerated.
2842 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
2844         * math/auto-libm-test-in: Add more tests of clog and clog10.
2845         * math/auto-libm-test-out: Regenerated.
2846         * sysdeps/i386/fpu/libm-test-ulps: Update.
2847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2849 2015-04-09  Roland McGrath  <roland@hack.frob.com>
2851         * Makeconfig (module-cppflags): Exclude all .v.i files.
2852         (skip-module-cppflags): Variable removed.
2854         * configure.ac (libc_config_ok): Initialize before reading
2855         preconfigure scripts, not after.
2856         * configure: Regenerated.
2858         * test-skeleton.c (TIMEOUT): Move #define to top level.
2859         (main): Grok environment variable TEST_DIRECT.  If set, print
2860         test expectation details into that file and then behave as if
2861         given --direct.
2863 2015-04-09  Florian Weimer  <fweimer@redhat.com>
2865         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2866         warning on 32-bit.
2868 2015-04-08  David S. Miller  <davem@davemloft.net>
2870         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2872 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2874         * math/auto-libm-test-in: Add more tests of atanh.
2875         * math/auto-libm-test-out: Regenerated.
2876         * sysdeps/i386/fpu/libm-test-ulps: Update.
2877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2879         * math/auto-libm-test-in: Add more tests of atan.
2880         * math/auto-libm-test-out: Regenerated.
2881         * sysdeps/i386/fpu/libm-test-ulps: Update.
2882         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2884 2015-04-08  Florian Weimer  <fweimer@redhat.com>
2886         * elf/pldd.c (main): Rewrite to use struct
2887         scratch_buffer instead of extend_alloca.
2888         * elf/pldd-xx.c (find_maps): Likewise.
2889         * grp/initgroups.c: Include <scratch_buffer.h> instead of
2890         <alloca.h>.
2891         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2892         scratch_buffer instead of extend_alloca.
2893         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2894         grp/compat-initgroups.c.
2895         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2896         Rewrite to use struct scratch_buffer instead of extend_alloca.
2897         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2898         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2900 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2902         * math/auto-libm-test-in: Add more tests of cbrt.
2903         * math/auto-libm-test-out: Regenerated.
2904         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2906         * math/auto-libm-test-in: Add more tests of cabs.
2907         * math/auto-libm-test-out: Regenerated.
2908         * sysdeps/i386/fpu/libm-test-ulps: Update.
2909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2911         [BZ #18210]
2912         [BZ #18211]
2913         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2914         (__ieee754_atan2): Set FE_TONEAREST mode for internal
2915         computations.
2916         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2917         clog10.
2918         * math/auto-libm-test-out: Regenerated.
2919         * sysdeps/i386/fpu/libm-test-ulps: Update.
2920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2922         [BZ #18197]
2923         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2924         (atan): Set FE_TONEAREST mode for internal computations.
2925         * math/auto-libm-test-in: Add more tests of atan.
2926         * math/auto-libm-test-out: Regenerated.
2928 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
2930         [BZ #17930]
2931         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2933 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2935         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2937 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2939         * include/scratch_buffer.h: New file.
2940         * malloc/scratch_buffer_grow.c: Likewise.
2941         * malloc/scratch_buffer_grow_preserve.c: Likewise.
2942         * malloc/scratch_buffer_set_array_size.c: Likewise.
2943         * malloc/tst-scratch_buffer.c: Likewise.
2944         * malloc/Makefile (routines): Add scratch_buffer_grow.
2945         (tests): Add test case.
2946         * malloc/Versions (GLIBC_PRIVATE): Export
2947         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2948         __libc_scratch_buffer_set_array_size.
2950 2015-04-06  Richard Henderson  <rth@redhat.com>
2952         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2953         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2955         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2956         unsigned int before printing.
2958 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2960         [BZ #17596]
2961         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2962         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2964 2015-04-02  Florian Weimer  <fweimer@redhat.com>
2966         * include/libc-internal.h (libc_max_align_t): Define.
2968 2015-04-02  Andreas Schwab  <schwab@suse.de>
2970         [BZ #16850]
2971         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2973 2015-04-02  Mel Gorman  <mgorman@suse.de>
2975         [BZ #17195]
2976         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2977         as well as the main arena.
2979 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2981         [BZ #18185]
2982         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2983         sharing L2 cache to 2 for Silvermont/Knights Landing.
2985 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2987         [BZ #17711]
2988         * config.make.in (have-protected-data): New.
2989         * configure.ac: Check linker support for protected data symbol.
2990         * configure: Regenerated.
2991         * elf/Makefile (modules-names): Add tst-protected1moda and
2992         tst-protected1modb if $(have-protected-data) is yes.
2993         (tests): Add tst-protected1a and tst-protected1b if
2994         $(have-protected-data) is yes.
2995         ($(objpfx)tst-protected1a): New.
2996         ($(objpfx)tst-protected1b): Likewise.
2997         (tst-protected1modb.so-no-z-defs): Likewise.
2998         * elf/tst-protected1a.c: New file.
2999         * elf/tst-protected1b.c: Likewise.
3000         * elf/tst-protected1mod.h: Likewise.
3001         * elf/tst-protected1moda.c: Likewise.
3002         * elf/tst-protected1modb.c: Likewise.
3004 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
3006         [BZ #17711]
3007         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
3008         indicates it is called from do_lookup_x on relocation against
3009         protected data, skip the data definion in the executable from
3010         copy reloc.
3011         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
3012         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
3013         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
3014         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
3015         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
3016         otherwise to 0.
3017         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3018         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
3019         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
3020         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
3021         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
3022         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
3024 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
3026         * sysdeps/nptl/pthread.h: Remove duplicate definition of
3027         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
3029 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
3031         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
3032         THREAD_SETMEM_NC.
3033         * sysdeps/x86_64/nptl/tls.h: Ditto.
3035 2015-03-27  Roland McGrath  <roland@hack.frob.com>
3037         * dlfcn/tststatic.c (main): Converted to ...
3038         (do_test): ... this.
3039         (TEST_FUNCTION): New macro.
3040         Include test-skeleton.c.
3042 2015-03-26  Alan Modra  <amodra@gmail.com>
3044         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
3045         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
3046         zero for undefined weak.
3047         (elf_machine_plt_conflict): Similarly.
3049 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3051         * math/auto-libm-test-in: Add more tests of acosh, asinh and
3052         atanh.
3053         * math/auto-libm-test-out: Regenerated.
3054         * sysdeps/i386/fpu/libm-test-ulps: Update.
3055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3057         * math/auto-libm-test-in: Add another test of asin.
3058         * math/auto-libm-test-out: Regenerated.
3059         * sysdeps/i386/fpu/libm-test-ulps: Update.
3060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3062         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
3063         Remove macro.
3064         (LLL_EBX_REG): Likewise.
3065         (LLL_ENTER_KERNEL): Likewise.
3067         * math/auto-libm-test-in: Add more tests of asin.
3068         * math/auto-libm-test-out: Regenerated.
3069         * sysdeps/i386/fpu/libm-test-ulps: Update.
3070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3072         [BZ #18138]
3073         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
3074         libc_do_syscall_args): New structure.
3075         (INTERNAL_SYSCALL_MAIN_0): New macro.
3076         (INTERNAL_SYSCALL_MAIN_1): Likewise.
3077         (INTERNAL_SYSCALL_MAIN_2): Likewise.
3078         (INTERNAL_SYSCALL_MAIN_3): Likewise.
3079         (INTERNAL_SYSCALL_MAIN_4): Likewise.
3080         (INTERNAL_SYSCALL_MAIN_5): Likewise.
3081         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
3082         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
3083         Replace conditional definitions by conditional definitions of ....
3084         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
3085         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
3086         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
3087         (libpthread-sysdep_routines): Add libc-do-syscall.
3088         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
3089         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
3090         to __NR_futex not 240.
3092 2015-03-25  Alan Modra  <amodra@gmail.com>
3094         * NEWS: Advertise TLS optimization.
3095         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
3096         (DT_PPC_NUM): Increment.
3097         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
3098         (CHECK_STATIC_TLS): Use here.
3099         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
3100         TLS descriptors.
3101         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3102         * sysdeps/powerpc/dl-tls.c: New file.
3103         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
3104         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
3105         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
3106         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
3108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3111 2015-03-25  Alan Modra  <amodra@gmail.com>
3113         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
3114         for overlapping .opd entries" to "support...".
3115         * sysdeps/powerpc/powerpc64/configure: Regenerate
3117 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
3119         * math/auto-libm-test-in: Add more tests of acos.
3120         * math/auto-libm-test-out: Regenerated.
3121         * sysdeps/i386/fpu/libm-test-ulps: Update.
3122         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3124         * math/auto-libm-test-in: Add more tests of expm1.
3125         * math/auto-libm-test-out: Regenerated.
3126         * sysdeps/i386/fpu/libm-test-ulps: Update.
3127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3129 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
3131         * math/auto-libm-test-in: Add more tests of cosh and sinh.
3132         * math/auto-libm-test-out: Regenerated.
3133         * sysdeps/i386/fpu/libm-test-ulps: Update.
3134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3136         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3139         * math/auto-libm-test-in: Add more tests of log2.
3140         * math/auto-libm-test-out: Regenerated.
3141         * sysdeps/i386/fpu/libm-test-ulps: Update.
3142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3144 2015-03-23  Roland McGrath  <roland@hack.frob.com>
3146         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3147         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
3148         _IO_IS_APPENDING bit in READ_WRITE instead.
3150 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3152         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3153         (__determine_cpumask_size): Replace extend_alloca with a
3154         variable-length array.  Do not treat res == 0 as an error.
3156 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3158         [BZ #18100]
3159         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3160         and integer overflow.
3161         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3162         (main): Add integer overflow tests.
3163         * manual/pattern.texi (Calling Wordexp): Document additional use
3164         for WRDE_SYNTAX.
3166 2015-03-23  Alan Modra  <amodra@gmail.com>
3168         * config.h.in: Remove HAVE_ASM_PPC_REL16.
3169         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3170         and false branch of conditional.
3171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3172         Likewise.
3174 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
3176         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3177         libc-modules.h
3178         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3179         unused declaration of _hurd_intr_rpc_msg_in_trap.
3180         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3181         defined instead of whether it is non-zero.
3182         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3183         input constraint instead of both input and output constraint.  Use ecx
3184         clobber instead of %ecx.
3185         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3186         mutex_unlock): Use a statement expression instead of an expression list.
3187         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3188         type to vm_size_t instead of vm_address_t.
3189         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3190         defined instead of whether it is non-zero.
3191         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3192         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3193         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3194         comparisons with mapaddr.
3195         * nscd/nscd-client.h: Include <time.h>.
3196         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3197         9th parameter to __vm_region instead of int.
3198         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3199         * scripts/check-local-headers.sh (exclude): Add device/,
3200         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3201         cthreads.h.
3203 2015-03-19  Roland McGrath  <roland@hack.frob.com>
3205         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3206         to account for alignment padding.
3207         * sysdeps/arm/memmove.S: Likewise.
3209 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
3211         * sysdeps/unix/sysv/linux/generic/README: New file.
3213 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
3215         [BZ #18138]
3216         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3217         (futex_abstimed_wait)
3218         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3219         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3220         of lll_futex_timed_wait.
3222 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
3224         [BZ #17542]
3225         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3227 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
3229         [BZ #17090]
3230         [BZ #17620]
3231         [BZ #17621]
3232         [BZ #17628]
3233         * NEWS: Update.
3234         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3235         entries with Static TLS too.  Skip entries past the end of the
3236         allocated DTV, from Alan Modra.
3237         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
3238         Static TLS DTV entry set up from...
3239         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3240         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3241         * nptl/allocatestack.c (init_one_static_tls): ... and here...
3242         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3243         for Static TLS.
3244         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
3245         that the slot we find is associated with the given map before
3246         using its generation count.
3247         * nptl_db/db_info.c: Include ldsodefs.h.
3248         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3249         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3250         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3251         (link_map::l_tls_offset): New struct field.
3252         (dtv_t::counter): Likewise.
3253         (rtld_global): New struct.
3254         (_rtld_global): New rtld variable.
3255         (dl_tls_dtv_slotinfo_list): New rtld global field.
3256         (dtv_slotinfo_list): New struct.
3257         (dtv_slotinfo): Likewise.
3258         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3259         (td_lookup): Rename to...
3260         (td_mod_lookup): ... this.  Use new mod parameter instead of
3261         LIBPTHREAD_SO.
3262         * nptl_db/td_thr_tlsbase.c: Include link.h.
3263         (dtv_slotinfo_list, dtv_slotinfo): New functions.
3264         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
3265         addresses even if the DTV is out of date or missing them.
3266         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3267         index zero-length arrays.
3268         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3269         (td_lookup): Make it a macro implemented in terms of...
3270         (td_mod_lookup): ... this declaration.
3271         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3272         (DB_MAIN_VARIABLE): Likewise.
3274 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3276         [BZ #18134]
3277         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3279 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
3281         * stdlib/setenv.c (__add_to_environ): Revert previous change.
3283 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3285         [BZ #18128]
3286         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3287         (atomic_add, atomic_increment_and_test)
3288         (atomic_decrement_and_test): Fix 64-bit arithmetic.
3290 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
3292         * stdlib/setenv.c (__add_to_environ):
3293         Dump core quickly if setenv (..., NULL, ...) is called.
3295 2015-03-13  Roland McGrath  <roland@hack.frob.com>
3297         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3298         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3299         all the necessary asm magic in one place.
3300         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3301         using those.
3303 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
3305         [BZ #14906]
3306         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3307         traced file mtime. Use consistent log message.
3308         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3309         (register_traced_file): Call install_watches. Always set mtime.
3310         (invalidate_cache): Iterate over all trace files. Call install_watches.
3311         (inotify_check_files): Don't inline. Handle watching parent
3312         directories and configuration file movement in and out.
3313         (handle_inotify_events): New function.
3314         (main_loop_poll): Call handle_inotify_events.
3315         (main_loop_epoll): Likewise.
3316         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3317         (struct traced_file): Use array of inotify fds. Add parent directory,
3318         and basename.
3319         (struct database_dyn): Remove unused file_mtime.
3320         (init_traced_file): New inline function.
3321         (define_traced_file): New macro.
3322         * nss/nss_db/db-init.c: Use define_traced_file.
3323         (_nss_db_init): Use init_traced_file.
3324         * nss/nss_files/files-init.c: Use define_traced_file.
3325         (_nss_files_init): Use init_traced_file.
3327 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
3329         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3330         [_LIBC]: Do not include <stdlib.h>.
3331         [!_LIBC] (abort): Remove declaration.
3332         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3333         _FP_STATIC_ASSERT instead of conditionally calling abort.
3334         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3335         (_FP_EXTEND_CNAN): Likewise.
3336         (FP_TRUNC): Likewise.
3337         (__FP_CLZ): Likewise.
3338         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3340 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
3342         * manual/string.texi (XPG basename): Fix prototype.
3344 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3346         [BZ #18080]
3347         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3348         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3349         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3350         (__setcontext): Likewise.
3351         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3352         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3353         Call rt_sigprocmask syscall one time to set new signal mask
3354         and retrieve the current signal mask instead of two calls.
3355         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3356         (__swapcontext): Likewise.
3357         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3358         * stdlib/tst-setcontext2.c: New file.
3360 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3362         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3364 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
3366         [BZ #18093]
3367         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3368         the wrong size.
3370 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3372         [BZ #18043]
3373         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3375 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3377         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3378         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3379         Remove define.
3380         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3381         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3382         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3383         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3384         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3385         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3386         define.
3387         * nptl_db/td_symbol_list.c (td_lookup): Remove
3388         HAVE_ASM_GLOBAL_DOT_NAME code.
3389         * sysdeps/powerpc/powerpc64/configure.ac: Remove
3390         HAVE_ASM_GLOBAL_DOT_NAME check.
3391         * sysdeps/powerpc/powerpc64/configure: Regenerate.
3392         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3393         (DOT_LABEL): Remove define.
3394         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3395         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3396         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3397         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3398         (__TLS_GET_ADDR): Likewise.
3399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3400         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3402 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
3404         [BZ #18111]
3405         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3406         (_FPU_SETCW): Initialize cw from fpsr before storing.
3407         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3408         (fesetexceptflag): Rewrite using fpu_control.h.
3409         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3411 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
3413         [BZ #18110]
3414         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3415         asms.
3416         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3418 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
3420         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3421         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3422         abort.
3423         (_FP_FMA): Likewise.
3424         (_FP_DIV): Likewise.
3426 2015-03-10  Roland McGrath  <roland@hack.frob.com>
3428         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3429         with 0 in that case.
3430         * Makefile (summarize-tests): New canned sequence, factored out of
3431         commands for targets tests and xtests.  Display summary lines that
3432         don't start with PASS: or XFAIL: rather than ones that do start with
3433         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
3434         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3435         do start with ERROR: or FAIL:.
3436         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3437         (except for [$(build-shared) = yes]).
3438         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3439         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3440         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3441         * nptl/Makefile: Revert 2015-03-04 changes.
3442         [$(CXX) empty] (tests-unsupported): New variable.
3443         * debug/Makefile: Likewise.
3445         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3446         gnulib file.  Replace __attribute with __attribute__ throughout.
3448 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
3450         * sysdeps/hppa/fpu/libm-test-ulps: Update.
3452 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3454         [BZ #18104]
3455         * math/auto-libm-test-in: Add another test of pow.
3456         * math/auto-libm-test-out: Regenerated.
3458 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3460         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3461         $(config-cflags-nofma).
3463 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3465         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3466         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3467         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3468         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3469         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3470         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3471         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3472         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3473         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3474         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3475         Add comment on closing #endif.
3477 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3479         * posix/wordexp.c (CHAR_IN_SET): New macro.
3480         (parse_param): Use it.
3482 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3484         * sysdeps/powerpc/fpu/libm-test-ulps: update.
3486 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3488         [BZ #18043]
3489         * posix/wordexp.c (parse_param): Fix buffer overflow.
3490         * posix/wordexp-test.c (test_case): Add test case.
3492 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3494         [BZ #18042]
3495         * posix/wordexp.c (parse_backtick): Fix off-by-one.
3496         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3498 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3500         [BZ #18043]
3501         * posix/wordexp-test.c (test_case): Add test for BZ #18043
3502         (do_bz18043): Delete.
3503         (at_page_end): New.
3504         (testit): Refactor to have words at the edge of unreadable page.
3506 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3508         [BZ #16734]
3509         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3510         Cleanup read-only streams as well.
3511         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3513 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3515         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3516         <bits/libc-lockP.h>
3518 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
3520         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
3521         on [__KERNEL__].
3522         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3523         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3524         * soft-fp/op-common.h (_FP_DECL): Likewise.
3526 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3528         * elf/ifuncdep2.c (global): Replace
3529         __attribute__((visibility("protected"))) with
3530         asm (".protected global").
3531         * elf/ifuncmod1.c (global): Likewise.
3532         * elf/ifuncmod5.c (global): Likewise.
3534 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
3536         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3537         <asm/sfp-machine.h> instead of <sfp-machine.h>.
3539 2015-03-06  Roland McGrath  <roland@hack.frob.com>
3541         * manual/install.texi (Configuring and compiling):
3542         Document test-wrapper-env-only.
3543         * INSTALL: Regenerated.
3545 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3547         [BZ #18043]
3548         * posix/wordexp.c (parse_param): Fix buffer overflow.
3549         * posix/wordexp-test.c (do_bz18043): Add test case.
3551 2015-03-06  Vincent Bernat  <vincent@bernat.im>
3553         * time/tst-strptime2.c (do_test): Ensure failing tests are
3554         reported correctly.
3555         * time/tst-strptime3.c (do_test): Likewise.
3557 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
3559         Fix aio_error thread-safety.
3560         * sysdeps/pthread/aio_error.c: New file
3561         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3562         synchronization.
3564 2015-03-06  Florian Weimer  <fweimer@redhat.com>
3566         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3567         (group_number, vfprintf): Use it.
3568         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3569         (JUMP, REF): Use it.
3570         (WORK_BUFFER_SIZE): New enum constant.
3571         (process_arg, vfprintf): Use it.
3573 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
3575         * manual/errno.texi (Error Messages): Complete example function
3576         by adding missing #define.
3577         (program_invocation_name): Add statement indicating GNU
3578         extension and reference which header file declares the variable.
3579         (program_invocation_short_name): Likewise.
3581 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
3583         * manual/errno.texi (Error Messages): Delete strerror ISO C89
3584         compatibility note.
3586 2015-03-05  Roland McGrath  <roland@hack.frob.com>
3588         * Makeconfig (test-wrapper-env-only): New variable.
3589         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3590         then use that with $(test-wrapper-env-only) rather than using
3591         $(test-wrapper-env) $(run-program-env) $($*-ENV).
3593 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3595         [BZ #18082]
3596         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3597         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3598         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3599         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3600         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3601         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3602         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3603         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3604         Likewise.
3605         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3606         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3607         Likewise.
3608         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3609         Likewise.
3610         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3611         Likewise.
3612         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3613         Likewise.
3614         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3615         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3616         Likewise.
3617         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3618         Likewise.
3619         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3620         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3622 2015-03-04  Roland McGrath  <roland@hack.frob.com>
3624         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3625         (ETH_ALEN): New macro.
3626         (struct ether_addr): Use it for length of ether_addr_octet.
3628         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3629         (setdb): Don't call __nss_configure_lookup for "rpc".
3630         (do_test): Don't call test_rpc.
3631         (output_rpcent, test_rpc): Functions moved ...
3632         * sunrpc/test-rpcent.c: ... to this new file.
3633         * sunrpc/Makefile (tests): Add it.
3635         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3636         __xpg_sigpause.
3637         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3638         * nptl/tst-signal6.c: Likewise.
3639         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3640         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3642         * configure.ac (libc_cv_cxx_link_ok): New check.
3643         Reset CXX to empty if it fails to link.
3644         * configure: Regenerated.
3645         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3646         bug-atexit3-lib only if $(CXX) is nonempty.
3647         * nptl/Makefile (tests): Likewise for tst-cancel24.
3648         (tests, tests-static): Likewise for tst-cancel24-static.
3649         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3650         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3651         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3652         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3654 2015-03-04  Andreas Schwab  <schwab@suse.de>
3656         [BZ #17631]
3657         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3658         for non-GCC compilers.
3659         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3660         Likewise.
3662 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3664         [BZ #17776]
3665         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3666         integer before bitwise and assembly operations.
3667         (feclearexcept): Likewise.
3668         * math/test-fenvinline.c: New file.
3669         * math/Makefile: Add test-fenvinline test.
3671 2015-03-03  Alan Modra  <amodra@gmail.com>
3673         [BZ #16512]
3674         * scripts/localplt.awk: Strip off symbol version.
3675         * NEWS: Mention bug fix.
3677 2015-03-02  Roland McGrath  <roland@hack.frob.com>
3679         * sysdeps/pthread/timer_routines.c
3680         (timer_free_list, thread_free_list, thread_active_list): Make static.
3682 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
3684         [BZ #17779]
3685         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3686         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3687         Undefine.
3688         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3689         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3690         Likewise.
3691         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3692         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3693         Likewise.
3695 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
3697         [BZ #18036]
3698         * posix/fnmatch_loop.c (END): Detect invalid pattern.
3699         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3701 2015-03-02  Andreas Schwab  <schwab@suse.de>
3703         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3704         variable name.
3706 2015-03-02  Florian Weimer  <fweimer@redhat.com>
3708         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3709         Return error status.
3711 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
3713         [BZ #15969]
3714         * locale/findlocale.c (_nl_find_locale): Introduce const
3715         version of loc_name and drop unsafe type casts.
3717 2015-02-27  Roland McGrath  <roland@hack.frob.com>
3719         * dlfcn/tststatic2.c (main): Converted to ...
3720         (do_test): ... this.
3721         (TEST_FUNCTION): New macro.
3722         Include test-skeleton.c.
3724 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
3726         [BZ #17711]
3727         * elf/Makefile (tests): Add vismain only if PIE is enabled.
3728         (tests-pie): Add vismain.
3729         (CFLAGS-vismain.c): New.
3730         * elf/vismain.c: Add comments for PIE requirement.
3732 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3734         [BZ #18046]
3735         [BZ #18047]
3736         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3737         0x1p-56L as threshold for just returning the argument.
3738         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3739         0x1p-32L as threshold for just returning the argument.
3740         * math/auto-libm-test-in: Add more tests of atanh.
3741         * math/auto-libm-test-out: Regenerated.
3742         * sysdeps/i386/fpu/libm-test-ulps: Update.
3743         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3745 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3747         * string/bcopy.c (bcopy): Call memmove for performance.
3749 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3751         * string/bzero.c (__bzero): Call memset for performance.
3753 2015-02-27  John David Anglin  <dave.anglin@bell.net>
3755         [BZ #18068]
3756         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3757         to 00100000.
3759 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3761         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3763 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3765         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3766         (__kernel_standard): Use CSTR macro when setting exc.name.
3767         * sysdeps/ieee754/Makefile [$(subdir) = math]
3768         (CFLAGS-k_standard.c): Remove variable.
3770         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3771         setting p and q from "else if" to "else".
3772         (qzero): Likewise.
3773         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3774         (qone): Likewise.
3775         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3776         (qzerof): Likewise.
3777         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3778         (qonef): Likewise.
3779         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3780         (qzero): Likewise.
3781         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3782         (qone): Likewise.
3784         [BZ #18038]
3785         [BZ #18039]
3786         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3787         return pi/2 for arguments below 0x1p-113L.
3788         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3789         return pi/2 for arguments below 0x1p-106L.
3790         * math/auto-libm-test-in: Add more tests of acos.
3791         * math/auto-libm-test-out: Regenerated.
3793         [BZ #16351]
3794         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3795         (MO): New macro.
3796         (__ieee754_asin): Force underflow exception for results with small
3797         absolute value.
3798         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3799         (MO): New macro.
3800         (__ieee754_asinf): Force underflow exception for results with
3801         small absolute value.
3802         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3803         (__ieee754_asin): Force underflow exception for results with small
3804         absolute value.
3805         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3806         (__ieee754_asinf): Force underflow exception for results with
3807         small absolute value.
3808         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3809         (__ieee754_asinl): Force underflow exception for results with
3810         small absolute value.
3811         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3812         (__ieee754_asinl): Force underflow exception for results with
3813         small absolute value.
3814         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3815         (__ieee754_asinl): Force underflow exception for results with
3816         small absolute value.
3817         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3818         Include <math.h>.
3819         * math/auto-libm-test-in: Do not mark underflow exceptions as
3820         possibly missing for bug 16351.
3821         * math/auto-libm-test-out: Regenerated.
3823         [BZ #18030]
3824         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3825         of power of 2 down when low part has opposite sign.
3826         * math/libm-test.inc (logb_test_data): Add more tests.
3828 2015-02-26  Andreas Schwab  <schwab@suse.de>
3830         [BZ #18032]
3831         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3832         over collating symbol inside a bracket expression.  Minor cleanup.
3833         * posix/tst-fnmatch3.c (do_test): Add test case.
3835 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3837         [BZ #18029]
3838         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3839         Adjust exponent of power of 2 down when low part has opposite
3840         sign.
3841         * math/libm-test.inc (ilogb_test_data): Add more tests.
3843 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
3845         [BZ #15969]
3846         * locale/findlocale.c (_nl_find_locale): Fix constness error in
3847         the previous change.
3849         [BZ #15969]
3850         * locale/findlocale.c (_nl_find_locale): Retry archive search
3851         after alias expansion.
3853 2015-02-25  Roland McGrath  <roland@hack.frob.com>
3855         * iconv/tst-iconv3.c (main): Converted to ...
3856         (do_test): ... this.
3857         (TEST_FUNCTION): New macro.
3858         Include test-skeleton.c.
3860         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3861         (convert): Make function static.
3862         (test_unalign): Likewise.  Add const to argument pointee types.
3863         (main): Replace with static function do_test.
3864         Print "Succeeded." only if RET is zero.
3865         (TEST_FUNCTION): New macro.
3866         Include test-skeleton.c.
3868         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3869         returns a null pointer.
3871 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3873         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3874         to __memcpy_ppc only for static builds.
3876 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
3878         [BZ #18020]
3879         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3880         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3881         * math/auto-libm-test-in: Add more tests of asinh.
3882         * math/auto-libm-test-out: Regenerated.
3883         * sysdeps/i386/fpu/libm-test-ulps: Update.
3884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3886 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
3888         [BZ #15850]
3889         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3890         and ip6_mtuinfo definitions here.
3891         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3892         in this define too.  Update comment.
3894 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
3896         * elf/sprof.c (load_shobj): Tweak error message to match others.
3898 2015-02-24  Kevin Easton  <kevin@guarana.org>
3900         [BZ #16145] (partial fix)
3901         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3902         to reduce lock contention.
3904 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
3906         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3907         (struct timex): Update time comment.
3908         (ADJ_SETOFFSET): Define.
3910 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3912         [BZ #18019]
3913         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3914         2**56 not 2**28 as threshold for log (2x) formula.
3915         * math/auto-libm-test-in: Add more tests of acosh.
3916         * math/auto-libm-test-out: Regenerated.
3917         * sysdeps/i386/fpu/libm-test-ulps: Update.
3918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3920 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3922         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3923         parenthesis around the buf assignment.
3924         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3926 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3928         [BZ #16783]
3929         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3930         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3931         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3932         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3933         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3934         * math/libm-test.inc (scalb_test_data): Add more tests.
3936 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3938         [BZ #17916]
3939         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3940         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3942 2015-02-24  Eric Rannaud  <e@nanocritical.com>
3944         [BZ #17523]
3945         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3946         * io/bits/fcntl2.h (open): Use it.
3947         (openat): Likewise.
3948         * io/open.c (__libc_open): Likewise.
3949         * io/open64.c (__libc_open64): Likewise.
3950         * io/open64_2.c (__open64_2): Likewise.
3951         * io/open_2.c (__open_2): Likewise.
3952         * io/openat.c (__openat): Likewise.
3953         * io/openat64.c (__openat64): Likewise.
3954         * io/openat64_2.c (__openat64_2): Likewise.
3955         * io/openat_2.c (__openat_2): Likewise.
3956         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3957         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3958         * sysdeps/posix/open64.c (__libc_open64): Likewise.
3959         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3960         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3961         (__open_nocancel): Likewise.
3962         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3963         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3964         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3966 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3968         [BZ #14841]
3969         * resolv/gethnamaddr.c (getanswer): Skip logging if
3970         RES_USE_DNSSEC is set.
3971         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3973 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3975         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3977 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
3979         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3980         201304L, for Unicode 7.
3982 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
3984         [BZ #17836]
3985         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3986         shared library.  Add gmon-start.os otherwise.
3987         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3988         $(objpfx)gmon-start.os if builing shared library.
3989         ($(objpfx)g$(static-start-installed-name)): Likewise.
3991 2015-02-23  Andreas Schwab  <schwab@suse.de>
3993         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3995 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
3997         [BZ #17269]
3998         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3999         (enlarge_userbuf): Likewise.
4001 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
4003         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
4004         * math/atest-exp.c (TIMEOUT): Adjust to 200.
4005         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
4006         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
4008 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
4010         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
4011         expression inside statement expression.
4013 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4015         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
4016         <sysdeps/nptl/lowlevellock.h> and remove macros and
4017         functions that are now defined there.
4018         (SYS_futex): Remove.
4019         (lll_compare_and_swap): Remove.
4020         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
4022 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
4024         [BZ #17999]
4025         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
4026         instead of scandirat.
4027         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
4028         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
4029         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
4030         __scandirat.
4031         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
4032         (__scandirat): Declare.  Use libc_hidden_proto.
4033         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
4034         Remove variable.
4035         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4037 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4039         [BZ #15319]
4040         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
4041         (MO): New macro.
4042         (__ieee754_atan2): For results with small absolute value, force
4043         underflow exception and remove excess range and precision from
4044         return value.
4045         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
4046         (MO): New macro.
4047         (__ieee754_atan2f): For results with small absolute value, force
4048         underflow exception and remove excess range and precision from
4049         return value.
4050         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
4051         (MO): New macro.
4052         (__atan): For results with small absolute value, force underflow
4053         exception and remove excess range and precision from return value.
4054         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
4055         (MO): New macro.
4056         (__atanf): For results with small absolute value, force underflow
4057         exception and remove excess range and precision from return value.
4058         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
4059         <math.h>.
4060         (__ieee754_atan2): Force underflow exception for results with
4061         small absolute value.
4062         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
4063         <math_private.h>.
4064         (atan): Force underflow exception for results with small absolute
4065         value.
4066         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
4067         (__atanf): Force underflow exception for results with small
4068         absolute value.
4069         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
4070         <math.h>.
4071         (__atanl): Force underflow exception for results with small
4072         absolute value.
4073         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
4074         (__atanl): Force underflow exception for results with small
4075         absolute value.
4076         * sysdeps/x86/fpu/bits/mathinline.h
4077         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
4078         (__ieee754_atan2): Only define inline for long double.
4079         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
4080         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
4081         * math/auto-libm-test-in: Do not mark underflow exceptions as
4082         possibly missing for bug 15319.  Add more tests of atan2.
4083         * math/auto-libm-test-out: Regenerated.
4084         * math/libm-test.inc (casin_test_data): Do not mark underflow
4085         exceptions as possibly missing for bug 15319.
4086         (casinh_test_data): Likewise.
4087         * sysdeps/i386/fpu/libm-test-ulps: Update.
4089 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
4091         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
4092         * sysdeps/mips/bits/endian.h: Fix comments.
4094 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
4096         [BZ #17996]
4097         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
4098         (hdestroy_r): Likewise.
4099         (hsearch_r): Likewise.
4100         (__hcreate_r): Declare and use libc_hidden_proto.
4101         (__hdestroy_r): Likewise.
4102         (__hsearch_r): Likewise.
4103         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
4104         (hcreate): Call __hcreate_r instead of hcreate_r.
4105         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
4106         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
4107         as weak alias of __hcreate_r.
4108         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
4109         __hdestroy_r.
4110         (hsearch_r): Rename to __hsearch_r and define as weak alias of
4111         __hsearch_r.
4112         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
4113         Remove variable.
4114         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4115         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4116         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4117         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4119 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4121         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
4122         arena_lock into a single arena_get.
4124 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
4126         * dl-reloc.c: Inlucde libc-internal.h.
4127         (_dl_try_allocate_static_tls): Call ALIGN_UP.
4128         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
4129         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
4130         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
4131         (grow_heap): Likewise.
4132         * malloc/malloc.c: Include libc-internal.h.
4133         (do_check_malloc): Call powerof2.
4134         (sysmalloc): Use pagesize. Call ALIGN_UP.
4135         (systrim): Use pagesize.
4136         (mremap_chunk): Use pagesize. Call ALIGN_UP.
4137         (__libc_valloc): Use pagesize.
4138         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4140 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4142         [BZ #17991]
4143         * include/sys/resource.h (__getrlimit64): Declare.  Use
4144         libc_hidden_proto.
4145         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4146         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
4147         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4148         getrlimit64.
4149         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4150         __getrlimit64.
4151         [!getrlimit64] (getrlimit64): Define as weak alias of
4152         __getrlimit64.  Use libc_hidden_weak.
4153         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4154         using __getrlimit64 not __new_getrlimit64.
4155         (__GI_getrlimit64): Likewise.
4156         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4157         Likewise.
4158         (__GI_getrlimit64): Likewise.
4159         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4161         (getrlimit): Add __getrlimit64 alias.
4162         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4163         Likewise.
4164         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4165         Remove variable.
4166         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4167         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4169 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4171         * libio/fileops.c: Add missing sys/mman.h
4172         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4174 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4176         * manual/math.texi (Errors in Math Functions): Clarify goals
4177         regarding inexact and underflow exceptions.
4179 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4181         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4182         * sysdeps/mips/memset.S: Ditto.
4184 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4186         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4188 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4190         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4191         (__v1longjmp): Remove versioned symbol.
4192         (__v1siglongjmp): Remove alias and versioned symbol.
4193         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4194         (__v2siglongjmp): Likewise.
4196 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4198         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4200 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
4202         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4204 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4206         [BZ #17987]
4207         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4208         zero result does not depend on the sign resulting from
4209         subtraction.
4210         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4211         Likewise.
4212         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4213         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4214         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4215         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4216         * math/libm-test.inc (remquo_test_data): Add more tests.
4218 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
4220         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4221         Problem reported by J William Piggott.
4223 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4225         [BZ #17978]
4226         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4227         products 4 * y and 2 * y where those would overflow.
4228         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4229         Likewise.
4230         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4231         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4232         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4233         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4234         * math/libm-test.inc (remquo_test_data): Add more tests.
4236         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4238         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4239         [defined _COMPILING_NEWLIB].
4240         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4241         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4243         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4244         [!defined __mips_isa_rev || __mips_isa_rev < 6].
4246 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4248         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4249         acquired.
4251 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
4253         [BZ #17792]
4254         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4255         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4256         HOST_STACK_END_ADDR): Likewise.
4258 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
4260         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4261         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4262         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4264 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4266         * sysdeps/generic/c++-types.data: New file.
4267         * sysdeps/generic/ld.abilist: New file.
4268         * sysdeps/generic/libBrokenLocale.abilist: New file.
4269         * sysdeps/generic/libanl.abilist: New file.
4270         * sysdeps/generic/libc.abilist: New file.
4271         * sysdeps/generic/libcrypt.abilist: New file.
4272         * sysdeps/generic/libdl.abilist: New file.
4273         * sysdeps/generic/libm.abilist: New file.
4274         * sysdeps/generic/libpthread.abilist: New file.
4275         * sysdeps/generic/libresolv.abilist: New file.
4276         * sysdeps/generic/librt.abilist: New file.
4278 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4280         [BZ #17569]
4281         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4282         Compute absolute value of x as modified by fmod, not original
4283         value of x.
4284         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4285         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
4286         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
4287         RUN_TEST_ffI_f1_mod8.
4288         (remquo_test_data): Add more tests.
4290 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4292         * sysdeps/init_array/pt-crti.S: New file.
4294 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4296         [BZ #17967]
4297         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4298         __builtin_fmaf instead of relying on contraction of a * b + c.
4300 2015-02-12  J William Piggott  <elseifthen@gmx.com>
4302         [BZ #17969]
4303         * manual/time.texi: correct the zoneinfo path in the TZ Variable
4304         node.
4306 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4308         [BZ #17964]
4309         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4310         __builtin_fma instead of relying on contraction of a * b + c.
4312 2015-02-12  Roland McGrath  <roland@hack.frob.com>
4314         * Makeconfig (ASFLAGS): Add -Werror=undef.
4315         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4316         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4317         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4319         * Makeconfig (after-link): New variable.
4320         (+link-pie, +link-pie-tests): Use it.
4321         (+link-static, +link-static-tests): Likewise.
4322         (+link, +link-tests): Likewise.
4323         * Makerules (build-module, build-module-asneeded): Likewise.
4324         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4325         Likewise.
4326         * elf/Makefile ($(objpfx)ld.so): Likewise.
4328 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4330         [BZ #17965]
4331         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4332         both struct timeval and struct timespec.
4334 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4336         [BZ #16560]
4337         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4338         and redefine.
4339         (__ieee754_exp2l): Do not multiply small fractional parts by
4340         M_LN2l.
4341         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4342         small argument.
4343         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4344         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4345         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4346         * math/auto-libm-test-in: Add more tests of exp2.
4347         * math/auto-libm-test-out: Regenerated.
4349 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4351         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4352         unaligned path.
4354 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4356         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4357         little endian.
4359 2015-02-12  Andreas Schwab  <schwab@suse.de>
4361         [BZ #15790]
4362         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4363         Filter out elision flags from value returned in kind.
4364         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4365         * nptl/tst-pthread-mutexattr.c: New file.
4367 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4369         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4370         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4371         into gnu-gnu, and update comment to refer to abi-tags.
4373 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
4375         [BZ #15467]
4376         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4377         (__sincos): Set errno to EDOM for infinite argument.
4378         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4379         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4380         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4381         (__sincosl): Set errno to EDOM for infinite argument.
4382         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4383         (__sincosl): Set errno to EDOM for infinite argument.
4384         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4385         (__sincosl): Set errno to EDOM for infinite argument.
4386         * math/libm-test.inc (sincos_test_data): Test errno setting.
4388 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
4390         * string/strxfrm_l.c: Remove #define STRCMP.
4391         * string/strcoll_l.c: Remove #define STRLEN.
4392         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4393         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4395 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
4397         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4398         * sysdeps/mips/mips32/sfp-machine.h: ... here.
4399         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4400         * sysdeps/mips/mips64/Makefile: ... here.
4401         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4402         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4403         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4404         * sysdeps/mips/mips64/sfp-machine.h: ... here.
4405         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4406         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4407         * sysdeps/mips/mips64/n64/Implies: Likewise.
4409 2015-02-10  Roland McGrath  <roland@hack.frob.com>
4411         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4412         <sys/time.h>, <string.h>, and <errno.h>.
4413         (dest_offset, dest_address, value, zero): Remove unused variables.
4414         (ldouble): Remove typedef.
4415         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4416         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
4417         1).  Fix code style.
4418         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4419         (check): Function removed.
4420         (CHECK): New macro.
4421         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
4422         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4423         Don't call set_sigaction_FP and remove_sigaction_FP here.
4424         (ldouble_test): Just use 'long double' as macro argument, no need for
4425         the 'ldouble' typedef.
4426         (do_test): Set up SIGFPE handler at start, using plain signal rather
4427         than sigaction.  Fix code style.
4429 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
4431         [BZ #17949]
4432         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4433         jump label.
4435 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4437         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4438         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4440         * sysdeps/powerpc/configure.ac: Remove file.
4441         * sysdeps/powerpc/configure: Likewise.
4443         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4444         [sysdep_routines]: Remove wordcopy-power6 object.
4445         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4446         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4447         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4448         (__memmove_ppc32): Likewise.
4449         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4450         file.
4451         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4452         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4453         Remove preprocessor.
4455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4456         [sysdep_routines]: Remove wide chars objects.
4457         [wcsmbs]: New rule for wide char objects.
4459         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4460         Remove wordcopy-power6 obejct.
4461         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4462         Use local call for wordcopy and memcpy symbols.
4463         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4464         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4465         implementation for loader.
4466         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4468         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4469         Remove wordcopy-power7 object.
4470         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4471         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4472         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4473         (_wordcopy_fwd_dest_aligned): Likewise.
4474         (_wordcopy_bwd_aligned): Likewise.
4475         (_wordcopy_bwd_dest_aligned): Likewise.
4477         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4478         Rewrite to call __memmove_ppc instead of include default
4479         implementation.
4481         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4482         Remove wide chars objects.
4483         [wcsmbs]: New rule for wide char objects.
4485 2015-02-09  Andreas Schwab  <schwab@suse.de>
4487         [BZ #17912]
4488         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4489         in terms of __O_DIRECTORY.
4491 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4493         * time/getdate.c: Include <stdbool.h>.
4494         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4495         call PTR_MANGLE.
4496         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4497         PTR_DEMANGLE.
4499 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
4501         Add ersatz _Static_assert on older C hosts
4502         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4503         pre-C11 C platform that is not known to support _Static_assert.
4505 2015-02-07  Richard Braun  <rbraun@sceen.net>
4507         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4508         sigstate.
4509         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4511 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4513         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4514         priority against unexistent AIO_PRIO_DELTA_MAX.
4515         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4516         instead of int.
4517         * misc/fchflags.c (fchflags): Likewise.
4518         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4519         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4520         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4521         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4522         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4523         Declare macros.
4524         [__USE_MISC] (chflags, fchflags): Declare functions.
4525         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4526         EINVAL when nfds is greater than FD_SETSIZE.
4527         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4528         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4529         45.
4530         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4531         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4532         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4533         MACH_RCV_TIMED_OUT.
4534         * hurd/hurd/signal.h (_hurd_self_sigstate,
4535         _hurd_critical_section_lock, _hurd_critical_section_unlock):
4536         Explicit casts from void *.
4537         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4538         * abi-tags: Rename gnu-gnu os into gnu.
4540         [BZ #4719]
4541         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4542         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4543         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4544         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4545         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4546         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4548         [BZ #17944]
4549         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4550         duplicates ADDR->sun_path with sockaddr LEN limitation.
4551         * sysdeps/mach/hurd/connect.c: Include <string.h>
4552         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4553         * sysdeps/mach/hurd/sendmsg.c: Likewise.
4554         * sysdeps/mach/hurd/sendto.c: Likewise.
4555         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4556         implementing it by hand.
4558 2015-02-06  Roland McGrath  <roland@hack.frob.com>
4560         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4561         Use sfi_breg on ldr.
4562         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4563         Likewise.
4565         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4566         it's defined.
4567         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4568         Test SIGSETXID only if it's defined.
4570         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4572         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4573         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
4575         * nptl/tst-align2.c: Moved ...
4576         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4577         * nptl/Makefile (tests): Remove tst-align2.
4578         * sysdeps/unix/sysv/linux/Makefile
4579         [$(subdir) = nptl] (tests): Add tst-align-clone.
4580         * nptl/tst-getpid1.c: Moved ...
4581         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4582         * nptl/tst-getpid2.c: Moved ...
4583         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4584         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4585         * sysdeps/unix/sysv/linux/Makefile
4586         [$(subdir) = nptl] (tests): ... here.
4587         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4588         * sysdeps/unix/sysv/linux/Makefile
4589         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4591         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4592         Drop trailing \n from perror argument.  Use return rather than exit.
4594         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4595         on [SA_SIGINFO].
4596         * nptl/tst-cancel21.c (do_test): Likewise.
4597         * debug/tst-backtrace6.c: Include <signal.h> first thing.
4598         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4599         [!SA_SIGINFO]: Make it a stub test.
4601         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4602         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4604         * posix/tst-getlogin.c: Move to ...
4605         * login/tst-getlogin.c: ... here.
4606         * posix/Makefile (tests): Move tst-getlogin to ...
4607         * login/Makefile (tests): ... here.
4609         * libio/tst-atime.c (do_test): Move local variables SV and E
4610         inside [ST_NOATIME] conditional.
4612         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4614         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4616         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4617         (wait_code): New function replaces macro.
4618         Call nanosleep rather than syscall.
4620         * nptl/pt-system.c: Rewritten.  Put everything under
4621         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4622         Use IFUNC to redirect when possible.
4624         * nptl/pt-longjmp.c: Rewritten.  Put everything under
4625         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4626         Use IFUNC to redirect when possible.
4628         * nptl/pt-fork.c: Rewritten.  Put everything under
4629         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4630         Use IFUNC to redirect when possible.
4631         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4633         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4634         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4635         unconditionally nowadays.  This included the only reference to
4636         __vdso_clock_gettime that appears outside libc proper.
4637         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4638         Remove version set (containing only __vdso_clock_gettime).
4639         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4640         Add attribute_hidden.
4641         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4642         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4643         libc_hidden_data_def.
4644         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4645         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4647         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4648         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4649         setrpcent, and getrpcport to ...
4650         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4651         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4652         getrpcbynumber_r, and getrpcent_r to ...
4653         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4654         * inet/getrpcbyname.c: Moved ...
4655         * sunrpc/getrpcbyname.c: ... here.
4656         * inet/getrpcbyname_r.c: Moved ...
4657         * sunrpc/getrpcbyname_r.c: ... here.
4658         * inet/getrpcbynumber.c: Moved ...
4659         * sunrpc/getrpcbynumber.c: ... here.
4660         * inet/getrpcbynumber_r.c: Moved ...
4661         * sunrpc/getrpcbynumber_r.c: ... here.
4662         * inet/getrpcent.c: Moved ...
4663         * sunrpc/getrpcent.c: ... here.
4664         * inet/getrpcent_r.c: Moved ...
4665         * sunrpc/getrpcent_r.c: ... here.
4666         * inet/Makefile (routines): Move those to ...
4667         * sunrpc/Makefile (routines): ... here.
4668         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4669         the $(subdirs) list.
4670         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
4671         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4672         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4673         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4675         * elf/Makefile (routines): Include $(all-dl-routines), not just
4676         $(dl-routines).
4677         (rtld-routines): Likewise.  Use = rather than :=.
4678         * sysdeps/aarch64/Makefile [$(subdir) = elf]
4679         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4680         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4681         * sysdeps/arm/Makefile: Likewise.
4682         * sysdeps/i386/Makefile: Likewise.
4683         * sysdeps/x86_64/Makefile: Likewise.
4684         * sysdeps/hppa/Makefile [$(subdir) = elf]
4685         (sysdep_routines, sysdep-rtld-routines): Don't add
4686         $(sysdep-dl-routines) to these.
4687         * sysdeps/ia64/Makefile: Likewise.
4688         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4689         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4690         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4691         Don't add dl-static to these; sysdep-dl-routines alone is enough.
4692         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4693         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4694         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4695         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4696         * sysdeps/powerpc/Makefile [$(subdir) = elf]
4697         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4698         these; sysdep-dl-routines alone is enough.
4700 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
4702         [BZ #17932]
4703         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4704         where multiplication results in zero and third argument is finite
4705         and nonzero.
4706         * math/auto-libm-test-in: Add more tests of fma.
4707         * math/auto-libm-test-out: Regenerated.
4709         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4710         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4711         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4712         (_FP_CMP_EQ): Likewise.
4713         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4715         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4716         extra argument CHECK_NAN.  Redefine as wrapper around
4717         _FP_EXTEND_CNAN.
4719 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
4721         * version.h (RELEASE): Set to "stable".
4722         (VERSION): Set to "2.21"
4723         * include/features.h (__GLIBC_MINOR__): Set to 21.
4725         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4727 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4728             Paul Eggert  <eggert@cs.ucla.edu>
4730         [BZ #16618]
4731         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4732         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4733         size in bytes. Store needed elements in wpmax. Use needed size
4734         in bytes for extend_alloca.
4736 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
4738         * manual/install.texi: Latest tested versions are GCC 4.9.2,
4739         binutls 2.25, and texinfo 5.2.
4740         * INSTALL: Regenerate.
4741         * sysdeps/nios2/configure: Regenerate.
4742         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4743         * manual/contrib.texi: Update.
4744         * po/be.po: Update.
4745         * po/bg.po: Update.
4746         * po/ca.po: Update.
4747         * po/cs.po: Update.
4748         * po/da.po: Update.
4749         * po/de.po: Update.
4750         * po/el.po: Update.
4751         * po/eo.po: Update.
4752         * po/es.po: Update.
4753         * po/fi.po: Update.
4754         * po/fr.po: Update.
4755         * po/gl.po: Update.
4756         * po/hr.po: Update.
4757         * po/hu.po: Update.
4758         * po/ia.po: Update.
4759         * po/id.po: Update.
4760         * po/it.po: Update.
4761         * po/ja.po: Update.
4762         * po/ko.po: Update.
4763         * po/lt.po: Update.
4764         * po/nb.po: Update.
4765         * po/nl.po: Update.
4766         * po/pl.po: Update.
4767         * po/pt_BR.po: Update.
4768         * po/ru.po: Update.
4769         * po/rw.po: Update.
4770         * po/sk.po: Update.
4771         * po/sl.po: Update.
4772         * po/sv.po: Update.
4773         * po/tr.po: Update.
4774         * po/uk.po: Update.
4775         * po/vi.po: Update.
4776         * po/zh_CN.po: Update.
4777         * po/zh_TW.po: Update.
4779         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4780         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4781         * sysdeps/hppa/dl-irel.h: Remove #warning.
4782         * sysdeps/hppa/entry.h: Provide prototype for
4783         __canonicalize_funcptr_for_compare and cast argument.
4784         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4785         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4786         * sysdeps/hppa/sotruss-lib.c: New file.
4787         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4788         (atomic_compare_and_exchange_val_acq): Use __typeof__.
4789         (atomic_compare_and_exchange_bool_acq): Likewise.
4790         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4791         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4793         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4794         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4795         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4797 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4799         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4800         called function in non-PIC case.
4802 2015-01-31  David S. Miller  <davem@davemloft.net>
4804         * sysdeps/sparc/sparc32/bits/atomic.h
4805         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4806         unlock not after it.
4807         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4808         volatile register usage warnings from the compiler.
4810         * sysdeps/sparc/nptl/sem_init.c: Delete.
4811         * sysdeps/sparc/nptl/sem_post.c: Delete.
4812         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4813         * sysdeps/sparc/nptl/sem_wait.c: Delete.
4814         * sysdeps/sparc/sparc32/sem_init.c: New file.
4815         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4816         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4817         padding explicitly initialized.
4818         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4819         padding for in-semaphore spinlock.
4820         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4821         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4822         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4823         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4824         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4825         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4826         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4827         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4828         version.
4829         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4830         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4832 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4834         [BZ #17801]
4835         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4836         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4837         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4838         New.
4839         (index_AVX_Fast_Unaligned_Load): Likewise.
4840         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4841         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4842         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4843         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4844         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4845         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4846         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4847         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4848         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4850 2015-01-29  Andreas Schwab  <schwab@suse.de>
4852         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4854 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
4856         [BZ #17892]
4857         * nscd/nscd_stat.c (send_stats): Initialize DATA.
4859 2015-01-28  Martin Sebor  <msebor@redhat.com>
4861         * math/README.libm-test: Clarify. Add "How to read the test output."
4863 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
4865         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4866         Define to 0.
4868 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
4870         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4871         (__HAVE_64B_ATOMICS): Define to 0.
4873 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4875         [BZ #17885]
4876         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4877         value to set as new flag.
4879         [BZ #16576]
4880         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4881         and use _ARCH_PPCSQ instead.
4882         (__ieee754_sqrt): Likewise.
4883         (__ieee754_sqrtf): Likewise.
4884         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4885         _ARCH_PPCSQ is defined.
4886         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4887         fsqrt instruction.
4888         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4889         _ARCH_PPCSQ is defined.
4890         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4891         fsqrts instruction.
4892         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4894 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4896         * iconv/loop.c: Suppress array out of bound warning caused by GCC
4897         bug (GCC BZ #64739).
4899 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
4901         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4902         Mark _retval as used.
4903         (lll_futex_wake_unlock): Likewise.
4904         (lll_futex_timed_wait_requeue_pi): Likewise.
4906         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4907         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4908         register variables.
4910         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4911         libm_hidden_def.
4913         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4914         (__bswap_64): Mark as __always_inline.
4916 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
4918         [BZ #15378]
4919         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4920         when none of the search directories exist.
4922 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4924         [BZ #17869]
4925         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4926         power8 in .machine directive.
4928         [BZ #17868]
4929         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4930         set dependency from opd value.
4932 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4934         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4935         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4936         architecture.
4938 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4940         [BZ #17870]
4941         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4942         with uint64_t.
4943         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4944         (uint64_t) 1.
4945         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4946         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4947         Replace 1UL with (uint64_t) 1.
4948         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4949         int with uint64_t.
4951 2015-01-23  Roland McGrath  <roland@hack.frob.com>
4953         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4954         (if_freenameindex): Likewise.
4956         * resource/getrlimit64.c: Add missing libc_hidden_def.
4958 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
4960         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4961         __label__.
4962         (_FP_FMA): Likewise.
4963         (_FP_TO_INT_ROUND): Likewise.
4964         (_FP_FROM_INT): Likewise.
4966 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4968         [BZ #16418]
4969         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4970         Make code racy and cancel safe.
4972 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
4974         * sysdeps/arm/unwind-resume.h: Fix copyright year.
4975         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4976         attribution.
4978         * pwd/tst-getpw.c: Rewrite.
4980         [BZ #17702]
4981         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4982         (modules-names): Add moddummy1 and moddummy2.
4983         ($(objpfx)tst-rec-dlopen): Define.
4984         * dlfcn/moddummy1.c: New file.
4985         * dlfcn/moddummy2.c: New file.
4986         * dlfcn/tst-rec-dlopen.c: New file.
4987         * elf/dl-cache.c (_dl_load_cache_lookup):
4988         Return char*. Copy result with alloca/strcpy/strdup.
4989         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4990         returns char*. Free cached. If not saving realname
4991         free cached.
4992         * elf/dl-open.c (dl_open_worker): Do not assert that
4993         _r_debug->r_state is RT_CONSISTENT.
4994         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4995         returns char*.
4997 2015-01-21  Torvald Riegel  <triegel@redhat.com>
4998             Carlos O'Donell  <carlos@redhat.com>
5000         [BZ #12674]
5001         * nptl/sem_waitcommon.c: New file.
5002         * nptl/sem_wait.c: Include sem_waitcommon.c.
5003         (__sem_wait_cleanup, do_futex_wait): Remove.
5004         (__new_sem_wait): Adapt.
5005         (__new_sem_trywait): New function.
5006         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
5007         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
5008         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
5009         (sem_timedwait): Adapt.
5010         * nptl/sem_post.c (__new_sem_post): Adapt.
5011         (futex_wake): New function.
5012         (__old_sem_post): Add release MO fence.
5013         * nptl/sem_open.c (sem_open): Adapt.
5014         * nptl/sem_init.c (__new_sem_init): Adapt.
5015         (futex_private_if_supported): New function.
5016         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
5017         (__old_sem_getvalue): Add using previous code.
5018         * sysdeps/nptl/internaltypes.h: Adapt.
5019         * nptl/tst-sem13.c (do_test): Adapt.
5020         * nptl/tst-sem11.c (main): Adapt.
5021         * nptl/sem_trywait.c: Remove.
5022         * nptl/DESIGN-sem.txt: Remove.
5023         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
5024         (gen-as-const-headers): Remove structsem.sym.
5025         * nptl/structsem.sym: Remove.
5026         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
5027         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
5028         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
5029         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
5030         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
5031         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
5032         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
5033         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
5034         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
5035         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
5036         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
5037         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
5038         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
5039         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
5040         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
5041         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
5042         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
5043         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
5044         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
5045         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
5046         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
5047         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
5049 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
5051         * INSTALL: Regenerated.
5053         * po/libc.pot: Regenerated.
5055 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
5056             Sandra Loosemore  <sandra@codesourcery.com>
5057             Andrew Jenner  <andrew@codesourcery.com>
5058             Joseph Myers  <joseph@codesourcery.com>
5059             Nathan Sidwell  <nathan@codesourcery.com>
5061         * NEWS: Mention new Nios II port.
5062         * sysdeps/nios2/Implies: New file.
5063         * sysdeps/nios2/Makefile: New file.
5064         * sysdeps/nios2/Subdirs: New file.
5065         * sysdeps/nios2/Versions: New file.
5066         * sysdeps/nios2/__longjmp.S: New file.
5067         * sysdeps/nios2/abort-instr.h: New file.
5068         * sysdeps/nios2/backtrace.c: New file.
5069         * sysdeps/nios2/bits/endian.h: New file.
5070         * sysdeps/nios2/bits/fenv.h: New file.
5071         * sysdeps/nios2/bits/link.h: New file.
5072         * sysdeps/nios2/bits/setjmp.h: New file.
5073         * sysdeps/nios2/bsd-_setjmp.S: New file.
5074         * sysdeps/nios2/bsd-setjmp.S: New file.
5075         * sysdeps/nios2/configure: New generated file.
5076         * sysdeps/nios2/configure.ac: New file.
5077         * sysdeps/nios2/crti.S: New file.
5078         * sysdeps/nios2/crtn.S: New file.
5079         * sysdeps/nios2/dl-init.c: New file.
5080         * sysdeps/nios2/dl-machine.h: New file.
5081         * sysdeps/nios2/dl-sysdep.h: New file.
5082         * sysdeps/nios2/dl-tls.h: New file.
5083         * sysdeps/nios2/dl-trampoline.S: New file.
5084         * sysdeps/nios2/gccframe.h: New file.
5085         * sysdeps/nios2/gmp-mparam.h: New file.
5086         * sysdeps/nios2/jmpbuf-offsets.h: New file.
5087         * sysdeps/nios2/jmpbuf-unwind.h: New file.
5088         * sysdeps/nios2/ldsodefs.h: New file.
5089         * sysdeps/nios2/libc-tls.c: New file.
5090         * sysdeps/nios2/libm-test-ulps: New file.
5091         * sysdeps/nios2/machine-gmon.h: New file.
5092         * sysdeps/nios2/math-tests.h: New file.
5093         * sysdeps/nios2/math_private.h: New file.
5094         * sysdeps/nios2/memusage.h: New file.
5095         * sysdeps/nios2/nptl/Makefile: New file.
5096         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
5097         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
5098         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
5099         * sysdeps/nios2/nptl/pthreaddef.h: New file.
5100         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
5101         * sysdeps/nios2/nptl/tls.h: New file.
5102         * sysdeps/nios2/preconfigure: New file.
5103         * sysdeps/nios2/s_fma.c: New file.
5104         * sysdeps/nios2/s_fmaf.c: New file.
5105         * sysdeps/nios2/setjmp.S: New file.
5106         * sysdeps/nios2/sfp-machine.h: New file.
5107         * sysdeps/nios2/sotruss-lib.c: New file.
5108         * sysdeps/nios2/stackguard-macros.h: New file.
5109         * sysdeps/nios2/stackinfo.h: New file.
5110         * sysdeps/nios2/start.S: New file.
5111         * sysdeps/nios2/sysdep.h: New file.
5112         * sysdeps/nios2/tls-macros.h: New file.
5113         * sysdeps/nios2/tst-audit.h: New file.
5114         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
5115         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
5116         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
5117         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
5118         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
5119         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
5120         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
5121         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
5122         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
5123         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
5124         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
5125         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
5126         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
5127         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
5128         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
5129         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
5130         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
5131         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
5132         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
5133         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
5134         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5135         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5136         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5137         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5138         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5139         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5140         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5141         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5142         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5143         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5144         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5145         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5146         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5147         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5148         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5149         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5150         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5151         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5152         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5153         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5154         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5155         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5156         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5157         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5159 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5161         [BZ #17844]
5162         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5163         (getutent): Use weak_alias in non SHARED case
5164         and default_symbol_version in SHARED case.
5165         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5166         (getutent_r, pututline): Likewise.
5167         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5168         (getutid): Likewise.
5169         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5170         (getutid_r): Likewise.
5171         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5172         (getutline): Likewise.
5173         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5174         (getutline_r): Likewise.
5175         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5176         (updwtmp): Likewise.
5178 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5180         [BZ #17848]
5181         * sysdeps/s390/s390-32/memcmp.S
5182         (memcmp_g5): Rename to __memcmp_g5.
5183         * sysdeps/s390/s390-32/memcpy.S
5184         (memcpy_g5): Rename to __memcpy_g5.
5185         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5186         (memcpy_mvcle) Rename to __memcpy_mvcle.
5187         * sysdeps/s390/s390-32/memset.S
5188         (memset_g5): Rename to __memset_g5.
5189         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5190         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5191         and use prefixed functions.
5192         * sysdeps/s390/s390-32/multiarch/memcmp.S
5193         (memcmp_z196): Rename to __memcmp_z196.
5194         (memcmp_z10): Rename to __memcmp_z10.
5195         (memcmp): Set alias to __memcmp_g5.
5196         (bcmp): Set alias to __memcmp_g5.
5197         * sysdeps/s390/s390-32/multiarch/memcpy.S
5198         (memcpy_z196): Rename to __memcpy_z196.
5199         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5200         (memcpy_z10): Rename to __memcpy_z10.
5201         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5202         (memcpy): Set alias to __memcpy_g5.
5203         * sysdeps/s390/s390-32/multiarch/memset.S
5204         (memset_z196): Rename to __memset_z196.
5205         Jump to __memset_mvcle instead of memset_mvcle.
5206         (memset_z10): Rename to __memset_z10.
5207         Jump to __memset_mvcle instead of memset_mvcle.
5208         (memset_mvcle) Rename to __memset_mvcle.
5209         (memset): Set alias to __memset_g5.
5210         * sysdeps/s390/s390-64/memcmp.S
5211         (memcmp_z900): Rename to __memcmp_z900.
5212         * sysdeps/s390/s390-64/memcpy.S
5213         (memcpy_z900): Rename to __memcpy_z900.
5214         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5215         (memcpy_mvcle) Rename to __memcpy_mvcle.
5216         * sysdeps/s390/s390-64/memset.S
5217         (memset_z900): Rename to __memset_z900.
5218         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5219         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5220         and use prefixed functions.
5221         * sysdeps/s390/s390-64/multiarch/memcmp.S
5222         (memcmp_z196): Rename to __memcmp_z196.
5223         (memcmp_z10): Rename to __memcmp_z10.
5224         (memcmp): Set alias to __memcmp_z900.
5225         (bcmp): Set alias to __memcmp_z900.
5226         * sysdeps/s390/s390-64/multiarch/memcpy.S
5227         (memcpy_z196): Rename to __memcpy_z196.
5228         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5229         (memcpy_z10): Rename to __memcpy_z10.
5230         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5231         (memcpy): Set alias to __memcpy_z900.
5232         * sysdeps/s390/s390-64/multiarch/memset.S
5233         (memset_z196): Rename to __memset_z196.
5234         Jump to __memset_mvcle instead of memset_mvcle.
5235         (memset_z10): Rename to __memset_z10.
5236         Jump to __memset_mvcle instead of memset_mvcle.
5237         (memset_mvcle) Rename to __memset_mvcle.
5238         (memset): Set alias to __memset_z900.
5240 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
5242         [BZ #17748]
5243         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5244         __fesetenv instead of fesetenv.
5246 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5248         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5249         macro.
5251 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5253         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5254         regression on LE.
5256         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5257         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5258         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5259         strncmp-power8 object.
5260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5261         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5262         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5263         * NEWS: Update.
5265 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5266             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5268         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5269         trailing byte check.
5271 2015-01-13  David S. Miller  <davem@davemloft.net>
5273         * include/signal.h (__sigreturn): Guard with __USE_MISC.
5275 2015-01-13  Roland McGrath  <roland@hack.frob.com>
5277         * login/logout.c (logout): Use memset rather than bzero.
5278         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5279         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5280         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5281         (_gethtbyaddr): Likewise.
5282         * locale/programs/simple-hash.c (bcopy): Macro removed.
5284 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5286         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5287         Add strcmp-power8 object.
5288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5289         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5290         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5291         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5292         __strcmp_power8 implementation.
5293         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5294         * NEWS: Update.
5296         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5297         Add strncpy-power8 and stpncpy-power8 objects.
5298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5299         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5300         implementations.
5301         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5302         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5303         __stpncpy_power8 implementation.
5304         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5305         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5306         __strncpy_power8 implementation.
5307         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5308         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5309         * NEWS: Update.
5311         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5312         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5313         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5315         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5316         strncat-power8 object.
5317         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5318         __strcat_power8 implementation.
5319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5320         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5321         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5322         optimized strcat for power8.
5324         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5325         strcpy-power8 and stpcpy-power8 objects.
5326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5327         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5328         implementations.
5329         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5330         multiarch stpcpy implementation for POWER8.
5331         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5332         multiarch strcpy implementation for POWER8.
5333         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5334         __strcpy_power8 function.
5335         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5336         stpcpy for POWER8.
5337         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5338         strcpy for POWER8.
5339         * NEWS: Update.
5341 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
5343         [BZ #16009]
5344         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5345         weights and rules. Use do_xfrm_cached if data fits in cache,
5346         do_xfrm otherwise.  Moved former main loop to...
5347         * (do_xfrm_cached): New function.
5348         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5349         find_idx, find_position and stack_push.
5350         * (find_idx): New function.
5351         * (find_position): Likewise.
5352         * localedata/sort-test.sh: Added test run for do_xfrm.
5353         * localedata/xfrm-test.c (main): Added command line option
5354         -nocache to run the test with strings that are too large for
5355         the STRXFRM cache.
5357 2015-01-13  Torvald Riegel  <triegel@redhat.com>
5359         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5360         variable to lll_futex_wake call, not the value itself.
5362 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
5364         [BZ #17803]
5365         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5366         twom64.  Adjust value to 0x1p-64L.
5367         (__scalblnl): Only return standard underflowing result for K <=
5368         -64 not K <= -63; adjust exponent for underflowing result by 64
5369         not 63.
5370         * math/libm-test.inc (scalbn_test_data): Add more tests.
5371         (scalbln_test_data): Likewise.
5373         [BZ #17834]
5374         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5375         0x1p63L.
5376         (__scalblnl): Get new exponent of adjusted subnormal value from ES
5377         not HX.
5378         * math/libm-test.inc (scalbn_test_data): Add more tests.
5379         (scalbln_test_data): Likewise.
5381 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5382             Stefani Seibold  <stefani@seibold.net>
5384         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5385         (sysdep_routines): Add dl-vdso here, ...
5386         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5387         (sysdep_routines): ... not here.
5388         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5389         fallback when vDSO is not presented.
5390         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5391         Define with libc_hidden_proto/libc_hidden_data_def definitions.
5392         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5393         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5394         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5395         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5396         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5397         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5398         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5399         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5400         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
5401         fallback configurable symbol when vDSO is not available.
5402         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5403         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
5404         be able to redefine fallback symbol when vDSO is not available.
5405         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5406         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5408 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5410         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5411         (TLS_INIT_TP): Add tm_capable initialization.
5412         (TLS_DEFINE_INIT_TP): Likewise.
5413         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5414         TCB.
5415         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5416         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5417         calculation.
5418         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5419         transactoion is lock elision is built and TCB tm_capable is set.
5420         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5422         (INTERNAL_SYSCALL_NCS): Likewise.
5423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5424         (INTERNAL_SYSCALL_NCS): Likewise.
5425         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5427         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5428         for powerpc.
5429         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5430         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5431         and remove it for 32 bits case.
5432         [pthread_rwlock_t] (__rwelision): New field for lock elision.
5433         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5434         initialization.
5435         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5436         Disable lock elision with rdlocks if elision is not available.
5438         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5439         (sysdep_routines): Add lock elision objects.
5440         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5441         [pthread_mutex_t] (__spins): Rework to add lock elision field.
5442         [pthread_mutex_t] (__elision): Add field.
5443         [__PTHREAD_SPINS]: Adjust to init lock elision field.
5444         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5445         elision definitions for powerpc.
5446         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5447         implementation of lock elision for powerpc.
5448         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5449         implementation of timed lock elision for powerpc.
5450         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5451         implementation of trylock with lock elision for powerpc.
5452         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5453         implementaion of unlock for lock elision for powerpc.
5454         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5455         automatic enable lock elision for mutexes.
5456         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5457         transaction execution definitions for powerpc.
5458         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5459         definitions.
5460         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5461         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5462         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5463         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5464         * NEWS: Update.
5466 2015-01-09  Roland McGrath  <roland@hack.frob.com>
5468         * sysdeps/posix/shm-directory.c: Use <> rather than ""
5469         for #include of <shm-directory.h>.
5471 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
5473         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5474         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5476 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
5478         [BZ #17791]
5479         * NEWS: Mention bug fix.
5480         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5481         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5482         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5484 2015-01-09  Torvald Riegel <triegel@redhat.com>
5486         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5488 2015-01-09  Torvald Riegel <triegel@redhat.com>
5490         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5492 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5494         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5495         pointer and cast to uintptr_t.
5497 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5499         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5500         removed.
5501         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5503 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5505         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5506         of 0.
5508 2015-01-08  Roland McGrath  <roland@hack.frob.com>
5510         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5511         <nptl/pthreadP.h> instead.
5512         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5514         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5515         already defined.
5516         [__SIGRTMIN] (init): Function removed.
5517         [__SIGRTMIN] (initialized): Variable removed.
5518         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5519         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5520         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5521         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5522         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5523         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5524         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5525         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5526         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5527         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5528         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5529         * sysdeps/nptl/allocrtsig.c: New file.
5530         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5531         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5532         * sysdeps/generic/testrtsig.h: File removed.
5534         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5535         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5537         * nptl/nptl-init.c (pthread_functions): Conditionalize
5538         .ptr__nptl_setxid initialization on [SIGSETXID].
5540         * sysdeps/nptl/sys/procfs.h: New file.
5541         * nptl_db/Makefile (headers): Add it.
5542         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5544         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5545         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5546         * nptl/pthread_attr_setaffinity.c: Include it.
5547         * nptl/pthread_setattr_default_np.c: Likewise.
5548         * nptl/check-cpuset.h: New file.
5550 2015-01-08  Richard Henderson  <rth@redhat.com>
5552         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5553         (CFLAGS-tst-execstack-prog.c): Likewise.
5554         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5556 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
5557             Sandra Loosemore  <sandra@codesourcery.com>
5558             Andrew Jenner  <andrew@codesourcery.com>
5559             Joseph Myers  <joseph@codesourcery.com>
5560             Nathan Sidwell  <nathan@codesourcery.com>
5562         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5563         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5564         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5565         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5566         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5567         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5568         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5569         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5570         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5571         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5572         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5573         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5574         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5575         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5576         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5577         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5578         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5580 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5582         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5583         timespec struct member in syscall macro.
5584         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5585         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5586         first timeval struct member in syscall macro.
5587         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5589 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
5591         [BZ #17748]
5592         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5593         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5594         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5595         __feupdateenv and define as weak alias of __feupdateenv.  Use
5596         libm_hidden_weak.
5597         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5598         libm_hidden_def.
5599         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5600         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
5601         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5602         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5603         libm_hidden_def.
5604         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5605         __feupdateenv and define as weak alias of __feupdateenv.  Use
5606         libm_hidden_weak.
5607         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5608         libm_hidden_def.
5609         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5610         __feupdateenv and define as weak alias of __feupdateenv.  Use
5611         libm_hidden_weak.
5612         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5613         libm_hidden_def.
5614         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5615         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5616         (__feupdateenv): Likewise.
5617         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5618         __feupdateenv and define as weak alias of __feupdateenv.  Use
5619         libm_hidden_weak.
5620         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5621         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5622         libm_hidden_def.
5623         * sysdeps/tile/math_private.h (__feupdateenv): New inline
5624         function.
5625         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5626         libm_hidden_def.
5627         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5628         __feupdateenv instead of feupdateenv.
5629         (default_libc_feupdateenv_test): Likewise.
5630         (libc_feresetround_ctx): Likewise.
5632 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5634         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5635         prototype.
5637 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
5639         * posix/regcomp.c (parse_bracket_exp): Initialize type to
5640         COLL_SYM in a couple of places to avoid uninitialized variable
5641         wanings on tilegx gcc 4.8.2.
5643 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5645         * sysdeps/aarch64/strcpy.S: New file.
5646         * sysdeps/aarch64/stpcpy.S: New file.
5647         * NEWS: Updated.
5649 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5651         * sysdeps/aarch64/strrchr.S: New file.
5652         * NEWS: Updated.
5654 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
5656         [BZ #17658]
5657         * stdlib/setenv.c: Fix memory leak when setting large,
5658         duplicate string.
5660 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
5662         [BZ #17273]
5663         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5664         and tabs from buffer before parsing fstab entry.
5665         * misc/tst-mntent.c (main): Add test for mount entry with
5666         trailing spaces and tabs.
5668 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
5670         [BZ #17748]
5671         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
5672         * math/fesetround.c (fesetround): Rename to __fesetround and
5673         define as weak alias of __fesetround.  Use libm_hidden_weak.
5674         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5675         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5676         * sysdeps/arm/fesetround.c (fesetround): Likewise.
5677         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5678         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5679         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5680         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5681         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5682         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5683         __fesetround_inline.
5684         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5685         __fesetround_inline instead of __fesetround.
5686         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5687         __fesetround and define as weak alias of __fesetround.  Use
5688         libm_hidden_weak.  Call __fesetround_inline instead of
5689         __fesetround.
5690         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5691         __fesetround and define as weak alias of __fesetround.  Use
5692         libm_hidden_weak.
5693         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5694         Likewise.
5695         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5696         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5697         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5698         * sysdeps/tile/math_private.h (__fesetround): New inline function.
5699         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5700         __fesetround and define as weak alias of __fesetround.  Use
5701         libm_hidden_weak.
5702         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5703         __fesetround instead of fesetround.
5704         (default_libc_feholdexcept_setround): Likewise.
5705         (libc_feholdsetround_ctx): Likewise.
5706         (libc_feholdsetround_noex_ctx): Likewise.
5708         [BZ #17748]
5709         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5710         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5711         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5712         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5713         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5714         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5715         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5716         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5717         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5718         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5719         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5720         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5721         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5722         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5723         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5724         libm_hidden_def.
5725         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5726         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5727         Likewise.
5728         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5729         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5730         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5731         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5732         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5733         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5734         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5735         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5736         __fesetenv instead of fesetenv.
5737         (libc_feresetround_noex_ctx): Likewise.
5738         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5739         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5740         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5741         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5742         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5743         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5744         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5745         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5746         (__feupdateenv): Likewise.
5747         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5748         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5749         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5750         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5752 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5754         [BZ #17806]
5755         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5756         addresses have been freed.
5758 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5760         * resolv/res_init.c (__res_vinit): Improve comments about nserv
5761         and nservall.
5763 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
5765         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5766         Clean up check_pf allocation pattern. addresses
5768 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5770         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5771         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5772         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5773         * nptl/pthread_exit.c (__pthread_exit): Likewise.
5774         * nptl/pthread_join.c (pthread_join): Likewise.
5775         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5776         * sysdeps/posix/waitid.c (__waitid): Likewise.
5777         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5778         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5779         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5780         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5781         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5782         Likewise.
5783         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5784         (__libc_pread64): Likewise.
5785         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5786         (__libc_pwrite): Likewise.
5787         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5788         (__libc_pwrite64): Likewsie.
5789         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5790         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5791         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5792         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5793         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5794         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5795         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5797         Likewise.
5798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5799         (__libc_pread64): Likewise.
5800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5801         Likewise.
5802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5803         (__libc_pwrite64): Likewise.
5804         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5805         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5806         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5807         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5808         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5809         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5810         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5811         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5812         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5813         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5814         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5815         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5816         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5817         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5818         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5819         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5820         Likewise.
5822 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5824         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5825         (CFLAGS-test-double.c): Likewise.
5826         (CFLAGS-test-ldouble.c): Likewise.
5827         (CPPFLAGS-test-ifloat.c): Likewise.
5828         (CPPFLAGS-test-idouble.c): Likewise.
5829         (CPPFLAGS-test-ildoubl.c): Likewise.
5830         (CFLAGS-test-test-fenv.c): Remove variable.
5831         (CFLAGS-test-misc.c): Likewise.
5833 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
5835         [BZ #17797]
5836         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5837         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5838         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5839         CLOCKS_PER_SEC == 1000000.
5840         * time/clocktest.c (main): Replace %ld with %jd and cast to
5841         intmax_t.
5843 2015-01-05  Roland McGrath  <roland@hack.frob.com>
5845         * sysdeps/generic/unwind-resume.h: New file.
5846         * sysdeps/gnu/unwind-resume.c: Include it.
5847         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5848         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5849         argument list.
5850         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5851         global rather than static.
5852         (_Unwind_Resume): Update user.
5853         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5854         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
5855         rather than static.  Add __attribute__ ((cold)).
5856         (_Unwind_Resume, __gcc_personality_v0): Update callers.
5857         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5858         * sysdeps/arm/arm-unwind-resume.S: New file.
5859         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5860         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5861         * sysdeps/arm/Makefile [$(subdir) = csu]
5862         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5863         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5864         Add rt-arm-unwind-resume.
5865         [$(subdir) = nptl]
5866         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5867         Add pt-arm-unwind-resume.
5868         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5869         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5871 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5873         [BZ #17748]
5874         * include/fenv.h (__feholdexcept): Declare.  Use
5875         libm_hidden_proto.
5876         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5877         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
5878         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5879         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5880         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5881         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5882         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5883         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5884         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5885         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5886         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5887         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5888         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5889         (feholdexcept): Likewise.
5890         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5891         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5892         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5893         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5894         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5895         __feholdexcept instead of feholdexcept.
5896         (default_libc_feholdexcept_setround): Likewise.
5898 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5900         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5901         to avoid using stl/str to align destination.
5903 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5905         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5907 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5909         [BZ #17796]
5910         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5911         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5912         Define as weak alias not strong alias.
5914 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5916         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5917         bltzal with addiupc.
5918         (RTLD_START): Ditto.
5920 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
5922         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5923         for __vdso_* functions in declarations.
5924         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5925         definitions.
5926         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5927         INTERNAL_VSYSCALL): Use struct return types to check for error.
5929         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5930         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5931         function with cast from llround().
5932         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5933         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5934         Define.
5936 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5938         [BZ #17793]
5939         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5940         Define as weak alias not strong alias.
5942         [BZ #17635]
5943         * ctype/ctype-c99.c: New file.  isblank implementation moved from
5944         ...
5945         * ctype/ctype-extn.c: ... here.
5946         (__isblank_l): Move to ...
5947         * ctype/ctype-c99_l.c: ... here.  New file.
5948         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5949         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5950         Remove variable.
5951         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5952         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5953         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5954         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5955         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5957         [BZ #17777]
5958         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5959         (posix_fadvise64): Define as weak alias not strong alias.
5960         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5961         (posix_fallocate64): Likewise.
5962         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5963         Remove variable.
5964         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5965         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5966         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5967         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5968         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5970 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
5972         [BZ #16191]
5973         * NEWS: Mention bug fix.
5974         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5975         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5976         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5977         (HOST_STACK_END_ADDR): Likewise.
5979 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5981         [BZ #17748]
5982         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
5983         * math/fegetround.c (fegetround): Rename to __fegetround and
5984         define as weak alias of __fegetround.  Use libm_hidden_weak.
5985         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5986         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5987         * sysdeps/arm/fegetround.c (fegetround): Likewise.
5988         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5989         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5990         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5991         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5992         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5993         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5994         Undefine after rather than before function definition; use
5995         parentheses around function name in definition.
5996         (__fegetround): Also undefine macro after function definition.
5997         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5998         __fegetround and define as weak alias of __fegetround.  Use
5999         libm_hidden_weak.  Do not undefine as macro.
6000         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
6001         Likewise.
6002         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
6003         __fegetround and define as weak alias of __fegetround.  Use
6004         libm_hidden_weak.
6005         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
6006         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
6007         * sysdeps/tile/math_private.h (__fegetround): New inline function.
6008         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
6009         __fegetround and define as weak alias of __fegetround.  Use
6010         libm_hidden_weak.
6011         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
6012         __fegetround instead of fegetround.
6014         [BZ #17782]
6015         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
6016         Condition macro definition on [__USE_MISC].
6018         [BZ #17781]
6019         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
6020         (struct sigaction): Change type of sa_flags field to int.
6022         [BZ #17780]
6023         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
6024         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
6025         __glibc_reserved0.
6027         * nptl/version.c (banner): Use single year in copyright notice.
6029         * NEWS: Update copyright dates.
6030         * catgets/gencat.c (print_version): Likewise.
6031         * csu/version.c (banner): Likewise.
6032         * debug/catchsegv.sh: Likewise.
6033         * debug/pcprofiledump.c (print_version): Likewise.
6034         * debug/xtrace.sh (do_version): Likewise.
6035         * elf/ldconfig.c (print_version): Likewise.
6036         * elf/ldd.bash.in: Likewise.
6037         * elf/pldd.c (print_version): Likewise.
6038         * elf/sotruss.sh: Likewise.
6039         * elf/sprof.c (print_version): Likewise.
6040         * iconv/iconv_prog.c (print_version): Likewise.
6041         * iconv/iconvconfig.c (print_version): Likewise.
6042         * locale/programs/locale.c (print_version): Likewise.
6043         * locale/programs/localedef.c (print_version): Likewise.
6044         * login/programs/pt_chown.c (print_version): Likewise.
6045         * malloc/memusage.sh (do_version): Likewise.
6046         * malloc/memusagestat.c (print_version): Likewise.
6047         * malloc/mtrace.pl: Likewise.
6048         * manual/libc.texinfo: Likewise.
6049         * nptl/version.c (banner): Likewise.
6050         * nscd/nscd.c (print_version): Likewise.
6051         * nss/getent.c (print_version): Likewise.
6052         * nss/makedb.c (print_version): Likewise.
6053         * posix/getconf.c (main): Likewise.
6054         * scripts/test-installation.pl: Likewise.
6055         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
6057 2015-01-02  Will Newton  <will.newton@linaro.org>
6059         * sysdeps/arm/armv7/configure: Removed.
6060         * sysdeps/arm/armv7/configure.ac: Likewise.
6062 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
6064         * All files with FSF copyright notices: Update copyright dates
6065         using scripts/update-copyrights.
6066         * intl/plural.c: Regenerated.
6067         * locale/programs/charmap-kw.h: Likewise.
6068         * locale/programs/locfile-kw.h: Likewise.
6070 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6072         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
6074 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6076         [BZ #17748]
6077         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
6078         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
6079         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6080         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6081         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6082         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
6083         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6084         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
6085         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6086         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6087         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6088         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6089         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6090         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6091         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
6092         libm_hidden_def.
6093         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
6094         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
6095         Likewise.
6096         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
6097         define as weak alias of __fegetenv.  Use libm_hidden_weak.
6098         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
6099         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
6100         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
6101         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
6102         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
6103         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
6104         __fegetenv instead of fegetenv.
6105         (libc_feholdsetround_noex_ctx): Likewise.
6107 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
6109         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
6110         (Elf_MIPS_ABIFlags_v0): New structure.
6111         (EF_MIPS_FP64): Define.
6112         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
6113         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
6114         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
6115         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
6116         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
6117         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
6118         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
6119         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
6120         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
6121         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
6122         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
6123         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
6124         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
6125         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
6126         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
6127         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
6128         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
6129         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
6130         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
6131         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
6132         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
6133         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
6134         field.
6135         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6136         EF_MIPS_FP64.
6137         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6138         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6139         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6140         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6141         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6142         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6143         * sysdeps/mips/tst-abi-interlink.c: Likewise.
6144         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6145         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6146         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6147         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6148         record the current FP ABI extension.
6149         (mips-mode-switch): Define to show if kernel headers support mode
6150         switching.
6151         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6152         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6153         supported SYSV ABI version to 3.
6154         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6155         feature.
6157 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6158             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6160         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6161         path.
6162         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6164 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6166         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6167         __fegetround and redefine to call __fegetround.  Remove condition
6168         on [!__NO_MATH_INLINES].
6169         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6170         function.
6171         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6172         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6173         Remove macro.
6174         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6175         instead of <fenv_libc.h>.
6176         (__llrintl): Call fegetround instead of __fegetround.
6177         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6178         instead of <fenv_libc.h>.
6179         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6180         (__lrintl): Call fegetround instead of __fegetround.
6181         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6182         instead of <fenv_libc.h>.
6183         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6184         (__rintl): Call fegetround instead of __fegetround.
6186 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6188         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6189         arrays.
6191 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6193         [BZ #17775]
6194         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6195         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6196         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6198 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6200         * sysdeps/i386/tls-macros.h: Include <features.h>.
6201         (TLS_LE): Use non-PIC version for GCC >= 5.0.
6202         (TLS_IE): Likewise.
6203         (TLS_LD): Likewise.
6204         (TLS_GD): Likewise.
6205         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6206         define for GCC >= 5.0.
6208 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
6210         * math/test-fenv.c (test_single_exception, set_single_exc,
6211         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6212         feexcp_mask_test, feenable_test, fe_single_test): Add
6213         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6214         case where they are not used.
6215         * math/libm-test.inc: Likewise.
6216         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6217         unused in the absence of FP rounding/exception support.
6218         * stdio-common/tst-printf-round.c: Likewise.
6219         * stdlib/tst-strtod-round.c: Likewise.
6220         * stdlib/tst-strtod-underflow.c: Likewise.
6222 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
6224         [BZ #17723]
6225         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6226         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6227         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6228         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6229         libm_hidden_weak.
6230         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6231         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6232         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6233         libm_hidden_def.
6234         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6235         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6236         libm_hidden_weak.
6237         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6238         Likewise.
6239         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6240         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6241         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6242         libm_hidden_weak.
6243         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6244         libm_hidden_def.
6245         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6246         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6247         (__feraiseexcept): Likewise.
6248         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6249         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6250         libm_hidden_weak.
6251         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6252         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6253         libm_hidden_def.
6254         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6255         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6256         Use libm_hidden_def.
6257         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6258         libm_hidden_def.
6259         (feraiseexcept): Define as weak not strong alias.  Use
6260         libm_hidden_weak.
6261         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6262         New inline function.  Factored out of ...
6263         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
6264         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6265         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6266         feraiseexcept.
6267         * math/w_acos.c (__acos): Likewise.
6268         * math/w_asin.c (__asin): Likewise.
6269         * math/w_ilogb.c (__ilogb): Likewise.
6270         * math/w_j0.c (y0): Likewise.
6271         * math/w_j1.c (y1): Likewise.
6272         * math/w_jn.c (yn): Likewise.
6273         * math/w_log.c (__log): Likewise.
6274         * math/w_log10.c (__log10): Likewise.
6275         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6276         * sysdeps/aarch64/fpu/math_private.h
6277         (libc_feupdateenv_test_aarch64): Likewise.
6278         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6279         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6280         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6281         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6282         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6283         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6284         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6285         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6286         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6287         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6289 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6291         [BZ #17732]
6292         * io/test-utime.c (main): Replace %ld with %jd and cast to
6293         intmax_t.
6294         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6295         * nptl/tst-mutex5.c: Include <stdint.h>.
6296         (do_test): Replace %ld with %jd and cast to intmax_t.
6297         * posix/tst-regex.c (run_test): Likewise.
6298         (run_test_backwards): Likewise.
6299         * rt/tst-clock.c: Include <stdint.h>.
6300         (clock_test): Replace %ld with %jd and cast to intmax_t.
6301         * rt/tst-cpuclock1.c: Include <stdint.h>.
6302         (do_test): Replace %lu with %ju and cast to uintmax_t.
6303         * rt/tst-cpuclock2.c: Include <stdint.h>.
6304         (do_test): Replace %lu with %ju and cast to uintmax_t.
6305         * rt/tst-mqueue1.c: Include <stdint.h>.
6306         (check_attrs): Replace %ld with %jd and cast to intmax_t.
6307         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6308         intmax_t.
6309         * rt/tst-mqueue4.c (do_test): Likewise.
6310         * rt/tst-timer4.c: Include <stdint.h>.
6311         (check_ts): Replace %ld with %jd and cast to intmax_t.
6312         (do_test): Likewise.
6313         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6314         and cast to intmax_t.
6315         * sysdeps/pthread/tst-timer.c (main): Likewise.
6316         * time/clocktest.c (main): Likewise.
6317         * time/tst-posixtz.c (do_test): Likewise.
6318         * timezone/tst-timezone.c (main): Likewise.
6320 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6321             H.J. Lu  <hongjiu.lu@intel.com>
6323         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6324         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6325         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6326         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6327         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6328         version if bit_Fast_Unaligned_Load is set.
6329         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6330         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6331         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6332         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6333         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6334         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6335         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6336         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6337         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6338         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6339         to 4.
6340         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6341         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6342         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6343         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6345 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
6347         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6348         instead of #if to avoid a Wundef warning.
6349         * stdlib/tst-limits.c (do_test): Likewise.
6351         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6352         parallel other exception macros.
6353         (fegetenv): Convert from macro to extern inline so that it applies
6354         retroactively to inline functions already seen by the compiler.
6355         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6357         * posix/Makefile (before-compile): Use $(objpfx) for
6358         posix-conf-vars-def.h.
6360 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6362         * posix/getconf.c (main): Use size_t for type of I.
6363         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6364         NSPEC.
6366         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6367         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6368         * posix/posix-envs.def: Likewise.
6369         * sysdeps/posix/sysconf.c: Likewise.
6370         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6371         (specs): Remove array.
6372         * scripts/gen-posix-conf-vars.awk: Support generation of specs
6373         array.
6375         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6376         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6377         (__sysconf): Use CONF_IS_* macros.
6379         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6380         ($(objpfx)posix-conf-vars-def.h): New target.
6381         * posix/posix-conf-vars.list: New file.
6382         * posix/posix-conf-vars.h: New file.
6383         * posix/confstr.c: Include posix-conf-vars.h.
6384         (confstr): Use CONF_IS_* macros.
6385         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
6386         CONF_IS_* macros.
6387         * scripts/gen-posix-conf-vars.awk: New file.
6389 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
6391         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6392         fegetround): Add no-op macros to avoid linknamespace issues.
6394         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6395         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6397         * sysdeps/unix/sysv/linux/tile/sysdep.h
6398         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6399         assembly-specific section to avoid a redefinition warning.
6401         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6402         long before casting to pointer to avoid a cast warning.
6404 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
6406         * sysdeps/tile/tilegx/Implies: New file.
6408 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
6410         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6412 2014-12-23  Florian Weimer  <fweimer@redhat.com>
6414         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6416 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6418         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6419         not define.
6420         * sysdeps/unix/sysv/linux/utimes.c: Do not include
6421         <kernel-features.h>.
6422         (__utimes) [__NR_utimes]: Make code unconditional.
6423         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6424         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6425         (__ASSUME_UTIMES): Do not undefine.
6426         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6427         (__ASSUME_UTIMES): Likewise.
6428         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6429         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6430         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6431         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6433 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6435         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6437 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
6439         [BZ #17747]
6440         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6441         alias to weak alias for j0l, y0l.
6442         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6443         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6445         [BZ #17746]
6446         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6447         conversion.
6449 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6451         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6452         to zero if not already defined.
6454 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6456         [BZ #17724]
6457         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6458         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
6459         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
6460         (char *) casts added.
6461         * sysdeps/ieee754/k_standardf.c: New file.
6462         * sysdeps/ieee754/k_standardl.c: Likewise.
6463         * math/Makefile (libm-support): Remove k_standard.
6464         (libm-calls): Add k_standard.
6466 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6468         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6469         Optimize to avoid an unnecessary FPCR read.
6471 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6473         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6474         Optimize to reduce FPCR/FPSR accesses.
6476 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6478         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6479         Call libc_fetestexcept_aarch64.
6481 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6483         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6484         Call libc_fesetround_aarch64.
6486 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6488         [BZ #17733]
6489         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6490         (__bind): Do not define as weak alias.
6491         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6492         define.
6493         (__getsockname): Do not define as weak alias.
6495 2014-12-22  Will Newton  <will.newton@linaro.org>
6497         * manual/install.texi: Document that we require bison 2.7
6498         or above.
6499         * INSTALL: Regenerate.
6500         * configure.ac: Use AC_CHECK_PROG_VER instead of
6501         AC_PATH_PROG when checking for bison and check for
6502         version 2.7 or above.
6503         * configure: Regenerate.
6505 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
6507         [BZ #17745]
6508         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6509         * sysdeps/tile/ffsll.c (ffsll): To here.
6511         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6513 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6515         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6516         if not defined.
6517         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6518         definition.
6519         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6520         hidden ___tls_get_addr.
6521         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6522         hidden __tls_get_addr.
6523         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6524         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6525         Likewise.
6527 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
6529         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6530         _dl_init call.
6532 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6534         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6535         from "call _dl_init@PLT".
6536         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6538 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
6540         * manual/search.texi: (Array Sort Function): Clarify stable sorting
6541         guarantees.
6543 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
6545         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6547 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6549         [BZ #17744]
6550         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6551         strnlen.
6553 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6555         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6556         of multu on MIPSr6.
6557         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6558         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6559         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6560         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6561         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6563 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6565         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6566         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6567         (PTR_SUBU): Use subu for mips32r6/mips64r6.
6568         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6569         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6570         mips32r6/mips64r6.
6571         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6573 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
6575         * string/strncat.c (STRNCAT): Simplify implementation.
6577 2014-12-19  David S. Miller  <davem@davemloft.net>
6579         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6580         access the quad as both a long double and as a series of 4 words.
6582         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6583         link_map->l_info array access.
6585 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6587         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6589         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6590         * math/atest-exp2.c (TIMEOUT): Likewise.
6591         * math/atest-sincos.c (TIMEOUT): Likewise.
6593 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6595         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6596         -Wno-error with -fno-builtin-lround.
6598 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6600         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6601         Contains futex constants and functions moved over from ...
6602         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
6603         <lowlevellock-futex.h>.
6604         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6605         (lll_timedwait_tid): Add comments and parentheses around macro
6606         arguments.
6608 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6610         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6611         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
6612         (__lll_private_flag): Remove.
6613         (lll_futex_wait): Likewise.
6614         (lll_futex_timed_wait): Likewise.
6615         (lll_futex_wake): Likewise.
6616         (lll_futex_requeue): Likewise.
6617         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6618         (__lll_timedwait_tid): Spell out argument names.
6619         (lll_timedwait_tid): Add comments and parentheses around macro
6620         arguments.
6621         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6622         LLL_SHARED and LLL_PRIVATE usable from assembly code.
6624 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6626         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6627         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6628         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6629         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6630         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6631         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6632         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6633         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6634         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6635         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6636         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6637         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6638         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6639         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6640         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6641         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6642         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6643         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6644         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6646 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6648         * sysdeps/x86_64/x32/Makefile: New file.
6650 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6652         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6653         1L with (mp_limb_t) 1.
6655 2014-12-17  Roland McGrath  <roland@hack.frob.com>
6657         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6658         * nptl/libc_pthread_init.c: ... here.
6659         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6660         * nptl/register-atfork.c: ... here.
6662         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6663         Use pthread_sigmask rather than INTERNAL_SYSCALL.
6664         Use assert_perror to check its return value.
6665         (__gai_create_helper_thread): Likewise.
6667         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6669         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6671 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
6673         [BZ #17725]
6674         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6675         __profil_counter.
6676         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6677         Likewise.
6678         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6679         Likewise.
6680         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6681         Likewise.
6682         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6683         (profil_counter): Likewise.
6684         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6685         (profil_counter): Likewise.
6686         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6687         Likewise.
6688         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6689         Likewise.
6690         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6691         (profil_counter): Likewise.
6692         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6693         Likewise.
6694         [!__profil_counter] (profil_counter): Define as weak alias of
6695         __profil_counter.
6696         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6697         (profil_counter): Rename to __profil_counter.
6698         [!__profil_counter] (profil_counter): Define as weak alias of
6699         __profil_counter.
6700         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6701         (profil_counter): Rename to __profil_counter.
6702         [!__profil_counter] (profil_counter): Define as weak alias of
6703         __profil_counter.
6704         * sysdeps/posix/profil.c: Update comment referring to
6705         profil_counter.
6706         (__profil): Use __profil_counter instead of profil_counter.
6707         * sysdeps/posix/sprofil.c (profil_counter): Rename to
6708         __profil_counter.  Use __profil_counter_ushort and
6709         __profil_counter_uint in definitions.
6710         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6711         instead of profil_counter_uint and profil_counter_ushort.
6713         [BZ #17722]
6714         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6715         define as weak alias of __inet_makeaddr.
6716         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6717         as weak alias of __inet_addr.
6718         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6719         as weak alias of __inet_pton.  Use libc_hidden_weak.
6720         * include/arpa/inet.h (__inet_pton): Declare.  Use
6721         libc_hidden_proto.
6722         (inet_makeaddr): Don't use libc_hidden_proto.
6723         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
6724         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6725         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
6726         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6727         Remove variable.
6728         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6729         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6731 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
6733         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6735 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6737         * stdio-common/bug-vfprintf-nargs.c (do_test):
6738         Cast value to intptr_t to avoid format warning
6739         for usage with PRIdPTR printing macro.
6741 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6743         * libio/tst-widetext.c (do_test):
6744         Use format type %td instead of %Zd for ptrdiff_t
6745         in order to avoid format warning.
6747 2014-12-17  Andreas Schwab  <schwab@suse.de>
6749         * nscd/mem.c (gc): Add size_t cast to match printf format.
6751 2014-12-16  Roland McGrath  <roland@hack.frob.com>
6753         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6754         (init): Apply PTR_MANGLE to pointers before storing them.
6755         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6756         before using them.
6758 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
6760         [BZ #17719]
6761         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6762         define as weak alias of __memrchr.
6763         (__memrchr): Do not define as strong alias of memrchr.
6764         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6765         Remove variable.
6766         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6767         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6768         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6770         [BZ #17717]
6771         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6772         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
6773         (if_indextoname): Rename to __if_indextoname and define as weak
6774         alias of __if_indextoname.  Use libc_hidden_weak.
6775         (if_freenameindex): Rename to __if_freenameindex and define as
6776         weak alias of __if_freenameindex.
6777         (if_nameindex): Rename to __if_nameindex and define as weak alias
6778         of __if_nameindex.
6779         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6780         __if_nametoindex and define as weak alias of __if_nametoindex.
6781         Use libc_hidden_weak.
6782         (if_freenameindex): Rename to __if_freenameindex and define as
6783         weak alias of __if_freenameindex.
6784         (if_nameindex): Rename to __if_nameindex and define as weak alias
6785         of __if_nameindex.
6786         (if_indextoname): Rename to __if_indextoname and define as weak
6787         alias of __if_indextoname.  Use libc_hidden_weak.
6788         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6789         __if_nametoindex and define as weak alias of __if_nametoindex.
6790         Use libc_hidden_weak.
6791         (if_freenameindex): Rename to __if_freenameindex and define as
6792         weak alias of __if_freenameindex.  Use libc_hidden_weak.
6793         (if_nameindex_netlink): Use __if_freenameindex instead of
6794         if_freenameindex.
6795         (if_nameindex): Rename to __if_nameindex and define as weak alias
6796         of __if_nameindex.  Use libc_hidden_weak.
6797         (if_indextoname): Rename to __if_indextoname and define as weak
6798         alias of __if_indextoname.  Use libc_hidden_weak.
6799         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6800         libc_hidden_proto.
6801         [!_ISOMAC] (__if_freenameindex): Likewise.
6802         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6803         if_nametoindex.
6804         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6805         variable.
6806         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6807         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6808         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6809         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6810         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6811         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6812         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6814         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6815         Remove variable.
6816         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6817         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6819 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6821         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6822         subscript above bounds'
6824         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6825         bounds.
6827 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
6829         * libio/tst-fopenloc.c: Use test-skeleton.c.
6831         * stdlib/tst-bsearch.c: Use test-skeleton.c.
6832         (entry): Rename to ITEM.
6833         (do_test, comp): Adjust.
6835         * stdio-common/tst-fseek.c: Use test-skeleton.c.
6837 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6839         * string/tester.c: Include <libc-internal.h>.
6840         (test_memset): Ignore -Wmemset-transposed-args.
6842 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6844         * misc/tst-mntent2.c (do_test): Fix warning.
6846 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6848         * elf/tst-unique4lib.cc(a): Mark as used.
6850 2014-12-16  Florian Weimer  <fweimer@redhat.com>
6852         [BZ #17630]
6853         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6854         names.
6856 2014-12-16  Allan McRae  <allan@archlinux.org>
6858         * stdio-common/Makefile (tests): Re-add bug26.
6860 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
6862         [BZ #17657]
6863         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6864         static array.
6866 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
6868         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6869         (__lll_lock_wait): Likewise.
6870         (__lll_timedlock_wait): Likewise.
6871         (__lll_timedwait_tid): Likewise.
6872         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6873         (__lll_robust_timedlock_wait): Likewise.
6874         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6875         (lll_cond_trylock): Likewise.
6876         (__lll_lock): Likewise.
6877         (__lll_robust_lock): Likewise.
6878         (__lll_cond_lock): Likewise.
6879         (lll_robust_cond_lock): Likewise.
6880         (__lll_timedlock): Likewise.
6881         (__lll_robust_timedlock): Likewise.
6882         (__lll_unlock): Likewise.
6883         (__lll_robust_unlock): Likewise.
6884         (lll_wait_tid): Likewise.
6885         (lll_timedwait_tid): Likewise.
6887 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6889         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6891 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6893         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6895 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6897         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6898         * stdio-common/tst-sprintf.c: Likewise.
6900 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6902         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6904 2014-12-15  Jeff Law  <law@redhat.com>
6906         [BZ #16617]
6907         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6908         on the heap.  (CVE-2012-3406)
6909         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6910         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
6911         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6913 2014-12-15  Will Newton  <will.newton@linaro.org>
6915         * manual/install.texi: Bump required version of texinfo
6916         to 4.7 from 4.5.
6917         * INSTALL: Regenerated.
6918         * configure.ac: Check for makeinfo version 4.7 and above.
6919         * configure: Regenerated.
6921 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6923         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6924         PREFIX, string constant to insert between directory and name.
6925         * sysdeps/posix/shm_open.c: Update caller.
6926         * sysdeps/posix/shm_unlink.c: Likewise.
6927         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6928         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6929         (SEM_SHM_PREFIX): New macro.
6930         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6931         [$(have-thread-library) = no].
6932         * nptl/Makefile (libpthread-routines): Add shm-directory.
6933         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6934         * sysdeps/nptl/shm-directory.h: New file.
6935         * sysdeps/posix/shm-directory.c
6936         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6937         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6938         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6939         INTERNAL_SYSCALL.
6940         (__where_is_shmfs): Function removed.
6941         (mountpoint, defaultmount, defaultdir, __namedsem_once):
6942         Variables removed.
6943         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6944         Use SHM_GET_NAME.
6945         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
6947         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6948         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6949         unconditional for use inside libpthread.
6950         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6952 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6954         * nptl/pthread_getaffinity.c: New file.
6955         * nptl/pthread_setaffinity.c: New file.
6956         * nptl/pthread_getname.c: New file.
6957         * nptl/pthread_setname.c: New file.
6959         * nptl/pthread_create.c (START_THREAD_DEFN)
6960         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6962 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6963             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6965         * resolv/res_send.c (send_vc): Disable warning resplen may
6966         be used uninitialized.
6968 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6970         * nptl/tst-mutex6.c
6971         (ATTR_NULL): New define checks ATTR against NULL.
6972         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6973         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6975 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
6977         [BZ #17581]
6978         * malloc/hooks.c
6979         (mem2mem_check): Revert my previous change.
6980         (malloc_check_get_size): Revert my previous change.
6981         (mem2chunk_check): Revert my previous change.
6983 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6985         * sysdeps/posix/shm-directory.c: New file.
6986         * sysdeps/posix/shm-directory.h: New file.
6987         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6988         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6989         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
6990         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6991         Transmute EPERM to EACCES.
6992         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6993         from ...
6994         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
6995         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6997 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6999         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
7000         pointer and cast to uintptr_t.
7001         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
7002         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
7003         Add cast to avoid warning.
7004         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
7006 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7008         * nptl/semaphore.h: Move to ...
7009         * sysdeps/pthread/semaphore.h: ... here.
7010         * Makefile (installed-headers): Change nptl/semaphore.h to
7011         sysdeps/pthread/semaphore.h.
7013 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7015         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
7016         generated error format strings.
7018         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
7019         -Wformat-extra-args warnings for scanf formats.
7020         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
7021         test of zero-length format (duh).
7022         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
7023         corner-case scanf format test.
7024         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
7025         generated fprintf format string.
7026         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
7027         corner-case sprintf format tests.
7028         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
7029         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
7030         -Wformat-extra-args warnings throughout.
7031         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
7032         (CFLAGS-scanf4.c): Likewise.
7033         (CFLAGS-scanf7.c): Likewise.
7034         (CFLAGS-tst-sprintf.c): Likewise.
7035         (CFLAGS-tst-printf.c): Likewise.
7036         (CFLAGS-tst-printfsz.c): Likewise.
7038 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
7040         * include/cpio.h: New file.
7041         * include/fmtmsg.h: Likewise.
7043         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
7044         corresponding format argument to size_t.
7045         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
7046         arguments.
7047         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
7048         corresponding format argument to size_t.
7049         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
7050         arguments.
7051         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
7052         corresponding format argument to size_t.
7053         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
7054         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
7055         (CFLAGS-tst-mbswcs2.c): Likewise.
7056         (CFLAGS-tst-mbswcs3.c): Likewise.
7057         (CFLAGS-tst-mbswcs4.c): Likewise.
7058         (CFLAGS-tst-mbswcs5.c): Likewise.
7059         (CFLAGS-tst-trans.c): Likewise
7061 2014-12-11  Roland McGrath  <roland@hack.frob.com>
7063         * posix/regexbug1.c (main): Use "%s" format with regerror results,
7064         rather than assuming they won't contain any '%'s.
7066 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
7068         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
7069         inhibit_loop_to_libcall to avoid recursive calls.
7070         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
7071         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
7073 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
7075         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
7076         prototype.
7078 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7080         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
7081         integer value instead of boolean.
7083 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
7085         * malloc/malloc.c: Fix powerof2 check.
7087 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7089         * locale/programs/locfile.h (maybe_swap_uint32):
7090         Remove inline and add unused attribute.
7092 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7094         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
7095         Truncating assembler expression to a .long expression.
7097 2014-12-11  Andreas Schwab  <schwab@suse.de>
7099         * elf/rtld.c (struct map_args): Constify str member.
7100         (do_preload): Constify fname argument.
7102 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7104         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
7105         constants definition.
7107 2014-12-11  Andreas Schwab  <schwab@suse.de>
7109         [BZ #16657]
7110         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
7111         FORCE_ELISION instead of DO_ELISION.
7112         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
7113         Remove.
7114         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
7115         Likewise.
7117         * iconvdata/gconv-modules: Remove duplicate entry.
7119 2014-12-11  Will Newton  <will.newton@linaro.org>
7121         Merge gettext 0.19.3 into intl/.
7123         This involves a number of cosmetic changes to comments
7124         and ANSI function definitions and prototypes throughout
7125         all the files. The gettext copyright header is used but
7126         with the date ranges taken from the glibc copy.
7128         * NEWS: Add gettext merge to 2.21.
7129         * intl/bindtextdom.c: Switch to gettext copyright.
7130         Use ANSI definitions and prototypes.
7131         Use gl_* locking primitives rather than __libc_* ones.
7132         Use __builtin_expect rather than __glibc_likely/unlikely.
7133         * intl/dcgettext.c: Switch to gettext copyright.
7134         Use ANSI definitions and prototypes.
7135         * intl/dcigettext.c: Switch to gettext copyright.
7136         Use ANSI definitions and prototypes.
7137         (INTDIV0_RAISES_SIGFPE): New define.
7138         Use gl_* locking primitives rather than __libc_* ones.
7139         Include eval-plural.h instead of plural-eval.c.
7140         Use __builtin_expect rather than __glibc_likely/unlikely.
7141         * intl/dcngettext.c: Switch to gettext copyright.
7142         Use ANSI definitions and prototypes.
7143         * intl/dgettext.c: Likewise.
7144         * intl/dngettext.c: Likewise.
7145         * intl/plural-eval.c: Renamed to...
7146         * intl/eval-plural.h: ...this.
7147         * intl/explodename.c: Switch to gettext copyright.
7148         Use ANSI definitions and prototypes.
7149         (_nl_explode_name): Use strchr instead of __rawmemchr.
7150         * intl/finddomain.c: Switch to gettext copyright.
7151         Use ANSI definitions and prototypes.
7152         Use gl_* locking primitives rather than __libc_* ones.
7153         (_nl_find_domain): Use malloc rather than alloca for
7154         allocation of temporary locale name.
7155         * intl/gettext.c: Switch to gettext copyright.
7156         Use ANSI definitions and prototypes.
7157         * intl/gettextP.h: Switch to gettext copyright.
7158         Use ANSI definitions and prototypes.
7159         Use gl_* locking primitives rather than __libc_* ones.
7160         * intl/gmo.h: Switch to gettext copyright.
7161         (struct sysdep_string): Move struct segment_pair outside of
7162         struct definition.
7163         * intl/hash-string.c: Use ANSI definitions and prototypes.
7164         * intl/hash-string.h: Switch to gettext copyright.
7165         Use ANSI definitions and prototypes.
7166         * intl/l10nflist.c: Switch to gettext copyright.
7167         Use ANSI definitions and prototypes.
7168         (_nl_normalize_codeset): Avoid integer overflow.
7169         * intl/loadinfo.h: Switch to gettext copyright.
7170         Use ANSI definitions and prototypes.
7171         (LIBINTL_DLL_EXPORTED): New define.
7172         (PATH_SEPARATOR): New define.
7173         * intl/loadmsgcat.c: Switch to gettext copyright.
7174         * intl/localealias.c: Switch to gettext copyright.
7175         Use ANSI definitions and prototypes.
7176         (_nl_expand_alias): Use PATH_SEPARATOR.
7177         * intl/ngettext.c: Switch to gettext copyright.
7178         Use ANSI definitions and prototypes.
7179         * intl/plural-exp.c: Likewise.
7180         * intl/plural-exp.h: Switch to gettext copyright.
7181         Use ANSI definitions and prototypes.
7182         (struct expression): Move definition of enum operator outside
7183         of struct definition.
7184         * intl/plural.c: Regenerate.
7185         * intl/plural.y: Switch to gettext copyright.
7186         Use ANSI definitions and prototypes.
7187         Port to bison 3.0.
7188         * intl/textdomain.c: Switch to gettext copyright.
7189         Use ANSI definitions and prototypes.
7190         Use gl_* locking primitives rather than __libc_* ones.
7192 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
7194         * debug/warning-nop.c: Add used atrribute.
7196 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7198         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7200         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7201         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7202         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7204 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7205             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7207         [BZ #17634]
7208         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7209         Undefine after defining function.  Define as weak alias of
7210         __wcschr.  Use libc_hidden_weak.
7211         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
7212         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7213         (libc_hidden_def): Also define __GI___wcschr alias.
7214         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7215         __wcschr and define as weak alias of __wcschr.
7216         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7217         __wcschr.
7218         [!WCSCHR] (DEFAULT_WCSCHR): Define.
7219         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7220         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
7221         libc_hidden_weak.  Do not use libc_hidden_def.
7222         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7223         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7224         __GI___wcschr alias.
7225         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7226         [IS_IN (libc)] (wcschr): Define as macro expanding to
7227         __redirect_wcschr.
7228         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7229         [IS_IN (libc)] (__wcschr_power6): Likewise.
7230         [IS_IN (libc)] (__wcschr_power7): Likewise.
7231         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
7232         instead of wcschr.
7233         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7234         __libc_wcschr.
7235         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7236         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7237         __wcschr and define as weak alias of __wcschr.  Use
7238         libc_hidden_builtin_def.
7239         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7240         as weak alias of __wcschr.  Use libc_hidden_weak.
7241         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7242         wcschr.
7243         * time/era.c (_nl_init_era_entries): Likewise.
7244         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7245         variable.
7246         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7247         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7249 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7251         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7252         format for long int variable.
7254 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
7256         [BZ #10672]
7257         * manual/search.texi: (Array Sort Function): Remove claim how to make
7258         qsort stable.
7260 2014-12-10  Andreas Schwab  <schwab@suse.de>
7262         [BZ #12847]
7263         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7264         user-controlled locks.
7266 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
7268         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7269         register.
7271 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7273         * configure.ac (--disable-werror): New configure option.
7274         (enable_werror): New AC_SUBST.
7275         * configure: Regenerated.
7276         * config.make.in (enable-werror): New variable.
7277         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7278         -Wno-error=undef.
7279         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7280         * manual/install.texi (Configuring and compiling): Document
7281         --disable-werror.
7282         * INSTALL: Regenerated.
7283         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7284         (CFLAGS-tst-chk2.c): Likewise.
7285         (CFLAGS-tst-chk3.c): Likewise.
7286         (CFLAGS-tst-chk4.cc): Likewise.
7287         (CFLAGS-tst-chk5.cc): Likewise.
7288         (CFLAGS-tst-chk6.cc): Likewise.
7289         (CFLAGS-tst-lfschk1.c): Likewise.
7290         (CFLAGS-tst-lfschk2.c): Likewise.
7291         (CFLAGS-tst-lfschk3.c): Likewise.
7292         (CFLAGS-tst-lfschk4.cc): Likewise.
7293         (CFLAGS-tst-lfschk5.cc): Likewise.
7294         (CFLAGS-tst-lfschk6.cc): Likewise.
7296         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7297         (main): Disable -Wdeprecated-declarations around calls to
7298         register_printf_function.
7300         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7301         (do_test): Disable -Wdiv-by-zero around some calls to
7302         fwrite_unlocked and fread_unlocked.
7304         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7305         (DIAG_POP_NEEDS_COMMENT): Likewise.
7306         (_DIAG_STR1): Likewise.
7307         (_DIAG_STR): Likewise.
7308         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7309         * stdio-common/bug21.c: Include <libc-internal.h>.
7310         (do_test): Disable -Wformat around call to sscanf.
7311         * stdio-common/scanf14.c: Include <libc-internal.h>.
7312         (main): Disable -Wformat around some calls to scanf functions.
7314 2014-12-09  Torvald Riegel  <triegel@redhat.com>
7316         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7318 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7320         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7321         stack variable alignment.
7323 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
7325         [BZ #17682]
7326         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7327         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7328         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7329         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7330         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7331         __getrlimit instead of getrlimit.
7332         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7333         __gettimeofday instead of gettimeofday.
7334         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7335         Likewise.
7336         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7337         Likewise.
7338         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7339         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7340         Remove variable.
7341         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7342         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7344 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7346         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7347         for wide-character tests.
7349 2014-12-04  Roland McGrath  <roland@hack.frob.com>
7351         * io/openat64.c: #include <libc-internal.h>
7352         (__openat64): Prototypify.  Use ignore_value on MODE.
7353         * io/openat.c: Likewise.
7354         * misc/reboot.c: #include <libc-internal.h>
7355         (reboot): Prototypify.  Use ignore_value on HOWTO.
7356         * misc/ptrace.c: #include <libc-internal.h>
7357         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
7359 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
7361         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7362         XPG4, UNIX98 and XOPEN2K.
7363         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7364         Remove variable.
7365         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7367 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7369         * libio/fileops.c: Use ISO C style for function definitions.
7370         * libio/iofopen.c: Likewise.
7371         * libio/wfileops.c: Likewise.
7373         [BZ #17653]
7374         * libio/fileops.c (_IO_new_file_underflow): Unset cached
7375         offset on EOF.
7376         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7377         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7378         (fgets_func): Function pointer to fgets and fgetws.
7379         (do_ftell_test): Add test to verify ftell value after read
7380         EOF.
7381         (do_test): Set fgets_func.
7383         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7384         O_TRUNC flag for w and w+ modes.
7385         (do_rewind_test): Likewise.
7386         (do_ftell_test): Likewise.
7387         (do_write_test): Likewise.
7389         [BZ #17647]
7390         * libio/fileops.c (do_ftell): Seek only when there are
7391         unflushed writes.
7392         * libio/wfileops.c (do_ftell_wide): Likewise.
7393         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7394         test case.
7395         (do_one_test): Call it.
7397 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
7399         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7400         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7401         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7402         Remove variable.
7403         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7404         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7405         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7407 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7409         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7410         Remove variable.
7411         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7413         [BZ #17668]
7414         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7415         as weak alias of __getifaddrs.  Use libc_hidden_weak.
7416         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7417         __freeifaddrs.  Use libc_hidden_weak.
7418         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7419         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
7420         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7421         __freeifaddrs.  Use libc_hidden_weak.
7422         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7423         __getifaddrs and define as weak alias of __getifaddrs.  Use
7424         libc_hidden_weak.
7425         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7426         __freeifaddrs.  Use libc_hidden_weak.
7427         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7428         Remove variable.
7429         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7430         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7432 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7434         [BZ #17601]
7435         * sysdeps/mips/start.S (__start): Use indirect jump to call
7436         __libc_start_main.
7438 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7440         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7442         * nptl/tst-mutex1.c: Include <stdbool.h>.
7443         [!ATTR] (ATTR_NULL): New macro.
7444         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7445         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7446         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7448         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7449         to char *.
7451         [BZ #17665]
7452         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7453         Change conditional to [__USE_MISC].
7455         [BZ #17664]
7456         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7457         fgets_unlocked.
7458         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7459         __fgets_unlocked.
7460         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7461         fgets_unlocked.
7462         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7463         Remove variable.
7464         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7465         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7466         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7467         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7468         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7469         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7470         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7471         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7472         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7474         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7476 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7478         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7479         Remove strpbrk objects.
7480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7481         (__libc_ifunc_impl_list): Remove strpbrk implementation.
7482         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7483         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7484         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7485         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7487         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7488         Remove strcspn objects.
7489         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7490         (__libc_ifunc_impl_list): Remove strcspn implementation.
7491         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7492         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7493         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7494         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7496         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7497         Remove strspn objetcs.
7498         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7499         (__libc_ifunc_impl_list): Remove strspn implementation.
7500         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7501         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7502         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7503         * sysdeps/powerpc/powerpc64/strspn.S: New file.
7505 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
7507         [BZ #17581]
7508         * malloc/hooks.c
7509         (mem2mem_check): Add a terminator to the chain of checking blocks.
7510         (malloc_check_get_size): Use it here.
7511         (mem2chunk_check): Ditto.
7513 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7515         * sysdeps/powerpc/powerpc64/strtok.S: New file.
7516         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7518 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
7520         * bits/ioctl-types.h: Indent preprocessor directives correctly.
7522         * nptl/nptl-init.c: Include libc-internal.h.
7523         (__pthread_initialize_minimal_internal): Use ROUND_UP.
7525         * elf/ldconfig.c (search_dir): Expand comment.
7527 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
7529         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7530         variable.
7531         (linknamespace-symlist-stdlibs-tests): Likewise.
7532         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7533         instead of $(objpfx)symlist-stdlibs.
7534         (linknamespace-libs-isoc): New variable.
7535         (linknamespace-libs): Use $(linknamespace-libs-isoc).
7536         (linknamespace-libs-ISO): New variable.
7537         (linknamespace-libs-ISO99): Likewise.
7538         (linknamespace-libs-ISO11): Likewise.
7539         (linknamespace-libs-XPG3): Likewise.
7540         (linknamespace-libs-XPG4): Likewise.
7541         (linknamespace-libs-POSIX): Likewise.
7542         (linknamespace-libs-UNIX98): Likewise.
7543         (linknamespace-libs-XOPEN2K): Likewise.
7544         (linknamespace-libs-POSIX2008): Likewise.
7545         (linknamespace-libs-XOPEN2K8): Likewise.
7546         ($(objpfx)symlist-stdlibs): Replace by
7547         $(linknamespace-symlist-stdlibs-tests).  Use
7548         $(linknamespace-libs-$*) as set of libraries.
7549         ($(linknamespace-header-tests)): Update dependencies.  Use
7550         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7551         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7552         * conform/linknamespace.pl: Remove comment about considering
7553         definitions of symbols from irrelevant libraries.
7555 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7557         [BZ #13862]
7558         * elf/dl-tls.c: Include <atomic.h>.
7559         (oom): Remove #ifdef SHARED/#endif.
7560         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7561         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
7562         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7563         big enough.
7564         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7565         * nptl/Makefile (tests): Add tst-stack4.
7566         (modules-names): Add tst-stack4mod.
7567         ($(objpfx)tst-stack4): New.
7568         (tst-stack4mod.sos): Likewise.
7569         ($(objpfx)tst-stack4.out): Likewise.
7570         ($(tst-stack4mod.sos)): Likewise.
7571         (clean): Likewise.
7572         * nptl/tst-stack4.c: New file.
7573         * nptl/tst-stack4mod.c: Likewise.
7575 2014-11-27  J. Brown  <jb999@gmx.de>
7577         * sysdeps/x86/bits/string.h: Add recent CPUs.
7579 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7581         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7582         sigblock.
7584         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7585         feof.
7587         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7588         variable.
7590 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7592         * nscd/connections.c: Include libc-internal.h because of macro
7593         usage ignore_value.
7595 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7597         * string/bits/string3.h (__warn_memset_zero_len): Don't
7598         declare for gcc newer than 5.0.
7599         (memset): Don't test for zero-length __LEN for gcc newer than
7600         5.0.
7602 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7604         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7605         size_t for %zu format.
7607         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7608         difference, not %ju.
7610 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7612         * include/libc-internal.h (ignore_value): New macro.
7613         * nscd/connections.c (restart): Wrap calls to setuid and setgid
7614         with ignore_value.
7616         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7617         definition.
7619         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7620         pthread_cleanup_push to void *.
7622         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7623         Undefine.
7625         [BZ #16619]
7626         [BZ #16740]
7627         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7628         instead of 1L << 52.
7630         * libio/bug-rewind.c (do_test): Check fwscanf return values.
7631         * libio/bug-rewind2.c (do_test): Likewise.
7633         * debug/test-stpcpy_chk-ifunc.c: Remove file.
7634         * debug/test-strcpy_chk-ifunc.c: Likewise.
7635         * wcsmbs/test-wcschr-ifunc.c: Likewise.
7636         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7637         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7638         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7639         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7640         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7641         * Rules [$(multi-arch) = no] (tests): Do not filter out
7642         $(tests-ifunc).
7643         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7644         * debug/Makefile (tests-ifunc): Remove variable.
7645         (tests): Do not add $(tests-ifunc).
7646         * wcsmbs/Makefile (tests-ifunc): Remove variable.
7647         (tests): Do not add $(tests-ifunc).
7648         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7649         [TEST_IFUNC]: Remove conditionals.
7650         * string/test-string.h (TEST_IFUNC): Remove macro.
7651         [TEST_IFUNC]: Remove conditionals.
7653         * string/test-strchr.c [!WIDE] (L): New macro.
7654         [WIDE] (L): Likewise.
7655         (check1): Use CHAR instead of char.  Use L on string and character
7656         constants.
7658 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
7660         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7661         tests.
7662         * sysdeps/powerpc/bits/atomic.h
7663         (__arch_atomic_exchange_and_add_32_acq): Add definition.
7664         (__arch_atomic_exchange_and_add_32_rel): Likewise.
7665         (atomic_exchange_and_add_acq): Likewise.
7666         (atomic_exchange_and_add_rel): Likewise.
7667         * sysdeps/powerpc/powerpc32/bits/atomic.h
7668         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7669         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7670         * sysdeps/powerpc/powerpc64/bits/atomic.h
7671         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7672         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7674 2014-11-26  Torvald Riegel  <triegel@redhat.com>
7676         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7677         Change synchronization of __sched_fifo_min_prio and
7678         __sched_fifo_max_prio.
7679         * nptl/pthread_mutexattr_getprioceiling.c
7680         (pthread_mutexattr_getprioceiling): Likewise.
7681         * nptl/pthread_mutexattr_setprioceiling.c
7682         (pthread_mutexattr_setprioceiling): Likewise.
7683         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7684         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7685         Likewise.
7687 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7689         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7690         void.
7692 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7694         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7695         third argument const.
7697 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
7699         fnmatch: work around GCC compiler warning bug with uninit var
7700         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7701         This works around a bug with x86-64 GCC 4.9.2 and earlier
7702         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7703         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7704         used uninitialized in this function [-Wmaybe-uninitialized]".
7706 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7708         * posix/bug-regex31.c (main): Return RES not 0.
7710 2014-11-25  Anton Blanchard <anton@samba.org>
7712         * sysdeps/powerpc/bits/atomic.h
7713         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7715 2014-11-24  Sterling Augustine  <saugustine@google.com>
7717         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7719 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
7721         [BZ #17608]
7722         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7724 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
7726         [BZ #17633]
7727         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7728         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7729         variable.
7730         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7731         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7733 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7735         * string/strncpy.c (strncpy): Improve performance by using memset.
7737 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7739         * string/strcpy.c (strcpy):
7740         Improve performance by using strlen and memcpy.
7742 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
7744         * string/strcoll_l.c (get_next_seq): __always_inline.
7745         * string/strcoll_l.c (do_compare): __always_inline.
7747 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7749         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7750         defined.
7751         * include/mqueue.h: Likewise.
7752         * include/stdlib.h: Likewise.
7754         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7755         (get_null_defines): Adjust.
7756         * sunrpc/Makefile: Adjust comment.
7757         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7758         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7759         (CFLAGS-interp.c): Likewise.
7760         (CFLAGS-ldconfig.c): Likewise.
7761         (CPPFLAGS-.os): Likewise.
7762         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7763         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7764         * extra-modules.mk (extra-modules.mk): Likewise.
7765         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7766         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7767         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7768         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7769         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7770         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7771         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7772         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7773         * iconvdata/Makefile (CPPFLAGS): Likewise.
7774         (cpp-srcs-left): Add libof for all iconvdata routines.
7775         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7776         * include/assert.h: Likewise.
7777         * include/ctype.h: Likewise.
7778         * include/errno.h: Likewise.
7779         * include/libc-symbols.h: Likewise.
7780         * include/math.h: Likewise.
7781         * include/netdb.h: Likewise.
7782         * include/resolv.h: Likewise.
7783         * include/stdio.h: Likewise.
7784         * include/stdlib.h: Likewise.
7785         * include/string.h: Likewise.
7786         * include/sys/stat.h: Likewise.
7787         * include/wctype.h: Likewise.
7788         * intl/l10nflist.c: Likewise.
7789         * libidn/idn-stub.c: Likewise.
7790         * libio/libioP.h: Likewise.
7791         * nptl/libc_multiple_threads.c: Likewise.
7792         * nptl/pthreadP.h: Likewise.
7793         * posix/regex_internal.h: Likewise.
7794         * resolv/res_hconf.c: Likewise.
7795         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7796         * sysdeps/arm/memmove.S: Likewise.
7797         * sysdeps/arm/sysdep.h: Likewise.
7798         * sysdeps/generic/_itoa.h: Likewise.
7799         * sysdeps/generic/symbol-hacks.h: Likewise.
7800         * sysdeps/gnu/errlist.awk: Likewise.
7801         * sysdeps/gnu/errlist.c: Likewise.
7802         * sysdeps/i386/i586/memcpy.S: Likewise.
7803         * sysdeps/i386/i586/memset.S: Likewise.
7804         * sysdeps/i386/i686/memcpy.S: Likewise.
7805         * sysdeps/i386/i686/memmove.S: Likewise.
7806         * sysdeps/i386/i686/mempcpy.S: Likewise.
7807         * sysdeps/i386/i686/memset.S: Likewise.
7808         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7809         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7810         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7811         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7812         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7813         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7814         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7815         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7816         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7817         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7818         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7819         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7820         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7821         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7822         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7823         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7824         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7825         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7826         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7827         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7828         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7829         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7830         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7831         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7832         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7833         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7834         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7835         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7836         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7837         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7838         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7839         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7840         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7841         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7842         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7843         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7844         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7845         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7846         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7847         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7848         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7849         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7850         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7851         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7852         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7853         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7854         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7855         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7856         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7857         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7858         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7859         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7860         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7861         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7862         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7863         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7864         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7865         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7866         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7867         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7868         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7869         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7870         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7871         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7872         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7873         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7874         * sysdeps/posix/closedir.c: Likewise.
7875         * sysdeps/posix/opendir.c: Likewise.
7876         * sysdeps/posix/readdir.c: Likewise.
7877         * sysdeps/posix/rewinddir.c: Likewise.
7878         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7879         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7880         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7881         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7882         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7883         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7884         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7885         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7886         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7887         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7888         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7889         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7890         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7891         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7892         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7893         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7894         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7895         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7896         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7897         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7898         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7899         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7900         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7901         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7902         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7903         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7904         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7905         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7906         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7907         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7908         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7909         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7910         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7911         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7912         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7913         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7914         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7915         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7916         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7917         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7918         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7919         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7920         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7921         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7922         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7923         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7924         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7925         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7926         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7927         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7928         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7929         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7930         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7931         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7932         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7933         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7934         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7935         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7936         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7937         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7938         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7939         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7940         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7941         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7942         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7943         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7944         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7945         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7946         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7947         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7948         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7949         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7950         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7951         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7952         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7953         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7954         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7955         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7956         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7957         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7958         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7959         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7960         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7961         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7962         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7963         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7964         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7965         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7966         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7967         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7968         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7969         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7970         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7971         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7972         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7973         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7974         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7975         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7976         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7977         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7978         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7979         * sysdeps/unix/alpha/sysdep.S: Likewise.
7980         * sysdeps/unix/alpha/sysdep.h: Likewise.
7981         * sysdeps/unix/make-syscalls.sh: Likewise.
7982         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7983         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7984         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7985         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7986         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7987         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7988         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7989         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7990         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7991         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7992         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7993         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7994         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7995         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7996         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7997         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7998         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7999         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8000         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8001         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8002         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
8003         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8004         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8005         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8006         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8007         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8008         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8009         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8011         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
8012         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8013         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8014         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
8015         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8016         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8017         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8018         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
8019         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8020         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8021         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
8022         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8023         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8024         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8025         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
8026         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8027         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8028         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8029         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
8030         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8031         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8032         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8033         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8034         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8035         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8036         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
8037         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8038         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8039         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8040         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
8041         * sysdeps/x86_64/memcpy.S: Likewise.
8042         * sysdeps/x86_64/memmove.c: Likewise.
8043         * sysdeps/x86_64/memset.S: Likewise.
8044         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
8045         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8046         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
8047         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
8048         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
8049         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8050         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8051         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8052         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8053         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
8054         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8055         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8056         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
8057         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8058         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8059         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
8060         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
8061         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
8062         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
8063         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
8064         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
8065         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
8066         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
8067         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
8068         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
8069         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
8070         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8071         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
8072         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
8073         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
8074         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
8075         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
8076         * sysdeps/x86_64/strcmp.S: Likewise.
8078         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
8080         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
8081         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
8082         * elf/rtld-Rules: Likewise.
8083         * elf/setup-vdso.h: Likewise.
8084         * include/assert.h: Likewise.
8085         * include/bits/stdlib-float.h: Likewise.
8086         * include/errno.h: Likewise.
8087         * include/sys/stat.h: Likewise.
8088         * include/unistd.h: Likewise.
8089         * sysdeps/aarch64/setjmp.S: Likewise.
8090         * sysdeps/alpha/setjmp.S: Likewise.
8091         * sysdeps/arm/__longjmp.S: Likewise.
8092         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
8093         * sysdeps/arm/setjmp.S: Likewise.
8094         * sysdeps/arm/sysdep.h: Likewise.
8095         * sysdeps/generic/_itoa.h: Likewise.
8096         * sysdeps/generic/dl-sysdep.h: Likewise.
8097         * sysdeps/generic/ldsodefs.h: Likewise.
8098         * sysdeps/i386/dl-tls.h: Likewise.
8099         * sysdeps/i386/setjmp.S: Likewise.
8100         * sysdeps/m68k/setjmp.c: Likewise.
8101         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
8102         * sysdeps/mach/hurd/opendir.c: Likewise.
8103         * sysdeps/posix/getcwd.c: Likewise.
8104         * sysdeps/posix/opendir.c: Likewise.
8105         * sysdeps/posix/profil.c: Likewise.
8106         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8107         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8108         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
8109         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8110         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8111         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
8112         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8113         * sysdeps/s390/dl-tls.h: Likewise.
8114         * sysdeps/s390/s390-32/setjmp.S: Likewise.
8115         * sysdeps/s390/s390-64/setjmp.S: Likewise.
8116         * sysdeps/sh/sh3/setjmp.S: Likewise.
8117         * sysdeps/sh/sh4/setjmp.S: Likewise.
8118         * sysdeps/unix/alpha/sysdep.h: Likewise.
8119         * sysdeps/unix/arm/sysdep.S: Likewise.
8120         * sysdeps/unix/i386/sysdep.S: Likewise.
8121         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8122         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8123         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8124         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8125         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8126         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
8127         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8128         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8129         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
8130         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
8131         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
8132         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8133         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8136         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8137         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8138         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8139         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8140         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8141         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8142         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8143         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8144         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8145         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8146         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8147         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8148         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8149         * sysdeps/x86_64/setjmp.S: Likewise.
8151         * include/math.h: Use IS_IN instead of IS_IN_libm.
8152         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8153         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8154         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8155         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8156         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8157         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8158         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8159         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8160         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8161         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8162         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8163         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8164         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8165         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8166         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8167         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8168         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8169         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8170         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8171         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8172         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8173         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8174         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8175         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8176         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8177         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8178         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8179         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8180         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8181         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8182         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8183         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8184         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8186         Likewise.
8187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8188         Likewise.
8189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8190         Likewise.
8191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8192         Likewise.
8193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8194         Likewise.
8195         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8196         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8197         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8198         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8199         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8200         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8206         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8207         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8208         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8209         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8210         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8211         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8212         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8213         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8214         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8215         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8216         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8217         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8218         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8219         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8220         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8221         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8223         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8224         * nptl/pthreadP.h: Likewise.
8225         * nptl_db/structs.def: Likewise.
8226         * sysdeps/arm/sysdep.h: Likewise.
8227         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8228         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8229         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8230         * sysdeps/unix/alpha/sysdep.h: Likewise.
8231         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8232         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8233         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8234         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8235         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8236         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8237         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8238         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8239         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8240         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8241         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8242         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8243         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8244         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8247         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8248         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8249         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8250         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8251         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8252         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8253         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8254         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8255         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8256         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8258         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8259         * nptl/pthreadP.h: Likewise.
8260         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8261         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8262         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8263         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8264         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8265         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8266         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8267         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8268         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8269         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8270         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8271         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8273         Likewise.
8274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8275         Likewise.
8276         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8277         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8278         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8279         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8280         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8281         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8282         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8283         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8285         * dlfcn/dladdr.c: Use IS_IN.
8286         * dlfcn/dladdr1.c: Likewise.
8287         * dlfcn/dlclose.c: Likewise.
8288         * dlfcn/dlerror.c: Likewise.
8289         * dlfcn/dlinfo.c: Likewise.
8290         * dlfcn/dlmopen.c: Likewise.
8291         * dlfcn/dlopen.c: Likewise.
8292         * dlfcn/dlsym.c: Likewise.
8293         * dlfcn/dlvsym.c: Likewise.
8295         * include/ifaddrs.h: Use IS_IN.
8296         * inet/check_pf.c: Likewise.
8297         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8298         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8300         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8301         IS_IN_ldconfig.
8302         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8303         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8305         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8306         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8307         IS_IN (libc).
8309         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8311         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8312         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8313         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8314         * include/libc-symbols.h (IS_IN_LIB): New macro.
8315         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8316         * include/netdb.h: Likewise.
8317         * include/stap-probe.h: Remove all uses of IN_LIB.
8319         * Makeconfig (module-cppflags-real): Define MODULE_NAME
8320         instead of IN_MODULE.
8321         * include/libc-symbols.h (IN_MODULE): Define using
8322         MODULE_NAME.
8323         (PASTE_NAME, PASTE_NAME1): New macros.
8324         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8325         of IN_LIB.
8326         (STAP_PROBE_ASM): Likewise.
8328 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8330         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8331         __mach_init in dlopened libc.
8333 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
8335         * sysdeps/arm/preconfigure.ac: Delete EABI check.
8336         * sysdeps/arm/preconfigure: Regenerate.
8338 2014-11-21  Roland McGrath  <roland@hack.frob.com>
8340         * nptl/pthread_create.c (__pthread_create_2_1): Set
8341         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8342         when copying values from IATTR into PD.
8344 2014-11-21  Will Newton  <will.newton@linaro.org>
8345             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8347         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8348         Refactor inline-asm.  Also add comment.
8350         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8351         ElfW macro instead of hardcoded Elf64 types.
8352         (la_aarch64_gnu_pltenter): Likewise.
8353         * sysdeps/aarch64/dl-machine.h
8354         (elf_machine_runtime_setup): Use ElfW(Addr).
8356         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8357         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8358         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8359         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8360         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8361         (R_AARCH64_TLS_DTPMOD64): Rename to ..
8362         (R_AARCH64_TLS_DTPMOD): This.
8363         (R_AARCH64_TLS_DTPREL64): Rename to ...
8364         (R_AARCH64_TLS_DTPREL): This.
8365         (R_AARCH64_TLS_TPREL64): Rename to ...
8366         (R_AARCH64_TLS_TPREL): This.
8367         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8368         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8369         R_AARCH64_TLS_TPREL64.
8370         (elf_machine_rela): Likewise.
8372 2014-11-21  Torvald Riegel  <triegel@redhat.com>
8374         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8375         by setting it to 0.  64b atomics are not supported currently.
8377 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8379         [BZ #16469]
8380         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8381         search domain names.
8383 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8385         [BZ #16469]
8386         * NEWS: Update.
8387         * resolv/res_query.c (__libc_res_nquerydomain): Retain
8388         trailing dot.
8389         * posix/tst-getaddrinfo5.c: New.
8390         * posix/Makefile (tests): Add it.
8392 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8394         [BZ #14498]
8395         * NEWS: Fixed.
8396         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8397         after parsing line but before break_if_match.
8398         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8399         if there is a protocol mismatch.
8401 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8403         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8404         because the potential race is on the user-supplied stream.
8406 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8408         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8409         string literal if not passed a buffer.
8410         * manual/job.texi (ctermid): Update reasoning, note deviation
8411         from posix, suggest mtasurace when not passed a buffer, for
8412         future non-preliminary safety notes.
8414 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8416         * manual/users.texi (cuserid): Fix MT-Safety note for the case
8417         of not passing it a buffer.
8418         Reported by Peng Haitao.
8420 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8422         * manual/Makefile ($(objpfx)stamp-summary): Require
8423         check-safety.sh to pass.
8424         * manual/check-safety.sh: Wish for verification that every
8425         @deftypefn and @deftypefun is followed by a @safety remark.
8427 2014-11-20  Roland McGrath  <roland@hack.frob.com>
8429         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8431         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8432         PTHREAD_CANCEL_ASYNCHRONOUS.
8433         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8434         send SIGCANCEL.
8436         * nptl/default-sched.h: New file.
8437         * sysdeps/unix/sysv/linux/default-sched.h: New file.
8438         * nptl/pthread_create.c: Include it.
8439         (__pthread_create_2_1): Use collect_default_sched instead of making
8440         Linux syscalls here directly.
8442 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8444         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8445         __pthread_once): Use C11 atomics.
8447 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8449         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8451 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8453         * include/atomic.h (__atomic_link_error, __atomic_check_size,
8454         atomic_thread_fence_acquire, atomic_thread_fence_release,
8455         atomic_thread_fence_seq_cst, atomic_load_relaxed,
8456         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8457         atomic_compare_exchange_weak_relaxed,
8458         atomic_compare_exchange_weak_acquire,
8459         atomic_compare_exchange_weak_release,
8460         atomic_exchange_acquire, atomic_exchange_release,
8461         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8462         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8463         atomic_fetch_and_acquire,
8464         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8466 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8468         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8469         USE_ATOMIC_COMPILER_BUILTINS): Define.
8470         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8471         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8472         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8473         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8474         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8475         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8476         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8477         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8478         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8479         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8480         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8481         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8482         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8483         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8484         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8485         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8486         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8487         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8488         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8489         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8490         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8491         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8492         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8493         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8494         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8495         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8496         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8497         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8498         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8500         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8501         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8502         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8504         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8505         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8506         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8507         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8508         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8511 2014-11-19  Roland McGrath  <roland@hack.frob.com>
8513         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8514         the sched_priority value here.  It was already checked when the user
8515         called pthread_attr_setschedparam.
8517         * nptl/tst-bad-schedattr.c: New file.
8518         * nptl/Makefile (tests): Add it.
8520 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
8521             Florian Weimer  <fweimer@redhat.com>
8522             Joseph Myers  <joseph@codesourcery.com>
8523             Adam Conrad  <adconrad@0c3.net>
8524             Andreas Schwab  <schwab@suse.de>
8525             Brooks  <bmoses@google.com>
8527         [BZ #17625]
8528         * wordexp-test.c (__dso_handle): Add prototype.
8529         (__register_atfork): Likewise.
8530         (__app_register_atfork): New function.
8531         (registered_forks): New global.
8532         (register_fork): New function.
8533         (test_case): Add 3 new tests for WRDE_CMDSUB.
8534         (main): Call __app_register_atfork.
8535         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8536         fork count is non-zero fail the test.
8537         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8538         is set.
8539         (parse_dollars): Remove check for WRDE_NOCMD.
8540         (parse_dquote): Likewise.
8542 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8544         * Makeconfig (built-modules): List non-library modules to be
8545         built.
8546         (module-cppflags): Include libc-modules.h for
8547         everything except shlib-versions.v.i.
8548         (CPPFLAGS): Use it.
8549         (before-compile): Add libc-modules.h.
8550         ($(common-objpfx)libc-modules.h,
8551         $(common-objpfx)libc-modules.stmp): New targets.
8552         (common-generated): Add libc-modules.h and libc-modules.stmp.
8553         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8554         * include/libc-symbols.h: Don't include libc-modules.h.
8555         * include/libc-modules.h: Remove file.
8556         * scripts/gen-libc-modules.awk: New script to generate
8557         libc-modules.h.
8558         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8559         Depend on libc-modules.stmp.
8561         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8563         * Makeconfig (in-module): Get value of libof set for the
8564         translation unit.
8565         (CPPFLAGS): Use $(in-module).
8566         * Makerules: Don't suffix routine names for nonlib.
8567         * include/libc-modules.h: New file.
8568         * include/libc-symbols.h: Include libc-modules.h
8569         (IS_IN): New macro to replace IS_IN_* macros.
8570         * elf/Makefile: Set libof-* for each routine.
8571         * elf/rtld-Rules: Likewise.
8572         * extra-modules.mk: Likewise.
8573         * iconv/Makefile: Likewise.
8574         * iconvdata/Makefile: Likewise.
8575         * locale/Makefile: Likewise.
8576         * malloc/Makefile: Likewise.
8577         * nss/Makefile: Likewise.
8578         * sysdeps/gnu/Makefile: Likewise.
8579         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8580         * sysdeps/unix/sysv/linux/Makefile: Likewise.
8581         * sysdeps/s390/s390-64/Makefile: Likewise.
8582         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
8583         CPPFLAGS for nscd instead of nonlib.
8585 2014-11-18  Roland McGrath  <roland@hack.frob.com>
8587         * nptl/createthread.c: New file.
8589         * nptl/createthread.c: Moved ...
8590         * sysdeps/unix/sysv/linux/createthread.c: ... here.
8592         * nptl/createthread.c: Add proper top-line comment.
8593         (do_clone): Folded into ...
8594         (create_thread): ... here.  Take new arguments STOPPED_START and
8595         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
8596         increment __nptl_threads, do event-reporting logic, do
8597         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8598         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
8599         resource cleanup if sched_setaffinity or sched_setscheduler fails,
8600         just send SIGCANCEL.
8601         * nptl/pthread_create.c: Forward-declare create_thread before
8602         including createthread.c.
8603         (start_thread): Use new macro START_THREAD_DEFN to replace defining
8604         declaration, and new macro START_THREAD_SELF to replace argument.
8605         Remove return statement.
8606         (report_thread_creation): New function.
8607         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
8608         synchronization logic, and __nptl_nthreads increment here, around
8609         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
8610         PD->parent_cancelhandling here, before create_thread.  When
8611         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8612         __deallocate_stack, and ENOMEM translation here.
8614 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
8616         [BZ #17616]
8617         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8618         (mptwo): Rename to __mptwo.
8619         (__inv): Use __mptwo instead of mptwo.
8620         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8621         (mptwo): Rename to __mptwo.
8622         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8623         of mpone and __mptwo instead of mptwo.
8624         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8625         instead of mpone.
8626         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8627         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8628         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8629         of mpone and __mptwo instead of mptwo.
8630         (__mpranred): Use __mpone instead of mpone.
8631         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8632         variable.
8633         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8634         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8635         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8636         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8637         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8638         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8639         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8640         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8641         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8642         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8643         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8644         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8645         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8646         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8647         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8648         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8649         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8650         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8651         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8653 2014-11-18  Tom de Vries  <tom@codesoucery.com>
8655         * manual/signal.texi (Primitives Interrupted by Signals): In section,
8656         replace BSD Handler xref with BSD Signal Handling.
8658 2014-11-17  Richard Henderson  <rth@redhat.com>
8660         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8661         (_FP_PACK_RAW_2): Remove.
8662         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8663         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8664         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8665         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8666         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8667         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8668         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8669         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8670         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8671         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8672         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8673         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8674         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8675         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8676         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8677         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8679 2014-11-14  Roland McGrath  <roland@hack.frob.com>
8681         * signal/signal.h [__USE_MISC]
8682         (struct sigvec): Remove type.
8683         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8684         (sigvec): Remove declaration.
8685         * sysdeps/posix/sigvec.c: Moved ...
8686         * signal/sigvec.c: ... here, replacing old file.
8687         (struct sigvec): New type, copied from old signal.h definition.
8688         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8689         (__sigvec): Convert definition to prototype.
8690         (sigvec): Replace weak_alias with compat_symbol.
8691         * signal/Versions (libc: GLIBC_2.21): New version set.
8692         * include/signal.h: Remove __sigvec declaration.
8693         * sysdeps/unix/bsd/sigvec.c: Remove file.
8694         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8695         * manual/signal.texi (BSD Handler): Remove subsection.
8696         Move siginterrupt up to ...
8697         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
8698         (Blocking in BSD): Fold subsection into its parent.
8699         * NEWS: Mention sigvec removal.
8701 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8703         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8704         (DLA_FMS): Make definition conditional only on [__FMA4__].
8705         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8706         definition.
8708         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8709         Make definition conditional only on [PROF].
8710         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8711         definition.
8712         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8713         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8715         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8716         !__GNUC__].
8717         * include/signal.h (__sigpause): Move declaration above call to
8718         libc_hidden_proto.
8719         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8720         variable.
8721         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8722         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8724 2014-11-14  David S. Miller  <davem@davemloft.net>
8726         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8727         Define before including <string/memcpy.c> and <string/mempcpy.c>.
8729 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8731         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8732         * configure: Regenerated.
8733         * manual/install.texi (Tools for Compilation): Document a
8734         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8735         compiler verified to work.
8736         * INSTALL: Regenerated.
8738         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8739         redeclare with asm name.
8740         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8741         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8742         including <string.h>.
8743         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8744         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8745         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8746         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8747         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8748         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8749         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8751 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
8753         * stdlib/strtol.c (__strtol): Use prototype definition.
8755         [BZ #17594]
8756         * stdlib/strtol.c (SYM__): New macro.
8757         (SYM__1): Likewise.
8758         (__strtol): Likewise.
8759         (strtol): Rename to __strtol and define as weak alias of
8760         __strtol.  Use libc_hidden_weak.
8762 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8764         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8765         Use numbered labels in inline assembly.
8767 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8769         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8770         Add setjmp LIBC_PROBE.
8771         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8772         Likewise.
8773         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8774         Add longjmp, longjmp_target LIBC_PROBE.
8775         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8776         Likewise.
8778 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8780         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8781         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8782         to get rid of unused variable warning.
8784 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8786         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8787         Check for unwind_backtrace ==  NULL only in SHARED case.
8788         (__backchain_backtrace): Compile only in SHARED case.
8789         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8790         Likewise.
8791         (__backchain_backtrace): Declare as static.
8793 2014-11-12  Roland McGrath  <roland@hack.frob.com>
8795         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8796         (__libc_multiple_threads_ptr): Variable moved ...
8797         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8799 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
8801         * conform/GlibcConform.pm: New file.
8802         * conform/conformtest.pl: Use GlibcConform module.
8803         * conform/linknamespace.pl: New file.
8804         * conform/list-header-symbols.pl: Likewise.
8805         * conform/Makefile (linknamespace-symlists-base): New variable.
8806         (linknamespace-symlists-tests): Likewise.
8807         (linknamespace-header-base): Likewise.
8808         (linknamespace-header-tests): Likewise.
8809         (tests-special): Add new tests.
8810         ($(linknamespace-symlists-tests)): New rule.
8811         (linknamespace-libs): New variable.
8812         ($(objpfx)symlist-stdlibs): New rule.
8813         ($(linknamespace-header-tests)): Likewise.
8814         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8815         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8816         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8817         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8818         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8819         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8820         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8821         (test-xfail-ISO/math.h/linknamespace): Likewise.
8822         (test-xfail-ISO/signal.h/linknamespace): Likewise.
8823         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8824         (test-xfail-ISO/time.h/linknamespace): Likewise.
8825         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8826         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8827         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8828         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8829         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8830         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8831         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8832         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8833         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8834         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8835         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8836         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8837         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8838         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8839         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8840         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8841         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8842         (test-xfail-XPG3/search.h/linknamespace): Likewise.
8843         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8844         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8845         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8846         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8847         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8848         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8849         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8850         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8851         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8852         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8853         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8854         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8855         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8856         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8857         (test-xfail-XPG4/search.h/linknamespace): Likewise.
8858         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8859         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8860         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8861         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8862         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8863         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8864         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8865         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8866         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8867         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8868         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8869         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8870         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8871         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8872         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8873         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8874         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8875         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8876         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8877         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8878         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8879         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8880         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8881         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8882         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8883         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8884         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8885         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8886         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8887         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8888         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8889         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8890         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8891         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8892         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8893         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8894         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8895         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8896         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8897         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8898         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8899         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8900         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8901         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8902         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8903         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8904         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8905         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8906         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8907         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8908         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8909         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8910         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8911         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8912         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8913         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8914         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8915         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8916         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8917         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8918         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8919         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8920         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8921         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8922         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8923         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8924         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8925         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8926         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8927         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8928         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8929         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8930         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8931         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8932         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8933         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8934         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8935         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8936         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8937         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8938         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8939         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8940         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8941         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8942         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8943         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8944         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8945         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8946         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8947         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8948         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8949         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8950         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8951         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8952         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8953         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8954         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8955         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8956         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8957         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8958         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8959         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8960         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8961         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8962         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8963         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8964         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8965         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8966         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8967         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8968         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8969         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8970         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8971         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8972         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8973         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8974         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8976         [BZ #17589]
8977         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8978         of fgets_unlocked.
8980         [BZ #17585]
8981         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8982         (memmem): Rename to __memmem and define as weak alias of
8983         __memmem.  Use libc_hidden_weak.
8984         (__memmem): Use libc_hidden_def.
8985         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
8986         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8987         memmem.
8989         [BZ #17582]
8990         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8991         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
8992         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8993         and define as weak alias of __fgets_unlocked.  Use
8994         libc_hidden_weak.
8995         (__fgets_unlocked): Use libc_hidden_def.
8996         * include/stdio.h (__fgets_unlocked): Declare.  Use
8997         libc_hidden_proto.
8998         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8999         __fgets_unlocked instead of fgets_unlocked.
9000         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
9001         (GET_NPROCS_CONF_PARSER): Likewise.
9002         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
9003         (GET_NPROCS_CONF_PARSER): Likewise.
9005         [BZ #17574]
9006         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
9007         weak alias of __wmemset.  Use libc_hidden_weak.
9008         (__wmemset): Use libc_hidden_def.
9009         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
9010         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
9011         of wmemset.
9013         [BZ #17573]
9014         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
9015         with asm name __mempcpy.
9016         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
9018         [BZ #17572]
9019         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
9020         and define as weak alias of __rawmemchr.
9021         (__rawmemchr): Do not define as strong alias of rawmemchr.
9023         [BZ #17571]
9024         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
9025         alias of __qsort_r.
9026         (qsort): Call __qsort_r instead of qsort_r.
9027         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
9028         (__qsort_r): Declare.  Call libc_hidden_proto.
9029         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
9030         instead of qsort_r.
9031         * nscd/gai.c (__qsort_r): Define to qsort_r.
9032         * posix/tst-rfc3484.c (__qsort_r): Likewise.
9033         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
9034         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
9036         [BZ #17570]
9037         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
9038         define as weak alias of __malloc_info.
9040         [BZ #17584]
9041         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
9042         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9043         (__rewinddir): Use libc_hidden_def.
9044         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
9045         as weak alias of __rewinddir.  Don't use libc_hidden_def.
9046         (__rewinddir): Use libc_hidden_def.
9047         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
9048         weak alias of __rewinddir.  Don't use libc_hidden_def.
9049         (__rewinddir): Use libc_hidden_def.
9050         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
9051         (__rewinddir): Use libc_hidden_proto.
9052         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
9053         rewinddir.
9054         (__getcwd): Use __rewinddir instead of rewinddir.
9056         [BZ #17583]
9057         * libio/fileno.c (fileno): Rename to __fileno and define as weak
9058         alias of __fileno.  Use libc_hidden_weak.
9059         (__fileno): Use libc_hidden_def.
9060         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
9061         * libio/ftello.c (ftello): Rename to __ftello and define as weak
9062         alias of __ftello.
9063         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
9064         __ftello.
9065         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
9066         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
9067         libc_hidden_def.
9068         (fread_unlocked): Don't use libc_hidden_ver.
9069         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
9070         and define as weak alias of __fread_unlocked.  Don't use
9071         libc_hidden_def.
9072         (__fread_unlocked): Use libc_hidden_def.
9073         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
9074         (ftello): Don't use libc_hidden_proto.
9075         (__ftello): Declare.  Use libc_hidden_proto.
9076         (fread_unlocked): Don't use libc_hidden_proto.
9077         (__fread_unlocked): Declare.  Use libc_hidden_proto.
9078         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
9079         and __ftello instead of fileno, fread_unlocked and ftello.
9081 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9083         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
9084         GOT12.
9085         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
9086         Likewise.
9087         (_dl_start_user): Likewise.
9088         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
9090 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
9091             Siddhesh Poyarekar  <siddhesh@redhat.com>
9093         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
9094         Move argv and envp down instead of moving argc up.
9095         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
9097 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
9099         [BZ #17506]
9100         * test-skeleton.c (main): Return successful if one of
9101         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
9102         * string/tst-strcoll-overflow.c: Define expected status.
9104 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
9106         [BZ #17475]
9107         * locale/iso-639.def: Define Bhili and Tulu language codes.
9109 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
9111         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
9113 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
9115         [BZ #17555]
9116         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
9118 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
9120         * configure.ac: Updated check of minimal required version to
9121         2.22.
9122         * manual/install.texi (Tools for Compilation): Updated version
9123         number.
9124         * configure: Regenerated.
9125         * INSTALL: Likewise.
9127 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
9129         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
9130         __tls_get_addr.
9132 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
9134         * include/sys/wait.h (__libc_waitpid): Remove declaration.
9135         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9136         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9137         libc_hidden_weak.
9138         (waitpid): Define as alias of __waitpid.
9139         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9140         __waitpid.
9141         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9142         libc_hidden_weak.
9143         (waitpid): Define as alias of __waitpid.
9144         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9145         __libc_waitpid alias.
9146         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9147         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9148         Likewise.
9149         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9150         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9151         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9152         alias.
9153         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9154         __waitpid.
9155         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9156         libc_hidden_weak.
9157         (waitpid): Define as alias of __waitpid.
9159 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
9161         * manual/llio.texi: Add comment that write safety has been
9162         fixed in Linux.
9164         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9165         (localplt-build-dso): Add elf/ld.so.
9166         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9167         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9168         and free for ld.so.
9169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9170         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9172         Likewise.
9173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9174         Likewise.
9175         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9176         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9177         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9178         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9179         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9180         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9181         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9182         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9183         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9184         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9185         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9187 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
9189         [BZ #14132]
9190         * include/libc-symbols.h (INTUSE): Remove macro.
9191         (INTDEF): Likewise.
9192         (INTVARDEF): Likewise.
9193         (_INTVARDEF): Likewise.
9194         (INTDEF2): Likewise.
9195         (INTVARDEF2): Likewise.
9196         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9197         rtld_hidden_def instead of INTVARDEF.
9198         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9199         (_dl_starting_up_internal): Remove declaration.
9200         (_dl_starting_up): Use rtld_hidden_proto.
9201         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9202         declaration.
9203         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9204         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9205         _dl_starting_up.
9206         * elf/dl-writev.h (_dl_writev): Likewise.
9207         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9208         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9209         _dl_starting_up_internal.
9211 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9213         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9214         test-skeleton.c.
9216 2014-11-05  Will Newton  <will.newton@linaro.org>
9218         * benchtests/Makefile: (bench-malloc): Add malloc thread
9219         scalability benchmark.
9220         * benchtests/bench-malloc-threads.c: New file.
9222 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
9224         * sysdeps/aarch64/strchrnul.S: New file.
9226 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9228         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9229         definition.
9230         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9231         Likwise.
9232         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9233         Likewise.
9234         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9235         Likewise.
9236         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9237         Likewise.
9238         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9239         Likewise.
9241 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
9243         * catgets/test-gencat.c: Use test-skeleton.c.
9244         * catgets/tst-catgets.c: Likewise.
9245         * csu/tst-empty.c: Likewise.
9246         * elf/tst-audit2.c: Likewise.
9247         * elf/tst-global1.c: Likewise.
9248         * elf/tst-pathopt.c: Likewise.
9249         * elf/tst-piemod1.c: Likewise.
9250         * elf/tst-tls10.c: Likewise.
9251         * elf/tst-tls11.c: Likewise.
9252         * elf/tst-tls12.c: Likewise.
9253         * gnulib/tst-gcc.c: Likewise.
9254         * iconvdata/tst-e2big.c: Likewise.
9255         * iconvdata/tst-loading.c: Likewise.
9256         * iconv/tst-iconv1.c: Likewise.
9257         * iconv/tst-iconv2.c: Likewise.
9258         * inet/test-inet6_opt.c: Likewise.
9259         * inet/tst-gethnm.c: Likewise.
9260         * inet/tst-network.c: Likewise.
9261         * inet/tst-ntoa.c: Likewise.
9262         * intl/tst-codeset.c: Likewise.
9263         * intl/tst-gettext2.c: Likewise.
9264         * intl/tst-gettext3.c: Likewise.
9265         * intl/tst-ngettext.c: Likewise.
9266         * intl/tst-translit.c: Likewise.
9267         * io/test-stat.c: Likewise.
9268         * libio/test-fmemopen.c: Likewise.
9269         * libio/tst-freopen.c: Likewise.
9270         * libio/tst-sscanf.c: Likewise.
9271         * libio/tst-ungetwc1.c: Likewise.
9272         * libio/tst-ungetwc2.c: Likewise.
9273         * libio/tst-widetext.c: Likewise.
9274         * localedata/tst-ctype.c: Likewise.
9275         * localedata/tst-digits.c: Likewise.
9276         * localedata/tst-leaks.c: Likewise.
9277         * localedata/tst-mbswcs1.c: Likewise.
9278         * localedata/tst-mbswcs2.c: Likewise.
9279         * localedata/tst-mbswcs3.c: Likewise.
9280         * localedata/tst-mbswcs4.c: Likewise.
9281         * localedata/tst-mbswcs5.c: Likewise.
9282         * localedata/tst-setlocale.c: Likewise.
9283         * localedata/tst-trans.c: Likewise.
9284         * localedata/tst-wctype.c: Likewise.
9285         * localedata/tst-xlocale1.c: Likewise.
9286         * login/tst-grantpt.c: Likewise.
9287         * malloc/tst-calloc.c: Likewise.
9288         * malloc/tst-malloc.c: Likewise.
9289         * malloc/tst-mallocstate.c: Likewise.
9290         * malloc/tst-mcheck.c: Likewise.
9291         * malloc/tst-mtrace.c: Likewise.
9292         * malloc/tst-obstack.c: Likewise.
9293         * math/atest-exp2.c: Likewise.
9294         * math/atest-exp.c: Likewise.
9295         * math/atest-sincos.c: Likewise.
9296         * math/test-matherr.c: Likewise.
9297         * math/test-misc.c: Likewise.
9298         * math/test-powl.c: Likewise.
9299         * math/tst-definitions.c: Likewise.
9300         * misc/tst-dirname.c: Likewise.
9301         * misc/tst-efgcvt.c: Likewise.
9302         * misc/tst-fdset.c: Likewise.
9303         * misc/tst-hsearch.c: Likewise.
9304         * misc/tst-mntent2.c: Likewise.
9305         * nptl/tst-sem7.c: Likewise.
9306         * nptl/tst-sem8.c: Likewise.
9307         * nptl/tst-sem9.c: Likewise.
9308         * nss/test-netdb.c: Likewise.
9309         * posix/tst-fnmatch.c: Likewise.
9310         * posix/tst-getlogin.c: Likewise.
9311         * posix/tst-gnuglob.c: Likewise.
9312         * posix/tst-mmap.c: Likewise.
9313         * pwd/tst-getpw.c: Likewise.
9314         * resolv/tst-inet_ntop.c: Likewise.
9315         * rt/tst-timer.c: Likewise.
9316         * stdio-common/test-fseek.c: Likewise.
9317         * stdio-common/test-popen.c: Likewise.
9318         * stdio-common/test-vfprintf.c: Likewise.
9319         * stdio-common/tst-cookie.c: Likewise.
9320         * stdio-common/tst-fileno.c: Likewise.
9321         * stdio-common/tst-gets.c: Likewise.
9322         * stdio-common/tst-obprintf.c: Likewise.
9323         * stdio-common/tst-perror.c: Likewise.
9324         * stdio-common/tst-sprintf2.c: Likewise.
9325         * stdio-common/tst-sprintf3.c: Likewise.
9326         * stdio-common/tst-sprintf.c: Likewise.
9327         * stdio-common/tst-swprintf.c: Likewise.
9328         * stdio-common/tst-tmpnam.c: Likewise.
9329         * stdio-common/tst-unbputc.c: Likewise.
9330         * stdio-common/tst-wc-printf.c: Likewise.
9331         * stdlib/tst-environ.c: Likewise.
9332         * stdlib/tst-fmtmsg.c: Likewise.
9333         * stdlib/tst-limits.c: Likewise.
9334         * stdlib/tst-rand48-2.c: Likewise.
9335         * stdlib/tst-rand48.c: Likewise.
9336         * stdlib/tst-random2.c: Likewise.
9337         * stdlib/tst-random.c: Likewise.
9338         * stdlib/tst-strtol.c: Likewise.
9339         * stdlib/tst-strtoll.c: Likewise.
9340         * stdlib/tst-tls-atexit.c: Likewise.
9341         * stdlib/tst-xpg-basename.c: Likewise.
9342         * string/test-ffs.c: Likewise.
9343         * string/tst-bswap.c: Likewise.
9344         * string/tst-inlcall.c: Likewise.
9345         * string/tst-strtok.c: Likewise.
9346         * string/tst-strxfrm.c: Likewise.
9347         * sysdeps/x86_64/tst-audit10.c: Likewise.
9348         * sysdeps/x86_64/tst-audit3.c: Likewise.
9349         * sysdeps/x86_64/tst-audit4.c: Likewise.
9350         * sysdeps/x86_64/tst-audit5.c: Likewise.
9351         * time/tst-ftime_l.c: Likewise.
9352         * time/tst-getdate.c: Likewise.
9353         * time/tst-mktime3.c: Likewise.
9354         * time/tst-mktime.c: Likewise.
9355         * time/tst-posixtz.c: Likewise.
9356         * time/tst-strptime2.c: Likewise.
9357         * time/tst-strptime3.c: Likewise.
9358         * wcsmbs/tst-btowc.c: Likewise.
9359         * wcsmbs/tst-mbrtowc.c: Likewise.
9360         * wcsmbs/tst-mbsrtowcs.c: Likewise.
9361         * wcsmbs/tst-wchar-h.c: Likewise.
9362         * wcsmbs/tst-wcpncpy.c: Likewise.
9363         * wcsmbs/tst-wcrtomb.c: Likewise.
9364         * wcsmbs/tst-wcsnlen.c: Likewise.
9365         * wcsmbs/tst-wcstof.c: Likewise.
9367 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
9369         [BZ #14132]
9370         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9371         INTDEF.
9372         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9373         declaration.
9374         (_dl_mcount): Use rtld_hidden_proto.
9375         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9376         _dl_mcount.
9377         * elf/rtld.c (_rtld_global_ro): Likewise.
9379         [BZ #14132]
9380         * elf/dl-init.c (_dl_init): Don't use INTDEF.
9381         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9382         of _dl_init_internal.
9383         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9384         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9385         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9386         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9387         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9388         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9389         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9390         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9391         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9392         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9393         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9394         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9395         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9396         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9397         * sysdeps/tile/dl-start.S (_start): Likewise.
9398         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9399         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9401         [BZ #14132]
9402         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9403         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9404         (rtld_progname): Make macro definition unconditional.
9405         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9406         INTDEF.
9407         (dlmopen_doit): Do not use INTUSE with _dl_argv.
9408         (dl_main): Likewise.
9409         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9410         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9411         instead of _dl_argv_internal.
9412         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9413         __GI__dl_argv instead of INTUSE(_dl_argv).
9414         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9415         __GI__dl_argv instead of _dl_argv_internal.
9417         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9418         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9419         macro.
9420         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9421         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9422         New macro.
9423         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9424         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9425         macro.
9426         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9427         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9429 2014-11-04  Andreas Schwab  <schwab@suse.de>
9431         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9433 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9435         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9436         mtvsrd instruction in binary form.
9438 2014-11-03  Andreas Schwab  <schwab@suse.de>
9440         [BZ #17522]
9441         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9442         for less than MB_LEN_MAX use a local buffer of that size.
9443         * libio/tst-fputws.c: New file.
9444         * libio/Makefile (tests): Add tst-fputws.
9446 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
9448         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9449         the size of the fpu_fr.fpu_dregs[] array.
9451 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
9453         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9454         (__nanosleep): Do not define as alias.
9455         (nanosleep): Define as alias of __nanosleep.
9456         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9457         __libc_nanosleep name.
9459 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9461         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9462         install.texi in comment.
9464 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9466         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9467         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9468         ... add here and use lwsync or sync ...
9469         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9470         ... and add here using lwsync.
9472 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9474         * elf/dl-machine-reject-phdr.h: New file.
9475         * elf/dl-load.c: #include that.
9476         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9477         if that returned true.
9479 2014-10-31  Roland McGrath  <roland@hack.frob.com>
9481         [BZ #17496]
9482         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9483         gen-as-const-headers chunk.  Add a big scare comment after the last
9484         safe place to touch before-compile.
9486 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9488         * manual/install.texi (Tools for Compilation): Update autoconf
9489         version requirements.
9490         * INSTALL: Regenerated.
9492         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9493         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9494         (__libc_pselect): Likewise.
9496         [BZ #14138]
9497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9502 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9504         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9505         correct barrier instruction.
9506         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9507         Likewise.
9508         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9509         Likewise.
9511 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9513         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9514         after defining inlines.  Instead, just use parens to defeat macro
9515         expansion of __isctype in its declaration.
9517 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9519         * include/sys/uio.h (__libc_readv): Remove declaration.
9520         (__libc_writev): Likewise.
9521         * misc/readv.c (__libc_readv): Rename to __readv.
9522         (__readv): Do not define as alias.
9523         (readv): Define as alias of __readv.
9524         * misc/writev.c (__libc_writev): Rename to __writev.
9525         (__writev): Do not define as alias.
9526         (writev): Define as alias of __writev.
9527         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9528         (__readv): Do not define as alias.
9529         (readv): Define unconditionally as alias of __readv.
9530         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9531         (__writev): Do not define as alias.
9532         (writev): Define unconditionally as alias of __writev.
9533         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9534         name.
9535         (writev): Do not define __libc_writev name.
9537 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9539         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9540         (convert_charseq): New function, broken out of ...
9541         (use_from_charmap): ... here.  Call it.
9542         (use_to_charmap): Use convert_charseq and free instead of duplicating
9543         its code with a variable-length stack struct.
9545 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9547         * include/fcntl.h (__libc_creat): Remove declaration.
9548         * io/creat.c (__libc_creat): Rename to creat.
9549         (creat): Do not define as alias.
9550         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9551         of creat instead of __libc_creat.
9552         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9553         to creat.
9554         (creat): Do not define as alias.
9555         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9556         __libc_creat.
9557         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9558         __libc_creat name.
9559         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9560         Likewise.
9562 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
9564         * manual/llio.texi: Add comments discussing why write() may be
9565         considered MT-unsafe on Linux.
9567 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
9569         * dl-load.c (local_strdup): Remove.
9570         (expand_dynamic_string_token): Use __strdup.
9571         (decompose_rpath): Likewise.
9572         (_dl_map_object): Likewise.
9574 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
9576         [BZ #14132]
9577         * sysdeps/generic/unwind-dw2-fde.c
9578         (__register_frame_info_bases_internal): Do not declare.
9579         (__register_frame_info_table_bases_internal): Likewise.
9580         (__deregister_frame_info_bases_internal): Likewise.
9581         (__register_frame_info_bases): Declare and use hidden_proto before
9582         definition.  Use hidden_def instead of INTDEF.
9583         (__register_frame_info_table_bases): Likewise.
9584         (__deregister_frame_info_bases): Likewise.
9585         (__register_frame_info): Do not use INTUSE.
9586         (__register_frame): Likewise.
9587         (__register_frame_info_table): Likewise.
9588         (__register_frame_table): Likewise.
9589         (__deregister_frame_info): Likewise.
9590         (__deregister_frame): Likewise.
9592 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
9594         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9595         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9596         not undefine.
9597         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9598         Likewise.
9599         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9600         Likewise.
9602 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
9604         [BZ #14138]
9605         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9606         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9607         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9608         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9609         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9610         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9611         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9612         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9613         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9614         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9615         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9616         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9617         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9618         syscall.
9619         (setfsuid): Likewise.
9620         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9621         (setfsuid): Likewise.
9622         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9623         (setfsuid): Likewise.
9624         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9625         Likewise.
9626         (setfsuid): Likewise.
9627         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9628         (setfsuid): Likewise.
9629         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9630         Likewise.
9631         (setfsuid): Likewise.
9633 2014-10-27  Andreas Schwab  <schwab@suse.de>
9635         [BZ #17501]
9636         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9637         check for Slow_SSE4_2 feature bit.
9638         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9639         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9640         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9641         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
9643 2014-10-24  Roland McGrath  <roland@hack.frob.com>
9645         * configure.ac: Validate compiler version with a empirical test of
9646         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9647         $CC -v output.
9648         * configure: Regenerated.
9650         * inet/htons.c (htons): Prototypify.
9651         * inet/htonl.c (htonl): Likewise.
9653 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9655         * string/strncat.c (strncat): Improve performance by using strlen.
9657 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9659         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9661 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9663         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9664         Call libc_fetestexcept_aarch64.
9666 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9668         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9669         Call libc_feholdexcept_aarch64.
9671 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9673         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9674         Call get_rounding_mode.
9676 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9678         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9679         Simplify logic.
9681 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9683         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9684         Simplify logic.
9686 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
9688         [BZ #14138]
9689         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9690         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9691         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9692         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9693         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9694         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9695         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9696         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9697         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9698         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9699         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9700         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9701         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9702         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9703         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9704         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9705         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9706         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9707         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9708         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9709         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9710         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9711         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9712         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9713         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9714         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9715         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9716         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9717         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9718         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9719         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9720         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9721         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9722         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9723         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9724         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9725         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9726         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9727         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9728         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9729         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9730         syscall.
9731         (geteuid): Likewise.
9732         (getgid): Likewise.
9733         (getuid): Likewise.
9734         (getresgid): Likewise.
9735         (getresuid): Likewise.
9736         (getgroups): Likewise.
9737         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9738         (geteuid): Likewise.
9739         (getgid): Likewise.
9740         (getuid): Likewise.
9741         (getresgid): Likewise.
9742         (getresuid): Likewise.
9743         (getgroups): Likewise.
9744         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9745         (geteuid): Likewise.
9746         (getgid): Likewise.
9747         (getuid): Likewise.
9748         (getresgid): Likewise.
9749         (getresuid): Likewise.
9750         (getgroups): Likewise.
9751         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9752         Likewise.
9753         (geteuid): Likewise.
9754         (getgid): Likewise.
9755         (getuid): Likewise.
9756         (getresgid): Likewise.
9757         (getresuid): Likewise.
9758         (getgroups): Likewise.
9759         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9760         (geteuid): Likewise.
9761         (getgid): Likewise.
9762         (getuid): Likewise.
9763         (getresgid): Likewise.
9764         (getresuid): Likewise.
9765         (getgroups): Likewise.
9766         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9767         Likewise.
9768         (geteuid): Likewise.
9769         (getgid): Likewise.
9770         (getuid): Likewise.
9771         (getgroups): Likewise.
9773         [BZ #14138]
9774         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9775         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9776         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9777         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9778         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9779         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9780         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9781         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9782         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9783         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9784         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9785         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9786         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9787         __chown.
9788         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9789         (lchown): Likewise.
9790         (fchown): Likewise.
9791         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9792         Likewise.
9793         (lchown): Likewise.
9794         (fchown): Likewise.
9795         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9796         (lchown): Likewise.
9797         (fchown): Likewise.
9798         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9799         Likewise.
9800         (lchown): Likewise.
9801         (fchown): Likewise.
9803 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9805         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9806         Simplify logic.
9808 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9810         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9811         Cleanup logic.
9813 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9815         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9816         Remove unused include.
9818 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9820         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9821         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9822         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9823         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9825 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
9826             Helge Deller <deller@gmx.de>
9828         [BZ #17508]
9829         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9830         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9831         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9833 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
9835         [BZ #14132]
9836         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9837         Remove macro definition.
9838         (__ashrdi3_v_glibc20): Likewise.
9839         (__lshrdi3_v_glibc20): Likewise.
9840         (__cmpdi2_v_glibc20): Likewise.
9841         (__ucmpdi2_v_glibc20): Likewise.
9842         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9843         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9844         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9845         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9846         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9847         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9849 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9851         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9852         old GNU extension [0] syntax.
9853         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9854         alloca rather than an array member with variable length.
9855         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9856         * nscd/nscd.c (invalidate_db): New function, broken out of ...
9857         (parse_opt): ... here.  Likewise use alloca there.
9858         Validate the -i argument before checking for rootness.
9859         (send_shutdown): New function, broken out of ...
9860         (parse_opt): ... here.
9862 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9864         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9865         macro to get at the _rt_local_ro field.
9866         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9867         ([PIC] case) or _dl_hwcap ([!PIC] case).
9868         * sysdeps/arm/setjmp.S: Likewise.
9870         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9871         * sysdeps/arm/configure.ac: New check to define it.
9872         * sysdeps/arm/configure: Regenerated.
9873         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9874         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9875         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9876         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9877         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9878         Use move/movt pair instead of a load.
9879         (LDST_GLOBAL): Macro removed.
9880         (LDR_GLOBAL): New macro replaces it.
9881         (LDR_HIDDEN): New macro.
9882         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9883         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9885         * setjmp/tst-setjmp-static.c: New file.
9886         * setjmp/Makefile (tests): Add it.
9887         (tests-static): New variable.
9889 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
9891         [BZ #17485]
9892         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9894 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
9896         [BZ #14132]
9897         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9899 2014-10-21  Roland McGrath  <roland@hack.frob.com>
9901         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9903 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9905         * io/fts.c (dirent_not_directory): New function.
9906         (fts_build): Call it.
9908 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9910         * nptl/version.c (__nptl_main): Use normal __write rather than
9911         INTERNAL_SYSCALL.
9912         (banner): Update copyright years.
9914         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9915         gettimeofday.
9916         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9917         * nptl/pthread_cond_timedwait.c: Likewise.
9918         * nptl/pthread_mutex_timedlock.c: Likewise.
9919         * nptl/sem_timedwait.c: Likewise.
9921         * sysdeps/nptl/bits/libc-lock.h
9922         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9923         (__libc_lock_init_recursive): Return void, not 0.
9924         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9925         (__libc_rwlock_init): Likewise.
9926         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9928 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9930         [BZ #15215]
9931         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9932         (__pthread_once_slow): ... here.
9933         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9934         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9936 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9938         [BZ #15215]
9939         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9940         __PTHREAD_ONCE_FORK_GEN_INCR): New.
9941         * sysdeps/nptl/fork.c (__libc_fork): Use them.
9942         * nptl/pthread_once.c (__pthread_once): Likewise.
9943         Update comments.
9945 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
9947         [BZ #14138]
9948         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9949         name.
9950         (writev): Use __libc_writev as strong name.
9951         * sysdeps/unix/sysv/linux/readv.c: Remove file.
9952         * sysdeps/unix/sysv/linux/writev.c: Likewise.
9954 2014-10-17  Roland McGrath  <roland@hack.frob.com>
9956         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9958         * sysdeps/i386/nptl/tls.h
9959         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9960         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9961         New macros.
9962         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9963         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9964         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9965         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9966         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9967         Call CHECK_THREAD_SYSINFO instead of doing an assert.
9969         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9970         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9971         on [__NR_futex].
9972         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9973         broken out of ...
9974         (__pthread_mutex_init): ... here.  Call it.
9975         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9976         Conditionalize PI cases on [__NR_futex].
9977         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9978         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9979         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9981         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9982         conditional on [SIGSETXID].
9983         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9984         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9985         is defined.  Likewise for SIGSETXID.
9986         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9987         Conditionalize definitions on [SIGSETXID].
9988         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9989         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9990         unblocking on [SIGCANCEL].
9992         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9993         [__NR_set_robust_list].
9995 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9997         * string/strcoll_l.c (get_next_seq): Fix up formatting.
9998         (do_compare): Likewise.
10000 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
10002         [BZ #15884]
10003         * string/strcoll_l.c: Don't include stdio.h.
10004         (coll_seq): Remove members idxarr and rulearr.
10005         (get_next_seq_cached): Remove function.
10006         (get_next_seq): Likewise.
10007         (get_next_seq_nocache): Rename to get_next_seq.
10008         (do_compare): Remove function.
10009         (do_compare_nocache): Rename to do_compare.
10010         (STRCOLL): Remove weight and rules cache.
10012 2014-10-16  Roland McGrath  <roland@hack.frob.com>
10014         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
10015         * sysdeps/arm/sfp-machine.h: ... to here.
10016         * sysdeps/arm/Implies: Remove arm/soft-fp.
10018 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
10020         * conform/data/sys/utsname.h-data (*_t): Allow.
10021         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
10022         [POSIX] (WEXITED): Do not expect constant.
10023         [POSIX] (WSTOPPED): Likewise.
10024         [POSIX] (WNOHANG): Likewise.
10025         [POSIX] (WNOWAIT): Likewise.
10026         [POSIX] (siginfo_t): Do not expect type or elements.
10027         [POSIX] (pid_t): Do not expect type.
10028         [POSIX] (signal.h): Do not allow header.
10029         [POSIX] (sys/resource.h): Likewise.
10030         [POSIX] (si_*): Do not allow pattern.
10031         [POSIX] (W*): Likewise.
10032         [POSIX] (P_*): Likewise.
10033         [POSIX] (BUS_*): Likewise.
10034         [POSIX] (CLD_*): Likewise.
10035         [POSIX] (FPE_*): Likewise.
10036         [POSIX] (ILL_*): Likewise.
10037         [POSIX] (POLL_*): Likewise.
10038         [POSIX] (SEGV_*): Likewise.
10039         [POSIX] (SI_*): Likewise.
10040         [POSIX] (TRAP_*): Likewise.
10041         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
10042         variable.
10044 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
10046         [BZ #12926]
10047         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
10048         infinite loop when __recvmsg returns 0.
10050 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
10052         * CANCEL-FCT-WAIVE: Remove file.
10053         * CANCEL-FILE-WAIVE: Likewise.
10055         [BZ #14132]
10056         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
10057         instead of INTVARDEF.
10058         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10059         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
10060         rtld_hidden_data_def instead of INTVARDEF.
10061         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
10062         * elf/dl-deps.c (expand_dst): Likewise.
10063         * elf/dl-load.c (_dl_dst_count): Likewise.
10064         (_dl_dst_substitute): Likewise.
10065         (decompose_rpath): Likewise.
10066         (_dl_init_paths): Likewise.
10067         (open_path): Likewise.
10068         (_dl_map_object): Likewise.
10069         * elf/rtld.c (dl_main): Likewise.
10070         (process_dl_audit): Likewise.
10071         (process_envvars): Likewise.
10072         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
10073         Remove declaration.
10074         (__libc_enable_secure): Use rtld_hidden_proto.
10076 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10078         * elf/dl-load.c
10079         (add_path): New function broken out of _dl_rtld_di_serinfo.
10080         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
10082 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10084         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
10085         parentheses around macro arguments.
10086         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
10087         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
10088         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
10089         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
10090         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
10091         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10092         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10093         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
10094         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
10095         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
10096         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
10097         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
10098         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
10099         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
10100         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
10101         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
10102         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
10103         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
10104         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
10105         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
10106         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
10107         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
10108         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
10109         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
10110         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
10111         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
10112         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
10113         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
10114         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
10115         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
10116         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
10117         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
10118         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
10119         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
10120         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
10121         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
10122         Likewise.
10123         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
10124         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10125         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10126         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
10127         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
10128         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
10129         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
10130         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
10131         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
10132         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
10133         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
10134         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10135         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10136         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10137         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10138         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10139         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10140         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10141         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10142         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10143         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10144         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10145         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10146         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10147         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10148         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10149         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10150         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10151         (_FP_FRAC_SRS_1): Likewise.
10152         (_FP_FRAC_CLZ_1): Likewise.
10153         (_FP_MUL_MEAT_1_imm): Likewise.
10154         (_FP_MUL_MEAT_1_wide): Likewise.
10155         (_FP_MUL_MEAT_1_hard): Likewise.
10156         (_FP_SQRT_MEAT_1): Likewise.
10157         (_FP_FRAC_ASSEMBLE_1): Likewise.
10158         (_FP_FRAC_DISASSEMBLE_1): Likewise.
10159         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10160         (__FP_CLZ_2): Likewise.
10161         (_FP_MUL_MEAT_2_wide): Likewise.
10162         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10163         (_FP_MUL_MEAT_2_gmp): Likewise.
10164         (_FP_MUL_MEAT_2_120_240_double): Likewise.
10165         (_FP_SQRT_MEAT_2): Likewise.
10166         (_FP_FRAC_ASSEMBLE_2): Likewise.
10167         (_FP_FRAC_DISASSEMBLE_2): Likewise.
10168         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10169         (_FP_FRAC_CLZ_4): Likewise.
10170         (_FP_MUL_MEAT_4_wide): Likewise.
10171         (_FP_MUL_MEAT_4_gmp): Likewise.
10172         (_FP_SQRT_MEAT_4): Likewise.
10173         (_FP_FRAC_ASSEMBLE_4): Likewise.
10174         (_FP_FRAC_DISASSEMBLE_4): Likewise.
10175         * soft-fp/op-common.h (_FP_CMP): Likewise.
10176         (_FP_CMP_EQ): Likewise.
10177         (_FP_CMP_UNORD): Likewise.
10178         (_FP_TO_INT): Likewise.
10179         (_FP_FROM_INT): Likewise.
10180         [!__FP_CLZ] (__FP_CLZ): Likewise.
10181         (_FP_DIV_HELP_imm): Likewise.
10182         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10183         Likewise.
10184         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10185         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10186         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10187         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10188         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10189         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10190         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10191         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10192         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10193         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10194         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10195         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10196         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10197         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10198         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10199         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10200         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10201         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10202         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10203         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10204         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10205         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10206         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10207         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10208         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10209         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10210         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10211         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10212         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10213         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10214         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10215         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10216         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10217         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10218         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10219         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10220         (FP_UNPACK_RAW_SP): Likewise.
10221         (FP_PACK_RAW_S): Likewise.
10222         (FP_PACK_RAW_SP): Likewise.
10223         (FP_UNPACK_S): Likewise.
10224         (FP_UNPACK_SP): Likewise.
10225         (FP_UNPACK_SEMIRAW_S): Likewise.
10226         (FP_UNPACK_SEMIRAW_SP): Likewise.
10227         (FP_PACK_S): Likewise.
10228         (FP_PACK_SP): Likewise.
10229         (FP_PACK_SEMIRAW_S): Likewise.
10230         (FP_PACK_SEMIRAW_SP): Likewise.
10231         (_FP_SQRT_MEAT_S): Likewise.
10232         (FP_CMP_S): Likewise.
10233         (FP_CMP_EQ_S): Likewise.
10234         (FP_CMP_UNORD_S): Likewise.
10235         (FP_TO_INT_S): Likewise.
10236         (FP_FROM_INT_S): Likewise.
10238         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10240         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10241         (FP_EX_INVALID_IMZ): Likewise.
10242         (FP_EX_INVALID_IMZ_FMA): Likewise.
10243         (FP_EX_INVALID_ISI): Likewise.
10244         (FP_EX_INVALID_ZDZ): Likewise.
10245         (FP_EX_INVALID_IDI): Likewise.
10246         (FP_EX_INVALID_SQRT): Likewise.
10247         (FP_EX_INVALID_CVI): Likewise.
10248         (FP_EX_INVALID_VC): Likewise.
10249         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10250         "invalid" exceptions.
10251         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10252         (_FP_ADD_INTERNAL): Likewise.
10253         (_FP_MUL): Likewise.
10254         (_FP_FMA): Likewise.
10255         (_FP_DIV): Likewise.
10256         (_FP_CMP_CHECK_NAN): Likewise.
10257         (_FP_SQRT): Likewise.
10258         (_FP_TO_INT): Likewise.
10259         (FP_EXTEND): Likewise.
10261 2014-10-09  Allan McRae  <allan@archlinux.org>
10263         * po/fr.po: Update French translation from translation project.
10265 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10267         [BZ #14132]
10268         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10269         of INTDEF.
10270         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10271         (__cxa_atexit): Use libc_hidden_proto.
10272         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10274         [BZ #14132]
10275         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10276         declaration.
10277         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10278         [!_ISOMAC] (__iswspace_l_internal): Likewise.
10279         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10280         [!_ISOMAC] (__iswctype_internal): Likewise.
10281         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10282         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10283         alias.
10284         (fcntl): Remove __fcntl_internal alias.
10285         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10286         __connect_internal alias.
10287         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10288         Likewise.
10290         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10291         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10292         FP_DENORM_ZERO.
10293         (_FP_CHECK_FLUSH_ZERO): New macro.
10294         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10295         (_FP_CMP): Likewise.
10296         (_FP_CMP_EQ): Likewise.
10297         (_FP_TO_INT): Do not set inexact for subnormal arguments if
10298         FP_DENORM_ZERO.
10299         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10300         (FP_TRUNC): Likewise.
10302         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10303         treated as invalid conversion, not as normal exponent.
10305         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10306         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
10307         (_FP_CMP_EQ): Likewise.
10308         (_FP_CMP_UNORD): Likewise.
10309         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10310         (FP_CMP_EQ_D): Likewise.
10311         (FP_CMP_UNORD_D): Likewise.
10312         * soft-fp/extended.h (FP_CMP_E): Likewise.
10313         (FP_CMP_EQ_E): Likewise.
10314         (FP_CMP_UNORD_E): Likewise.
10315         * soft-fp/quad.h (FP_CMP_Q): Likewise.
10316         (FP_CMP_EQ_Q): Likewise.
10317         (FP_CMP_UNORD_Q): Likewise.
10318         * soft-fp/single.h (FP_CMP_S): Likewise.
10319         (FP_CMP_EQ_S): Likewise.
10320         (FP_CMP_UNORD_S): Likewise.
10321         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10322         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10323         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10324         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10325         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10326         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10327         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10328         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10329         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10330         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10331         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10332         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10333         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10334         to FP_CMP_Q.
10335         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10336         FP_CMP_Q.
10337         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10338         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10339         FP_CMP_EQ_Q.
10340         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10341         FP_CMP_Q.
10342         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10343         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10344         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10345         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10346         FP_CMP_EQ_Q.
10347         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10348         FP_CMP_Q.
10349         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10350         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10351         FP_CMP_EQ_Q.
10352         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10353         FP_CMP_Q.
10354         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10355         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10356         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10357         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10358         FP_CMP_EQ_Q.
10360         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10361         a subnormal result, set the underflow exception if trapping on
10362         underflow is enabled.
10363         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10364         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10365         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10366         redefine to 0.
10367         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10368         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10369         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10370         * soft-fp/extendxftf2.c (__extendxftf2): Use
10371         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10373         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10374         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10375         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10376         FP_HANDLE_EXCEPTIONS.
10377         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10378         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10379         FP_HANDLE_EXCEPTIONS.
10380         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10381         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10382         FP_HANDLE_EXCEPTIONS.
10383         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10384         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10385         FP_HANDLE_EXCEPTIONS.
10387 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
10389         [BZ #14132]
10390         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10391         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10392         use INTUSE.
10393         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10394         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10395         Remove alias.
10396         (__adjtimex): Define using libc_hidden_ver.
10397         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10398         Remove declaration.
10399         (ntp_gettime): Call __adjtimex directly.
10400         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10401         Remove declaration.
10402         (ntp_gettimex): Call __adjtimex directly.
10403         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10404         __adjtimex_internal alias.
10406 2014-10-08  Roland McGrath  <roland@hack.frob.com>
10408         [BZ #17460]
10409         * nscd/nscd.c (more_help): Rewrite list of tables collection
10410         using xstrdup and asprintf.
10412         * nscd/nscd_conf.c: Remove local xstrdup declaration.
10414 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10415             Roland McGrath  <roland@hack.frob.com>
10417         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10418         (do_lookup_unique): ... local function 'enter' here; update callers.
10420 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
10422         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10423         compat_symbol calls on [SHARED].
10424         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10425         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10426         Remove.
10427         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10428         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10429         (oldsetrlimit): Remove.
10430         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10432         (lchown): New syscall entry.
10433         (oldsetrlimit): Remove.
10434         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10435         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10436         (oldsetrlimit): Remove.
10437         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10439         [BZ #14138]
10440         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10441         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10442         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10443         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10444         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10445         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10446         (fchown): Likewise.
10447         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10448         (fchown): Likewise.
10449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10450         Likewise.
10452 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10454         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10455         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10456         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10457         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10458         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10459         Likewise.
10460         (__old_sem_post): Likewise.
10462 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
10464         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10465         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10466         HAVE_CLOCK_GETTIME_VSYSCALL macros.
10467         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10468         Use INLINE_VSYSCALL macro.
10469         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10470         __vdso_clock_gettime.
10471         * sysdeps/unix/sysv/linux/tile/init-first.c
10472         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10473         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10474         __vdso_clock_gettime.
10476         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10477         to set up frame more cleanly.
10479         * sysdeps/tile/memcmp.c: New file.
10481         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10483         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10484         * sysdeps/tile/tilegx/strcasestr.c: New file.
10485         * sysdeps/tile/tilegx/strnlen.c: New file.
10486         * sysdeps/tile/tilegx/strstr.c: New file.
10488         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10490 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
10492         * nptl/tst-setuid3.c: Write errors to stdout.
10494 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10496         * elf/dl-deps.c
10497         (preload): New functions broken out of _dl_map_object_deps.
10498         (_dl_map_object_deps):  Remove a nested function. Update call sites.
10500 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
10502         [BZ #14138]
10503         * sysdeps/unix/sysv/linux/execve.c: Remove file.
10504         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10506 2014-10-01  Steve Ellcey  <sellcey@mips.com>
10508         * sysdeps/mips/strcmp.S: New.
10510 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
10512         [BZ #14138]
10513         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10514         (linkat): Likewise.
10515         (mkdirat): Likewise.
10516         (readlinkat): Likewise.
10517         (renameat): Likewise.
10518         (symlinkat): Likewise.
10519         (unlinkat): Likewise.
10520         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10521         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10522         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10523         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10524         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10525         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10526         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10528 2014-09-30  Will Newton  <will.newton@linaro.org>
10530         * math/math.h: Define long double math functions if
10531         _LIBC_TEST is defined.
10532         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10534         * localedata/Makefile: Move assignment to tests-special
10535         into an ifdef testing run-built-tests.
10536         * timezone/Makefile: Likewise.
10538 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
10540         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10541         with $(BASH) not $(SHELL).
10543 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
10544             Matthew LeGendre  <legendre1@llnl.gov>
10546         [BZ #17411]
10547         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10548         l_reloc_result.
10550 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10552         * stdio-common/printf_fp.c
10553         (hack_digit): New function, broken out of ...
10554         (__printf_fp): ... local function here.  Update call sites.
10555         hack_digit now takes an additional parameter that is a pointer
10556         to a struct of the referenced locals.  Those locals moved inside
10557         the struct and references updated.
10559 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
10561         * aclocal.m4: Require autoconf 2.69.
10562         * configure: Regenerated.
10563         * sysdeps/aarch64/configure: Likewise.
10564         * sysdeps/alpha/configure: Likewise.
10565         * sysdeps/arm/armv7/configure: Likewise.
10566         * sysdeps/arm/configure: Likewise.
10567         * sysdeps/ia64/configure: Likewise.
10568         * sysdeps/mach/configure: Likewise.
10569         * sysdeps/mips/configure: Likewise.
10570         * sysdeps/s390/configure: Likewise.
10571         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10574         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10575         file.
10576         * sysdeps/ia64/configure.ac: Likewise.
10578 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
10580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10581         specify symbol version for ld.so.  Do not include entry for
10582         libpthread.
10583         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10584         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10585         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10587         [BZ #14171]
10588         * Makeconfig [$(build-shared) = yes]
10589         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10590         makefiles.
10591         [$(build-shared) = yes && $(soversions.mk-done) = t]
10592         ($(common-objpfx)gnu/lib-names.h): Remove rule.
10593         [$(build-shared) = yes && $(soversions.mk-done) = t]
10594         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
10595         to Makerules.
10596         [$(build-shared) = yes && $(soversions.mk-done) = t]
10597         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10598         here.
10599         [$(build-shared) = yes && $(soversions.mk-done) = t]
10600         (common-generated): Don't append gnu/lib-names.h and
10601         gnu/lib-names.stmp here.
10602         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10603         (lib-names-h-abi): New variable.
10604         [$(build-shared) = yes && $(soversions.mk-done) = t]
10605         (lib-names-stmp-abi): Likewise.
10606         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10607         abi-variants] (before-compile): Append
10608         $(common-objpfx)$(lib-names-h-abi).
10609         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10610         abi-variants] (common-generated): Append gnu/lib-names.h.
10611         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10612         abi-variants] (install-others-nosubdir): Depend on
10613         $(inst_includedir)/$(lib-names-h-abi).
10614         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10615         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10616         [$(build-shared) = yes && $(soversions.mk-done) = t]
10617         ($(common-objpfx)$(lib-names-h-abi)): New rule.
10618         [$(build-shared) = yes && $(soversions.mk-done) = t]
10619         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10620         [$(build-shared) = yes && $(soversions.mk-done) = t]
10621         (common-generated): Append $(lib-names-h-abi) and
10622         $(lib-names-stmp-abi).
10623         * scripts/lib-names.awk: Do not handle multi being set.
10624         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10625         Remove variable.
10626         (abi-lp64_be-ld-soname): Likewise.
10627         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10628         Likewise.
10629         (abi-hard-ld-soname): Likewise.
10630         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10631         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10632         Remove variable.
10633         (abi-o32_hard-ld-soname): Likewise.
10634         (abi-o32_soft_2008-ld-soname): Likewise.
10635         (abi-o32_hard_2008-ld-soname): Likewise.
10636         (abi-n32_soft-ld-soname): Likewise.
10637         (abi-n32_hard-ld-soname): Likewise.
10638         (abi-n32_soft_2008-ld-soname): Likewise.
10639         (abi-n32_hard_2008-ld-soname): Likewise.
10640         (abi-n64_soft-ld-soname): Likewise.
10641         (abi-n64_hard-ld-soname): Likewise.
10642         (abi-n64_soft_2008-ld-soname): Likewise.
10643         (abi-n64_hard_2008-ld-soname): Likewise.
10644         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10645         Likewise.
10646         (abi-64-v2-ld-soname): Likewise.
10647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10648         ld.so entries.
10649         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10650         variable.
10651         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10652         entry.
10653         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10654         variable.
10655         (abi-64-ld-soname): Likewise.
10656         (abi-x32-ld-soname): Likewise.
10657         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10658         entry.
10659         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10661 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
10663         [BZ #14138]
10664         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10665         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10666         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10667         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10668         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10669         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10670         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10671         syscall entry for GLIBC_2.2 symbol version.
10672         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10673         Likewise.
10674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10675         (setrlimit): Likewise.
10676         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10677         Likewise.
10679 2014-09-23  Will Newton  <will.newton@linaro.org>
10681         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10682         _LINUX_ARM_SYSDEP_H include guard too.
10683         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10684         define.
10686 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10688         * sysdeps/unix/sysv/linux/eventfd.c:
10689         Make first argument unsigned.
10690         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10691         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10693 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
10695         * socket/recvmmsg.c (recvmmsg): Drop const argument.
10696         * socket/sys/socket.h: Likewise
10697         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10699 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10701         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10703 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
10705         * time/tst-ftime.c: New test.
10706         * time/Makefile (tests): Add tst-ftime.
10708 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
10710         * soft-fp/extended.h: Fix comment formatting.
10711         * soft-fp/op-1.h: Likewise.
10712         * soft-fp/op-2.h: Likewise.
10713         * soft-fp/op-4.h: Likewise.
10714         * soft-fp/op-8.h: Likewise.
10715         * soft-fp/op-common.h: Likewise.
10716         * soft-fp/soft-fp.h: Likewise.
10718         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10720 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
10722         [BZ #6652]
10723         * Makeconfig (soversions-default-setname): Remove variable.
10724         ($(common-objpfx)soversions.i): Don't pass default_setname to
10725         soversions.awk.
10726         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10727         oldest_abi to abi-versions.awk.
10728         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10729         * config.make.in (oldest-abi): Remove variable.
10730         * configure.ac (--enable-oldest-abi): Remove configure option.
10731         * configure: Regenerated.
10732         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10733         text.
10734         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10735         * scripts/soversions.awk: Do not handle default_setname variable.
10736         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10737         variable.
10738         * sysdeps/mach/hurd/configure: Regenerated.
10739         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10740         variable.
10741         * sysdeps/unix/sysv/linux/configure: Regenerated.
10743 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10745         * elf/Makefile (CFLAGS-interp.c): Remove.
10746         ($(elf-objpfx)runtime-linker.h): Generate header with linker
10747         path string.
10748         * elf/interp.c: Include generated runtime-linker.h
10750         * Makerules (lib%.so): Don't include $(+interp) in
10751         prerequisites.
10752         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10753         * dlfcn/eval.c: Remove file.
10755         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10756         macros.
10758         [BZ #17266]
10759         * misc/sys/cdefs.h: Define __extern_always_inline for clang
10760         4.2 and newer.
10762         [BZ #17370]
10763         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10765 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10766             Jakub Jelinek  <jakub@redhat.com>
10768         [BZ #17266]
10769         * libio/stdio.h: Check definition of __fortify_function
10770         instead of __extern_always_inline to include bits/stdio2.h.
10771         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10772         check if __extern_always_inline is defined.
10773         [__USE_MISC || __USE_XOPEN]: Likewise.
10774         [__USE_ISOC99] Likewise.
10775         * misc/sys/cdefs.h (__fortify_function): Define only if
10776         __extern_always_inline is defined.
10777         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10778         __extern_always_inline and __extern_inline only for g++-4.3
10779         and newer or a compatible gcc.
10781 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
10783         [BZ #17371]
10784         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10785         last change to handle zero prefix length.
10787 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10789         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10790         _SC_REGEX_VERSION.
10792         * posix/getconf.c (vars): Add _POSIX_IPV6 and
10793         _POSIX_RAW_SOCKETS.
10795 2014-09-13  Allan McRae  <allan@archlinux.org>
10797         * po/ru.po: Update Russian translation from translation project.
10799 2014-09-12  Roland McGrath  <roland@hack.frob.com>
10801         * locale/programs/locale.c (show_locale_vars): Inline local function
10802         into its sole call site.  Clean up some style nits.
10803         (print_item): New function, broken out of ...
10804         (show_info): ... local function here.  Clean up style nits.
10806         * locale/programs/ld-ctype.c (set_one_default): New function, broken
10807         out of ...
10808         (set_class_defaults): ... local function set_default here.
10809         Define set_default as a macro locally to pass constant parameters.
10810         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10811         rather than a shared local.
10813         * stdlib/rpmatch.c (try): New function, broken out of ...
10814         (rpmatch): ... local function here.  Also, prototypify definition.
10816 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
10818         * scripts/soversions.awk: Do not handle configuration names.
10819         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10820         vendor and os variables to soversions.awk.
10821         * configure.ac: Do not modify gnu-* host_os.
10822         * configure: Regenerated
10823         * shlib-versions: Remove first column with configuration names.
10824         * nptl/shlib-versions: Likewise.
10825         * nptl_db/shlib-versions: Likewise.
10826         * sysdeps/hppa/shlib-versions: Likewise.
10827         * sysdeps/m68k/shlib-versions: Likewise.
10828         * sysdeps/mach/hurd/shlib-versions: Likewise.
10829         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10830         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10831         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10832         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10833         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10834         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10835         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10836         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10838         Likewise.
10839         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10840         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10841         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10842         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10843         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10844         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10845         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10846         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10849         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10851         Regenerated.
10852         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10854         Condition symbol version definitions on [HAVE_ELFV2_ABI].
10856         * shlib-versions: Remove OS-specific entries.  Moved to files in
10857         sysdeps.
10858         * sysdeps/mach/hurd/shlib-versions: New file.
10859         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10861         * nptl/shlib-versions: Remove architecture-specific entries.
10862         Moved to files in sysdeps.
10863         * shlib-versions: Likewise.
10864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10865         file.
10866         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10867         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10868         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10869         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10871         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10872         (UDP_NO_CHECK6_RX): Likewise.
10874 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10876         * sysdeps/posix/sysconf.c (__sysconf): Spell
10877         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10879 2014-08-12  Florian Weimer  <fweimer@redhat.com>
10881         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10882         loading.
10883         * iconv/Versions (__gconv_transliterate): Export for use from
10884         gconv modules.
10885         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10886         (struct __gconv_trans_data, __gconv_trans_fct,
10887         __gconv_trans_context_fct, __gconv_trans_query_fct,
10888         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10889         definitions.
10890         (struct __gconv_step_data): Remove __trans member.
10891         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
10892         longer hidden.  Remove unused trans_data argument.
10893         * iconv/gconv_int.h (struct trans_struct): Remove definition.
10894         (__gconv_translit_find): Remove declaration.
10895         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
10896         prototype.
10897         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10898         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10899         trans_data argument.  Add hidden definition.
10900         (__gconv_translit_find): Remove.
10901         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10902         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10903         * iconv/skeleton.c: Remove transliteration initialization.
10904         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10905         __gconv_step_data initialization.
10906         * libio/iofwide.c (__libio_translit_): Remove.
10907         (_IO_fwide): Adjust struct __gconv_step_data initialization.
10908         * wcsmbs/btowc.c (__btowc): Likewise.
10909         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10910         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10911         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10912         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10913         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10914         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10915         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10916         * wcsmbs/wctob.c (wctob): Likewise.
10918 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10920         [BZ #16194]
10921         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10922         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
10923         register usage.
10924         * sysdeps/x86/Makefile: Adjust.
10926 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10927             Roland McGrath  <roland@hack.frob.com>
10929         * locale/weight.h: Add include guard.
10930         (findidx): Make static rather than auto; take new parameters
10931         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10932         * locale/weightwc.h: Likewise.
10933         * posix/fnmatch_loop.c
10934         (FCT): Change type of EXTRA from int32_t to wint_t.
10935         Don't include either header inside the function.
10936         Call FINDIDX rather than findidx, and pass new arguments.
10937         #undef FINDIDX at the end of the file.
10938         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10939         FINDIDX before including fnmatch_loop.c for the non-wide version.
10940         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10941         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10942         for the wide version.
10943         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10944         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10945         Pass new arguments to findidx.
10946         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10947         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10948         Don't #include it inside the function.  Pass new arguments to findidx.
10949         * posix/regex_internal.h
10950         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10951         (re_string_elem_size_at): Don't #include it inside the function.
10952         Pass new arguments to findidx.
10953         * string/strcoll_l.c: #include WEIGHT_H at top level.
10954         (get_next_seq): Don't #include it inside the function.
10955         Pass new arguments to findidx.
10956         (get_next_seq_nocache): Likewise.
10957         * string/strxfrm_l.c: #include WEIGHT_H at top level.
10958         (STRXFRM): Don't #include it inside the function.
10959         Pass new arguments to findidx.
10961 2014-09-11  Florian Weimer  <fweimer@redhat.com>
10963         [BZ #17344]
10964         * malloc/malloc.c (unlink): Turn asserts into a call to
10965         malloc_printerr.
10967 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
10969         [BZ #17370]
10970         * libio/wfileops (do_ftell_wide): Free OUT.
10972 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
10974         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10976 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10978         [BZ #17363]
10979         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10980         group if the current group is empty.
10982 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10984         * benchtests/bench-memset.c (test_main): Add more test from size
10985         from 32 to 512 bytes.
10986         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10987         Add POWER8 memset object.
10988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10989         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10990         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10991         implementation.
10992         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10993         Likewise.
10994         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10995         multiarch POWER8 memset optimization.
10996         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10997         POWER8 memset optimization.
10999         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11000         Remove bzero multiarch objects.
11001         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
11002         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
11003         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
11004         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
11005         Remove define.
11006         [__bzero]: Redefine to specific name.
11007         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
11008         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
11009         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
11010         define.
11011         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11012         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11014 2014-09-10  Florian Weimer  <fweimer@redhat.com>
11016         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
11017         warnings into errors.
11019         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
11020         __cxa_thread_atexit_impl prototype.
11022 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11024         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
11025         Fix capitalization of error message.
11027 2014-09-09  Steve Ellcey  <sellcey@mips.com>
11029         * sysdeps/mips/preconfigure: Modify ABI tests.
11031 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
11033         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
11035 2014-09-07  Roland McGrath  <roland@hack.frob.com>
11036             Carlos O'Donell  <carlos@systemhalted.org>
11038         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
11039         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
11040         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
11041         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
11042         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
11043         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
11044         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
11045         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
11046         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
11047         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
11048         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
11049         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
11050         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
11051         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
11052         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
11053         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
11054         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
11055         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
11056         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
11057         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
11058         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
11059         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
11060         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
11061         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
11062         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
11063         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
11064         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
11065         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
11066         Deconditionalize the code that was previously under [RESET_PID].
11067         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
11068         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
11069         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
11070         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
11071         include sysdep.h.
11073 2014-09-08  Allan McRae  <allan@archlinux.org>
11075         * version.h (RELEASE): Set to "development".
11076         (VERSION): Set to "2.20.90"
11078 2014-09-07  Allan McRae  <allan@archlinux.org
11080         * version.h (RELEASE): Set to "stable".
11081         (VERSION): Set to "2.20"
11082         * include/features.h (__GLIBC_MINOR__): Set to 20.
11084         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
11085         Liebler.
11087         * po/ko.po: Update Korean translation from translation project.
11089 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
11091         [BZ #17354]
11092         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
11093         macro for handling signed relocations.
11095 2014-09-03  Florian Weimer  <fweimer@redhat.com>
11097         [BZ #17325]
11098         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
11099         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
11100         assert.
11101         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
11102         * iconvdata/ibm935.c (BODY): Likewise.
11103         * iconvdata/ibm937.c (BODY): Likewise.
11104         * iconvdata/ibm939.c (BODY): Likewise.
11105         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
11106         assert.
11107         * iconvdata/Makefile (iconv-test.out): Pass module list to test
11108         script.
11109         * iconvdata/run-iconv-test.sh: New test loop for checking for
11110         decoder crashers.
11112 2014-09-02  Khem Raj  <raj.khem@gmail.com>
11114         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
11115         libm_hidden_ver.
11117 2014-09-01  Allan McRae  <allan@archlinux.org>
11119         * po/eo.po: Update Esperanto translation from translation project.
11121         * po/ca.po: Update Catalan translation from translation project.
11123 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11125         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
11126         __proc_dostop call.
11128 2014-08-27  Mark Wielaard  <mjw@redhat.com>
11130         [BZ #17319]
11131         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
11132         to call set_thread_area instead of hand written asm.
11133         (__NR_set_thread_area): Removed define.
11134         (TLS_FLAG_WRITABLE): Likewise.
11135         (__ASSUME_SET_THREAD_AREA): Remove check.
11136         (TLS_EBX_ARG): Remove define.
11137         (TLS_LOAD_EBX): Likewise.
11139 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11141         Simplify atomicity of socket creation in bind.
11143         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11144         looking up the name after linking the file.
11146 2014-08-27  Allan McRae  <allan@archlinux.org>
11148         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11150 2014-08-26  Florian Weimer  <fweimer@redhat.com>
11152         [BZ #17187]
11153         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11154         trans_compare, open_translit, __gconv_translit_find):
11155         Remove module loading code.
11157 2014-08-26  Allan McRae  <allan@archlinux.org>
11159         * po/vi.po: Update Vietnamese translation from translation project.
11161         * po/uk.po: Update Ukrainian translation from translation project.
11163         * po/fr.po: Update French translation from translation project.
11165         * po/ru.po: Update Russian translation from translation project.
11167         * po/pl.po: Update Polish translation from translation project.
11169         * po/cs.po: Update Czech translation from translation project.
11171         * po/de.po: Update German translation from translation project.
11173         * po/bg.po: Update Bulgarian translation from translation project.
11175         * po/sv.po: Update Sweedish translation from translation project.
11177         * po/nl.po: Update Dutch translation from translation project.
11179         * po/es.po: Update Spanish translation from translation project.
11181 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11183         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11185         * catgets/Makefile (CPPFLAGS-gencat): Remove.
11186         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11187         (CPPFLAGS-iconvconfig): Likewise.
11188         * timezone/Makefile (CPPFLAGS-zic): Likewise.
11190         * include/libc-symbols.h: Remove unnecessary check for
11191         NOT_IN_libc.
11192         * nptl/pthreadP.h: Likewise.
11193         * sysdeps/aarch64/setjmp.S: Likewise.
11194         * sysdeps/alpha/setjmp.S: Likewise.
11195         * sysdeps/arm/sysdep.h: Likewise.
11196         * sysdeps/i386/setjmp.S: Likewise.
11197         * sysdeps/m68k/setjmp.c: Likewise.
11198         * sysdeps/posix/getcwd.c: Likewise.
11199         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11200         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11201         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11202         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11203         * sysdeps/sh/sh3/setjmp.S: Likewise.
11204         * sysdeps/sh/sh4/setjmp.S: Likewise.
11205         * sysdeps/unix/alpha/sysdep.h: Likewise.
11206         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11207         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11208         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11209         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11212         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11213         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11214         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11215         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11216         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11217         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11218         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11219         * sysdeps/x86_64/setjmp.S: Likewise.
11221 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
11223         [BZ #17263]
11224         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11225         <stdint.h>.
11226         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11227         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11229 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11231         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11233         [BZ #17262]
11234         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11235         and __x86_64__ when disabling x87 inline functions.
11237 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11239         [BZ #17259]
11240         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11241         asm statement with __cpuid_count.
11243 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
11245         * configure.ac: Change __ehdr_start code to dereference the struct.
11246         Run readelf on the output to look for relocations.
11247         * configure: Regenerated.
11249 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
11251         [BZ #17261]
11252         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11253         value to 0.
11254         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11256 2014-08-12  Roland McGrath  <roland@hack.frob.com>
11258         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11260 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
11262         [BZ #16892]
11263         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11264         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11266 2014-08-12  Sean Anderson  <seanga2@gmail.com>
11268         * malloc/malloc.c: Fix typo in comment.
11270 2014-08-09  Allan McRae  <allan@archlinux.org>
11272         * Regenerate libc.po.
11274 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
11276         * intl/tst-gettext2.sh: Check every lang file for creation.
11278 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11280         * sysdeps/aarch64/fpu/math_private.h
11281         (libc_feholdsetround_noex_aarch64_ctx): New function.
11283 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11285         * sysdeps/arm/armv6/strcpy.S (strcpy):
11286         Fix performance issue in misaligned cases.
11288 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11290         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11291         Move definition from termios.h.
11292         (struct termio): Likewise.
11293         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11294         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11295         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11296         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11297         Likewise.
11298         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11299         Move definition to ioctl-types.h
11300         (struct termio): Likewise.
11301         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11302         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11303         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11304         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11305         Likewise.
11307 2014-08-05  Richard Henderson  <rth@redhat.com>
11309         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11310         exceptions.
11311         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11312         Add fraiseexcpt.
11313         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11314         Use __feraiseexcept.
11315         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11316         Protect libm symbols with IS_IN_libm.
11318         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11320 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
11322         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11324 2014-08-04  Will Newton  <will.newton@linaro.org>
11326         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11327         file.
11329 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
11331         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11332         variants for each function.
11334 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11336         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11337         appended ...
11338         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11339         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11340         appended ...
11341         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11342         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11343         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11344         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11345         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11346         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11347         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11348         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11349         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11350         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11351         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11352         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11353         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11354         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11355         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11356         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11357         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11358         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11359         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11360         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11361         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11362         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11363         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11364         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11365         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11366         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11367         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11368         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11369         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11370         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11371         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11372         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11373         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11374         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11375         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11376         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11377         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11378         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11379         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11380         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11381         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11382         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11383         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11384         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11385         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11386         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11387         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11388         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11389         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11390         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11391         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11392         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11393         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11394         Update #include.
11395         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11396         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11398 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11400         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11401         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11402         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11403         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11404         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11405         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11407 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11409         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11410         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11411         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11412         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11414 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11416         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11417         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11418         (__libc_vfork): Define function under this name.
11419         (__vfork): Define as an alias.
11420         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11421         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11423 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11425         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11426         that was previously under [RESET_PID].
11427         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11429 2014-08-04  Andreas Schwab  <schwab@suse.de>
11431         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11433 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
11435         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11436         (main): Likewise.
11438 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11440         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11442 2014-08-01  Richard Henderon  <rth@redhat.com>
11444         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11445         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11446         typo in exact zero test.
11447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11448         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11449         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11451 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11453         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11454         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11455         * sysdeps/arm/sysdep.h: ... here.
11456         [!__ASSEMBLER__]: Include <stdint.h>.
11458 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11460         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11461         (HAVE_WCTYPE_H): Likewise.
11462         (HAVE_ISWCTYPE): Likewise.
11463         (ENABLE_NLS): Likewise.
11464         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11465         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11467         * posix/regex_internal.c: Check if DEBUG is defined and is
11468         set.
11470         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11471         (HAVE_MBSRTOWCS): Likewise.
11472         * posix/fnmatch.c: Include string.h unconditionally.
11474 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11476         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11477         reversal.
11479 2014-07-31  Roland McGrath  <roland@hack.frob.com>
11481         * sysdeps/generic/safe-fatal.h: New file.
11482         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11483         * nptl/forward.c: Include it.
11484         (__pthread_unwind): Use __safe_fatal as default action, rather
11485         than a bogus use of INTERNAL_SYSCALL that could never work.
11487         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11488         * configure.ac (libc_cv_builtin_trap): New test.
11489         * configure: Regenerated.
11490         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11491         (ABORT_INSTRUCTION): Define using __builtin_trap.
11493         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11494         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11495         * sysdeps/nptl/nptl-signals.h: New file.
11496         * nptl/pthreadP.h: Include <nptl-signals.h>.
11498 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11500         * sysdeps/s390/s390-64/utf16-utf32-z9.c
11501         (ONE_DIRECTION): Define.
11502         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11503         (ONE_DIRECTION): Define.
11504         * sysdeps/s390/s390-64/utf8-utf32-z9.c
11505         (ONE_DIRECTION): Define.
11507 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11509         * sysdeps/s390/Makefile: Delete file.
11510         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11511         * sysdeps/s390/__longjmp.c: Delete file.
11512         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11513         Remove fields __flags and __reserved.
11514         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11515         and add versioning.
11516         * sysdeps/s390/rtld-__longjmp.c: Delete file.
11517         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11518         * sysdeps/s390/rtld-setjmp.S: Likewise.
11519         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11520         * sysdeps/s390/s390-32/__longjmp.c: ... here.
11521         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11522         * sysdeps/s390/s390-32/setjmp.S: ... here.
11523         Add versioning.
11524         (__sigsetjmp): Remove setting __flags field.
11525         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11526         * sysdeps/s390/s390-64/__longjmp.c: ... here.
11527         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11528         * sysdeps/s390/s390-64/setjmp.S: ... here.
11529         Add versioning.
11530         (__sigsetjmp): Remove setting __flags field.
11531         * sysdeps/s390/setjmp.S: Delete file.
11532         * sysdeps/s390/sigjmp.c: Likewise.
11533         * sysdeps/s390/v1-longjmp.c: Likewise.
11534         * sysdeps/s390/v1-setjmp.h: Likewise.
11535         * sysdeps/s390/v1-sigjmp.c: Likewise.
11536         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11537         Remove v1-longjmp_chk.
11538         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11539         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11540         Include debug/longjmp_chk.c and add versioning.
11541         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11542         Include nptl/pt-longjmp.c and add versioning.
11543         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11544         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11545         Include __longjmp.c.
11546         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11547         Move to ...
11548         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11549         (__getcontext): Remove setting __flags field.
11550         Add versioning.
11551         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11552         Don't restore upper high grps.
11553         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11554         Likewise.
11555         (__swapcontext): Remove setting uc_flags field.
11556         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11557         Delete file.
11558         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11559         Include __longjmp.c.
11560         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11561         Move to ...
11562         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11563         (__getcontext): Remove setting __flags field.
11564         Add versioning.
11565         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11566         (__swapcontext): Remove setting uc_flags field.
11567         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11568         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11569         Remove fields uc_high_gprs and __reserved.
11570         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11571         New file with reverted content.
11572         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11573         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11574         Regenerated.
11575         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11576         Regenerated.
11578 2014-07-31  Andreas Schwab  <schwab@suse.de>
11580         * config.h.in (HAVE_IFUNC): Define to 0.
11581         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11582         definedness.
11584 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
11586         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11587         memmove-avx-unaligned, memcpy-avx-unaligned and
11588         mempcpy-avx-unaligned.
11589         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11590         Add tests for AVX memcpy functions.
11591         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11592         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11593         memcpy_chk.
11594         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11595         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11596         memmove_chk.
11597         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11598         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11599         mempcpy_chk.
11600         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11601         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11602         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11604 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11606         [BZ #17213]
11607         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11608         powerpc64le.
11610 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
11612         [BZ #16839]
11613         * manual/llio.texi: Add section about open file description locks.
11614         * manual/examples/ofdlocks.c: Example of open file description
11615         lock usage.
11616         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11617         F_OFD_SETLK, and F_OFD_SETLKW.
11619 2014-07-23  Allan McRae  <allan@archlinux.org>
11621         * po/es.po: Update Spanish translation from translation project.
11623 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
11625         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11627 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
11629         [BZ #17078]
11630         * sysdeps/arm/dl-machine.h (elf_machine_rela)
11631         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11632         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11634 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
11636         [BZ #17088]
11637         * math/fesetenv.c (__fesetenv)
11638         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11639         * math/feupdateenv.c (__feupdateenv)
11640         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11642         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11643         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11644         (__ASSUME_SOCKETCALL): Do not define.
11646         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11647         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11648         (__ASSUME_SOCKETCALL): Do not define.
11649         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11650         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11651         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11652         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11653         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11654         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11655         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11656         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11658         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11659         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11660         (__ASSUME_SOCKETCALL): Do not define.
11661         (__ASSUME_IPC64): Define unconditionally.
11662         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11663         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11664         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11665         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11666         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11667         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11668         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11669         Likewise.
11671         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11672         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11673         (__ASSUME_SOCKETCALL): Do not define.
11674         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11675         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11676         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11677         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11678         (__ASSUME_REQUEUE_PI): Define unconditionally.
11679         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11680         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11681         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11682         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11683         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11684         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11686         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11687         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11688         (__ASSUME_SOCKETCALL): Do not define.
11689         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11690         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11691         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11692         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11693         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11694         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11696         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11697         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11698         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11699         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11700         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11701         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11702         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11703         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11704         (__ASSUME_GETCPU_SYSCALL): Likewise.
11706         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11707         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
11708         cases for individual architectures.
11709         * sysdeps/gnu/configure: Regenerated.
11710         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11711         LIBC_SLIBDIR_RTLDDIR.
11712         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11713         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11714         LIBC_SLIBDIR_RTLDDIR.
11715         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11717         LIBC_SLIBDIR_RTLDDIR.
11718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11719         Regenerated.
11720         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11721         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11722         file.
11723         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11724         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11725         file.
11726         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11727         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11728         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11729         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11731         * sysdeps/aarch64/shlib-versions: Move to ...
11732         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11733         * sysdeps/alpha/shlib-versions: Move to ...
11734         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11735         * sysdeps/arm/shlib-versions: Move to ...
11736         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11737         * sysdeps/hppa/shlib-versions: Move all contents except for
11738         libgcc_s entry to ...
11739         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
11740         entry from ...
11741         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
11742         * sysdeps/ia64/shlib-versions: Move to ...
11743         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
11744         entry from ...
11745         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
11746         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11747         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11748         * sysdeps/microblaze/shlib-versions: Move to ...
11749         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11750         * sysdeps/mips/shlib-versions: Move to ...
11751         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
11752         entry from ...
11753         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
11754         * sysdeps/tile/shlib-versions: Move to ...
11755         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11756         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11757         from ...
11758         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
11759         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11760         entry from ...
11761         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
11763 2014-07-17  Will Newton  <will.newton@linaro.org>
11765         * sysdeps/arm/bits/atomic.h
11766         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11767         (__arch_compare_and_exchange_bool_16_int): Likewise.
11768         (__arch_compare_and_exchange_bool_64_int): Likewise.
11770         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11771         into an #else block.
11773 2014-07-16  Roland McGrath  <roland@hack.frob.com>
11775         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11776         just Linux configurations.  Test empirically that the compiler sets
11777         __ARM_EABI__, rather than using the tuple to decide.
11778         * sysdeps/arm/preconfigure: Regenerated.
11779         * sysdeps/unix/sysv/linux/arm/configure: File removed.
11780         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11781         contents appended ...
11782         * sysdeps/arm/configure.ac: ... here.
11783         * sysdeps/arm/configure: Regenerated.
11785 2014-07-15  Roland McGrath  <roland@hack.frob.com>
11787         * nptl/pthread_kill.c: New file.
11788         * nptl/pthread_sigmask.c: New file.
11789         * nptl/pthread_sigqueue.c: New file.
11791         * sysdeps/nptl/lowlevellock.h: New file.
11792         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11793         * sysdeps/nptl/lowlevellock-futex.h: New file.
11795         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11796         Remove dead declarations.
11798 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
11800         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11801         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11802         config-cflags-avx2.
11803         * sysdeps/x86_64/configure.ac: Likewise.
11804         * sysdeps/i386/configure: Regenerated.
11805         * sysdeps/x86_64/configure: Likewise.
11806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11807         memset-avx2 only if config-cflags-avx2 is yes.
11808         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11809         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11810         defined.
11811         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11812         only if HAVE_AVX2_SUPPORT is defined.
11813         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11815 2014-07-14  Alan Modra  <amodra@gmail.com>
11817         [BZ #17153]
11818         * elf/elf.h (DT_PPC64_NUM): Correct value.
11819         * NEWS: Add to fixed bug list.
11821 2014-07-13  Jim Meyering  <meyering@fb.com>
11823         [BZ 17150]
11824         regex: don't deref NULL upon heap allocation failure
11825         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11826         failure in one more place.
11827         To trigger the segfault, configure grep -with-included-regex,
11828         build it, and run these commands:
11829         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11831 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
11833         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11835 2014-07-11  Richard Henderson  <rth@redhat.com>
11837         * sysdeps/aarch64/libm-test-ulps: Update.
11839 2014-07-10  Florian Weimer  <fweimer@redhat.com>
11841         [BZ #17135]
11842         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11843         * nptl/allocatestack.c (__nptl_setxid_error): New function.
11844         (__nptl_setxid): Initialize error member.  Call
11845         __nptl_setxid_error.
11846         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11847         * nptl/descr.h (struct xid_command): Add error member.
11848         * nptl/tst-setuid3.c: New file.
11849         * nptl/Makefile (tests): Add it.
11851 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11853         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11854         New define.
11855         (__lll_trylock): Use __lll_base_trylock.
11856         (__lll_cond_trylock): Likewise.
11858 2014-07-10  Roland McGrath  <roland@hack.frob.com>
11860         * nptl/pthread_create.c (start_thread): Use atomic_or and
11861         lll_futex_wake directly rather than lll_robust_dead.
11862         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11863         (lll_robust_dead): Macro removed.
11864         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11865         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11866         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11867         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11868         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11869         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11870         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11871         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11872         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11873         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11874         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11875         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11876         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11877         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11878         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11880         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11881         Use atomic_compare_and_exchange_val_acq directly rather than
11882         lll_robust_trylock.
11883         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11884         (__lll_robust_trylock, lll_robust_trylock): Removed.
11885         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11886         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11887         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11888         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11889         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11890         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11891         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11892         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11893         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11894         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11895         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11896         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11897         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11898         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11900 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11902         * manual/locale.texi (Locale Names): New section documenting
11903         locale name syntax.  Adjust menu and node chaining accordingly.
11904         (Choosing Locale): Reference Locale Names, Locale Categories.
11905         Mention setting LC_ALL=C.  Reflect that name syntax is now
11906         documented.
11907         (Locale Categories): New section title.  Reference Locale Names.
11908         LC_ALL is an environment variable, but not a category.
11909         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11910         description, now in Locale Name.  Reference that section.  Locale
11911         name syntax is now documented.
11913 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11915         [BZ #17137]
11916         * locale/findlocale.c (name_present, valid_locale_name): New
11917         functions.
11918         (_nl_find_locale): Use the loc_name variable to store name
11919         candidates.  Call name_present and valid_locale_name to check and
11920         validate locale names.  Return an error if the locale is invalid.
11922 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11924         * locale/setlocale.c (setlocale): Use strdup for allocating
11925         composite name copy.
11927 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11929         Sync up with gnulib.
11930         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11931         [!_LIBC && ENABLE_NLS]: Include gettext.h.
11932         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11933         and _GL_ARG_NONNULL.
11934         [USE_UNLOCKED_IO]: Include unlocked-io.h.
11935         [!_LIBC]: Include code for Windows and Cygwin.
11936         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11937         Include prototype for int strerror_r.
11938         [!_LIBC] (is_open): New function.
11939         (flush_stdout): New function.
11940         (print_errno_message): Use it.
11941         (error): Likewise.
11942         (error_at_line): Likewise.
11943         (error_tail) Add function attribute macros.  Use
11944         __builtin_expect.
11946         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11948         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11950         * io/ftw.c: Include sys/param.h unconditionally.
11952         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11954         [BZ #17125]
11955         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11956         libc_freeres_ptr.
11957         (freecache): New function to free CACHE on exit.
11959         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11960         initialization.
11962 2014-07-09  David S. Miller  <davem@davemloft.net>
11964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11966         * sysdeps/sparc/nptl/internaltypes.h: Delete.
11967         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11968         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11969         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11970         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11971         * sysdeps/sparc/nptl/sem_init.c: Likewise.
11972         * sysdeps/sparc/nptl/sem_post.c: Likewise.
11973         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11974         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11975         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11976         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11977         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11978         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11980 2014-07-09  Andreas Schwab  <schwab@suse.de>
11982         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11983         output.
11984         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11985         (do_test): Likewise.
11987         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11989 2014-07-09  Will Newton  <will.newton@linaro.org>
11991         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11992         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11993         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11994         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11995         * sysdeps/hppa/start.S (_start): Likewise.
11997 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11999         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
12001         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
12002         defined.
12004 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12006         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
12007         after checking that it is non-NULL.
12009         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
12011 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12013         * sysdeps/powerpc/memmove.c: Remove file.
12014         * sysdeps/powerpc/powerpc32/power4/memcopy.h
12015         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
12016         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
12017         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
12018         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
12019         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
12020         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
12021         string memmove instead of removed powerpc one.
12023         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
12024         [weak_alias]: Fix compiler warning due trailing data.
12025         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
12026         [weak_alias]: Likewise.
12027         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
12028         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
12030         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12031         (__libc_ifunc_impl_list): Add memmove functions.
12033 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12035         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
12036         Remove code.
12037         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
12038         Likewise
12039         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
12040         Likewise
12041         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
12042         Likewise
12043         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
12044         Likewise
12045         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
12046         Likewise
12047         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
12048         Likewise
12049         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
12050         Likewise
12051         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
12052         Likewise
12053         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
12054         Likewise
12055         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
12056         Likewise
12057         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
12058         Likewise
12059         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
12060         Likewise
12061         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
12062         Likewise
12063         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
12064         Likewise
12065         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
12066         Likewise
12067         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
12068         Likewise
12070 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12072         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
12073         to avoid alignment traps in non-cacheable memory.
12074         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
12076         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
12077         multiarch objects.
12078         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
12079         file: multiarch power7 memmove.
12080         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
12081         multiarch default memmove.
12082         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
12083         multiarch memove for powerpc32/power4.
12085         * string/bcopy.c: Use full path to include memmove.c.
12086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
12087         multiarch objects.
12088         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
12089         bcopy for powerpc64.
12090         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
12091         bcopy for powerpc64.
12092         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
12093         and memmove implementations.
12094         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
12095         optimized multiarch memmove for POWER7/powerpc64.
12096         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
12097         default multiarch memmove for powerpc64.
12098         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
12099         multiarch for powerpc64.
12100         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
12101         for POWER7/powerpc64.
12102         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
12103         memmove for POWER7/powerpc64.
12105         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
12106         glibc default one.
12108         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
12109         __ELF_NATIVE_CLASS equal to 64.
12111 2014-07-07  Roland McGrath  <roland@hack.frob.com>
12113         * sysdeps/nptl/lowlevellock.h: File removed.
12115         * NEWS: NPTL is no longer an add-on!
12116         * nptl/internaltypes.h: Moved ...
12117         * sysdeps/nptl/internaltypes.h: ... here.
12118         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
12119         * sysdeps/nptl/fork.c: Likewise.
12120         * sysdeps/nptl/gai_misc.h: Likewise.
12121         * sysdeps/nptl/librt-cancellation.c: Likewise.
12122         * sysdeps/nptl/jmp-unwind.c: Likewise.
12123         * sysdeps/nptl/setxid.h: Likewise.
12124         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
12125         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
12126         * sysdeps/unix/sysv/linux/arm/Implies: New file.
12127         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
12128         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
12129         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
12130         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
12131         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
12132         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
12133         * sysdeps/unix/sysv/linux/mips/Implies: New file.
12134         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12135         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12136         * sysdeps/unix/sysv/linux/sh/Implies: New file.
12137         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12138         * sysdeps/unix/sysv/linux/tile/Implies: New file.
12139         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12140         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12141         * nptl/Makeconfig: Moved ...
12142         * sysdeps/nptl/Makeconfig: ... here.
12143         * nptl/configure: File removed.
12144         * nptl/ANNOUNCE: File removed.
12145         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12146         * sysdeps/unix/sysv/linux/configure: Regenerated.
12148         * nptl/Makefile (routines): Add libc_pthread_init,
12149         libc_multiple_threads, register-atfork and unregister-atfork.
12150         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12151         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12152         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12153         pthread-pi-defines.sym, structsem.sym.
12154         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12155         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12156         [$(subdir) = nptl] (tests): Add tst-setgetname.
12157         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12158         * sysdeps/unix/sysv/linux/sigaction.c: Just include
12159         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12160         [!LIBC_SIGACTION]: Remove aliases.
12161         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12162         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12163         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12164         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12165         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12166         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12167         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12168         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12169         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12170         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12171         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12172         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12173         __libc_allocate_rtsig_private.
12174         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12175         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12176         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12177         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12178         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12179         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12180         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12181         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12182         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12183         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12184         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12185         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12186         * nptl/internaltypes.h: ... here.
12187         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12188         * sysdeps/nptl/jmp-unwind.c: ... here.
12189         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12190         * nptl/libc-lowlevellock.c: ... here.
12191         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12192         * nptl/libc_multiple_threads.c: ... here.
12193         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12194         * nptl/libc_pthread_init.c: ... here.
12195         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12196         * nptl/lowlevelbarrier.sym: ... here.
12197         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12198         * nptl/lowlevelcond.sym: ... here.
12199         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12200         * nptl/lowlevellock.c: ... here.
12201         * nptl/lowlevellock.h: Moved ...
12202         * sysdeps/nptl/lowlevellock.h: ... here.
12203         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12204         * nptl/lowlevelrobustlock.c: ... here.
12205         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12206         * nptl/lowlevelrobustlock.sym: ... here.
12207         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12208         * nptl/lowlevelrwlock.sym: ... here.
12209         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12210         * nptl/pt-fork.c: ... here.
12211         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12212         * nptl/pthread-pi-defines.sym: ... here.
12213         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12214         * nptl/pthread_attr_getaffinity.c: ... here.
12215         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12216         * nptl/pthread_attr_setaffinity.c: ... here.
12217         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12218         * nptl/pthread_mutex_cond_lock.c: ... here.
12219         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12220         Update #include.
12221         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12222         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12223         * nptl/pthread_once.c: ... here, replacing old file.
12224         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12225         * nptl/pthread_yield.c: ... here.
12226         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12227         * nptl/register-atfork.c: ... here.
12228         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12229         * nptl/sem_post.c: ... here.
12230         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12231         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12232         * nptl/sem_timedwait.c: ... here.
12233         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12234         * nptl/sem_trywait.c: ... here.
12235         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12236         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12237         * nptl/sem_wait.c: ... here.
12238         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12239         * nptl/structsem.sym: ... here.
12240         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12241         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12242         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12243         * nptl/unregister-atfork.c: ... here.
12244         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12245         * nptl/unwindbuf.sym: ... here.
12246         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12247         * sysdeps/nptl/fork.c: ... here.
12248         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12249         * sysdeps/nptl/fork.h: ... here.
12250         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12251         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12252         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12253         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12254         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12255         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12256         * sysdeps/unix/sysv/linux/getpid.c: ... here.
12257         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12258         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12259         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12260         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12261         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12262         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12263         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12264         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12265         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12266         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12267         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12268         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12269         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12270         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12271         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12272         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12273         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12274         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12275         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12276         * sysdeps/unix/sysv/linux/raise.c: ... here.
12277         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12278         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12279         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12280         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12281         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12282         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12283         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12284         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12285         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12286         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12287         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12288         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12289         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12290         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12291         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12293 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12295         * sysdeps/generic/memcopy.h: Add comment for
12296         MEMCPY_OK_FOR_FWD_MEMMOVE.
12298 2014-07-04  Will Newton  <will.newton@linaro.org>
12300         * string/memchr.c: Merge from gnulib.
12301         [_LIBC]: Remove conditionals.
12302         (__ptr_t): Remove define.
12303         (LONG_MAX_32_BITS): Likewise.
12304         (LONG_MAX): Likewise.
12305         (MEMCHR): Use ANSI prototype and optimize algorithm.
12307         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12309 2014-07-03  Roland McGrath  <roland@hack.frob.com>
12311         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12312         (lll_futex_timed_wait_bitset): Fix syscall argument count.
12314         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12315         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12316         in a bare environment with no <stdlib.h> installed.
12317         * sysdeps/nptl/configure: Regenerated.
12319         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12321         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12322         AC_EGREP_CPP for kernel header checks, so they only succeed if
12323         including <linux/version.h> actually works right.
12324         * sysdeps/unix/sysv/linux/configure: Regenerated.
12326         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12327         value so it's not diagnosed as unused.
12329         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12330         thing) with "ifeq ($(subdir),rt)".
12332 2014-07-03  Richard Henderson  <rth@redhat.com>
12334         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12335         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12336         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12338         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12339         (math_force_eval): New.
12341         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12342         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12344         * sysdeps/alpha/fpu/s_round.c: Remove file.
12345         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12347         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12348         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12349         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12350         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12351         (_dl_start, print_statistics): Likewise.
12352         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12353         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12355         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12356         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12357         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12358         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12359         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12360         (HP_SMALL_TIMING_AVAIL): Define.
12361         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12362         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12363         (HP_SMALL_TIMING_AVAIL): Define.
12364         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12365         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12367         * sysdeps/aarch64/hp-timing.h: New file.
12369         * sysdeps/generic/hp-timing.h: Remove dead comment.
12370         * sysdeps/generic/hp-timing-common.h: New file.
12371         * sysdeps/alpha/hp-timing.h: Include it.
12372         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12373         * sysdeps/i386/i686/hp-timing.h: Likewise.
12374         * sysdeps/ia64/hp-timing.h: Likewise.
12375         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12376         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12377         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12378         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12379         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12380         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12381         (hp_timing_t): New.
12383         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12384         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12385         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12386         * elf/rtld.c (_dl_start_final): Likewise.
12387         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12388         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12389         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12390         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12391         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12392         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12393         (HP_TIMING_DIFF_INIT): Remove.
12394         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12395         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12396         (HP_TIMING_DIFF_INIT): Remove.
12397         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12398         * sysdeps/i386/i686/hp-timing.c: Remove file.
12399         * sysdeps/x86_64/hp-timing.c: Remove file.
12400         * sysdeps/ia64/hp-timing.c: Remove file.
12401         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12402         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12403         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12404         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12406         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12407         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12408         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12409         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12410         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12411         (HP_TIMING_ACCUM): Remove.
12412         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12413         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12414         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12416         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12417         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12418         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12419         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12420         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12421         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12422         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12423         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12425         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12427 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
12429         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12431 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12433         Sync up with gettext.
12434         * intl/loadmsgcat.c: Define O_BINARY if not defined.
12435         [_MSC_VER]: Include malloc.h
12436         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12437         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12438         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
12439         TEMP_FAILURE_RETRY.  Cast return of alloca.
12440         [!_LIBC] Call gl_rwlock_init.
12441         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12443 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12445         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12446         before checking its value.
12448 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12450         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12452         * debug/memcpy_chk.c: Don't include pagecopy.h.
12453         * debug/mempcpy_chk.c: Likewise.
12454         * string/memcpy.c: Likewise.
12455         * string/memmove.c: Likewise.
12456         * sysdeps/powerpc/memmove.c: Likewise.
12457         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
12458         definition of PAGE_COPY_FWD_MAYBE here...
12459         * sysdeps/generic/pagecopy.h: ... from here.
12460         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12462 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12463             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12465         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12466         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12467         optimizations.
12468         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12469         (__libc_ifunc_impl_list): Likewise.
12470         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12471         multiarch strcat for PPC64.
12472         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12473         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12475 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12477         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12479 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12481         * intl/loadmsgcat.c: Remove declaration of
12482         get_sysdep_segment_value.
12483         (get_sysdep_segment_value): Use ISO C style.
12484         (_nl_load_domain): Use ISO C style.  Get rid of redundant
12485         semicolon.  Fix typo and formatting in comment.
12486         (_nl_unload_domain): Use ISO C style.
12488         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12490 2014-07-02  Will Newton  <will.newton@linaro.org>
12492         * malloc/obstack.c: Merge from gnulib master.
12493         [HAVE_CONFIG_H]: Remove conditional code.
12494         [!_LIBC]: Include config.h.
12495         [!ELIDE_CODE]: Don't include inttypes.h, include
12496         stdint.h unconditionally.
12497         (print_and_abort): Mark as _Noreturn.
12498         (_obstack_allocated_p): Mark as __attribute_pure__.
12499         (obstack_free): Rename to __obstack_free.
12500         [!__attribute__]: Remove conditional code.
12501         * malloc/obstack.h: Merge from gnulib master.
12502         [__cplusplus]: Move conditional down.
12503         [!__attribute_pure__]: Define __attribute_pure__ here
12504         if it is not already defined.
12505         (_obstack_memory_used): Mark as __attribute_pure__.
12506         [!__obstack_free]: Define as obstack_free.
12507         [__GNUC__]: Remove check for ancient NeXT gcc.
12509 2014-07-02  Will Newton  <will.newton@linaro.org>
12510             Paul Eggert  <eggert@cs.ucla.edu>
12512         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12514 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12516         * resolv/gethnamaddr.c: Add comment warning that the file is
12517         not maintained.
12519 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
12521         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12522         entries.
12524         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12525         entry for aio_cancel and aio_cancel64.
12526         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12527         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12528         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12529         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12530         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12531         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12532         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12533         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12534         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12535         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12536         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12537         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12538         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12540 2014-07-01  Roland McGrath  <roland@hack.frob.com>
12542         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12543         * nptl/pthread_mutex_lock.c: Likewise.
12544         * nptl/pthread_mutex_timedlock.c: Likewise.
12545         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12547 2014-07-01  Richard henderson  <rth@redhat.com>
12549         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12550         (__isnan, __isnanl): Remove.
12551         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12553         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12555 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12557         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12559 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12561         * resolv/nss_dns/dns-host.c (getanswer_r)
12562         [MULTI_PTRS_ARE_ALIASES]: Remove code.
12564 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
12566         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12567         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12568         undefine.
12569         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12570         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12572 2014-07-01  Roland McGrath <roland@hack.frob.com>
12574         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12575         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12577         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12578         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12580         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12581         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12582         ... here.
12583         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12584         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12586         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12587         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12588         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12589         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12591         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12592         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12593         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12594         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12595         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12596         Moved ...
12597         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12598         ... here.
12599         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12600         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12601         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12602         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12603         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12604         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12605         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12606         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12607         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12608         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12609         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12610         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12611         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12612         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12613         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12614         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12615         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12616         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12617         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12618         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12619         ... here.
12620         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12621         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12622         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12623         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12624         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12625         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12626         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12627         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12629 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
12631         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12632         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12633         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12634         Add sysdep.
12636 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12638         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12640 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12642         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12643         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12645         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12647         * sysdeps/arm/libm-test-ulps: Regenerated.
12649 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12650             Roland McGrath <roland@hack.frob.com>
12652         * test-skeleton.c (signal_handler): Kill the whole process group
12653         before killing the child individually.
12654         (main): Report any failure on `setpgid'.
12656 2014-06-30  Roland McGrath  <roland@hack.frob.com>
12658         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12659         from _TLS_H to _ARM_NPTL_TLS_H.
12660         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12661         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12663 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12665         [BZ #16539]
12666         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12667         (__expm1l): Return argument unchanged when small but not
12668         subnormal.
12670         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12671         include macro name.
12672         (_FP_UNPACK_RAW_1_P): Likewise.
12673         (_FP_PACK_RAW_1): Likewise.
12674         (_FP_PACK_RAW_1_P): Likewise.
12675         (_FP_MUL_MEAT_1_wide): Likewise.
12676         (_FP_MUL_MEAT_DW_1_hard): Likewise.
12677         (_FP_MUL_MEAT_1_hard): Likewise.
12678         (_FP_DIV_MEAT_1_imm): Likewise.
12679         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12680         (_FP_DIV_MEAT_1_udiv): Likewise.
12681         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12682         (_FP_UNPACK_RAW_2): Likewise.
12683         (_FP_UNPACK_RAW_2_P): Likewise.
12684         (_FP_PACK_RAW_2): Likewise.
12685         (_FP_PACK_RAW_2_P): Likewise.
12686         (_FP_MUL_MEAT_DW_2_wide): Likewise.
12687         (_FP_MUL_MEAT_2_wide): Likewise.
12688         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12689         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12690         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12691         (_FP_MUL_MEAT_2_gmp): Likewise.
12692         (_FP_DIV_MEAT_2_udiv): Likewise.
12693         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12694         (_FP_FRAC_SRL_4): Likewise.
12695         (_FP_FRAC_SRST_4): Likewise.
12696         (_FP_FRAC_SRS_4): Likewise.
12697         (_FP_UNPACK_RAW_4): Likewise.
12698         (_FP_UNPACK_RAW_4_P): Likewise.
12699         (_FP_PACK_RAW_4): Likewise.
12700         (_FP_PACK_RAW_4_P): Likewise.
12701         (_FP_MUL_MEAT_DW_4_wide): Likewise.
12702         (_FP_MUL_MEAT_4_wide): Likewise.
12703         (_FP_MUL_MEAT_4_gmp): Likewise.
12704         (umul_ppppmnnn): Likewise.
12705         (_FP_DIV_MEAT_4_udiv): Likewise.
12706         (__FP_FRAC_ADD_4): Likewise.
12707         (__FP_FRAC_SUB_3): Likewise.
12708         (__FP_FRAC_SUB_4): Likewise.
12709         (__FP_FRAC_DEC_3): Likewise.
12710         (__FP_FRAC_DEC_4): Likewise.
12711         (__FP_FRAC_ADDI_4): Likewise.
12712         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12713         (_FP_FRAC_SRL_8): Likewise.
12714         (_FP_FRAC_SRS_8): Likewise.
12716         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12717         include macro name.
12718         (FP_UNPACK_RAW_EP): Likewise.
12719         (FP_PACK_RAW_E): Likewise.
12720         (FP_PACK_RAW_EP): Likewise.
12721         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12722         (_FP_ISSIGNAN): Likewise.
12723         (_FP_ADD_INTERNAL): Likewise.
12724         (_FP_FMA): Likewise.
12725         (_FP_CMP): Likewise.
12726         (_FP_SQRT): Likewise.
12727         (_FP_TO_INT): Likewise.
12728         (_FP_FROM_INT): Likewise.
12729         (FP_EXTEND): Likewise.
12730         (_FP_DIV_MEAT_N_loop): Likewise.
12732 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12734         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12735         throughout.
12737 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
12739         [BZ #17097]
12740         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12741         result with correct sign in case of exponents that produce
12742         overflow except for X very close to 1.
12744 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
12746         mktime: merge #if/#ifdef usage from glibc
12747         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12748         as that works with both Glibc's and Gnulib's style.
12749         See thread starting at Siddhesh Poyarekar's bug report at:
12750         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12752 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12754         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12755         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12756         * sysdeps/tile/tilegx/memmove.c: Remove file.
12758 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12760         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12761         abi-name definition.
12762         * scripts/soversions.awk: Do not handle or generate ABI lines.
12763         * shlib-versions: Remove ABI entries.
12764         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12765         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12767 2014-06-27  Roland McGrath  <roland@hack.frob.com>
12769         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12770         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12771         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12772         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12773         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12774         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12775         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12776         Moved ...
12777         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12778         ... here.
12779         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12780         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12781         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12782         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12783         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12784         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12785         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12786         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12787         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12788         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12789         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12790         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12791         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12792         Moved ...
12793         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12794         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12795         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12796         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12797         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12798         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12799         Moved ...
12800         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12802         Moved ...
12803         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12804         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12805         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12806         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12807         Moved ...
12808         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12809         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12810         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12812         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12814         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12815         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12816         Moved ...
12817         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12818         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12819         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12820         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12821         Moved ...
12822         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12823         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12824         Moved ...
12825         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12826         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12827         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12828         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12829         Moved ...
12830         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12831         ... here.
12832         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12833         Identical file removed.
12834         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12835         Moved ...
12836         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12837         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12838         Identical file removed.
12839         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12840         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12841         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12842         Moved ...
12843         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12844         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12845         Identical file removed.
12846         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12847         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12848         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12849         Identical file removed.
12850         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12851         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12852         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12853         Identical file removed.
12854         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12855         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12856         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12857         Identical file removed.
12858         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12859         Moved ...
12860         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12861         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12862         Identical file removed.
12863         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12864         Moved ...
12865         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12866         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12867         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12868         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12869         Identical file removed.
12870         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12871         Moved ...
12872         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12873         ... here.
12874         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12875         Identical file removed.
12876         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12877         Moved ...
12878         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12879         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12880         Identical file removed.
12881         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12882         Moved ...
12883         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12884         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12885         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12886         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12887         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12888         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12889         Moved ...
12890         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12891         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12892         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12894         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12895         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12896         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12897         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12898         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12900 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
12902         [BZ #17092]
12903         * nscd/nscd.c (monitor_child): Return exit status of child
12904         instead of return value from wait syscall.
12906 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12908         * configure.ac (libc_commonpagesize): Remove variable.
12909         (libc_relro_required): Likewise.
12910         (libc_cv_z_relro): Remove configure test.
12911         * configure: Regenerated.
12912         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12913         variable.
12914         (libc_relro_required): Likewise.
12915         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12916         (libc_relro_required): Likewise.
12917         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12918         (libc_relro_required): Likewise.
12919         * sysdeps/arm/preconfigure: Regenerated.
12920         * sysdeps/ia64/preconfigure: Remove file.
12921         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12922         variable.
12923         (libc_relro_required): Likewise.
12925         [BZ #16561]
12926         [BZ #16562]
12927         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12928         (__ieee754_yn): Set FE_TONEAREST mode internally and then
12929         recompute overflowing results in original rounding mode.
12930         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12931         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12932         recompute overflowing results in original rounding mode.
12933         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12934         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12935         recompute overflowing results in original rounding mode.
12936         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12937         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12938         recompute overflowing results in original rounding mode.
12939         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12940         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12941         recompute overflowing results in original rounding mode.
12942         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12943         (libc_feholdsetround_ctx): New macro.
12944         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12945         * sysdeps/i386/fpu/libm-test-ulps: Update.
12946         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12948 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12950         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12951         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12952         corresponding .cpsetup call.
12954 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12956         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12957         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12958         * sysdeps/arm/Makefile [$(subdir) = csu]
12959         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12960         (static-only-routines): Add aeabi_read_tp here.
12961         (shared-only-routines): Add libc-aeabi_read_tp here.
12962         (CFLAGS-libc-start.c): Add -fexceptions here.
12963         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12964         (sysdep_routines, static-only-routines, shared-only-routines):
12965         Don't add to these here.
12966         (CFLAGS-libc-start.c): Likewise.
12968         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12969         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12970         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12971         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12972         * sysdeps/arm/Makefile [$(subdir) = rt]
12973         (librt-sysdep_routines, librt-shared-only-routines):
12974         Append rt-aeabi_unwind_cpp_pr1 here.
12975         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12976         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12977         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12978         (libpthread-sysdep_routines, libpthread-shared-only-routines):
12979         Append nptl-aeabi_unwind_cpp_pr1 here.
12980         (tests): Filter out tst-cleanupx4 here.
12981         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12982         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12983         Don't do those here.
12985 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12987         * scripts/list-sources.sh: Do not handle ports specially.
12989 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12991         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12992         * sysdeps/arm/feupdateenv.c: Likewise.
12994         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12996 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12998         * manual/texinfo.tex: Update to version 2014-05-05.10 with
12999         trailing whitespace removed.
13000         * scripts/config.guess: Update to version 2014-03-23.
13001         * scripts/config.sub: Update to version 2014-05-01
13002         * scripts/install-sh: Update to version 2013-12-25.23.
13003         * scripts/move-if-change: Update from gnulib.
13005 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13007         * debug/memmove_chk.c: Remove pagecopy.h include.
13009 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
13011         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
13012         identical to gnulib mktime.
13014 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
13016         * configure.ac: Do not test for machine being rs6000.  Do not test
13017         for powerpc*-*soft.
13018         * configure: Regenerated.
13020         [BZ #11505]
13021         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
13022         test.
13023         * configure: Regenerated.
13024         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
13025         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
13026         Remove configure test.
13027         * sysdeps/arm/configure: Regenerated.
13028         * sysdeps/nptl/configure.ac: Do not check
13029         libc_cv_asm_cfi_directives.
13030         * sysdeps/nptl/configure: Regenerated.
13031         * sysdeps/x86_64/nptl/configure.ac: Remove file.
13032         * sysdeps/x86_64/nptl/configure: Remove generated file.
13033         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
13034         unconditional.
13035         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
13037 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
13039         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
13040         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
13041         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
13042         it is defined.
13044         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
13045         instead of whether it is defined.
13046         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
13047         * sysdeps/hppa/dl-machine.h: Likewise.
13048         * sysdeps/ia64/dl-machine.h: Likewise.
13049         * sysdeps/m68k/dl-machine.h: Likewise.
13050         * sysdeps/microblaze/dl-machine.h: Likewise.
13051         * sysdeps/mips/dl-machine.: Likewise.
13052         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
13053         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13054         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
13055         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
13056         * sysdeps/sh/dl-machine.h: Likewise.
13057         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
13058         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
13059         * sysdeps/tile/dl-machine.h: Likewise.
13060         * sysdeps/x86_64/dl-machine.h: Likewise.
13062         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
13063         code.
13064         (verify_persistent_db): Likewise.
13066 2014-06-26  Roland McGrath  <roland@hack.frob.com>
13068         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
13069         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
13070         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
13071         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
13072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
13073         Moved ...
13074         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
13075         ... here.
13076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
13077         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
13078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
13079         Identical file removed.
13080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
13081         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
13082         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
13083         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
13084         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
13085         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
13086         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
13087         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
13088         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
13089         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
13090         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13091         Moved ...
13092         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
13093         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
13094         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
13095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
13096         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
13097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
13098         Moved ...
13099         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
13100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
13101         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
13102         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
13103         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
13104         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
13105         Identical file removed.
13106         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
13107         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
13108         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
13109         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
13110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
13111         Moved ...
13112         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
13113         ... here.
13114         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
13115         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
13116         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
13117         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
13118         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
13119         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
13120         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
13121         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
13122         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
13123         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
13124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13125         Moved ...
13126         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
13127         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
13128         Moved ...
13129         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
13130         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
13131         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
13132         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
13133         Moved ...
13134         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13136         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13138         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13139         folded into ...
13140         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13141         * sysdeps/unix/sysv/linux/s390/Versions
13142         (libpthread: GLIBC_2.19): New version set.
13143         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13144         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13145         (librt: GLIBC_2.3.3): New version set.
13146         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13147         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13148         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13149         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13150         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13151         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13152         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13153         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13154         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13155         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13156         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13157         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13158         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13159         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13160         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13161         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13162         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13163         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13164         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13165         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13166         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13167         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13168         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13169         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13170         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13171         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13172         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13173         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13174         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13175         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13176         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13177         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13178         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13179         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13180         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13181         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13182         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13183         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13184         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13185         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13186         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13187         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13188         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13189         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13190         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13192         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13193         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13194         (__libc_vfork): Define the function under this name.
13195         [!NOT_IN_libc] (__vfork): Make this an alias.
13196         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13197         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13198         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13199         (__libc_vfork): Define the function under this name.
13200         [!NOT_IN_libc] (__vfork): Make this an alias.
13201         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13202         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13203         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13204         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13205         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13206         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13208         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13209         code that was previously under [RESET_PID].
13210         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13211         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13212         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13214         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13215         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13216         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13217         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13218         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13219         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13220         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13221         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13222         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13223         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13224         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13225         Moved ...
13226         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13227         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13228         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13229         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13230         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13231         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13232         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13233         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13234         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13235         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13236         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13237         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13238         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13239         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13240         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13241         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13242         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13243         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13244         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13245         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13246         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13247         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13248         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13249         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13250         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13251         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13252         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13253         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13254         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13256 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13258         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13259         that was previously under [RESET_PID].
13260         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13262 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13264         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13265         not undefine and redefine.
13266         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13267         [O_CLOEXEC]: Make code unconditional.
13268         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13269         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13270         <kernel-features.h>.
13271         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13272         conditional variable definition.
13273         (shm_open) [O_CLOEXEC]: Make code unconditional.
13274         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13275         code.
13277         * configure.ac (USE_REGPARMS): Don't define here.
13278         * configure: Regenerated.
13279         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13280         * sysdeps/i386/configure: Regenerated.
13282         * nptl/createthread.c: Don't include kernel-features.h.
13283         * nptl/pthread_cancel.c: Likewise.
13284         * nptl/pthread_condattr_setclock.c: Likewise.
13285         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13286         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13287         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13288         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13289         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13290         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13291         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13292         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13293         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13294         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13295         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13296         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13297         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13298         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13299         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13300         * nscd/gai.c: Likewise.
13301         * nss/nss_db/db-open.c: Likewise.
13302         * sysdeps/generic/ldsodefs.h: Likewise.
13303         * sysdeps/sh/nptl/tls.h: Likewise.
13304         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13305         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13306         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13307         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13308         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13309         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13310         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13311         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13312         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13313         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13314         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13315         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13316         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13317         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13318         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13319         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13320         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13321         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13322         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13323         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13324         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13325         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13326         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13327         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13328         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13329         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13330         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13331         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13332         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13333         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13334         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13335         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13336         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13337         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13338         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13339         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13340         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13341         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13342         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13343         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13344         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13345         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13346         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13347         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13348         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13349         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13350         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13351         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13352         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13353         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13354         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13355         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13356         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13357         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13358         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13359         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13360         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13361         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13384         * sysdeps/unix/sysv/linux/pread.c: Likewise.
13385         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13386         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13387         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13388         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13389         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13390         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13391         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13392         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13393         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13394         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13395         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13396         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13397         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13398         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13399         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13400         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13401         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13402         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13403         * sysdeps/unix/sysv/linux/system.c: Likewise.
13404         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13405         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13406         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13407         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13408         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13409         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13410         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13412         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13413         * configure: Regenerated.
13414         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13416         * configure.ac (base_machine): Do not set specially for particular
13417         machines here.
13418         * configure: Regenerated.
13419         * sysdeps/powerpc/preconfigure: Move machine and base_machine
13420         settings from configure.ac.
13421         * sysdeps/i386/preconfigure: New file.
13422         * sysdeps/s390/preconfigure: Likewise.
13423         * sysdeps/sh/preconfigure: Likewise.
13424         * sysdeps/sparc/preconfigure: Likewise.
13426 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13428         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13429         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13430         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13431         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13432         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13433         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13434         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13435         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13436         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13437         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13438         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13439         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13440         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13441         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13442         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13443         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13444         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13445         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13446         * sysdeps/sparc/sparc64/Makefile: ... appended here.
13448         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13449         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13450         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13451         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13452         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13453         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13454         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13455         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13456         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13457         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13458         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13459         * sysdeps/sparc/sparc32/sem_post.c: ... here.
13460         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13461         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13462         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13463         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13464         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13465         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13466         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13467         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13468         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13469         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13470         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13471         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13472         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13473         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13474         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13475         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13476         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13477         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13478         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13479         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13480         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13481         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13482         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13483         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13484         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13485         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13487         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13488         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13489         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13490         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13492         Moved ...
13493         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13494         ... here.
13495         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13496         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13497         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13498         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13499         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13500         Moved ...
13501         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13503         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13504         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13505         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13506         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13507         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13509         Moved ...
13510         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13511         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13512         Moved ...
13513         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13515         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13517         Moved ...
13518         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13519         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13520         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13521         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13522         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13524         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13526         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13528         Moved ...
13529         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13530         ... here.
13531         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13532         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13533         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13534         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13535         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13536         Moved ...
13537         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13538         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13539         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13540         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13541         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13542         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13543         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13544         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13545         Moved ...
13546         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13547         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13548         Moved ...
13549         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13551         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13553         Moved ...
13554         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13556         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13557         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13558         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13560 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13562         * timezone/checktab.awk: Update from tzcode 2014e.
13563         * timezone/private.h: Likewise.
13564         * timezone/tzfile.h: Likewise.
13565         * timezone/zdump.c: Likewise.
13566         * timezone/zic.c: Likewise.
13568         * sysdeps/unix/sysv/linux/kernel-features.h
13569         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13570         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13571         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13572         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13573         Remove conditional code.
13575 2014-06-25  Will Newton  <will.newton@linaro.org>
13577         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13578         (_dl_arm_cap_flags): Add HWCAP2 values.
13579         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13580         (_DL_HWCAP_COUNT): Increase to 37.
13581         (_DL_HWCAP_LAST): New define.
13582         (_DL_HWCAP2_LAST): New define.
13583         (_dl_procinfo): Add support for printing
13584         AT_HWCAP2 entries.
13585         (_dl_string_hwcap): Use _dl_hwcap_string.
13587 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13591 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13593         * README: Do not mention ports directory.
13595         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13596         Remove macro.
13597         * sysdeps/unix/sysv/linux/futimes.c: Do not include
13598         <kernel-features.h>.
13599         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13600         conditional variable definition.
13601         (__futimes): Update comment.
13602         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13603         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13605         [BZ #16560]
13606         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13607         arguments close to 0.
13608         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13609         Likewise.
13610         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13611         Likewise.
13612         * math/auto-libm-test-in: Add more tests of exp10.
13613         * math/auto-libm-test-out: Regenerated.
13614         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13616         * sysdeps/unix/sysv/linux/kernel-features.h
13617         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13618         * sysdeps/unix/sysv/linux/readv.c: Do not include
13619         <kernel-features.h>.
13620         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13621         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13622         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13623         unconditional.
13624         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13625         conditional code.
13626         * sysdeps/unix/sysv/linux/writev.c: Do not include
13627         <kernel-features.h>.
13628         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13629         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13630         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13631         unconditional.
13632         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13633         conditional code.
13635 2014-06-25  Will Newton  <will.newton@linaro.org>
13637         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13638         comment changes throughout the file.  Remove checks
13639         for HAVE_*_H definitions that are not required.
13640         (__gen_tempname): Call abort if an unknown kind value is
13641         passed.
13643 2014-06-25  Andreas Schwab  <schwab@suse.de>
13645         [BZ #17086]
13646         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13647         scalbln, scalblnf, scalblnl in libc.
13649 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13651         [BZ #17086]
13652         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13653         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13654         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13656 2014-06-24  Roland McGrath  <roland@hack.frob.com>
13658         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13659         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13660         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13661         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13662         Update #include.
13663         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13664         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13665         Update #include.
13666         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13667         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13668         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13669         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13670         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13671         * sysdeps/x86/bits/pthreadtypes.h: ... here.
13672         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13673         * sysdeps/x86/bits/semaphore.h: ... here.
13674         * sysdeps/x86/nptl/elide.h: Moved ...
13675         * sysdeps/x86/elide.h: ... here.
13676         * sysdeps/x86_64/nptl/Implies: File removed.
13677         * sysdeps/i386/nptl/Implies: File removed.
13679 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
13681         [BZ #16539]
13682         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13683         return the argument for normal arguments with exponent below -64.
13684         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13685         Likewise.
13686         * math/auto-libm-test-in: Add another test of expm1.
13687         * math/auto-libm-test-out: Regenerated.
13689         [BZ #16287]
13690         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13691         calling __erfcl for arguments at least 16.
13692         * math/auto-libm-test-in: Add more tests of erf.
13693         * math/auto-libm-test-out: Regenerated.
13695         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13696         individual architectures.
13697         * sysdeps/unix/sysv/linux/configure: Regenerated.
13698         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13699         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13700         * sysdeps/unix/sysv/linux/powerpc/configure.ac
13701         (ldd_rewrite_script): Define variable.
13702         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13704         file.
13705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13706         generated file.
13707         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13708         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13709         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13710         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13711         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13712         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13713         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13714         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13716 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13718         [BZ #17084]
13719         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13720         Rename member __data.d to __data.__elision_data.
13722 2014-06-24  Wilco  <wdijkstr@arm.com>
13724         * NEWS: Add 16918 to fixed bug list.
13726 2014-06-24  Wilco  <wdijkstr@arm.com>
13728         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13730 2014-06-24  Wilco  <wdijkstr@arm.com>
13732         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13733         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13734         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13735         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13736         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13737         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13738         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13739         Use _FPU_MASK_RM.
13741 2014-06-24  Wilco  <wdijkstr@arm.com>
13743         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13745 2014-06-24  Wilco  <wdijkstr@arm.com>
13747         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13748         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13749         * sysdeps/arm/fesetround.c (fesetround): Remove space.
13750         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13752 2014-06-24  Wilco  <wdijkstr@arm.com>
13754         [BZ #16918]
13755         * sysdeps/arm/feupdateenv.c (feupdateenv):
13756         Rewrite to reduce FPSCR accesses and fix return value.
13758 2014-06-24  Wilco  <wdijkstr@arm.com>
13760         * sysdeps/arm/fclrexcpt.c (feclearexcept):
13761         Optimize to avoid unnecessary FPSCR writes.
13762         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13763         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13764         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13765         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13767 2014-06-24  Wilco  <wdijkstr@arm.com>
13769         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13770         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13771         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13772         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13773         Call libc_fetestexcept_vfp.
13774         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13775         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13776         __SOFTFP__ ifdef so that they can be built for softfp.
13778 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13780         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13781         argument type signed char.
13783         * Makerules (check-abi): Dump diff of symlist if the test
13784         fails.
13786 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13788         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13789         using abort.
13791         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13792         Remove unused variable ST.
13794 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13796         [BZ #16354]
13797         [BZ #17061]
13798         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13799         small arguments before calling __expm1.
13800         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13801         small arguments before calling __expm1f.
13802         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13803         small arguments before calling __expm1l.
13804         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13805         Likewise.
13806         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13807         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
13808         spurious underflow for some cosh tests.
13809         * math/auto-libm-test-out: Regenerated.
13810         * sysdeps/i386/fpu/libm-test-ulps: Update.
13812         [BZ #17050]
13813         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13814         (__ieee754_y1): Set errno if return value overflows.
13815         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13816         (__ieee754_y1f): Set errno if return value overflows.
13817         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13818         (__ieee754_y1l): Set errno if return value overflows.
13819         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13820         (__ieee754_y1l): Set errno if return value overflows.
13821         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13822         * math/auto-libm-test-out: Regenerated.
13824         * math/gen-auto-libm-tests.c: Document use of
13825         ignore-zero-inf-sign.
13826         (input_flag_type): Add value flag_ignore_zero_inf_sign.
13827         (input_flags): Add ignore-zero-inf-sign.
13828         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13829         * math/gen-libm-test.pl (generate_testfile): Handle
13830         ignore-zero-inf-sign.
13831         * math/auto-libm-test-in: Mark some cpow tests with
13832         ignore-zero-inf-sign and some with xfail-rounding.
13833         * math/auto-libm-test-out: Regenerated.
13834         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13835         * sysdeps/i386/fpu/libm-test-ulps: Update.
13836         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13838         [BZ #16315]
13839         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13840         overflowing or underflowing operations take place with sign of
13841         result.
13842         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13843         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13844         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13845         (__ieee754_pow): Recompute overflowing and underflowing results in
13846         original rounding mode.
13847         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13848         (__powl_helper): Allow negative argument X and scale negated value
13849         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
13850         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13851         overflowing or underflowing operations take place with sign of
13852         result.
13853         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13854         Include <math.h>.
13855         * math/auto-libm-test-in: Add more tests of pow.
13856         * math/auto-libm-test-out: Regenerated.
13857         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13858         (pow_tonearest_test_data): Remove.
13859         (pow_test_tonearest): Likewise.
13860         (pow_towardzero_test_data): Likewise.
13861         (pow_test_towardzero): Likewise.
13862         (pow_downward_test_data): Likewise.
13863         (pow_test_downward): Likewise.
13864         (pow_upward_test_data): Likewise.
13865         (pow_test_upward): Likewise.
13866         (main): Don't call removed functions.
13867         * sysdeps/i386/fpu/libm-test-ulps: Update.
13868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13870 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13873         Moved ...
13874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13876         Moved ...
13877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13879         Moved ...
13880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13882         Moved ...
13883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13885         File removed.
13886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13887         File removed.
13888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13889         File removed.
13890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13891         File removed.
13892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13893         File removed.
13894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13895         File removed.
13896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13897         File removed.
13898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13899         File removed.
13900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13901         File removed.
13902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13903         File removed.
13904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13905         File removed.
13906         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13907         File removed.
13908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13909         Moved ...
13910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13912         Moved ...
13913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13914         ... here.
13915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13916         Moved ...
13917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13919         Moved ...
13920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13922         Moved ...
13923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13925         Moved ...
13926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13928         Moved ...
13929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13931         Moved ...
13932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13934         Moved ...
13935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13938         ... here.
13939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13940         Moved ...
13941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13943         Moved ...
13944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13945         ... here.
13946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13947         Moved ...
13948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13949         ... here.
13950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13951         Moved ...
13952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13953         ... here.
13954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13955         Moved ...
13956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13958         Moved ...
13959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13963         Moved ...
13964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13965         ... here.
13966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13967         Moved ...
13968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13969         ... here.
13970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13971         Moved ...
13972         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13974         Moved ...
13975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13977         Moved ...
13978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13980         Moved ...
13981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13983         Moved ...
13984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13985         ... here.
13986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13987         Moved ...
13988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13990         Moved ...
13991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13993         Moved ...
13994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13996         Moved ...
13997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
14000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14001         Moved ...
14002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
14003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
14004         Moved ...
14005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
14006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14007         Moved ...
14008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14009         ... here.
14010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
14011         Moved ...
14012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14013         ... here.
14014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14015         Moved ...
14016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14017         ... here.
14018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
14019         Moved ...
14020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
14021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14022         Moved ...
14023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
14024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
14025         Moved ...
14026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
14027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14028         Moved ...
14029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14030         ... here.
14031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
14032         Moved ...
14033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14034         ... here.
14035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14036         Moved ...
14037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14038         ... here.
14039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
14040         Moved ...
14041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
14042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14043         Moved ...
14044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
14046 2014-06-23  Will Newton  <will.newton@linaro.org>
14047             Wilco  <wdijkstr@arm.com>
14049         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
14050         implementation.  Include get-rounding-mode.h.
14051         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
14052         [!libc_feholdsetround_noex_ctx]: Define
14053         libc_feholdsetround_noex_ctx.
14054         [!libc_feholdsetround_noexf_ctx]: Define
14055         libc_feholdsetround_noexf_ctx.
14056         [!libc_feholdsetround_noexl_ctx]: Define
14057         libc_feholdsetround_noexl_ctx.
14058         (libc_feholdsetround_ctx): New function.
14059         (libc_feresetround_ctx): New function.
14060         (libc_feholdsetround_noex_ctx): New function.
14061         (libc_feresetround_noex_ctx): New function.
14063 2014-06-23  Roland McGrath  <roland@hack.frob.com>
14065         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
14066         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
14067         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
14068         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
14069         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
14070         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
14072         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
14073         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
14074         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
14075         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
14076         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
14077         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
14078         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
14079         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
14080         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
14081         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
14082         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
14083         Moved ...
14084         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14085         ... here.
14086         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
14087         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
14088         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
14089         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
14090         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
14091         Moved ...
14092         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
14093         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
14094         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
14095         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
14096         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
14097         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
14098         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
14099         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
14100         Moved ...
14101         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
14102         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
14103         Moved ...
14104         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
14105         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
14106         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
14107         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
14108         Moved ...
14109         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
14110         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
14111         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
14112         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
14113         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
14114         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
14115         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
14116         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
14117         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
14118         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
14119         Moved ...
14120         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14121         ... here.
14122         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
14123         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
14124         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
14125         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
14126         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
14127         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
14128         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
14129         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
14130         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
14131         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
14132         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
14133         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
14134         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14135         Moved ...
14136         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14137         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14138         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14139         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14140         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14141         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14142         Moved ...
14143         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14144         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14145         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14146         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14147         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14149         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14150         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14151         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14152         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14153         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14154         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14155         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14156         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14157         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14158         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14159         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14160         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14161         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14162         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14163         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14164         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14165         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14166         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14167         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14168         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14169         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14170         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14171         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14172         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14173         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14174         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14175         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14176         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14178 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14180         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14181         (FALLOC_FL_COLLAPSE_RANGE): New macro.
14182         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14183         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14184         (IPV6_PMTUDISC_INTERFACE): Likewise.
14185         (IPV6_PMTUDISC_OMIT): Likewise.
14187 2014-06-23  Andreas Schwab  <schwab@suse.de>
14189         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14190         Remove unused errout label.
14192 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14194         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14195         macro: hardware supports Vector Crypto instructions.
14197 2014-06-23  Will Newton  <will.newton@linaro.org>
14199         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14200         rather than __builtin_expect.
14202         * elf/dl-lookup.c (undefined_msg): Remove variable.
14203         (_dl_lookup_symbol_x): Replace undefined_msg with string
14204         literal.
14206         * elf/dl-lookup.c (do_lookup_unique): New function.
14207         (do_lookup_x): Move STB_GNU_UNIQUE handling code
14208         to a separate function.
14210 2014-06-23  Andreas Schwab  <schwab@suse.de>
14212         [BZ #17079]
14213         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14214         before reading the next line.
14216 2014-06-23  Will Newton  <will.newton@linaro.org>
14218         * test-skeleton.c (signal_handler): Use printf and %m
14219         rather than perror.  Use printf rather than fprintf to
14220         stderr.  Use puts rather than fputs to stderr.
14221         (main): Likewise.
14223 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
14225         * nscd/nscd.c (thread_info_t): Remove typedef.
14226         (thread_info): Remove variable.
14228 2014-06-21  Allan McRae  <allan@archlinux.org>
14230         * NEWS: Mention CVE-2014-4043.
14232 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14234         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14235         * nptl/smp.h: ... here.
14237         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14239         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14240         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14241         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14242         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14244         * nptl/allocatestack.c: Include <stack-aliasing.h>.
14245         * nptl/stack-aliasing.h: New file.
14246         * sysdeps/i386/i686/stack-aliasing.h: New file.
14247         * sysdeps/i386/i686/nptl/Makefile: File removed.
14248         * sysdeps/x86_64/stack-aliasing.h: New file.
14249         * sysdeps/x86_64/nptl/Makefile
14250         (CFLAGS-pthread_create.c): Variable removed.
14252         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14253         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14254         old file.
14255         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14256         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14257         old file.
14259 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
14261         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14262         (__ASSUME_SIGFRAME_V2): Remove macro.
14263         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14264         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14265         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14266         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14267         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14268         Declare as function.  Remove conditional macro definitions.
14269         (__default_rt_sa_restorer): Likewise.
14270         (__default_sa_restorer_v1): Remove declaration.
14271         (__default_sa_restorer_v2): Likewise.
14272         (__default_rt_sa_restorer_v1): Likewise.
14273         (__default_rt_sa_restorer_v2): Likewise.
14274         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14275         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14276         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14278 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14280         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14281         (libpthread-routines): Add sysdep.
14282         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14283         * sysdeps/unix/sysv/linux/sparc/Versions
14284         (libpthread: GLIBC_2.3.3): New version set.
14285         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14286         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14287         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14288         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14289         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
14290         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14291         Moved ...
14292         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14293         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14294         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14295         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14296         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14297         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14298         * sysdeps/sparc/nptl/sem_init.c: ... here.
14299         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14300         * sysdeps/sparc/nptl/sem_post.c: ... here.
14301         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14302         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14303         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14304         * sysdeps/sparc/nptl/sem_wait.c: ... here.
14305         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14306         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14307         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14308         (libpthread-routines): Add cpu_relax.
14309         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14310         File removed.
14311         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14312         (librt: GLIBC_2.3.3): New version set.
14313         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14314         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14315         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14316         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14317         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14318         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14319         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14320         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14321         Moved ...
14322         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14323         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14324         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14325         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14326         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14327         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14328         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14329         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14330         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14331         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14332         Moved ...
14333         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14334         Update #include.
14335         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14336         Moved ...
14337         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14338         Update #include.
14339         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14340         Moved ...
14341         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14342         Update #include.
14343         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14344         Moved ...
14345         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14346         Update #include.
14347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14348         Moved ...
14349         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14350         Update #include.
14351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14352         Moved ...
14353         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14354         Update #include.
14355         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14356         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14357         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14358         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14360         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14361         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14362         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14364         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14365         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14366         Moved ...
14367         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14368         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14369         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14371         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14373 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14375         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14376         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14377         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14378         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14379         * nscd/nscd.c: Likewise.
14380         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14381         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14382         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14383         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14385         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14386         <kernel-features.h>.
14387         (init_mq_netlink): Remove conditional have_sock_cloexec
14388         definitions.  Remove code conditional on have_sock_cloexec < 0.
14389         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14390         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14391         * sysdeps/unix/sysv/linux/opensock.c: Do not include
14392         <kernel-features.h>.
14393         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14394         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14396 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14398         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14399         Add tests for memset_chk and memset.
14401         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14402         with AVX2_Usable.
14404 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14406         [BZ #16046]
14407         * elf/tst-dl-iter-static.c: New file.
14408         * elf/Makefile (tests-static): Add tst-dl-iter-static.
14410         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14411         error.
14413 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14415         * sysdeps/unix/sysv/linux/kernel-features.h
14416         (__ASSUME_F_GETOWN_EX): Remove macro.
14417         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14418         <kernel-features.h>.
14419         (miss_F_GETOWN_EX): Remove variable or macro.
14420         (do_fcntl): Do not check miss_F_GETOWN_EX.
14421         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14423         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14424         Remove macro.
14425         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14426         [!__ASSUME_AT_RANDOM]: Remove conditional code.
14427         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14429         * sysdeps/unix/sysv/linux/kernel-features.h
14430         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14431         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14432         [ADJ_OFFSET_SS_READ]: Make code unconditional.
14433         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14435 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14437         [BZ #17075]
14438         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14439         Fix calculation of the symbol's value.
14440         * sysdeps/arm/tst-armtlsdescloc.c: New file.
14441         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14442         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14443         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14444         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14445         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14446         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14447         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14448         (modules-names): Add `tst-armtlsdescmod',
14449         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14450         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14451         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14452         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14453         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14454         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14455         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14456         ($(objpfx)tst-armtlsdescloc): New dependency.
14457         ($(objpfx)tst-armtlsdescextnow): Likewise.
14458         ($(objpfx)tst-armtlsdescextlazy): Likewise.
14459         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14460         TLS scheme support.
14461         * sysdeps/arm/configure: Regenerate.
14463 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14465         * include/fcntl.h (__atfct_seterrno): Remove prototype.
14466         (__atfct_seterrno_2): Likewise.
14467         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14468         <kernel-features.h>.
14469         (__ASSUME_ATFCTS): Do not undefine and redefine.
14470         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14471         (__have_atfcts): Remove conditional definition.
14472         (__fxstatat([__NR_fstatat64]: Make code unconditional.
14473         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14474         unreachable if [__ASSUME_ATFCTS].
14475         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14476         not undefine and redefine.
14477         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14478         <kernel-features.h>.
14479         (faccessat) [__NR_faccessat]: Make code unconditional.
14480         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14481         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14482         <kernel-features.h>.
14483         (fchmodat) [__NR_fchmodat]: Make code unconditional.
14484         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14485         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14486         <kernel-features.h>.
14487         (fchownat) [__NR_fchownat]: Make code unconditional.
14488         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14489         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14490         <kernel-features.h>.
14491         (futimesat) [__NR_futimesat]: Make code unconditional.
14492         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14493         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14494         <kernel-features.h>.
14495         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14496         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14497         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14498         <kernel-features.h>.
14499         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14500         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14501         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14502         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14503         <kernel-features.h>.
14504         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14505         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14506         * sysdeps/unix/sysv/linux/linkat.c: Do not include
14507         <kernel-features.h>.
14508         (linkat) [__NR_linkat]: Make code unconditional.
14509         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14510         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14511         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14512         <kernel-features.h>.
14513         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14514         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14515         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14516         <kernel-features.h>.
14517         (mkdirat) [__NR_mkdirat]: Make code unconditional.
14518         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14519         * sysdeps/unix/sysv/linux/openat.c: Do not include
14520         <kernel-features.h>.
14521         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14522         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14523         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14524         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14525         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14526         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14527         <kernel-features.h>.
14528         (readlinkat) [__NR_readlinkat]: Make code unconditional.
14529         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
14530         result of INLINE_SYSCALL directly, not via int variable.
14531         * sysdeps/unix/sysv/linux/renameat.c: Do not include
14532         <kernel-features.h>.
14533         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14534         (renameat) [__NR_renameat]: Make code unconditional.
14535         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14536         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14537         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14538         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14539         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14540         (__ASSUME_ATFCTS): Do not undefine and redefine.
14541         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14542         <kernel-features.h>.
14543         (symlinkat) [__NR_symlinkat]: Make code unconditional.
14544         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14545         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14546         <kernel-features.h>.
14547         (unlinkat) [__NR_unlinkat]: Make code unconditional.
14548         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14549         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14550         (__ASSUME_ATFCTS): Do not undefine and redefine.
14551         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14552         <kernel-features.h>.
14553         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14554         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14555         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14556         <kernel-features.h>.
14557         (__xmknodat) [__NR_mknodat]: Make code unconditional.
14558         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14560 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14562         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14564 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
14566         [BZ #17069]
14567         * posix/regcomp.c (parse_reg_exp): Deallocate partially
14568         constructed tree before returning error.
14569         * posix/bug-regexp36.c: Expand test case.
14571 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14573         [BZ #6803]
14574         * math/libm-test.inc (scalbln_test_date):
14575         Add errno expectations.
14576         * math/w_scalblnf.c: New File.
14577         Add wrapper which checks for setting errno to ERANGE.
14578         Add weak_alias for corresponding scalbln function.
14579         * math/w_scalbln.c: Likewise.
14580         * math/w_scalblnl.c: Likewise.
14581         * math/Makefile (libm-calls): Add w_scalbln.
14582         * sysdeps/ieee754/flt-32/s_scalblnf.c:
14583         Remove weak_alias for corresponding scalbln function.
14584         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14585         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14586         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14587         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14588         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14589         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14590         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14591         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14592         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14593         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14594         Remove long_double_symbol for scalblnl function in libm, libc.
14595         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14596         Add wrapper which checks for setting errno to ERANGE.
14597         Add long_double_symbol for scalblnl function in libm, libc.
14598         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14599         Remove long_double_symbol for scalblnl in libm.
14600         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14601         Add wrapper which checks for setting errno to ERANGE.
14602         Add long_double_symbol for scalblnl function in libm.
14603         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14604         Do not use wrapper because of own implementation.
14606 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
14608         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14609         3 bytes for __pad1 for x32.
14610         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14612 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
14613             H.J. Lu  <hongjiu.lu@intel.com>
14615         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14616         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14617         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14618         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14619         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14621 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
14623         [BZ #17069]
14624         * posix/regcomp.c (parse_expression): Deallocate partially
14625         constructed tree before returning error.
14626         * posix/Makefile.c (tests): Add bug-regex36.
14627         (generated): Add bug-regex36.mtrace.
14628         (tests-special): Add $(objpfx)bug-regex36-mem.out
14629         (bug-regex36-ENV): New variable.
14630         ($(objpfx)bug-regex36-mem.out): New rule.
14631         * posix/bug-regex36.c: New file.
14633 2014-06-19  Will Newton  <will.newton@linaro.org>
14635         * malloc/malloc.c (systrim): If extra is zero then return
14636         early.
14638 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14640         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14642 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
14644         * sysdeps/aarch64/strchr.S: New file.
14646 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14648         [BZ #17022]
14649         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14650         from arguments -2 or below.
14651         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14652         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14654 2014-06-18  Andreas Schwab  <schwab@suse.de>
14656         [BZ #17062]
14657         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14658         of a bracket expr not to run off the end of the string.
14659         * posix/Makefile (tests): Add tst-fnmatch3.
14660         * posix/tst-fnmatch3.c: New file.
14662 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14664         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14665         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14666         [$(cross-compiling) = no]: Likewise.
14667         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14668         [$(cross-compiling) = no]: Likewise.
14670 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14672         [BZ #17031]
14673         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14674         double, adjusted for any remainder from the high double.
14675         * math/libm-test.inc (nearbyint): Add tests.
14676         (rint): Likewise.
14678 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14680         * nptl/sysdeps/powerpc/Makefile: Moved ...
14681         * sysdeps/powerpc/nptl/Makefile: ... here.
14682         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14683         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14684         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14685         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14686         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14687         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14688         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14689         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14690         * nptl/sysdeps/powerpc/tls.h: Moved ...
14691         * sysdeps/powerpc/nptl/tls.h: ... here.
14693 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
14695         [BZ #16681]
14696         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14697         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14698         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14699         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14700         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14701         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14702         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14703         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14704         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14706 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
14708         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14710 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
14712         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14713         defined operator.
14715         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14716         $TIMEOUTFACTOR.
14718 2014-06-16  Florian Weimer  <fweimer@redhat.com>
14720         [BZ #17058]
14721         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14722         non-executed part of the test.
14724 2014-06-16  Andreas Schwab  <schwab@suse.de>
14726         * string/bits/string2.h (strdup, strndup): Update feature guard.
14728 2014-06-14  David S. Miller  <davem@davemloft.net>
14730         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14732 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
14734         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14735         that was previously under [RESET_PID].
14736         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14738         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14739         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14740         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14741         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14742         (__libc_vfork): New strong alias.
14743         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14745 2014-06-14 Andi Kleen  <ak@linux.intel.com>
14747         * sysdeps/generic/elide.h: New file.
14749 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14751         * Makefile (installed-headers): Adjust path of pthread.h header.
14753 2014-06-13  Roland McGrath  <roland@hack.frob.com>
14755         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14756         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14757         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14758         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14760         * nptl/sysdeps/s390/Makefile: Moved ...
14761         * sysdeps/s390/nptl/Makefile: ... here.
14762         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14763         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14764         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14765         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14766         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14767         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14768         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14769         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14770         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14771         * sysdeps/s390/nptl/pthreaddef.h: ... here.
14772         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14773         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14774         * nptl/sysdeps/s390/tls.h: Moved ...
14775         * sysdeps/s390/nptl/tls.h: ... here.
14777         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14778         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14780 2014-06-13  David S. Miller  <davem@davemloft.net>
14782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14783         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14785         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14787         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14789         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14790         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14791         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14792         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14793         Remove RESET_PID cpp guards.
14794         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14795         Remove RESET_PID cpp guards.
14796         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14798 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
14800         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14801         __sp to uintptr_t.
14803 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14805         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14806         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14807         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14808         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14809         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14810         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14811         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14812         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14813         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14814         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14815         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14816         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14817         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14818         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14819         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14820         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14821         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14822         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14823         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14824         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14826         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14827         (pthread_rwlock_rdlock): Add elision.
14828         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14829         (pthread_rwlock_wrlock): Add elision.
14830         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14831         (pthread_rwlock_trywrlock): Add elision.
14832         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14833         (pthread_rwlock_tryrdlock): Add elision.
14834         * nptl/pthread_rwlock_unlock.c: Include elide.h.
14835         (pthread_rwlock_tryrdlock): Add elision unlock.
14836         * nptl/sysdeps/pthread/pthread.h:
14837         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14838         (PTHREAD_RWLOCK_INITIALIZER,
14839         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14840         Handle new elision field.
14841         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14842         * sysdeps/arm/nptl/bits/pthreadtypes.h
14843         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14844         * sysdeps/sh/nptl/bits/pthreadtypes.h
14845         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14846         * sysdeps/tile/nptl/bits/pthreadtypes.h
14847         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14848         * sysdeps/a/nptl/bits/pthreadtypes.h
14849         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14850         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14851         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14852         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14853         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14854         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14855         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14856         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14857         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14858         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14859         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14860         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14861         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14862         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14863         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14864         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14865         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14866         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14867         (elision_init): Set try_xbegin to zero when no RTM.
14868         * sysdeps/x86/nptl/bits/pthreadtypes.h
14869         (pthread_rwlock_t): Change __pad1 to __rwelision.
14870         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14872 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14874         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14875         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14876         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14877         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14879 2014-06-13  Meador Inge  <meadori@codesourcery.com>
14881         [BZ #16996]
14882         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14883         that the cached result has been set before returning it.
14885 2014-06-12  Roland McGrath  <roland@hack.frob.com>
14887         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14888         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14889         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14890         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14891         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14892         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14894         * nptl/sysdeps/sparc/Makefile: Moved ...
14895         * sysdeps/sparc/nptl/Makefile: ... here.
14896         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14897         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14898         * nptl/sysdeps/sparc/tls.h: Moved ...
14899         * sysdeps/sparc/nptl/tls.h: ... here.
14900         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14901         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14902         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14903         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14904         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14905         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14906         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14907         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14908         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14909         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14910         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14911         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14912         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14913         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14914         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14915         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14916         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14917         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14918         Update #include.
14919         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14920         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14921         Update #include.
14922         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14923         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14924         Update #include.
14925         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14926         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14927         Update #include.
14929         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14931         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14932         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14934         * sysdeps/pthread/posix-timer.h: Include <list.h>.
14935         (struct list_links): Type removed.
14936         (struct thread_node, struct timer_node): Replace struct list_links
14937         with struct list_head.
14938         (list_unlink_ip): Likewise.
14939         * sysdeps/pthread/timer_routines.c
14940         (timer_free_list, thread_free_list, thread_active_list): Likewise.
14941         (list_append, list_insbefore): Likewise.
14942         (list_init): Function removed.
14943         (thread_init, init_module): Use INIT_LIST_HEAD instead.
14944         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14945         * sysdeps/pthread/Makefile: ... here, new file.
14947         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14948         * sysdeps/nptl/Implies: ... here.
14949         * sysdeps/unix/sysv/linux/Implies: Add nptl.
14950         * nptl/sysdeps/pthread/list.h: Moved ...
14951         * include/list.h: ... here.
14952         * nptl/sysdeps/pthread/createthread.c: Moved ...
14953         * nptl/createthread.c: ... here.
14954         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14955         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14956         * nptl/pt-longjmp.c: ... here.
14957         * nptl/sysdeps/pthread/Makefile: Moved ...
14958         * sysdeps/nptl/Makefile: ... here.
14959         * nptl/sysdeps/pthread/Subdirs: Moved ...
14960         * sysdeps/nptl/Subdirs: ... here.
14961         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14962         * sysdeps/nptl/aio_misc.h: ... here.
14963         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14964         * sysdeps/nptl/bits/libc-lock.h: ... here.
14965         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14966         * sysdeps/nptl/bits/libc-lockP.h: ... here.
14967         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14968         * sysdeps/nptl/bits/stdio-lock.h: ... here.
14969         * nptl/sysdeps/pthread/configure: Moved ...
14970         * sysdeps/nptl/configure: ... here.
14971         * nptl/sysdeps/pthread/configure.ac: Moved ...
14972         * sysdeps/nptl/configure.ac: ... here.
14973         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14974         * sysdeps/nptl/gai_misc.h: ... here.
14975         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14976         * sysdeps/nptl/librt-cancellation.c: ... here.
14977         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14978         * sysdeps/nptl/malloc-machine.h: ... here.
14979         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14980         * sysdeps/nptl/pthread-functions.h: ... here.
14981         * nptl/sysdeps/pthread/pthread.h: Moved ...
14982         * sysdeps/nptl/pthread.h: ... here.
14983         * nptl/sysdeps/pthread/setxid.h: Moved ...
14984         * sysdeps/nptl/setxid.h: ... here.
14985         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14986         * sysdeps/nptl/sigfillset.c: ... here.
14987         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14988         * sysdeps/nptl/tcb-offsets.h: ... here.
14989         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14990         * sysdeps/nptl/tst-mqueue8x.c: ... here.
14991         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14992         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14993         * nptl/sysdeps/pthread/allocalim.h: Moved ...
14994         * sysdeps/pthread/allocalim.h: ... here.
14995         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14996         * sysdeps/pthread/bits/sigthread.h: ... here.
14997         * nptl/sysdeps/pthread/flockfile.c: Moved ...
14998         * sysdeps/pthread/flockfile.c: ... here.
14999         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
15000         * sysdeps/pthread/ftrylockfile.c: ... here.
15001         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
15002         * sysdeps/pthread/funlockfile.c: ... here.
15003         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
15004         * sysdeps/pthread/posix-timer.h: ... here.
15005         * nptl/sysdeps/pthread/timer_create.c: Moved ...
15006         * sysdeps/pthread/timer_create.c: ... here.
15007         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
15008         * sysdeps/pthread/timer_delete.c: ... here.
15009         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
15010         * sysdeps/pthread/timer_getoverr.c: ... here.
15011         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
15012         * sysdeps/pthread/timer_gettime.c: ... here.
15013         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
15014         * sysdeps/pthread/timer_routines.c: ... here.
15015         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
15016         * sysdeps/pthread/timer_settime.c: ... here.
15017         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
15018         * sysdeps/pthread/tst-timer.c: ... here.
15019         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
15020         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
15022         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
15023         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
15025         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
15026         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
15027         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
15028         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
15029         Update #include target.
15030         * nptl/sysdeps/i386/i686/Makefile: Moved ...
15031         * sysdeps/i386/i686/nptl/Makefile: ... here.
15032         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
15033         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
15034         Update #include target.
15035         * nptl/sysdeps/i386/i686/tls.h: Moved ...
15036         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
15037         * nptl/sysdeps/i386/Makefile: Moved ...
15038         * sysdeps/i386/nptl/Makefile: ... here.
15039         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
15040         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
15041         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
15042         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
15043         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
15044         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
15045         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
15046         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
15047         * sysdeps/i386/nptl/pthreaddef.h: ... here.
15048         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
15049         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
15050         * nptl/sysdeps/i386/tls.h: Moved ...
15051         * sysdeps/i386/nptl/tls.h: ... here.
15053         * sysdeps/sh/Makefile [$(subdir) = csu]
15054         (gen-as-const-headers): Add tcb-offsets.sym.
15055         * nptl/sysdeps/sh/Makefile: File removed.
15056         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
15057         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
15058         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
15059         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
15060         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
15061         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
15062         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
15063         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
15064         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
15065         * sysdeps/sh/nptl/pthreaddef.h: ... here.
15066         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
15067         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
15068         * nptl/sysdeps/sh/tls.h: Moved ...
15069         * sysdeps/sh/nptl/tls.h: ... here.
15070         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
15071         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
15072         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
15073         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
15074         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
15075         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
15076         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
15077         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
15078         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
15079         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
15080         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
15081         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
15082         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
15083         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
15084         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
15085         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
15086         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
15087         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
15088         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
15089         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
15090         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
15091         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
15092         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
15093         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
15094         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
15095         Moved ...
15096         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
15097         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
15098         Moved ...
15099         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
15100         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
15101         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
15102         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
15103         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
15104         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
15105         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
15106         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
15107         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
15108         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
15109         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
15110         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
15111         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
15112         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
15113         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
15114         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
15115         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
15116         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
15117         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
15119 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
15121         * posix/spawn_faction_addopen.c: Include string.h.
15123 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15125         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
15126         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
15127         * nptl/sysdeps/x86_64/Makefile: Moved ...
15128         * sysdeps/x86_64/nptl/Makefile: ... here.
15129         * nptl/sysdeps/x86_64/configure: Moved ...
15130         * sysdeps/x86_64/nptl/configure: ... here.
15131         * nptl/sysdeps/x86_64/configure.ac: Moved ...
15132         * sysdeps/x86_64/nptl/configure.ac: ... here.
15133         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
15134         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15135         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15136         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15137         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15138         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15139         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15140         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15141         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15142         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15143         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15144         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15145         * nptl/sysdeps/x86_64/tls.h: Moved ...
15146         * sysdeps/x86_64/nptl/tls.h: ... here.
15147         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15148         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15149         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15150         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15152         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15154 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15156         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15158 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
15160         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15161         type.
15162         [POSIX] (off_t): Likewise.
15163         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15164         [POSIX] (S_ISBLK): Require macro.
15165         [POSIX] (S_ISCHR): Likewise.
15166         [POSIX] (S_ISDIR): Likewise.
15167         [POSIX] (S_ISFIFO): Likewise.
15168         [POSIX] (S_ISREG): Likewise.
15169         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15170         optional-macro.
15171         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15172         type.
15173         [POSIX] (time_t): Likewise.
15174         [POSIX] (timer_t): Likewise.
15176 2014-06-11  Florian Weimer  <fweimer@redhat.com>
15178         [BZ #17048]
15179         * posix/spawn_int.h (struct __spawn_action): Make the path string
15180         non-const to support deallocation.
15181         * posix/spawn_faction_addopen.c
15182         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15183         * posix/spawn_faction_destroy.c
15184         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
15185         path in all spawn_do_open actions.
15186         * posix/tst-spawn.c (do_test): Exercise the copy operation in
15187         posix_spawn_file_actions_addopen.
15189 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
15191         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15192         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15193         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15194         conditional code always true.
15195         (__libc_vfork): New alias.
15197 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15199         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15200         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15202         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15204         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15205         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15207         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15208         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15210         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15211         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15213 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15215         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15216         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15217         multiarch strcmp for PPC64.
15218         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15219         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15220         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15221         multiarch optimizations.
15222         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15223         (__libc_ifunc_impl_list): Likewise.
15225 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15227         * benchtests/scripts/validate_benchout.py: New script.
15228         * benchtests/Makefile (bench-func): Call it.
15229         * benchtests/scripts/benchout.schema.json: New file.
15231 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
15233         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15234         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15235         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15236         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15237         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15238         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15239         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15240         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15241         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15242         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15243         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15244         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15245         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15246         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15247         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15248         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15249         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15250         Moved ...
15251         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15252         ... here.
15253         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15254         Moved ...
15255         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15256         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15257         Moved ...
15258         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15259         ... here.
15260         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15261         Moved ...
15262         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15263         ... here.
15264         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15265         Moved ...
15266         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15267         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15268         Moved ...
15269         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15270         ... here.
15271         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15272         Moved ...
15273         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15274         ... here.
15275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15276         Moved ...
15277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15279         Moved ...
15280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15281         ... here.
15282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15283         Moved ...
15284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15285         ... here.
15286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15287         Moved ...
15288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15289         ... here.
15290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15291         Moved ...
15292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15294         Moved ...
15295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15296         ... here.
15297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15298         Moved ...
15299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15300         ... here.
15301         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15302         Moved ...
15303         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15304         ... here.
15305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15306         Moved ...
15307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15308         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15309         Moved ...
15310         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15311         ... here.
15312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15313         Moved ...
15314         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15315         ... here.
15316         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15317         Moved ...
15318         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15320         Moved ...
15321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15322         ... here.
15323         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15324         Moved ...
15325         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15327         Moved ...
15328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15329         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15330         Moved ...
15331         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15332         ... here.
15333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15334         Moved ...
15335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15336         ... here.
15337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15338         Moved ...
15339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15340         ... here.
15341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15342         Moved ...
15343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15345         Moved ...
15346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15347         ... here.
15348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15349         Moved ...
15350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15351         ... here.
15352         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15353         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15354         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15355         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15356         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15357         Moved ...
15358         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15359         ... here.
15360         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15361         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15362         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15363         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15364         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15365         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15366         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15367         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15368         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15369         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15370         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15371         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15372         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15373         Moved ...
15374         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15375         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15376         Moved ...
15377         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15378         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15379         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15380         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15381         Moved ...
15382         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15383         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15384         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15385         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15386         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15387         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15388         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15390 2014-06-10  Wilco  <wdijkstr@arm.com>
15392         * math/test-fenv-return.c: New file.
15393         * math/Makefile: Add new test test-fenv-return.
15395 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
15397         [BZ #17042]
15398         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15399         when x - 1 is zero.
15400         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15401         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15402         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15403         0.0L for an argument of 1.0L.
15404         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15405         Likewise.
15406         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15407         value when x - 1 is zero.
15408         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15409         * sysdeps/i386/fpu/libm-test-ulps: Update.
15410         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15412 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
15414         [BZ #15119]
15415         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15417 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15419         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15420         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15422 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15424         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15425         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15427         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15428         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15430         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15431         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15433         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15434         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15436         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15437         if not already defined.
15438         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15439         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15440         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15441         (TLS_INIT_TP): Use it.
15442         (TLS_DEFINE_INIT_TP): New macro.
15443         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15445 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
15447         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15448         constant.
15449         [POSIX] (IXANY): Likewise.
15450         [POSIX] (OLCUC): Likewise.
15451         [POSIX || POSIX2008] (CBAUD): Do not allow.
15452         [POSIX || POSIX2008] (DEFECHO): Likewise.
15453         [POSIX || POSIX2008] (ECHOCTL): Likewise.
15454         [POSIX || POSIX2008] (ECHOKE): Likewise.
15455         [POSIX || POSIX2008] (ECHOPRT): Likewise.
15456         [POSIX || POSIX2008] (EXTA): Likewise.
15457         [POSIX || POSIX2008] (EXTB): Likewise.
15458         [POSIX || POSIX2008] (FLUSHO): Likewise.
15459         [POSIX || POSIX2008] (LOBLK): Likewise.
15460         [POSIX || POSIX2008] (PENDIN): Likewise.
15461         [POSIX || POSIX2008] (SWTCH): Likewise.
15462         [POSIX || POSIX2008] (VDISCARD): Likewise.
15463         [POSIX || POSIX2008] (VDSUSP): Likewise.
15464         [POSIX || POSIX2008] (VLNEXT): Likewise.
15465         [POSIX || POSIX2008] (VREPRINT): Likewise.
15466         [POSIX || POSIX2008] (VSTATUS): Likewise.
15467         [POSIX || POSIX2008] (VWERASE): Likewise.
15468         (B*): Change to B[0123456789]*.
15469         * conform/data/time.h-data [POSIX || UNIX98]
15470         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15471         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15472         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15473         [POSIX] (tm_*): Do not allow.
15475 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
15477         * Makefile (install): Don't set LANGUAGE.
15478         * Makefile.in (install): Likewise.
15479         * assert/Makefile (test-assert-ENV): Remove variable.
15480         (test-assert-perr-ENV): Likewise.
15481         * elf/Makefile (neededtest4-ENV): Likewise.
15482         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15483         [$(cross-compiling) = no]: Don't set LANGUAGE.
15484         * io/ftwtest-sh (LANG): Remove variable.
15485         * libio/Makefile (tst-widetext-ENV): Likewise.
15486         * manual/install.texi (Running make install): Don't refer to
15487         environment settings for make install.
15488         * INSTALL: Regenerated.
15489         * nptl/tst-tls6.sh: Don't set LANG.
15490         * posix/globtest.sh (LANG): Remove variable.
15491         * string/Makefile (tester-ENV): Likewise.
15492         (inl-tester-ENV): Likewise.
15493         (noinl-tester-ENV): Likewise.
15494         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15495         [$(cross-compiling) = no]: Don't set LANGUAGE.
15496         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15497         without explicit environment settings.
15499 2014-06-06  Roland McGrath  <roland@hack.frob.com>
15501         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15502         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15503         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15504         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15506 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
15508         * crypt/crypt-private.h [DOS]: Add some includes taken from the
15509         other files in the crypt directory.
15510         * crypt/crypt.c: Remove duplicate includes.
15511         * crypt/crypt-entry.c: Likewise.
15512         * crypt/crypt_util.c: Likewise.
15514 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
15516         * Makeconfig (run-program-env): New variable.
15517         (run-program-prefix-before-env): Likewise.
15518         (run-program-prefix-after-env): Likewise.
15519         (run-program-prefix): Define in terms of new variables.
15520         (built-program-cmd-before-env): New variable.
15521         (built-program-cmd-after-env): Likewise.
15522         (built-program-cmd): Define in terms of new variables.
15523         (test-program-prefix-before-env): New variable.
15524         (test-program-prefix-after-env): Likewise.
15525         (test-program-prefix): Define in terms of new variables.
15526         (test-program-cmd-before-env): New variable.
15527         (test-program-cmd-after-env): Likewise.
15528         (test-program-cmd): Define in terms of new variables.
15529         * Rules (make-test-out): Use $(run-program-env).
15530         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15531         (help): Do not mention environment variables.  Mention
15532         --timeoutfactor option.
15533         (timeoutfactor): New variable.
15534         (blacklist_exports): Remove function.
15535         (exports): Remove variable.
15536         (command): Do not include ${exports}.
15537         * manual/install.texi (Configuring and compiling): Do not mention
15538         test wrappers preserving environment variables.  Mention that last
15539         assignment to a variable must take precedence.
15540         * INSTALL: Regenerated.
15541         * benchtests/Makefile (run-bench): Use $(run-program-env).
15542         * catgets/Makefile ($(objpfx)test1.cat): Use
15543         $(built-program-cmd-before-env), $(run-program-env) and
15544         $(built-program-cmd-after-env).
15545         ($(objpfx)test2.cat): Do not specify environment variables
15546         explicitly.
15547         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15548         $(run-program-env) and $(built-program-cmd-after-env).
15549         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15550         $(run-program-env) and $(test-program-cmd-after-env).
15551         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15552         explicitly.
15553         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15554         run_program_env and test_program_cmd_after_env arguments.
15555         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15556         * elf/tst-pathopt.sh: Use run_program_env argument.
15557         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15558         $(test-wrapper-env) and $(run-program-env).
15559         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15560         run_program_env arguments.
15561         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15562         * intl/Makefile ($(objpfx)tst-gettext.out): Use
15563         $(test-program-prefix-before-env), $(run-program-env) and
15564         $(test-program-prefix-after-env).
15565         ($(objpfx)tst-gettext2.out): Likewise.
15566         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15567         run_program_env and test_program_prefix_after_env arguments.
15568         * intl/tst-gettext2.sh: Likewise.
15569         * intl/tst-gettext4.sh: Do not set environment variables
15570         explicitly.
15571         * intl/tst-gettext6.sh: Likewise.
15572         * intl/tst-translit.sh: Likewise.
15573         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15574         $(test-program-prefix-before-env), $(run-program-env) and
15575         $(test-program-prefix-after-env).
15576         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15577         run_program_env and test_program_prefix_after_env arguments.
15578         * math/Makefile (run-regen-ulps): Use $(run-program-env).
15579         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15580         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
15581         explicitly with each use of ${test_wrapper_env}.
15582         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15583         $(test-program-prefix-before-env), $(run-program-env) and
15584         $(test-program-prefix-after-env).
15585         * posix/tst-getconf.sh: Do not set environment variables
15586         explicitly.
15587         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15588         run_program_env and test_program_prefix_after_env arguments.
15589         * stdio-common/tst-printf.sh: Do not set environment variables
15590         explicitly.
15591         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15592         $(test-program-prefix-before-env), $(run-program-env) and
15593         $(test-program-prefix-after-env).
15594         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15595         run_program_env and test_program_prefix_after_env arguments.
15596         Split $test calls into $test_pre and $test.
15597         * timezone/Makefile (build-testdata): Use
15598         $(built-program-cmd-before-env), $(run-program-env) and
15599         $(built-program-cmd-after-env).
15601 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15603         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15604         strlen for non SHARED builds.
15606 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15608         * nptl/allocatestack.c (check_list): Inlined function...
15609         (__reclaim_stacks): ... here.
15611 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15613         [BZ #15698]
15614         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15615         memory overrun.
15617 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
15619         * Rules (make-test-out): Include
15620         LOCPATH=$(common-objpfx)localedata in default environment.
15621         * debug/Makefile (tst-chk1-ENV): Remove variable.
15622         (tst-chk2-ENV): Likewise.
15623         (tst-chk3-ENV): Likewise.
15624         (tst-chk4-ENV): Likewise.
15625         (tst-chk5-ENV): Likewise.
15626         (tst-chk6-ENV): Likewise.
15627         (tst-lfschk1-ENV): Likewise.
15628         (tst-lfschk2-ENV): Likewise.
15629         (tst-lfschk3-ENV): Likewise.
15630         (tst-lfschk4-ENV): Likewise.
15631         (tst-lfschk5-ENV): Likewise.
15632         (tst-lfschk6-ENV): Likewise.
15633         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15634         (tst-iconv7-ENV): Likewise.
15635         * intl/Makefile (LOCPATH-ENV): Likewise.
15636         (tst-codeset-ENV): Likewise.
15637         (tst-gettext3-ENV): Likewise.
15638         (tst-gettext5-ENV): Likewise.
15639         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15640         (tst-fopenloc-ENV): Likewise.
15641         (tst-fgetws-ENV): Remove variable.
15642         (tst-ungetwc1-ENV): Likewise.
15643         (tst-ungetwc2-ENV): Likewise.
15644         (bug-ungetwc2-ENV): Likewise.
15645         (tst-swscanf-ENV): Likewise.
15646         (bug-ftell-ENV): Likewise.
15647         (tst-fgetwc-ENV): Likewise.
15648         (tst-fseek-ENV): Likewise.
15649         (tst-ftell-partial-wide-ENV): Likewise.
15650         (tst-ftell-active-handler-ENV): Likewise.
15651         (tst-ftell-append-ENV): Likewise.
15652         * posix/Makefile (tst-fnmatch-ENV): Likewise.
15653         (tst-regexloc-ENV): Likewise.
15654         (bug-regex1-ENV): Likewise.
15655         (tst-regex-ENV): Likewise.
15656         (tst-regex2-ENV): Likewise.
15657         (bug-regex5-ENV): Likewise.
15658         (bug-regex6-ENV): Likewise.
15659         (bug-regex17-ENV): Likewise.
15660         (bug-regex18-ENV): Likewise.
15661         (bug-regex19-ENV): Likewise.
15662         (bug-regex20-ENV): Likewise.
15663         (bug-regex22-ENV): Likewise.
15664         (bug-regex23-ENV): Likewise.
15665         (bug-regex25-ENV): Likewise.
15666         (bug-regex26-ENV): Likewise.
15667         (bug-regex30-ENV): Likewise.
15668         (bug-regex32-ENV): Likewise.
15669         (bug-regex33-ENV): Likewise.
15670         (bug-regex34-ENV): Likewise.
15671         (bug-regex35-ENV): Likewise.
15672         (tst-rxspencer-ENV): Likewise.
15673         (tst-rxspencer-no-utf8-ENV): Likewise.
15674         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15675         (tst-sscanf-ENV): Likewise.
15676         (tst-swprintf-ENV): Likewise.
15677         (tst-swscanf-ENV): Likewise.
15678         (test-vfprintf-ENV): Likewise.
15679         (scanf13-ENV): Likewise.
15680         (bug14-ENV): Likewise.
15681         (tst-grouping-ENV): Likewise.
15682         * stdlib/Makefile (tst-strtod-ENV): Likewise.
15683         (tst-strtod3-ENV): Likewise.
15684         (tst-strtod4-ENV): Likewise.
15685         (tst-strtod5-ENV): Likewise.
15686         (testmb2-ENV): Likewise./
15687         * string/Makefile (tst-strxfrm-ENV): Likewise.
15688         (tst-strxfrm2-ENV): Likewise.
15689         (bug-strcoll1-ENV): Likewise.
15690         (test-strcasecmp-ENV): Likewise.
15691         (test-strncasecmp-ENV): Likewise.
15692         * time/Makefile (tst-strptime-ENV): Likewise.
15693         (tst-ftime_l-ENV): Likewise.
15694         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15695         (tst-mbrtowc-ENV): Likewise.
15696         (tst-wcrtomb-ENV): Likewise.
15697         (tst-mbrtowc2-ENV): Likewise.
15698         (tst-c16c32-1-ENV): Likewise.
15699         (tst-mbsnrtowcs-ENV): Likewise.
15701 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15703         * manual/resource.texi (How to get information about the memory
15704         subsystem?): Fix typo.
15705         Reported by Peon de la Parra Ivan <peon@keba.com>
15707 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
15709         [BZ #16882]
15710         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15711         (pthread_spin_lock): Branch out of spin loop to proper location.
15712         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15713         (pthread_spin_lock): Likewise.
15715         * nptl/tst-spin4.c: New test.
15716         * nptl/Makefile (tests): Add tst-spin4.
15718 2014-06-03  Andreas Schwab  <schwab@suse.de>
15720         [BZ #15946]
15721         * resolv/res_send.c (send_dg): Reload file descriptor after
15722         calling reopen.
15724 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
15726         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15728 2014-06-03  Richard Henderson  <rth@redhat.com>
15730         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15731         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15732         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15733         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
15734         in the SAVE_PID block.
15735         (__libc_vfork): New alias.
15736         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15738         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15739         child in registers, not on the stack.  Remove RESET_PID conditionals.
15740         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15742 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15744         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15746 2014-06-03  Wilco  <wdijkstr@arm.com>
15748         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15749         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15750         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15751         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15752         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15753         Likewise.
15755 2014-06-03  Wilco  <wdijkstr@arm.com>
15757         * sysdeps/aarch64/fpu/math_private.h
15758         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15759         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15760         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15761         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15762         Fix declarations.
15764 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15766         * crypt/crypt-private.h: Include ufc-crypt.h.
15767         (__b64_from_24bit): Declare extern.
15768         * crypt/crypt_util.c(__b64_from_24bit): New function.
15769         (b64t): New static const variable.
15770         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15771         (b64t): Remove variable.
15772         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15773         * crypt/sha256-crypt.c: Include crypt-private.h.
15774         (b64t): Remove variable.
15775         (__sha256_crypt_r): Remove b64_from_24bit and replace
15776         with __b64_from_24bit.
15777         * crypt/sha512-crypt.c: Likewise.
15779 2014-06-02  Roland McGrath  <roland@hack.frob.com>
15781         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15782         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15783         Label the code __libc_vfork rather than __vfork.
15784         [!NOT_IN_libc] (vfork): Define as weak alias.
15785         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15786         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15787         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15789 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15791         * malloc/malloc.c (malloc_info): Fix format specifier for
15792         n_mmaps.
15794 2014-06-02  Wilco  <wdijkstr@arm.com>
15796         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15797         FPCR write.
15799 2014-06-02  Wilco  <wdijkstr@arm.com>
15801         [BZ #17009]
15802         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15803         Rewrite to reduce FPCR/FPSR accesses.
15805 2014-06-01  David S. Miller  <davem@davemloft.net>
15807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15809 2014-05-31  David S. Miller  <davem@davemloft.net>
15811         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15812         to occur in round to nearest mode when |x| >= 2.0
15814 2014-05-30  Richard Henderson  <rth@twiddle.net>
15816         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15817         (PSEUDO_RET_NOERRNO): Remove.
15818         (ret): Don't redefine.
15819         (ret_NOERRNO): Define in terms of ret.
15820         (ret_ERRVAL): Likewise.
15822         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15823         use of PSEUDO_RET; perform the error check directly.
15825 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
15827         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15828         with __int128_t.
15830 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15832         * malloc/malloc (malloc_info): Fix formatting.
15834 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15835             Roland McGrath  <roland@hack.frob.com>
15837         * malloc/malloc (malloc_info): Also print mmapped statistics.
15839 2014-05-30  Roland McGrath  <roland@hack.frob.com>
15841         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15842         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15844 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
15846         * malloc/malloc.c (malloc_info): Inline mi_arena.
15848 2014-05-29  Richard Henderson  <rth@twiddle.net>
15850         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15851         Remove comma before expanding ASM_ARGS_##nr.
15852         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15853         Make _x0 a strict output; make _x8 a strict input; adjust expansion
15854         of ASM_ARGS_##nr.
15855         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15856         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15857         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15858         (ASM_ARGS_1): Add leading comma.
15860         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15861         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15862         to __errno_location.
15863         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15864         Remove the expected plt for __errno_location.
15866         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15867         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15868         call to __read_tp.
15870         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15871         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
15872         it and break it down.
15873         (DOCARGS_0, DOCARGS_1): Do nothing.
15874         (DOCARGS_2): Update to store into the new stack frame.
15875         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15876         (UNDOCARGS_1): Update to restore from the new stack frame.
15877         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15878         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15880         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15881         (SINGLE_THREAD_P): New parameter for result regno.
15882         (PSEUDO): Update to match; use cbz instead of beq.
15884         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15885         Use ENTRY to define the _nocancel entry point.  Share the syscall
15886         and syscall error check paths with the cancel path.
15887         (PSEUDO_END): New.
15889         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15890         whitespace; tabs before and after asm mnemonics.
15892 2014-05-29  Eric Wong  <normalperson@yhbt.net>
15894         [BZ #15132]
15895         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15896         Call fstat64 or stat64 internally, depending on arguments passed.
15897         Replace stat buffer argument with file descriptor argument.
15898         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15899         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15900         Pass fd to __internal_statvfs instead of calling fstat64.
15901         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15902         Pass fd to __internal_statvfs64 instead of calling fstat64.
15903         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15904         Pass -1 to __internal_statvfs instead of calling stat64.
15905         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15906         Pass -1 to __internal_statvfs64 instead of calling stat64.
15908 2014-05-28  Roland McGrath  <roland@hack.frob.com>
15910         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15911         that was previously under [RESET_PID].
15912         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15914         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15915         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15917 2014-05-27  Roland McGrath  <roland@hack.frob.com>
15919         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15921         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15922         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15924 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
15926         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15928 2014-05-27  Andreas Schwab  <schwab@suse.de>
15930         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15931         TLS_INIT_TP macro.
15932         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15933         * elf/rtld.c (init_tls, dl_main): Likewise.
15934         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15935         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15936         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15937         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15938         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15939         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15940         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15941         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15942         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15943         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15944         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15945         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15946         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15947         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15948         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15949         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15950         * sysdeps/generic/tls.h: Update description.
15952 2014-05-27  Will Newton  <will.newton@linaro.org>
15954         [BZ #16990]
15955         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15956         and restore r2 rather than just restoring.
15958 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15960         [BZ #16724]
15961         * libio/tst-ftell-append.c: New test case.
15962         * libio/Makefile (tests): Add test case.
15963         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15964         append mode.
15965         * libio/wfileops.c (do_ftell_wide): Likewise.
15967 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15971         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15972         ...
15973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15975         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15976         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15977         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15978         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15979         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15980         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15981         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15982         Moved ...
15983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15984         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15985         Moved ...
15986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15987         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15988         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15989         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15990         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15991         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15992         ...
15993         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15994         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15995         Moved ...
15996         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15997         here.
15998         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15999         ...
16000         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
16001         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
16002         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
16004         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
16005         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
16006         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
16007         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
16009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
16010         merge into ...
16011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
16012         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
16013         ...
16014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
16015         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
16016         ...
16017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
16018         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16019         Moved ...
16020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
16021         here.
16022         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16023         Moved ...
16024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
16025         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16026         Moved ...
16027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
16029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
16030         conditional [RESET_PID].
16031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
16032         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
16033         removed.
16034         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
16035         removed.
16037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
16038         <tcb-offsets.h>.
16039         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16040         (__libc_vfork): New strong alias.
16041         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
16042         removed.
16043         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
16044         Removed.
16046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
16047         <tcb-offsets.h>.
16048         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
16049         (__libc_vfork): New strong alias.
16050         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
16051         removed.
16052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
16053         removed.
16055 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
16057         * malloc/malloc.c (mi_arena): New function.
16058         (malloc_info): Remove nested function mi_arena. Call non-nosted
16059         function mi_arena.
16061 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16063         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
16064         by insrwi.
16065         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
16066         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
16067         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
16068         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
16069         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
16070         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
16071         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
16073 2014-05-26  Andreas Schwab  <schwab@suse.de>
16075         [BZ #16984]
16076         * locale/programs/repertoire.c (repertoire_read): Add slash
16077         between I18NPATH element and file name.
16078         * locale/programs/locfile.c (locfile_read): Likewise.
16080 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16082         * nptl/pthread_mutexattr_settype.c
16083         (__pthread_mutexattr_settype):
16084         Disable lock elision for PTHREAD_MUTEX_NORMAL.
16086 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
16088         * nptl/tst-mutex5 (do_test):
16089         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
16091 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16093         * benchtests/README: Document 'init' directive.
16094         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
16095         BENCH_INIT.
16096         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
16097         (parse_file): Recognize 'init' directive.
16099 2014-05-26  Kyle McMartin  <kyle@redhat.com>
16101         [BZ #16796]
16102         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
16103         alignment of struct pthread.
16105 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
16107         [BZ #16878]
16108         * nscd/netgroupcache.c (addgetnetgrentX): Look for
16109         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16110         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
16111         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
16113 2014-05-25  Richard Henderson  <rth@twiddle.net>
16115         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16116         (SINGLE_THREAD_P_PIC): Remove.
16117         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
16118         (SINGLE_THREAD_P_PIC): Remove.
16120         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
16121         branch to syscall error ...
16122         (PSEUDO): ... here.
16123         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
16124         from __local_syscall_error to .Lsyscall_error.
16125         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
16126         (SYSCALL_ERROR): Update label name.
16128         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16129         Do not use DOARGS/UNDOARGS.
16130         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
16131         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
16132         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
16133         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
16134         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16136         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16137         block comment.
16139         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16140         define if !NOT_IN_libc.
16141         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16142         define with non-default symbol versions.
16144 2014-05-23  Richard Henderson  <rth@twiddle.net>
16146         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16147         (vfork, __vfork): Define via compat_symbol.
16149         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16150         [!HAVE_IFUNC] (vfork_compat): Remove.
16151         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16153 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16155         [BZ #16978]
16156         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16157         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16158         variable.
16160 2014-05-23  Richard Henderson  <rth@twiddle.net>
16162         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16163         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16164         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16165         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16167         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16168         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16169         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16170         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16171         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16172         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16173         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16174         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16175         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16176         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16177         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16178         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16179         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16180         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16181         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16182         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16183         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16184         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16185         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16186         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16187         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16188         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16189         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16190         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16191         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16192         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16193         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16194         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16195         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16196         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16197         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16198         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16199         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16200         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16201         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16202         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16203         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16204         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16205         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16206         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16207         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16208         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16209         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16210         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16211         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16212         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16213         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16214         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16215         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16216         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16217         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16218         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16219         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16220         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16221         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16222         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16224         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16225         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16226         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
16227         before exiting on error.
16228         (__libc_vfork): New strong alias.
16229         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16230         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16232         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16233         that was previously under [RESET_PID].
16234         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16236         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16238 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16240         [BZ #16977]
16241         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16242         value when x - 1 is zero.
16243         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16244         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16245         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16246         0.0L for an argument of 1.0L.
16247         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16248         Likewise.
16249         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16250         value when x - 1 is zero.
16251         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16252         * sysdeps/i386/fpu/libm-test-ulps: Update.
16253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16255 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16257         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16258         alphasort and versionsort.
16260 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16262         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16263         macro.
16264         [copysignf]: Likewise.
16266 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16268         * crypt/md5-crypt.c: Fix formatting.
16270 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16272         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16273         (b64_from_24bit): New function.
16275 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16277         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16278         libc_hidden_builtin_def to ifunc.
16279         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16280         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16282 2014-05-21  Roland McGrath  <roland@hack.frob.com>
16284         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16285         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16287 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
16289         * nscd/Depend (linuxthreads): Remove.
16290         (nptl): Add.
16291         * resolv/Depend (linuxthreads): Remove.
16292         * rt/Depend (linuxthreads): Remove.
16294         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16295         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16296         $(common-objpfx)elf/.
16297         (link-libc-before-gnulib): Likewise.
16298         (elfobjdir): Remove variable.
16299         * Makefile (install): Use $(elf-objpfx) instead of
16300         $(common-objpfx)elf/.
16301         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16302         $(elfobjdir)/.
16303         (link-libc-deps): Likewise.
16304         ($(common-objpfx)libc.so): Likewise.
16305         ($(common-objpfx)linkobj/libc.so): Likewise.
16306         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16307         instead of $(common-objpfx)elf/.
16308         (symbolic-link-list): Likewise.
16309         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16310         [$(cross-compiling) = no]: Likewise.
16311         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16312         $(elfobjdir)/.
16313         (static-gnulib-arch): Likewise.
16314         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16315         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16316         $(common-objpfx)elf/.
16318 2014-05-21  Richard Henderson  <rth@redhat.com>
16320         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16321         (SINGLE_THREAD_P): Use the correct width load.  Fold
16322         into the ldr offset.
16324         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16325         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16327 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
16329         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16330         (libgcc_s_resume): Use __attribute_used__.
16331         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16332         Likewise.
16334 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16336         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16337         optimization when used with float constants.
16339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16341 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
16343         [BZ #16915]
16344         * locale/nl_langinfo_l.c: Make direct reference to every
16345         _nl_current_CATEGORY symbol.
16346         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16347         (tests-static): Add tst-langinfo-static.
16348         (tests-special): Add tst-langinfo-static.out.
16349         ($(objpfx)tst-langinfo.out): Redirect output.
16350         ($(objpfx)tst-langinfo-static.out): New.
16351         * localedata/tst-langinfo.sh: Send output to stdout.
16352         * localedata/tst-langinfo-static.c: New file.
16354         [BZ #16965]
16355         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16356         when the shift amount is modulo the limb size.
16358 2014-05-20  Richard Henderson  <rth@redhat.com>
16360         [BZ #16967]
16361         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16362         Change type of sa_flags from unsigned int to int.
16364         [BZ #16966]
16365         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16367         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16369 2014-05-20  Will Newton  <will.newton@linaro.org>
16371         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16372         Test the return value of the system call in the nocancel case.
16374 2014-05-20  Will Newton  <will.newton@linaro.org>
16375             Yvan Roux  <yvan.roux@linaro.org>
16377         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16378         #include of asm/ptrace.h.
16379         (PTRACE_GET_THREAD_AREA): Remove #undef.
16380         (PTRACE_GETHBPREGS): Likewise.
16381         (PTRACE_SETHBPREGS): Likewise.
16382         (struct user_regs_struct): New structure.
16383         (struct user_fpsimd_struct): New structure.
16384         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16385         #include of asm/ptrace.h and second #include of sys/user.h.
16386         (PTRACE_GET_THREAD_AREA): Remove #undef.
16387         (PTRACE_GETHBPREGS): Likewise.
16388         (PTRACE_SETHBPREGS): Likewise.
16389         (ELF_NGREG): Use new struct user_regs_struct.
16390         (elf_fpregset_t): Use new struct user_fpsimd_struct.
16392 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16394         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16395         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16397 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
16399         [BZ #16958]
16400         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16401         membar to avoid block loads/stores to overlap previous stores.
16403 2014-05-17  Richard Henderson  <rth@redhat.com>
16405         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16406         Create the __##syscall_name##_nocancel entry point.
16407         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16408         Remove; let the sysdep-cancel.h code create it.
16410 2014-05-17  David S. Miller  <davem@davemloft.net>
16412         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16413         Protect with __USE_GNU.
16414         (TIOCSET_TEMPT): Likewise.
16415         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16416         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16417         these are already provided in bits/ioctl-types.h
16419 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16421         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16422         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16424         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16425         Use wait4 regardless of [__NR_waitpid].
16427 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16429         PR libgcc/60166
16430         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16431         (_FP_NANSIGN_Q): Set the quiet bit.
16433 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
16435         * benchtests/Makefile
16436         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16437         not $(common-objpfx)math/libm.so.
16438         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16439         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16440         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16441         $(common-objpfx)dlfcn/libdl.so.
16442         ($(objpfx)tst-audit8): Depend on $(libm), not
16443         $(common-objpfx)math/libm.so.
16444         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16445         not $(common-objpfx)dlfcn/libdl.so.
16446         * math/Makefile
16447         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16448         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
16449         [$(build-shared) = yes].
16450         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16451         $(common-objpfx)nptl/libpthread.so.
16452         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16453         $(common-objpfx)math/libm.so$(libm.so-version) or
16454         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16455         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16456         $(common-objpfx)dlfcn/libdl.so.
16457         * setjmp/Makefile (link-libm): Remove variable.
16458         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16459         * stdio-common/Makefile (link-libm): Remove variable.
16460         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16461         * stdlib/Makefile (link-libm): Remove variable.
16462         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16463         ($(objpfx)tst-strtod-round): Likewise.
16464         ($(objpfx)tst-tininess): Likewise.
16465         ($(objpfx)tst-strtod-underflow): Likewise.
16466         ($(objpfx)tst-strtod6): Likewise.
16467         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16468         $(libdl), not $(common-objpfx)nptl/libpthread.so and
16469         $(common-objpfx)dlfcn/libdl.so.
16471 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16473         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16474         BSD terminal modes definitions.
16476 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16478         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16479         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16481         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16482         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16483         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16484         Don't do #include_next.
16485         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16486         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16487         Don't do #include_next.
16488         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16489         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16490         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16491         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16493 2014-05-16  Allan McRae  <allan@archlinux.org>
16495         * po/sv.po: Update Swedish translation from translation project.
16497         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16498         in sed expression.
16500 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
16502         [BZ #16917]
16503         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16504         errno if the TIOCGPTN ioctl fails with an error different than
16505         EINVAL.
16506         * login/tst-ptsname.c: New file.
16507         * login/Makefile (tests): Add tst-ptsname.
16509         [BZ #16943]
16510         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16511         and prlimit64.
16513 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16515         [BZ #16849]
16516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16517         herrno to return EAI_AGAIN.
16519 2014-05-14  Roland McGrath  <roland@hack.frob.com>
16521         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16522         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16523         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16524         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16525         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16526         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16527         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16528         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16529         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16530         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16531         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16532         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16533         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16534         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16535         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16536         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16537         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16538         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16539         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16540         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16541         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16542         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16543         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16544         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16545         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16546         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16547         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16548         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16549         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16550         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16551         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16552         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16553         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16554         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16555         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16556         Moved ...
16557         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16558         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16559         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16560         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16561         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16562         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16563         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16564         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16565         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16566         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16567         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16568         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16569         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16570         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16571         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16572         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16573         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16574         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16575         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16576         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16577         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16579         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16581         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16583         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16585         Moved ...
16586         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16588         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16590         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16592         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16594         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16596         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16598         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16600         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16602         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16604         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16606         Moved ...
16607         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16608         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16609         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16611         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16612         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16613         (libpthread-sysdep_routines): Add elision-related stuff here instead.
16614         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16615         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16616         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16617         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16618         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16619         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16620         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16621         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16622         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16623         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16624         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16625         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16626         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16627         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16628         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16629         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16630         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16631         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16632         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16633         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16634         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16635         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16636         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16637         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16638         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16639         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16640         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16641         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16643         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16644         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16646         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16647         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16648         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16649         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16650         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16651         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16652         Moved ...
16653         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16654         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16655         Moved ...
16656         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16657         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16658         Moved ...
16659         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16660         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16661         Moved ...
16662         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16663         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16664         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16665         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16666         Moved ...
16667         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16668         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16669         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16670         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16671         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16672         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16673         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16674         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16675         Moved ...
16676         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16677         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16678         Moved ...
16679         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16680         ... here.
16681         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16682         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16683         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16684         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16685         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16686         Moved ...
16687         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16688         ... here.
16689         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16690         Moved ...
16691         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16692         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16693         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16694         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16695         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16696         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16697         Moved ...
16698         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16699         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16700         Moved ...
16701         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16702         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16703         Moved ...
16704         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16705         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16706         Moved ...
16707         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16708         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16709         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16710         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16711         Moved ...
16712         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16713         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16714         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16715         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16716         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16717         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16718         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16719         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16720         Moved ...
16721         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16722         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16723         Moved ...
16724         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16725         ... here.
16726         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16727         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16728         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16729         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16730         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16731         Moved ...
16732         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16733         ... here.
16734         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16735         Moved ...
16736         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16737         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16738         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16739         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16740         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16741         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16742         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16743         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16744         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16745         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16746         Moved ...
16747         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16748         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16749         Moved ...
16750         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16751         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16752         Moved ...
16753         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16754         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16755         Moved ...
16756         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16757         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16758         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16759         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16760         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16761         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16762         Moved ...
16763         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16764         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16765         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16766         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16767         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16768         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16769         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16770         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16771         Moved ...
16772         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16773         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16774         Moved ...
16775         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16776         ... here.
16777         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16778         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16779         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16780         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16781         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16782         Moved ...
16783         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16784         ... here.
16785         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16786         Moved ...
16787         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16788         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16789         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16790         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16791         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16792         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16793         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16794         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16795         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16796         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16797         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16799         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16800         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16802         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16803         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16805         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16806         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16807         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16808         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16809         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16810         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16811         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16812         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16813         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16814         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16815         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16816         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16817         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16818         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16819         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16820         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16821         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16822         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16823         Moved ...
16824         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16825         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16826         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16827         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16828         Moved ...
16829         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16830         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16831         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16832         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16833         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16834         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16835         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16836         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16837         Moved ...
16838         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16839         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16840         Moved ...
16841         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16842         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16843         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16844         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16845         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16846         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16847         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16848         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16849         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16850         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16851         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16852         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16853         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16854         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16855         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16856         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16857         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16859         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16860         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16861         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16862         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16863         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16865         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16866         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16867         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16868         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16869         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16870         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16871         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16872         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16873         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16874         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16876         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16877         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16879         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16880         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16881         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16882         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16883         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16884         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16885         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16886         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16887         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16888         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16889         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16890         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16891         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16892         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16893         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16894         Update #include.
16895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16896         Likewise.
16897         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16898         Likewise.
16899         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16900         Likewise.
16901         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16902         Likewise.
16903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16904         Likewise.
16905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16906         Likewise.
16907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16908         Likewise.
16909         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16910         Likewise.
16911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16912         Likewise.
16913         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16914         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16915         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16916         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16917         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16918         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16919         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16920         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16921         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16922         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16923         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16924         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16925         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16926         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
16927         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
16929         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16930         that was previously under [RESET_PID].
16931         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16932         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16933         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16935         * sysdeps/i386/nptl/Implies: New file.
16936         * sysdeps/x86_64/nptl/Implies: New file.
16937         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16938         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16939         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16940         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16942         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16943         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16944         (__libc_vfork): New strong alias.
16945         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16946         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16948         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16949         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16950         (__libc_vfork): New strong alias.
16951         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16952         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16954         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16955         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16956         (__libc_vfork): New strong alias.
16957         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16958         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16959         * nptl/pt-vfork.c: New file.
16960         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16961         (libpthread: GLIBC_2.20): New version set (empty).
16963 2014-05-14  Will Newton  <will.newton@linaro.org>
16965         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16966         rather than #if.
16968 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16970         [BZ #16564]
16971         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16972         arguments with exponent 65 or above.
16973         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16974         arguments 0x1p113L or above.
16975         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16976         to arguments 0x1p107L or above.
16977         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16978         positive arguments with exponent 65 or above.
16979         * math/auto-libm-test-in: Add more tests of log1p.
16980         * math/auto-libm-test-out: Regenerated.
16982         [BZ #16928]
16983         * math/s_cacos.c (__cacos): Ensure zero real part of result from
16984         non-finite arguments is +0.
16985         * math/s_cacosf.c (__cacosf): Likewise.
16986         * math/s_cacosl.c (__cacosl): Likewise.
16987         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16988         * sysdeps/i386/fpu/libm-test-ulps: Update.
16989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16991         [BZ #16927]
16992         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16993         value.
16994         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16995         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16996         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16997         for explicit high bit of mantissa when testing for argument equal
16998         to 1.
16999         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
17000         * sysdeps/i386/fpu/libm-test-ulps: Update.
17001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17003         [BZ #16516]
17004         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
17005         (__erf): Scale by 16 instead of 8 in potentially underflowing
17006         case.  Ensure exception if result actually underflows.
17007         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
17008         (__erff): Scale by 16 instead of 8 in potentially underflowing
17009         case.  Ensure exception if result actually underflows.
17010         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
17011         (efx8): Remove variable.
17012         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17013         case.  Ensure exception if result actually underflows.
17014         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
17015         (efx8): Remove variable.
17016         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17017         case.  Ensure exception if result actually underflows.
17018         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
17019         (efx8): Remove variable.
17020         (__erfl): Scale by 16 instead of 8 in potentially underflowing
17021         case.  Ensure exception if result actually underflows.
17022         * math/auto-libm-test-in: Add more tests of erf.
17023         * math/auto-libm-test-out: Regenerated.
17025 2014-05-14  Andreas Schwab  <schwab@suse.de>
17027         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
17028         Remove code conditionalized on USE___THREAD.
17030         * config.h.in (HAVE_PT_CHOWN): Define as 0.
17031         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
17032         not definedness.
17034 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
17036         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
17037         Define unconditionally.
17038         (__ASSUME_O_CLOEXEC): Likewise.
17039         (__ASSUME_SOCK_CLOEXEC): Likewise.
17040         (__ASSUME_IN_NONBLOCK): Likewise.
17041         (__ASSUME_PIPE2): Likewise.
17042         (__ASSUME_EVENTFD2): Likewise.
17043         (__ASSUME_SIGNALFD4): Likewise.
17044         (__ASSUME_DUP3): Likewise.
17045         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17046         (__ASSUME_DUP3): Do not define.
17047         (__ASSUME_EVENTFD2): Likewise.
17048         (__ASSUME_IN_NONBLOCK): Likewise.
17049         (__ASSUME_O_CLOEXEC): Likewise.
17050         (__ASSUME_PIPE2): Likewise.
17051         (__ASSUME_SIGNALFD4): Likewise.
17052         (__ASSUME_SOCK_CLOEXEC): Likewise.
17053         (__ASSUME_UTIMES): Undefine.
17054         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17055         (__ASSUME_UTIMES): Do not define.
17056         (__ASSUME_O_CLOEXEC): Likewise.
17057         (__ASSUME_SOCK_CLOEXEC): Likewise.
17058         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
17059         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
17060         0x020621].
17061         (__ASSUME_PIPE2): Likewise.
17062         (__ASSUME_EVENTFD2): Likewise.
17063         (__ASSUME_SIGNALFD4): Likewise.
17064         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
17065         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
17066         Do not define.
17067         (__ASSUME_EVENTFD2): Likewise.
17068         (__ASSUME_SIGNALFD4): Likewise.
17069         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17070         (__ASSUME_32BITUIDS): Likewise.
17071         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
17072         (__ASSUME_IPC64): Likewise.
17073         (__ASSUME_ST_INO_64_BIT): Likewise.
17074         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
17075         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
17076         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17077         (__ASSUME_UTIMES): Do not define.
17078         (__ASSUME_PSELECT): Likewise.
17079         (__ASSUME_PPOLL): Likewise.
17080         (__ASSUME_O_CLOEXEC): Likewise.
17081         (__ASSUME_SOCK_CLOEXEC): Likewise.
17082         (__ASSUME_IN_NONBLOCK): Likewise.
17083         (__ASSUME_PIPE2): Likewise.
17084         (__ASSUME_EVENTFD2): Likewise.
17085         (__ASSUME_SIGNALFD4): Likewise.
17086         (__ASSUME_DUP3): Likewise.
17087         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17088         (__ASSUME_UTIMES): Likewise.
17089         (__ASSUME_O_CLOEXEC): Likewise.
17090         (__ASSUME_SOCK_CLOEXEC): Likewise.
17091         (__ASSUME_IN_NONBLOCK): Likewise.
17092         (__ASSUME_PIPE2): Likewise.
17093         (__ASSUME_EVENTFD2): Likewise.
17094         (__ASSUME_SIGNALFD4): Likewise.
17095         (__ASSUME_DUP3): Likewise.
17096         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17097         (__ASSUME_UTIMES): Likewise.
17098         (__ASSUME_O_CLOEXEC): Likewise.
17099         (__ASSUME_SOCK_CLOEXEC): Likewise.
17100         (__ASSUME_IN_NONBLOCK): Likewise.
17101         (__ASSUME_PIPE2): Likewise.
17102         (__ASSUME_EVENTFD2): Likewise.
17103         (__ASSUME_SIGNALFD4): Likewise.
17104         (__ASSUME_DUP3): Likewise.
17105         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
17106         Likewise.
17107         (__ASSUME_UTIMES): Likewise.
17108         (__ASSUME_EVENTFD2): Likewise.
17109         (__ASSUME_SIGNALFD4): Likewise.
17110         * sysdeps/unix/sysv/linux/tile/kernel-features.h
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         (__ASSUME_UTIMES): Undefine.
17120         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
17121         feclearexcept.  Remove symbol versioning code.
17122         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
17123         symbol versioning code.
17124         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
17125         symbol versioning code.
17126         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
17127         feupdateenv.  Remove symbol versioning code.
17128         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
17129         fegetexceptflag.  Remove symbol versioning code.
17130         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
17131         fesetexceptflag.  Remove symbol versioning code.
17132         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
17133         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
17134         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17135         (__posix_fadvise64_l32): Remove prototype.
17136         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17137         code.
17139 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17141         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17142         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17143         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17144         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17146 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
17148         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17149         current working directory
17151 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17153         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17154         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17155         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17156         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17157         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17158         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17159         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17160         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17161         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17162         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17163         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17164         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17165         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17166         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17167         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17168         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17169         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17170         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17171         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17172         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17173         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17174         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17175         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17176         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17177         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17178         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17179         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17180         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17181         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17182         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17183         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17184         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17185         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17186         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17187         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17188         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17189         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17190         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17191         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17192         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17193         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17194         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17196         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17197         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17199         * sysdeps/unix/sysv/linux/arm/Makefile
17200         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17201         Add rt-aeabi_unwind_cpp_pr1.
17202         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17203         Add nptl-aeabi_unwind_cpp_pr1.
17204         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17205         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17206         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17207         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17208         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17209         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17211         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17212         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17213         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17214         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17216         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17217         Deconditionalize the code that was previously under [RESET_PID].
17218         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17220         * sysdeps/generic/exit-thread.h: New file.
17221         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17222         * include/unistd.h (__exit_thread): Remove declaration.
17223         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17224         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17225         * csu/libc-start.c: Include <exit-thread.h>.
17226         (LIBC_START_MAIN): Pass no argument to __exit_thread.
17227         * nptl/pthread_create.c: Include <exit-thread.h>.
17228         (start_thread): Call __exit_thread in place of __exit_thread_inline.
17229         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17230         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17231         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17232         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17233         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17234         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17235         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17236         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17237         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17238         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17239         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17240         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17241         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17242         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17243         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17244         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17246 2014-05-13  Andreas Schwab  <schwab@suse.de>
17248         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17250 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
17252         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17253         (__ASSUME_UTIMES): Do not condition on kernel version.
17254         (__ASSUME_PSELECT): Define unconditionally.
17255         (__ASSUME_PPOLL): Likewise.
17256         (__ASSUME_ATFCTS): Likewise.
17257         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17258         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17259         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17260         (__ASSUME_UTIMENSAT): Define unconditionally.
17261         (__ASSUME_PRIVATE_FUTEX): Likewise.
17262         (__ASSUME_FALLOCATE): Likewise.
17263         (__ASSUME_O_CLOEXEC): Likewise.
17264         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17265         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17266         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17267         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17268         (__ASSUME_IN_NONBLOCK): Likewise.
17269         (__ASSUME_PIPE2): Likewise.
17270         (__ASSUME_EVENTFD2): Likewise.
17271         (__ASSUME_SIGNALFD4): Likewise.
17272         (__ASSUME_DUP3): Likewise.
17273         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17274         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17275         (__ASSUME_AT_RANDOM): Likewise.
17276         (__ASSUME_PREADV): Likewise.
17277         (__ASSUME_PWRITEV): Likewise.
17278         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17279         (__ASSUME_F_GETOWN_EX): Define unconditionally.
17280         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17281         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17282         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17283         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17284         (__ASSUME_O_CLOEXEC): Define unconditionally.
17285         (__ASSUME_PSELECT): Do not undefine conditionally.
17286         (__ASSUME_PPOLL): Likewise.
17287         (__ASSUME_ATFCTS): Likewise.
17288         (__ASSUME_SET_ROBUST_LIST): Likewise.
17289         (__ASSUME_UTIMENSAT): Likewise.
17290         (__ASSUME_FDATASYNC): Define unconditionally.
17291         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17292         (__ASSUME_SIGFRAME_V2): Likewise.
17293         )__ASSUME_EVENTFD2): Likewise.
17294         (__ASSUME_SIGNALFD4): Likewise.
17295         (__ASSUME_PSELECT): Do not undefine conditionally.
17296         (__ASSUME_PPOLL): Likewise.
17297         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17298         (__ASSUME_PSELECT): Define unconditionally.
17299         (__ASSUME_PPOLL): Likewise.
17300         (__ASSUME_O_CLOEXEC): Likewise.
17301         (__ASSUME_SOCK_CLOEXEC): Likewise.
17302         (__ASSUME_IN_NONBLOCK): Likewise.
17303         (__ASSUME_PIPE2): Likewise.
17304         (__ASSUME_EVENTFD2): Likewise.
17305         (__ASSUME_SIGNALFD4): Likewise.
17306         (__ASSUME_DUP3): Likewise.
17307         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17308         (__ASSUME_O_CLOEXEC): Likewise.
17309         (__ASSUME_SOCK_CLOEXEC): Likewise.
17310         (__ASSUME_IN_NONBLOCK): Likewise.
17311         (__ASSUME_PIPE2): Likewise.
17312         (__ASSUME_EVENTFD2): Likewise.
17313         (__ASSUME_SIGNALFD4): Likewise.
17314         (__ASSUME_DUP3): Likewise.
17315         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17316         (__ASSUME_EVENTFD2): Likewise.
17317         (__ASSUME_SIGNALFD4): Likewise.
17318         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17320 2014-05-12  Andreas Schwab  <schwab@suse.de>
17322         [BZ #16932]
17323         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17324         (_nss_nis_gethostbyname4_r): Return error if item length is larger
17325         than maximum RPC packet size.
17326         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17327         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17328         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17329         (_nss_nis_getservbyport_r): Likewise.
17331 2014-05-12  Will Newton  <will.newton@linaro.org>
17333         * malloc/Makefile (tests): Add tst-mallopt.
17334         * malloc/tst-mallopt.c: New file.
17336 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17338         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17339         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17341 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17343         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17344         (tst-tlsmod6.so): Likewise.
17346 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17348         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17350 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
17352         [BZ #16064]
17353         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17354         and <dl-procinfo.h>.
17355         (__fegetenv): Save SSE state in envp->__eip if supported.
17356         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17357         envp->__eip if supported.
17358         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17359         and <dl-procinfo.h>.
17360         (__fesetenv): Always set __eip, __cs_selector, __opcode,
17361         __data_offset and __data_selector in environment to 0.  Set SSE
17362         state if supported.
17363         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17364         test-fenv-sse.
17365         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17366         -mfpmath=sse.
17367         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17369 2014-05-09  Will Newton  <will.newton@linaro.org>
17371         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17372         and libc_relro_required for ARM.
17373         * sysdeps/arm/preconfigure: Regenerate.
17375 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
17376             Stefan Liebler  <stli@linux.vnet.ibm.com>
17378         * config.make.in (enable-lock-elision): New Makefile variable.
17379         * configure.ac: Likewise.
17380         * configure: Regenerate.
17381         * sysdeps/s390/configure.ac:
17382         Add check for gcc transactions support.
17383         * sysdeps/s390/configure: Regenerate.
17384         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17385         Build elision files if enabled.
17386         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17387         Add lock elision support for s390.
17388         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17389         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17390         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17391         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17392         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17393         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17394         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17395         Likewise.
17396         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17397         Likewise.
17398         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17399         Likewise.
17400         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17401         Likewise.
17402         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17403         (__lll_timedlock_elision, __lll_lock_elision)
17404         (__lll_unlock_elision, __lll_trylock_elision)
17405         (lll_timedlock_elision, lll_lock_elision)
17406         (lll_unlock_elision, lll_trylock_elision): Add.
17407         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17408         (pthread_mutex_t): Add lock elision support for s390.
17410 2014-05-14  Wilco  <wdijkstr@arm.com>
17412         * sysdeps/arm/fclrexcpt.c: Cleanup.
17413         * sysdeps/arm/fedisblxcpt.c: Cleanup.
17414         * sysdeps/arm/feenablxcpt.c: Cleanup.
17415         * sysdeps/arm/fegetenv.c: Cleanup.
17416         * sysdeps/arm/fegetexcept.c: Cleanup.
17417         * sysdeps/arm/fegetround.c: Cleanup.
17418         * sysdeps/arm/feholdexcpt.c: Cleanup.
17419         * sysdeps/arm/fesetenv.c: Cleanup.
17420         * sysdeps/arm/fesetround.c: Cleanup.
17421         * sysdeps/arm/feupdateenv.c: Cleanup.
17422         * sysdeps/arm/fgetexcptflg.c: Cleanup.
17423         * sysdeps/arm/fraiseexcpt.c: Cleanup.
17424         * sysdeps/arm/fsetexcptflg.c: Cleanup.
17425         * sysdeps/arm/ftestexcept.c: Cleanup.
17426         * sysdeps/arm/get-rounding-mode.h: Cleanup.
17427         * sysdeps/arm/setfpucw.c: Cleanup.
17429 2014-05-09  Will Newton  <will.newton@linaro.org>
17431         * sysdeps/arm/armv7/strcmp.S: New file.
17432         * NEWS: Mention addition of ARMv7 optimized strcmp.
17434 2014-05-08  Roland McGrath  <roland@hack.frob.com>
17436         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17437         look for %.ac rather than %.in.
17439         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17440         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17441         * sysdeps/mach/hurd/configure: Regenerated.
17442         * sysdeps/unix/sysv/linux/configure: Regenerated.
17444         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17446 2014-05-07  Steve Ellcey  <sellcey@mips.com>
17448         [BZ# 16922]
17449         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17450         (LONG_SUB): Ditto.
17451         (PTR_SUB): Ditto.
17453 2014-05-07  Andreas Schwab  <schwab@suse.de>
17455         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17456         when skipping over non-matching result from nscd.
17458 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
17460         [BZ #16876]
17461         * nptl/sockperf.c (client): Check socket return value.
17463         [BZ #16877]
17464         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17465         nscd security class.
17467 2014-05-06  Roland McGrath  <roland@hack.frob.com>
17469         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17470         * sysdeps/arm/unwind.h: ... here.
17472 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
17474         [BZ# 16916]
17475         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17476         Define.
17478 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17480         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17481         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17482         multiarch strncpy for PPC64.
17483         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17484         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17485         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17486         multiarch optimizations.
17487         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17488         (__libc_ifunc_impl_list): Likewise.
17489         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17490         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17491         multiarch stpncpy for PPC64.
17492         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17493         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17495 2014-05-06  Andreas Schwab  <schwab@suse.de>
17497         [BZ #16912]
17498         * gmon/mcount.c (_MCOUNT_DECL): Use
17499         atomic_compare_and_exchange_bool_acq instead of
17500         catomic_compare_and_exchange_bool_acq.
17502 2014-05-05  Roland McGrath  <roland@hack.frob.com>
17504         * elf/Makefile (others, install-bin): Remove pldd.
17505         (pldd-modules): Variable removed.
17506         ($(objpfx)pldd): Target removed.
17507         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17508         (others, install-bin): Append pldd here.
17509         ($(objpfx)pldd): New target.
17511         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17512         to 0, so the first #if test emitted later doesn't see it undefined.
17513         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17514         * sysdeps/gnu/errlist.c: Regenerated.
17516 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17518         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17519         [libc_hidden_builtin_def]: Define to empty value.
17520         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17521         [libc_hidden_builtin_def]: Likewise.
17522         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17523         [libc_hidden_builtin_def]: Likewise.
17524         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17525         [libc_hidden_builtin_def]: Likewise.
17526         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17527         __redirect_memcpy and define ifunc as default hidden symbol.
17528         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17529         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17531 2014-05-04  Adam Conrad  <adconrad@0c3.net>
17533         * locale/iso-4217.def: Reintroduce XDR currency.
17535 2014-05-04  Allan McRae  <allan@archlinux.org>
17537         * po/eo.po: Update Esperanto translation from translation project.
17539 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
17541         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17542         and FEATURE_INDEX_MAX to 1.
17543         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17545 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17547         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17548         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17549         * iconvdata/big5.c (ONE_DIRECTION): Define.
17550         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17551         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17552         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17553         * iconvdata/cp932.c (ONE_DIRECTION): Define.
17554         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17555         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17556         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17557         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17558         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17559         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17560         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17561         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17562         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17563         * iconvdata/gbk.c (ONE_DIRECTION): Define.
17564         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17565         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17566         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17567         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17568         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17569         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17570         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17571         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17572         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17573         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17574         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17575         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17576         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17577         * iconvdata/iso646.c (ONE_DIRECTION): Define.
17578         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17579         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17580         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17581         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17582         * iconvdata/johab.c (ONE_DIRECTION): Define.
17583         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17584         * iconvdata/sjis.c (ONE_DIRECTION): Define.
17585         * iconvdata/t.61.c (ONE_DIRECTION): Define.
17586         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17587         * iconvdata/tscii.c (ONE_DIRECTION): Define.
17588         * iconvdata/uhc.c (ONE_DIRECTION): Define.
17589         * iconvdata/unicode.c (ONE_DIRECTION): Define.
17590         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17591         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17592         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17594 2014-05-01  Roland McGrath  <roland@hack.frob.com>
17596         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17597         (_IO_JUMPS_OFFSET): Define to 0.
17599         * nptl/sysdeps/pthread/bits/libc-lock.h
17600         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17601         (__libc_lock_define_initialized_recursive): Always define using
17602         initializer.  Modern compilers treat uninitialized (implicit zero) and
17603         explicit zero initializers the same (i.e. put the datum in bss).
17605 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17607         * nscd/nscd-client.h: Include <string.h>.
17609 2014-05-01  David S. Miller  <davem@davemloft.net>
17611         [BZ #16885]
17612         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17613         multiple zero bytes exist at the end of a string.
17614         Reported by Aurelien Jarno <aurelien@aurel32.net>
17616         * string/test-strcmp.c (check): Add explicit test for situations where
17617         there are multiple zero bytes after the first.
17619 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17621         [BZ #16890]
17622         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17623         when compiling wprintf.
17624         * stdio-common/tstdiomisc.c (t3): New function.
17625         (main): Call it.
17627 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17629         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17630         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17631         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17632         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17634 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17636         * stdlib/longlong.h: Updated from GCC.
17638 2014-05-01  Will Newton  <will.newton@linaro.org>
17639             Bernard Ogden  <bernie.ogden@linaro.org>
17641         * NEWS: Update fixed bug list.
17643         [BZ #15119]
17644         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17646 2014-04-30  David S. Miller  <davem@davemloft.net>
17648         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17649         (libc_feholdexcept_setround_sparc_ctx): New function.
17650         (libc_fesetenv_sparc_ctx): Likewise.
17651         (libc_feupdateenv_sparc_ctx): Likewise.
17652         (libc_feholdsetround_sparc_ctx): Likewise.
17653         (libc_feholdexcept_setround_ctx): Define.
17654         (libc_feholdexcept_setroundf_ctx): Likewise.
17655         (libc_feholdexcept_setroundl_ctx): Likewise.
17656         (libc_fesetenv_ctx): Likewise.
17657         (libc_fesetenvf_ctx): Likewise.
17658         (libc_fesetenvl_ctx): Likewise.
17659         (libc_feupdateenv_ctx): Likewise.
17660         (libc_feupdateenvf_ctx): Likewise.
17661         (libc_feupdateenvl_ctx): Likewise.
17662         (libc_feresetround_ctx): Likewise.
17663         (libc_feresetroundf_ctx): Likewise.
17664         (libc_feresetroundl_ctx): Likewise.
17665         (libc_feholdsetround_ctx): Likewise.
17666         (libc_feholdsetroundf_ctx): Likewise.
17667         (libc_feholdsetroundl_ctx): Likewise.
17669         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17670         with __USE_GNU instead of XOPEN cpp guards.
17672         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17673         0.
17675         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17676         with XOPEN cpp guards.
17678 2014-04-30  Julian Brown  <julian@codesourcery.com>
17680         [BZ #16888]
17681         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17682         handling.
17684 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
17686         [BZ #9894]
17687         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17688         Change to 2.6.32.
17689         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17690         * sysdeps/unix/sysv/linux/configure: Regenerated.
17691         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17692         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17693         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17694         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17695         * README: Update reference to required Linux kernel version.
17696         * manual/install.texi (Linux): Update reference to required Linux
17697         kernel headers version.
17698         * INSTALL: Regenerated.
17700         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17701         header inclusion.
17702         [POSIX] (limits.h): Likewise.
17703         [POSIX] (math.h): Likewise.
17704         [POSIX] (sys/wait.h): Likewise.
17705         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17706         function.
17707         [POSIX] (stddef.h): Do not allow header inclusion.
17709 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17711         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17713 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
17715         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17716         Return immediately after lll_futex_wake.
17718 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17720         [BZ #16791]
17721         * nscd/nscd-client.h (datahead_init_common): Initialize entire
17722         structure.
17723         (datahead_init_pos): Call datahead_init_common early.
17724         (datahead_init_neg): Likewise.
17726         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17727         datahead_init_neg): New functions.
17728         * nscd/aicache.c (addhstaiX): Use them.
17729         * nscd/grpcache.c (cache_addgr): Likewise.
17730         * nscd/hstcache.c (cache_addhst): Likewise.
17731         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17732         * nscd/netgroupcache.c (do_notfound): Likewise.
17733         (addgetnetgrentX): Likewise.
17734         (addinnetgrX): Likewise.
17735         * nscd/pwdcache.c (cache_addpw): Likewise.
17736         * nscd/servicescache.c (cache_addserv): Likewise.
17738 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17739             Atsushi Onoe  <atsushi@onoe.org>
17741         [BZ #14308]
17742         [BZ #12994]
17743         [BZ #13651]
17744         * resolv/res_query.c (__libc_res_nsearch): Return if at least
17745         one response is valid.
17746         * resolv/res_send.c (send_dg): Check for validity of other
17747         response if the current response is a referral.
17749 2014-04-29  Steve Ellcey  <sellcey@mips.com>
17751         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17753 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
17755         [BZ #16823]
17756         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17757         Always divide by positive zero when computing -Inf result.
17758         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17759         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17761 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17763         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17764         FPSCR if value do not change.
17765         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17766         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17767         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17768         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17769         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17770         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17771         function.
17773 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
17775         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17776         * sysdeps/unix/sysv/linux/hppa: Move directory from
17777         ports/systeps/unix/sysv/linux/hppa.
17778         * README: Update listing for hppa-*-linux-gnu.
17780 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
17782         [BZ #16754]
17783         * manual/stdio.texi (Hook functions): Fix types of stream hook
17784         functions.
17785         [BZ #16854]
17786         * socket/sys/socket.h: Fix typo in comment.
17788 2014-04-28  Wilco  <wdijkstr@arm.com>
17790         * sysdeps/arm/fenv_private.h: New file.
17791         * sysdeps/arm/math_private.h: New file.
17792         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17794 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
17796         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17797         with __int128_t.
17798         (La_x86_64_retval): Likewise.
17800 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
17802         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17803         fpsr if value didn't change.
17804         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17805         to fpcr if value didn't change.
17806         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17807         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17808         fpsr or fpcr if value didn't change.
17809         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17810         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17811         fpcr if value didn't change.
17812         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17813         to fpsr if value didn't change.
17815 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17817         * nptl/tst-sem3.c: Use test-skeleton.c
17818         (main): Rename to do_test.  Use return instead of
17819         exit.
17820         * nptl/tst-sem4.c: Use test-skeleton.c
17821         (main): Rename to do_test.
17823 2014-04-22  David S. Miller  <davem@davemloft.net>
17825         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17826         (struct sigaction): New struct member __glibc_reserved0, change
17827         type of sa_flags to int.
17829 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
17831         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17832         (COUNT_LEADING_ZEROS_0): Define for AArch64.
17834 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17836         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17837         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17839 2014-04-22  Will Newton  <will.newton@linaro.org>
17840             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
17842         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17843         (__longjmp): Add longjmp and longjmp_target SystemTap
17844         probes.
17845         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17846         (__sigsetjmp): Add setjmp SystemTap probe.
17848 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
17850         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17851         match manual order.
17853 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17855         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17857         * sysdeps/powerpc/fpu/fenv_private.h
17858         (libc_feholdexcept_setroundl_ctx): Define to
17859         libc_feholdexcept_setround_ppc_ctx.
17860         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17861         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17862         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17863         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17865 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17867         * sysdeps/aarch64/math-tests.h: New file.
17869 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
17871         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17872         New.
17873         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17874         Check and set bit_AVX2_Usable.
17875         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17876         macro.
17877         (bit_AVX2): Likewise.
17878         (index_AVX2_Usable): Likewise.
17879         (CPUID_AVX2): Likewise.
17880         (HAS_AVX2): Likewise.
17882 2014-04-17  Will Newton  <will.newton@linaro.org>
17884         * manual/setjmp.texi (System V contexts): Add note that
17885         calling setcontext on a context created by a call to a
17886         signal handler is undefined.  Update text to note that
17887         setcontext from a signal handler is possible but not
17888         recommended.
17890         [BZ #16629]
17891         * stdlib/tst-setcontext.c: Include signal.h.
17892         (main): Check that the signal stack before and
17893         after swapcontext is the same.
17895         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17896         Re-implement to restore registers in user code and avoid
17897         rt_sigreturn system call.
17899 2014-04-17  Wilco  <wdijkstr@arm.com>
17901         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17902         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17903         * math/test-fenv.c: Skip exception trap tests on targets which only
17904         support non-stop mode.
17906 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17907             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17909         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17910         (libc_feholdsetround_aarch64_ctx)
17911         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17912         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17913         (libc_feresetround_ctx, libc_feresetroundf_ctx)
17914         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17915         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17916         (libc_feresetround_noexl_ctx): Define.
17918 2014-04-16  Richard Henderson  <rth@redhat.com>
17920         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17922         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17923         unwind tables.
17925         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17926         const from the non-libc, non-ldso copy.
17928         * sysdeps/alpha/libm-test-ulps: Regenerate.
17930 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
17931             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17933         * sysdeps/aarch64/fpu/math_private.h: New file.
17935 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17937         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17939 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
17941         [BZ #16275]
17942         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17943         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17944         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17945         Intel MPX bound registers before _dl_profile_fixup.
17946         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17947         registers after _dl_profile_fixup.  Save and restore bound
17948         registers bnd0/bnd1 when calling _dl_call_pltexit.
17949         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17950         (LR_BND_OFFSET): Likewise.
17951         (LRV_BND0_OFFSET): Likewise.
17952         (LRV_BND1_OFFSET): Likewise.
17954 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17956         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17957         to...
17958         * sysdeps/mach/hurd/i386/tls.h: ... here.
17959         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17960         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17961         fields.
17963 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17965         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17967 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17969         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17971 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17973         [BZ #14770]
17974         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17975         * sysdeps/s390/configure: Regenerate.
17977         [BZ #16824]
17978         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17979         Set round-to-nearest internally to reduce error accumulation.
17981 2014-04-16  Alan Modra  <amodra@gmail.com>
17983         [BZ #16740]
17984         [BZ #16619]
17985         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17986         * math/libm-test.inc (frexp_test_data): Add tests.
17987         * NEWS: Update fixed bug list.
17989 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17991         * benchtests/Makefile: Depend on libraries in build directory.
17992         (bench-math): Separate out math tests.
17993         (bench-pthread): Separate out pthread tests.
17994         (bench): Include math and pthread tests.
17996 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
17998         [BZ #16831]
17999         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
18000         _dl_debug_initialize.
18002         * configure.ac: Remove SELinux header check.
18003         * configure: Regenerate.
18004         * nscd/selinux.c (perms): Array of const char* to permission names.
18005         (nscd_request_avc_has_perm): Call security_deny_unknown to find
18006         default policy. Call string_to_security_class and string_to_av_perm to
18007         translate strings. Enforce default policy and call avs_has_perm with
18008         results of translated strings.
18010 2014-04-13  David S. Miller  <davem@davemloft.net>
18012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18014 2014-04-12  Allan McRae  <allan@archlinux.org>
18016         [BZ #16838]
18017         * manual/string.texi (Collation Functions): Fix qsort argument
18018         order in example.
18019         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18021 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
18023         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
18024         Make the test a no-op if there are no exceptions defined.
18026 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18028         * elf/Makefile (tests): make tst-dlopen-aout conditional on
18029         enable-hardcoded-path-in-tests
18031 2014-04-11  Will Newton  <will.newton@linaro.org>
18033         * benchtests/Makefile (extra-objs): Add json-lib.o.
18034         (bench-func): Tidy up JSON output.
18035         * benchtests/bench-skeleton.c: Include json-lib.h.
18036         (main): Use JSON library functions to do output of
18037         benchmark results.
18038         * benchtests/bench-timing-type.c (main): Output the
18039         timing type simply, leaving formatting to the user.
18040         * benchtests/json-lib.c: New file.
18041         * benchtests/json-lib.h: Likewise.
18043 2014-04-11  Torvald Riegel  <triegel@redhat.com>
18045         [BZ #15215]
18046         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
18047         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
18048         memory barriers.  Add comments.
18049         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
18050         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
18051         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
18052         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
18053         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
18054         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
18056 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18058         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
18059         * sysdeps/s390/s390-64/configure.ac: ... this ...
18060         * sysdeps/s390/configure.ac: ... to here.
18061         * sysdeps/s390/s390-32/configure: Delete file.
18062         * sysdeps/s390/s390-64/configure: Delete file.
18063         * sysdeps/s390/configure: Regenerate.
18065 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
18067         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
18069 2014-04-11  Will Newton  <will.newton@linaro.org>
18071         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
18072         to zero if it is not defined elsewhere.  (mtrim): Test
18073         the value of MALLOC_DEBUG with #if rather than #ifdef.
18075 2014-04-10 Torvald Riegel  <triegel@redhat.com>
18077         * benchtests/pthread_once-inputs: New file.
18078         * benchtests/pthread_once-source.c: New file.
18079         * benchtests/README: Update documentation.
18081 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
18082             H.J. Lu  <hongjiu.lu@intel.com>
18084         [BZ #16275]
18085         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
18086         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
18087         * sysdeps/x86_64/configure: Regenerated.
18088         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
18089         macro.
18090         (REGISTER_SAVE_RAX): Likewise.
18091         (REGISTER_SAVE_RCX): Likewise.
18092         (REGISTER_SAVE_RDX): Likewise.
18093         (REGISTER_SAVE_RSI): Likewise.
18094         (REGISTER_SAVE_RDI): Likewise.
18095         (REGISTER_SAVE_R8): Likewise.
18096         (REGISTER_SAVE_R9): Likewise.
18097         (REGISTER_SAVE_BND0): Likewise.
18098         (REGISTER_SAVE_BND1): Likewise.
18099         (REGISTER_SAVE_BND2): Likewise.
18100         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
18101         bound registers when calling _dl_fixup.
18103 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18105         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
18106         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
18107         of its definition.
18108         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
18109         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
18110         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
18111         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
18112         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
18113         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
18114         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
18116 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
18118         [BZ #15514]
18119         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
18120         pathconf(_PC_NAME_MAX).
18122 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18124         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
18125         Remove macro usage.
18126         (__PTHREAD_SPINS): Move definition to ...
18127         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18128         (__PTHREAD_SPINS): ... here.
18129         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18130         (__PTHREAD_SPIN): Likewise.
18131         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
18132         (__PTHREAD_SPIN): Likewise.
18133         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
18134         (__PTHREAD_SPIN): Likewise.
18135         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18136         (__PTHREAD_SPIN): Likewise.
18137         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18138         (__PTHREAD_SPIN): Likewise.
18139         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18140         (__PTHREAD_SPIN): Likewise.
18141         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18142         (__PTHREAD_SPIN): Likewise.
18143         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18144         (__PTHREAD_SPIN): Likewise.
18145         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18146         (__PTHREAD_SPIN): Likewise.
18147         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18148         (__PTHREAD_SPIN): Likewise.
18149         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18150         (__PTHREAD_SPIN): Likewise.
18151         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18152         (__PTHREAD_SPIN): Likewise.
18154         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18155         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18156         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18157         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18158         imply folder.
18159         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18160         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18161         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18162         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18163         correct imply path.
18164         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18165         strlen symbol for non multi-arch builds.
18166         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18167         missing hidden_def and weak_alias.
18169 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
18171         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18173 2014-04-07  Will Newton  <will.newton@linaro.org>
18175         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18176         and contents.  [!_LIBC] Remove #ifndef and contents.
18177         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
18178         * string/memccpy.c (__memccpy): Use ANSI prototype.
18179         * string/memfrob.c (memfrob): Likewise.
18180         * string/strcoll.c (STRCOLL): Likewise.
18181         * string/strlen.c (strlen): Likewise.
18182         * string/strtok.c (STRTOK): Likewise.
18183         * string/strcat.c: Remove unused #include of memcopy.h.
18184         (strcat): Use ANSI prototype.
18185         * string/strchr.c: Remove unused #include of memcopy.h.
18186         (strchr): Use ANSI prototype.
18187         * string/strcmp.c: Remove unused #include of memcopy.h.
18188         (strcmp): Use ANSI prototype.
18189         * string/strcpy.c: Remove unused #include of memcopy.h.
18190         (strcpy): Use ANSI prototype.
18192 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18194         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18195         * config.make.in (config-extra-cppflags): Set it from
18196         libc_extra_cppflags.
18197         * configure.ac (libc_extra_cflags): Make it accumulate over
18198         configure fragments.
18199         (libc_extra_cppflags): New flag.
18200         * configure. Regenerate.
18201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18202         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18203         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18206         [BZ #16815]
18207         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18208         result for FE_DOWNWARD rounding mode.
18209         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18210         Likewise.
18211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18213 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
18215         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18216         in function argument name.
18218 2014-04-03  David Svoboda  <svoboda@cert.org>
18220         [BZ #5666]
18221         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18222         explicitly.
18224 2014-04-03  Roland McGrath  <roland@hack.frob.com>
18226         * elf/dl-unmap-segments.h: New file.
18227         * sysdeps/generic/ldsodefs.h
18228         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18229         * elf/dl-close.c: Include <dl-unmap-segments.h>.
18230         * elf/dl-fptr.c: Likewise.
18231         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18232         * sysdeps/aarch64/tlsdesc.c: Likewise.
18233         * sysdeps/arm/tlsdesc.c: Likewise.
18234         * sysdeps/i386/tlsdesc.c: Likewise.
18235         * sysdeps/tile/dl-runtime.c: Likewise.
18236         * sysdeps/x86_64/tlsdesc.c: Likewise.
18237         * elf/dl-load.h: New file.
18238         * elf/dl-load.c: Include it.
18239         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18240         Macros moved to dl-load.h.
18241         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18242         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18243         Use _dl_unmap_segments in place of __munmap.
18244         Break out segment-mapping loop into ...
18245         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18247 2014-04-03  Will Newton  <will.newton@linaro.org>
18249         * elf/dl-lookup.c (do_lookup_x): Remove comment
18250         referring to nested function and move variable
18251         declarations down to before first use.
18253 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
18255         [BZ #16799]
18256         [BZ #16800]
18257         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18258         with 0 numerator.
18259         * math/s_catanf.c (__catanf): Likewise.
18260         * math/s_catanh.c (__catanh): Likewise.
18261         * math/s_catanhf.c (__catanhf): Likewise.
18262         * math/s_catanhl.c (__catanhl): Likewise.
18263         * math/s_catanl.c (__catanl): Likewise.
18264         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18265         by positive zero when computing -Inf result.
18266         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18267         (catanh_test): Likewise.
18268         * sysdeps/i386/fpu/libm-test-ulps: Update.
18269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18271         [BZ #16789]
18272         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18273         instead of using underflowing value in computing result.
18274         * math/s_clog10.c (__clog10): Likewise.
18275         * math/s_clog10f.c (__clog10f): Likewise.
18276         * math/s_clog10l.c (__clog10l): Likewise.
18277         * math/s_clogf.c (__clogf): Likewise.
18278         * math/s_clogl.c (__clogl): Likewise.
18279         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18280         (clog10_test): Likewise.
18281         * sysdeps/i386/fpu/libm-test-ulps: Update.
18282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18284 2014-04-02  Alan Modra  <amodra@gmail.com>
18286         [BZ #16739]
18287         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18288         output when value is near a power of two.  Use int64_t for lx and
18289         remove casts.  Use decimal rather than hex exponent constants.
18290         Don't use long double multiplication when double will suffice.
18291         * math/libm-test.inc (nextafter_test_data): Add tests.
18292         * NEWS: Add 16739 and 16786 to bug list.
18294         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18296         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18298 2014-04-01  Will Newton  <will.newton@linaro.org>
18300         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18301         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
18303 2014-04-01  Florian Weimer  <fweimer@redhat.com>
18305         [BZ #13347]
18306         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18307         * nptl/tst-setuid2.c: New file.
18308         * nptl/Makefile (xtests): Add tst-setuid2.
18310 2014-04-01  Alan Modra  <amodra@gmail.com>
18312         [BZ #16786]
18313         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18315 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18317         [BZ #6803]
18318         [BZ #6804]
18319         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18320         set errno as appropriate.
18321         * math/w_scalbf.c (__scalbf): Likewise.
18322         * math/w_scalbl.c (__scalbl): Likewise.
18323         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18324         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18325         * math/libm-test.inc (scalb_test_data): Add errno expectations.
18326         Add more NaN tests.
18328         [BZ #16349]
18329         * math/w_atan2.c: Include <errno.h>.
18330         (__atan2): Set errno for result underflowing to zero.
18331         * math/w_atan2f.c: Include <errno.h>.
18332         (__atan2f): Set errno for result underflowing to zero.
18333         * math/w_atan2l.c: Include <errno.h>.
18334         (__atan2l): Set errno for result underflowing to zero.
18335         * math/auto-libm-test-in: Don't allow missing errno for some atan2
18336         tests.
18337         * math/auto-libm-test-out: Regenerated.
18339 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18341         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18342         Encode instruction correctly in little endian.
18343         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18344         Likewise.
18345         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18346         Likewise.
18347         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18348         Likewise.
18349         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18350         Likewise.
18352 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18354         [BZ #9894]
18355         * sysdeps/unix/sysv/linux/kernel-features.h
18356         [__sparc__ && !__arch64__ && !__sparc_v9__]
18357         (__ASSUME_SET_ROBUST_LIST): Do not define.
18358         [__sparc__ && !__arch64__ && !__sparc_v9__]
18359         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18360         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18361         Likewise.
18362         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18363         (__ASSUME_FUTEX_LOCK_PI): Undefine.
18364         (__ASSUME_REQUEUE_PI): Likewise.
18365         (__ASSUME_SET_ROBUST_LIST): Likewise.
18366         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18367         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18368         Undefine.
18369         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18370         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18371         Likewise.
18372         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18373         Likewise.
18374         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18375         Likewise.
18376         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18377         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18378         Undefine.
18379         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18380         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18381         Likewise.
18383         [BZ #16648]
18384         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18385         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18386         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18388 2014-03-31  Will Newton  <will.newton@linaro.org>
18390         * benchtests/Makefile (bench): Add ffs and ffsll to list
18391         of tests.
18392         * benchtests/ffs-inputs: New file.
18393         * benchtests/ffsll-inputs: Likewise.
18395 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
18397         [BZ #16770]
18398         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18399         too large before casting to int.
18400         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18401         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18402         * math/libm-test.inc (scalb_test_data): Add more tests.
18404 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18406         * benchtests/Makefile (DETAILED_OPT): New make option.
18407         (bench-func): Run benchmark program with -d if DETAILED_OPT is
18408         set.
18409         * benchtests/bench-skeleton.c: Include stdbool.h.
18410         (main): Store and print timings per input.
18411         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18412         member to each argument value.
18413         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18414         (_print_arg_data): Initialize per-input timing to 0.
18416         * benchtests/Makefile (timing-type): New binary.
18417         (bench-clean): Also remove bench-timing-type.
18418         (bench): New target for timing-type.
18419         (bench-func): Print output in JSON format.
18420         * benchtests/bench-skeleton.c (main): Print output in JSON
18421         format.
18422         * benchtests/bench-timing-type.c: New file.
18423         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18424         (TIMING_PRINT_STATS): Remove.
18425         * benchtests/scripts/bench.py (_print_arg_data): Store variant
18426         name separately.
18428         * benchtests/bench-modf.c: Remove.
18429         * benchtests/modf-inputs: New inputs file.
18431 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
18433         [BZ #16362]
18434         * math/s_clog10.c (M_PI_LOG10E): New macro.
18435         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18436         imaginary parts are 0.
18437         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18438         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18439         imaginary parts are 0.
18440         * math/s_clog10l.c (M_PI_LOG10El): New macro.
18441         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18442         imaginary parts are 0.
18443         * math/libm-test.inc (clog10_test_data): Update expected results
18444         for when real and imaginary parts are 0.
18446 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
18448         * elf/dl-load.c: Finish conversion of __builtin_expect into
18449         __glibc_{un}likely.
18451 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
18453         [BZ #16348]
18454         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18455         1+x for argument with exponent below -67.
18456         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18457         Likewise.
18458         * math/auto-libm-test-in: Add more tests of exp.
18459         * math/auto-libm-test-out: Regenerated.
18461 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18463         [BZ #16759]
18464         * inet/getnetgrent_r.c (get_nonempty_val): New function.
18465         (nscd_getnetgrent): Use it.
18467         [BZ #16760]
18468         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18469         of stpcpy.
18471 2014-03-27  Andi Kleen  <ak@linux.intel.com>
18473         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18474         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18475         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18476         (lll_robust_unlock): Remove out of line section. Use cfi
18477         intrinsics.
18478         (LLL_STUB_UNWIND_INFO*): Remove.
18479         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18480         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18481         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18482         (lll_robust_unlock): Remove out of line section. Use cfi
18483         intrinsics.
18484         (LLL_STUB_UNWIND_INFO*): Remove.
18486 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18488         [BZ #16758]
18489         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18490         blank values.
18492 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
18494         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18496 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
18498         [BZ #16198]
18499         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18500         fnstenv.
18501         * math/test-fenv-preserve.c: New file.
18502         * math/Makefile (tests): Add test-fenv-preserve.
18504 2014-03-26  Will Newton <will.newton@linaro.org>
18506         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18508 2014-03-25  Roland McGrath  <roland@hack.frob.com>
18510         * scripts/versionlist.awk: Partition the version sets and emit all
18511         GLIBC_* (sorted) before all others (sorted).
18513 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18515         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18516         GLIBC_2.2.5 version.
18518 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18520         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18521         calls.
18523         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18524         previous change.
18526         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18528 2014-03-25  Andreas Schwab  <schwab@suse.de>
18530         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18531         label to be used after in6ailist is initialized.
18533 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18535         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18536         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18538 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18540         [BZ #16357]
18541         [BZ #16599]
18542         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18543         min_plus_half.
18544         (fp_formats): Update initializers.
18545         (init_fp_formats): Initialize new field.
18546         (output_for_one_input_case): Allow underflow for results up to
18547         min_plus_half.
18548         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18549         * math/auto-libm-test-in: Don't mark some underflows from asin and
18550         atanh as spurious.
18551         * math/auto-libm-test-out: Regenerated.
18552         * sysdeps/i386/fpu/libm-test-ulps: Update.
18553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18555 2014-03-25  Andreas Schwab  <schwab@suse.de>
18557         * libio/Makefile (tst-ftell-partial-wide-ENV)
18558         (tst-ftell-active-handler-ENV): Define.
18560 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
18562         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18564 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18566         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18568 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18570         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18571         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18572         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18574 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18576         [BZ #16634]
18577         * elf/dl-load.c (open_verify): Add mode parameter.
18578         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18579         (open_path): Change from boolean 'secure' to complete flag 'mode'
18580         (_dl_map_object): Adjust.
18581         * elf/Makefile (tests): Add tst-dlopen-aout.
18582         * elf/tst-dlopen-aout.c: New test.
18584 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
18586         [BZ #16714]
18587         * sysdeps/unix/sysv/linux/s390/bits/stat.h
18588         (struct stat): Rename member pad0 to __glibc_reserved0.
18590         [BZ #16712]
18591         * sysdeps/s390/s390-32/bits/wordsize.h
18592         (__WORDSIZE32_SIZE_ULONG): New define.
18593         * sysdeps/s390/s390-64/bits/wordsize.h
18594         (__WORDSIZE32_SIZE_ULONG): Likewise.
18595         * sysdeps/generic/stdint.h (SIZE_MAX):
18596         Define as UL if __WORDSIZE32_SIZE_ULONG.
18598         [BZ #16713]
18599         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18600         (__glibc_reserved0): New variable.
18601         (sa_flags): Change type to int.
18603         * posix/Makefile (before-compile): Use += before-compile instead
18604         of a :=.
18606         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18607         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18609 2014-03-20  Andreas Schwab  <schwab@suse.de>
18611         [BZ #16743]
18612         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18613         non-matching result from nscd.
18615 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18617         * scripts/bench.py: Moved to ...
18618         * benchtests/scripts/bench.py: ... here.
18619         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18621 2014-03-24  Andreas Schwab  <schwab@suse.de>
18623         [BZ #16002]
18624         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18625         alloca_account and account alloca use for struct in6ailist.
18627 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18629         [BZ #16284]
18630         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18631         rounding mode to recompute results that overflow to infinity or
18632         underflow to zero.
18633         * math/auto-libm-test-in: Don't mark tests as expected to fail for
18634         bug 16284.
18635         * math/auto-libm-test-out: Regenerated.
18636         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18637         (ccosh_test): Likewise.
18638         (csin_test_data): Use plus_oflow.
18639         (csin_test): Use ALL_RM_TEST.
18640         (csinh_test_data): Use plus_oflow.
18641         (csinh_test): Use ALL_RM_TEST.
18642         * sysdeps/i386/fpu/libm-test-ulps: Update.
18643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18645 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
18647         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18648         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18649         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18651         [BZ #16731]
18652         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18653         when x - 1 is zero.
18654         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18655         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18656         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18657         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18658         argument is 1.
18659         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18660         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18661         zero.
18662         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18663         * sysdeps/i386/fpu/libm-test-ulps: Update.
18664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18666 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18668         * scripts/bench.pl: Remove file.
18669         * scripts/bench.py: New benchmark script.
18670         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18671         * benchtests/README: Mention python dependency.
18672         * scripts/pylintrc: New file.
18673         * scripts/pylint: New file.
18675         * bits/mathdef.h: Use #ifdef instead of #if.
18676         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18677         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18678         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18679         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18680         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18681         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18683 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18684             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18686         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18687         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18688         and strpbrk-ppc64 objects.
18689         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18690         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18691         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18692         multiarch strpbrk for POWER7.
18693         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18694         multiarch strpbrk for PPC64.
18695         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18696         ifunc selector.
18697         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18698         strpbrk for POWER7.
18700 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18702         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18703         (atan_test): Likewise.
18704         (atanh_test_data): Use NO_TEST_INLINE for two tests.
18705         (atanh_test): Use ALL_RM_TEST.
18706         (atan2_test_data): Likewise.
18707         (cabs_test): Likewise.
18708         (cacosh_test): Likewise.
18709         (carg_test): Likewise.
18710         (casin_test): Likewise.
18711         (casinh_test): Likewise.
18712         (cbrt_test): Likewise.
18713         (csqrt_test): Likewise.
18714         (erf_test): Likewise.
18715         (erfc_test): Likewise.
18716         (pow10_test): Likewise.
18717         (exp2_test): Likewise.
18718         (hypot_test): Likewise.
18719         (j0_test): Likewise.
18720         (j1_test): Likewise.
18721         (lgamma_test): Likewise.
18722         (gamma_test): Likewise.
18723         (sincos_test): Likewise.
18724         (tanh_test): Likewise.
18725         (y0_test): Likewise.
18726         (y1_test): Likewise.
18727         * sysdeps/i386/fpu/libm-test-ulps: Update.
18728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18730 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18732         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18733         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18734         and strcspn-ppc64 objects.
18735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18736         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18737         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18738         multiarch strcspn for POWER7.
18739         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18740         multiarch strcspn for PPC64.
18741         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18742         ifunc selector.
18743         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18744         strcspn for POWER7.
18746 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18748         * math/gen-libm-test.pl (generate_testfile): Expect only function
18749         name as argument to AUTO_TESTS_* and pass results for all rounding
18750         modes to parse_args.
18751         (parse_auto_input): Separate inputs of automatic tests from
18752         outputs before storing in %auto_tests.
18753         * math/libm-test.inc (acos_test_data): Update call to
18754         AUTO_TESTS_f_f.
18755         (acos_test): Use ALL_RM_TEST.
18756         (acos_tonearest_test_data): Remove.
18757         (acos_test_tonearest): Likewise.
18758         (acos_towardzero_test_data): Likewise.
18759         (acos_test_towardzero): Likewise.
18760         (acos_downward_test_data): Likewise.
18761         (acos_test_downward): Likewise.
18762         (acos_upward_test_data): Likewise.
18763         (acos_test_upward): Likewise.
18764         (acosh_test_data): Update call to AUTO_TESTS_f_f.
18765         (asin_test_data): Likewise.
18766         (asin_test): Use ALL_RM_TEST.
18767         (asin_tonearest_test_data): Remove.
18768         (asin_test_tonearest): Likewise.
18769         (asin_towardzero_test_data): Likewise.
18770         (asin_test_towardzero): Likewise.
18771         (asin_downward_test_data): Likewise.
18772         (asin_test_downward): Likewise.
18773         (asin_upward_test_data): Likewise.
18774         (asin_test_upward): Likewise.
18775         (asinh_test_data): Update call to AUTO_TESTS_f_f.
18776         (atan_test_data): Likewise.
18777         (atanh_test_data): Likewise.
18778         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18779         (cabs_test_data): Update call to AUTO_TESTS_c_f.
18780         (carg_test_data): Likewise.
18781         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18782         (ccos_test_data): Update call to AUTO_TESTS_c_c.
18783         (ccosh_test_data): Likewise.
18784         (cexp_test_data): Likewise.
18785         (clog_test_data): Likewise.
18786         (clog10_test_data): Likewise.
18787         (cos_test_data): Update call to AUTO_TESTS_f_f.
18788         (cos_test): Use ALL_RM_TEST.
18789         (cos_tonearest_test_data): Remove.
18790         (cos_test_tonearest): Likewise.
18791         (cos_towardzero_test_data): Likewise.
18792         (cos_test_towardzero): Likewise.
18793         (cos_downward_test_data): Likewise.
18794         (cos_test_downward): Likewise.
18795         (cos_upward_test_data): Likewise.
18796         (cos_test_upward): Likewise.
18797         (cosh_test_data): Update call to AUTO_TESTS_f_f.
18798         (cosh_test): Use ALL_RM_TEST.
18799         (cosh_tonearest_test_data): Remove.
18800         (cosh_test_tonearest): Likewise.
18801         (cosh_towardzero_test_data): Likewise.
18802         (cosh_test_towardzero): Likewise.
18803         (cosh_downward_test_data): Likewise.
18804         (cosh_test_downward): Likewise.
18805         (cosh_upward_test_data): Likewise.
18806         (cosh_test_upward): Likewise.
18807         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18808         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18809         (ctan_test_data): Likewise.
18810         (ctan_test): Use ALL_RM_TEST.
18811         (ctan_tonearest_test_data): Remove.
18812         (ctan_test_tonearest): Likewise.
18813         (ctan_towardzero_test_data): Likewise.
18814         (ctan_test_towardzero): Likewise.
18815         (ctan_downward_test_data): Likewise.
18816         (ctan_test_downward): Likewise.
18817         (ctan_upward_test_data): Likewise.
18818         (ctan_test_upward): Likewise.
18819         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18820         (ctanh_test): Use ALL_RM_TEST.
18821         (ctanh_tonearest_test_data): Remove.
18822         (ctanh_test_tonearest): Likewise.
18823         (ctanh_towardzero_test_data): Likewise.
18824         (ctanh_test_towardzero): Likewise.
18825         (ctanh_downward_test_data): Likewise.
18826         (ctanh_test_downward): Likewise.
18827         (ctanh_upward_test_data): Likewise.
18828         (ctanh_test_upward): Likewise.
18829         (erf_test_data): Update call to AUTO_TESTS_f_f.
18830         (erfc_test_data): Likewise.
18831         (exp_test_data): Likewise.
18832         (exp_test): Use ALL_RM_TEST.
18833         (exp_tonearest_test_data): Remove.
18834         (exp_test_tonearest): Likewise.
18835         (exp_towardzero_test_data): Likewise.
18836         (exp_test_towardzero): Likewise.
18837         (exp_downward_test_data): Likewise.
18838         (exp_test_downward): Likewise.
18839         (exp_upward_test_data): Likewise.
18840         (exp_test_upward): Likewise.
18841         (exp10_test_data): Update call to AUTO_TESTS_f_f.
18842         (exp10_test): Use ALL_RM_TEST.
18843         (exp10_tonearest_test_data): Remove.
18844         (exp10_test_tonearest): Likewise.
18845         (exp10_towardzero_test_data): Likewise.
18846         (exp10_test_towardzero): Likewise.
18847         (exp10_downward_test_data): Likewise.
18848         (exp10_test_downward): Likewise.
18849         (exp10_upward_test_data): Likewise.
18850         (exp10_test_upward): Likewise.
18851         (exp2_test_data): Update call to AUTO_TESTS_f_f.
18852         (expm1_test_data): Likewise.
18853         (expm1_test): Use ALL_RM_TEST.
18854         (expm1_tonearest_test_data): Remove.
18855         (expm1_test_tonearest): Likewise.
18856         (expm1_towardzero_test_data): Likewise.
18857         (expm1_test_towardzero): Likewise.
18858         (expm1_downward_test_data): Likewise.
18859         (expm1_test_downward): Likewise.
18860         (expm1_upward_test_data): Likewise.
18861         (expm1_test_upward): Likewise.
18862         (fma_test_data): Update call to AUTO_TESTS_fff_f.
18863         (fma_test): Use ALL_RM_TEST.
18864         (fma_towardzero_test_data): Remove.
18865         (fma_test_towardzero): Likewise.
18866         (fma_downward_test_data): Likewise.
18867         (fma_test_downward): Likewise.
18868         (fma_upward_test_data): Likewise.
18869         (fma_test_upward): Likewise.
18870         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18871         (j0_test_data): Update call to AUTO_TESTS_f_f.
18872         (j1_test_data): Likewise.
18873         (jn_test_data): Update call to AUTO_TESTS_if_f.
18874         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18875         (log_test_data): Update call to AUTO_TESTS_f_f.
18876         (log10_test_data): Likewise.
18877         (log1p_test_data): Likewise.
18878         (log2_test_data): Likewise.
18879         (pow_test_data): Update call to AUTO_TESTS_ff_f.
18880         (pow_tonearest_test_data): Likewise.
18881         (sin_test_data): Update call to AUTO_TESTS_f_f.
18882         (sin_test): Use ALL_RM_TEST.
18883         (sin_tonearest_test_data): Remove.
18884         (sin_test_tonearest): Likewise.
18885         (sin_towardzero_test_data): Likewise.
18886         (sin_test_towardzero): Likewise.
18887         (sin_downward_test_data): Likewise.
18888         (sin_test_downward): Likewise.
18889         (sin_upward_test_data): Likewise.
18890         (sin_test_upward): Likewise.
18891         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18892         (sinh_test_data): Update call to AUTO_TESTS_f_f.
18893         (sinh_test): Use ALL_RM_TEST.
18894         (sinh_tonearest_test_data): Remove.
18895         (sinh_test_tonearest): Likewise.
18896         (sinh_towardzero_test_data): Likewise.
18897         (sinh_test_towardzero): Likewise.
18898         (sinh_downward_test_data): Likewise.
18899         (sinh_test_downward): Likewise.
18900         (sinh_upward_test_data): Likewise.
18901         (sinh_test_upward): Likewise.
18902         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18903         (sqrt_test): Use ALL_RM_TEST.
18904         (sqrt_tonearest_test_data): Remove.
18905         (sqrt_test_tonearest): Likewise.
18906         (sqrt_towardzero_test_data): Likewise.
18907         (sqrt_test_towardzero): Likewise.
18908         (sqrt_downward_test_data): Likewise.
18909         (sqrt_test_downward): Likewise.
18910         (sqrt_upward_test_data): Likewise.
18911         (sqrt_test_upward): Likewise.
18912         (tan_test_data): Update call to AUTO_TESTS_f_f.
18913         (tan_test): Use ALL_RM_TEST.
18914         (tan_tonearest_test_data): Remove.
18915         (tan_test_tonearest): Likewise.
18916         (tan_towardzero_test_data): Likewise.
18917         (tan_test_towardzero): Likewise.
18918         (tan_downward_test_data): Likewise.
18919         (tan_test_downward): Likewise.
18920         (tan_upward_test_data): Likewise.
18921         (tan_test_upward): Likewise.
18922         (tanh_test_data): Update call to AUTO_TESTS_f_f.
18923         (tgamma_test_data): Likewise.
18924         (y0_test_data): Likewise.
18925         (y1_test_data): Likewise.
18926         (yn_test_data): Update call to AUTO_TESTS_if_f.
18927         (main): Do not call removed functions.
18929 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18931         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18932         (ldexp_test_data): Remove.
18933         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
18934         scalbn_test_data.
18935         (scalb_test): Use ALL_RM_TEST.
18937 2014-03-19  Andreas Schwab  <schwab@suse.de>
18939         * nscd/nscd.service: Also invalidate netgroup cache on reload.
18941 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18943         [BZ #16649]
18944         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18945         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18946         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18947         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18948         (__ASSUME_PREADV): Undefine.
18949         (__ASSUME_PWRITEV): Likewise.
18951 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18953         * bits/mman-linux.h: Add comment about non-Linux use.
18954         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18955         bits/mman-linux.h resting place.
18957         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18958         * bits/mman-linux.h: ... here.
18960 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18962         * conform/conformtest.pl: Add standard definition when calling C
18963         preprocessor on data files.
18964         (checknamespace): Remove unused variable.
18966 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18968         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18969         minus_oflow, plus_uflow and minus_uflow in expected results.
18970         * math/libm-test.inc (scalbn_test_data): Add more tests of
18971         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
18972         minus_uflow.
18973         (scalbn_test): Use ALL_RM_TEST.
18974         (scalbln_test_data): Add more tests of negative arguments.  Use
18975         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18976         (scalbln_test): Use ALL_RM_TEST.
18978 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18980         * scripts/abilist.awk: Ignore symbols marked with .hidden.
18982 2014-03-18  Will Newton  <will.newton@linaro.org>
18984         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18985         inaccurate comment.
18987 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18989         * Makerules [!subdir] (check-abi): Exit with error status if a
18990         test failed.
18992 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18994         * math/libm-test.inc (nearbyint_test_data): Include all tests used
18995         for rint.  Include results for all rounding modes.
18996         (nearbyint_test): Use ALL_RM_TEST.
18997         (rint_test_data): Include all tests used for nearbyint.
18999 2014-03-17  Will Newton  <will.newton@linaro.org>
19001         * nptl/sysdeps/pthread/pthread.h: Revert previous
19002         change.
19004         * sysdeps/generic/ldsodefs.h: Revert previous
19005         change.
19007         * libio/genops.c: Revert previous change.
19008         * libio/libioP.h: Likewise.
19009         * stdio-common/vfprintf.c: Likewise.
19011         * sysdeps/generic/math_private.h: Revert previous
19012         change.
19014         * sysdeps/generic/math_private.h: Check whether
19015         HAVE_RM_CTX is defined with #ifdef rather
19016         than #if.
19018         * argp/argp-fmtstream.h: Check whether
19019         __STRICT_ANSI__ is defined with #ifdef rather
19020         than #if.
19021         * argp/argp.h: Likewise.
19023         * libio/genops.c: Check whether
19024         _IO_JUMPS_OFFSET is defined with #ifdef rather
19025         than #if.
19026         * libio/libioP.h: Likewise.
19027         * stdio-common/vfprintf.c: Likewise.
19029         * sysdeps/generic/ldsodefs.h: Check whether
19030         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
19031         than #if.
19033         * nptl/sysdeps/pthread/pthread.h: Check
19034         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
19035         its value.
19037 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
19039         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
19040         setting O_APPEND.
19041         * libio/tst-ftell-active-handler.c (do_append_test): Add a
19042         test case.
19044         [BZ #16680]
19045         * libio/fileops.c (_IO_file_open): Seek to end of file but
19046         don't cache the offset.
19047         (get_file_offset): Remove function.
19048         (do_ftell): Use cached offset when available.
19049         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
19050         don't cache the offset.
19051         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
19052         case.
19053         (do_one_test): Call it.
19054         (do_ftell_test): Fix up expected old offset for a+ mode.
19055         * libio/wfileops.c (do_ftell_wide): Used cached offset when
19056         available.
19058         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
19059         up test status with function return status.
19060         (do_write_test): Likewise.
19061         (do_append_test): Likewise.
19063         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
19064         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
19065         Remove.
19067 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
19069         * math/gen-libm-test.pl (parse_args): Handle results specified for
19070         each rounding mode separately.
19071         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
19072         tests and results from lrint_tonearest_test_data,
19073         lrint_towardzero_test_data, lrint_downward_test_data and
19074         lrint_upward_test_data.
19075         (lrint_test): Use ALL_RM_TEST.
19076         (lrint_tonearest_test_data): Remove.
19077         (lrint_test_tonearest): Likewise.
19078         (lrint_towardzero_test_data): Likewise.
19079         (lrint_test_towardzero): Likewise.
19080         (lrint_downward_test_data): Likewise.
19081         (lrint_test_downward): Likewise.
19082         (lrint_upward_test_data): Likewise.
19083         (lrint_test_upward): Likewise.
19084         (llrint_test_data): Merge in per-rounding-mode tests and results
19085         from llrint_tonearest_test_data, llrint_towardzero_test_data,
19086         llrint_downward_test_data and llrint_upward_test_data.
19087         (llrint_test): Use ALL_RM_TEST.
19088         (llrint_tonearest_test_data): Remove.
19089         (llrint_test_tonearest): Likewise.
19090         (llrint_towardzero_test_data): Likewise.
19091         (llrint_test_towardzero): Likewise.
19092         (llrint_downward_test_data): Likewise.
19093         (llrint_test_downward): Likewise.
19094         (llrint_upward_test_data): Likewise.
19095         (llrint_test_upward): Likewise.
19096         (rint_test_data): Merge in per-rounding-mode tests and results
19097         from rint_tonearest_test_data, rint_towardzero_test_data,
19098         rint_downward_test_data and rint_upward_test_data.  Add
19099         per-rounding-mode results for tests not in those arrays.
19100         (rint_test): Use ALL_RM_TEST.
19101         (rint_tonearest_test_data): Remove.
19102         (rint_test_tonearest): Likewise.
19103         (rint_towardzero_test_data): Likewise.
19104         (rint_test_towardzero): Likewise.
19105         (rint_downward_test_data): Likewise.
19106         (rint_test_downward): Likewise.
19107         (rint_upward_test_data): Likewise.
19108         (rint_test_upward): Likewise.
19109         (main): Don't call removed functions.
19111 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19113         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
19114         "Compiled on ..." crapola.  It is anti-useful.
19116 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
19118         * scripts/evaluate-test.sh: Handle fourth argument to determine
19119         whether test run should stop on failure.
19120         * Makeconfig (stop-on-test-failure): New variable.
19121         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
19122         $(stop-on-test-failure).
19123         * Makefile (tests): Give a summary of results from testing and
19124         exit with failure status if they include an ERROR or FAIL.
19125         (xtests): Likewise.
19126         * manual/install.texi (Configuring and compiling): Mention
19127         stop-on-test-failure=y.
19128         * INSTALL: Regenerated.
19130 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19132         * scripts/versionlist.awk: New file.
19133         * Makerules [$(build-shared) = yes]
19134         (postclean-generated): Add Versions.def, not Versions.def.v and
19135         Versions.def.v.i.
19136         ($(common-objpfx)Versions.def.v.i): Target removed.
19137         ($(common-objpfx)Versions.def): New target.
19138         ($(common-objpfx)Versions.all): Depend on that rather that
19139         $(common-objpfx)Versions.def.v.
19140         * Versions.def: File removed.
19142         * Makeconfig (+gccwarn): Add -Wundef.
19143         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19144         a dl-sysdep.h breaking its contract.
19145         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19146         * include/stackinfo.h: New file.
19147         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19148         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19149         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19150         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19151         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19152         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19153         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19154         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19155         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19156         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19157         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19158         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19159         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19160         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19161         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19163 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19165         [BZ #16707]
19166         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19167         implementation.
19168         * math/libm-test.inc (round_test_data): Add more tests.
19170         [BZ #16706]
19171         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19172         implementation.
19173         * math/libm-test.inc (nearbyint_test_data): Add more tests.
19175         [BZ #16701]
19176         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19177         implementation.
19178         * math/libm-test.inc (ceil_test_data): Add more tests.
19180         * math/libm-test.inc (trunc_test_data): Add more tests related to
19181         BZ#16414.
19183 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19185         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19186         with #if rather than #ifdef.
19187         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19189 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
19191         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19192         first.  Disable AVX-512 GCC support if assembler doesn't support
19193         it.
19194         * sysdeps/x86_64/configure: Regenerated.
19196 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
19198         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19199         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19200         (__old_pthread_attr_setstack): Likewise.
19201         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19202         [!_STACK_GROWS_DOWN]: Likewise.
19204 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
19206         * config.make.in (have-bash2): Delete.
19207         * configure.ac (libc_cv_have_bash2): Delete.
19208         * configure: Regenerate.
19209         * elf/Makefile (common-ldd-rewrite): Rename to ...
19210         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
19211         (sh-ldd-rewrite): Delete.
19212         (bash-ldd-rewrite): Delete.
19213         (have-bash2): Delete checks.
19214         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19215         ldd-rewrite.
19217         * config.make.in (have-ksh): Delete.
19218         (KSH): Delete.
19219         * configure.ac (libc_cv_have_ksh): Delete.
19220         * configure: Regenerate.
19222         * elf/Makefile: Delete $(have-ksh) check.
19223         ($(objpfx)sotruss): Change KSH to BASH.
19224         * elf/sotruss.ksh: Rename to ...
19225         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
19226         function style to match POSIX.  Drop ksh vim mode setting.
19228         * manual/time.texi (Specifying the Time Zone with TZ): Change
19229         Tuesday to Thursday.
19231         * debug/tst-longjmp_chk2.c: Update header comment.
19232         (stackoverflow_handler): Add comment.  Call assert on pass value.
19234 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
19236         [BZ #16194]
19237         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19238         (HAVE_AVX512_ASM_SUPPORT): Likewise.
19239         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19240         (La_x86_64_vector): Add zmm.
19241         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19242         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19243         ($(objpfx)tst-audit10): New target.
19244         ($(objpfx)tst-audit10.out): Likewise.
19245         (tst-audit10-ENV): New.
19246         (AVX512-CFLAGS): Likewise.
19247         (CFLAGS-tst-audit10.c): Likewise.
19248         (CFLAGS-tst-auditmod10a.c): Likewise.
19249         (CFLAGS-tst-auditmod10b.c): Likewise.
19250         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19251         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19252         * sysdeps/x86_64/configure: Regenerated.
19253         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19254         AVX-512 zmm register support.
19255         (_dl_x86_64_save_sse): Likewise.
19256         (_dl_x86_64_restore_sse): Likewise.
19257         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19258         size vector registers.
19259         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19260         (ZMM_SIZE): Likewise.
19261         * sysdeps/x86_64/tst-audit10.c: New file.
19262         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19263         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19265 2014-03-13  Roland McGrath  <roland@hack.frob.com>
19267         * configure.ac (HAVE_EHDR_START): New check.
19268         * configure: Regenerated.
19269         * config.h.in (HAVE_EHDR_START): New #undef.
19270         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19271         assuming the lowest-addressed segment maps the start of the file.
19273 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
19275         * INSTALL: Regenerated.
19277 2014-03-13  Will Newton  <will.newton@linaro.org>
19279         * manual/setjmp.texi (System V contexts): Improve
19280         clarity and grammar of documentation.
19282 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19284         [BZ #16381]
19285         * elf/Makefile (tests): Add tst-pie2.
19286         (tests-pie): Add tst-pie2.
19287         * elf/tst-pie2.c: New file.
19288         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19289         for ET_EXEC.
19290         * elf/rtld.c (map_doit): Load executable as lt_executable.
19291         (dl_main): Likewise.
19293 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
19295         [BZ #16642]
19296         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19297         (__ASSUME_PSELECT): Undefine.
19299 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19301         [BZ #16689]
19302         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19303         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19304         static build.
19305         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19306         selector for static builds.
19308 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19310         [BZ #16695]
19311         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19312         key in the buffer.
19314 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19316         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19317         IFUNC selector for static builds.
19319 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
19321         * sysdeps/mips/math_private.h [__mips_hard_float]
19322         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19323         libc_feresetround_mips_ctx.
19324         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19325         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19326         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19328         [BZ #16677]
19329         * math/s_nextafter.c (__nextafter): Do not return value from
19330         overflowing computation.
19331         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19332         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19333         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19334         Likewise.
19335         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19336         Likewise.
19337         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19338         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19340 2014-03-11  Roland McGrath  <roland@hack.frob.com>
19342         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19343         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19344         Move sfi_sp use from the load-multiple (that no longer sets sp) to
19345         the new mov targetting sp.
19347 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19349         [BZ #16683]
19350         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19351         Define it for static builds as well.
19352         (NO_BZERO_IMPL): Likewise.
19354 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19356         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19357         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19358         multiarch strspn for PPC64.
19359         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19360         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19361         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19362         (__libc_ifunc_impl_list): Likewise.
19363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19364         multiarch optimizations
19365         * string/strspn.c (strspn): Using macro to redefine symbol name.
19367 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19368             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19370         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19371         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19372         multiarch strncat for PPC64.
19373         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19374         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19376         (__libc_ifunc_impl_list): Likewise.
19377         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19378         multiarch optimizations
19380 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19382         [BZ #16639]
19383         * nscd/nscd.service: Make service type forking.
19385 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19387         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19388         sign in non default rounding modes.
19389         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19391 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
19393         * math/libm-test.inc (ALL_RM_TEST): New macro.
19394         (ceil_test): Use ALL_RM_TEST.
19395         (cimag_test): Likewise.
19396         (conj_test): Likewise.
19397         (copysign_test): Likewise.
19398         (cproj_test): Likewise.
19399         (creal_test): Likewise.
19400         (fabs_test): Likewise.
19401         (floor_test): Likewise.
19402         (fmax_test): Likewise.
19403         (fmin_test): Likewise.
19404         (fmod_test): Likewise.
19405         (fpclassify_test): Likewise.
19406         (frexp_test): Likewise.
19407         (ilogb_test): Likewise.
19408         (isfinite_test): Likewise.
19409         (finite_test): Likewise.
19410         (isgreater_test): Likewise.
19411         (isgreaterequal_test): Likewise.
19412         (isinf_test): Likewise.
19413         (isless_test): Likewise.
19414         (islessequal_test): Likewise.
19415         (islessgreater_test): Likewise.
19416         (isnan_test): Likewise.
19417         (isnormal_test): Likewise.
19418         (issignaling_test): Likewise.
19419         (isunordered_test): Likewise.
19420         (logb_test): Likewise.
19421         (logb_downward_test_data): Remove.
19422         (logb_test_downward): Likewise.
19423         (lround_test): Use ALL_RM_TEST.
19424         (llround_test): Likewise.
19425         (modf_test): Likewise.
19426         (nexttoward_test): Likewise.
19427         (remainder_test): Likewise.
19428         (drem_test): Likewise.
19429         (remainder_tonearest_test_data): Likewise.
19430         (remainder_test_tonearest): Likewise.
19431         (drem_test_tonearest): Likewise.
19432         (remainder_towardzero_test_data): Likewise.
19433         (remainder_test_towardzero): Likewise.
19434         (drem_test_towardzero): Likewise.
19435         (remainder_downward_test_data): Likewise.
19436         (remainder_test_downward): Likewise.
19437         (drem_test_downward): Likewise.
19438         (remainder_upward_test_data): Likewise.
19439         (remainder_test_upward): Likewise.
19440         (drem_test_upward): Likewise.
19441         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
19442         (round_test): Use ALL_RM_TEST.
19443         (signbit_test): Likewise.
19444         (trunc_test): Likewise.
19445         (significand_test): Likewise.
19446         (main): Don't call removed functions.
19448 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19450         [BZ #16674]
19451         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19452         || __USE_XOPEN2K8].
19453         (ILL_ILLOPN): Likewise.
19454         (ILL_ILLADR): Likewise.
19455         (ILL_ILLTRP): Likewise.
19456         (ILL_PRVOPC): Likewise.
19457         (ILL_PRVREG): Likewise.
19458         (ILL_COPROC): Likewise.
19459         (ILL_BADSTK): Likewise.
19460         (FPE_INTDIV): Likewise.
19461         (FPE_INTOVF): Likewise.
19462         (FPE_FLTDIV): Likewise.
19463         (FPE_FLTOVF): Likewise.
19464         (FPE_FLTUND): Likewise.
19465         (FPE_FLTRES): Likewise.
19466         (FPE_FLTINV): Likewise.
19467         (FPE_FLTSUB): Likewise.
19468         (SEGV_MAPERR): Likewise.
19469         (SEGV_ACCERR): Likewise.
19470         (BUS_ADRALN): Likewise.
19471         (BUS_ADRERR): Likewise.
19472         (BUS_OBJERR): Likewise.
19473         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19474         (TRAP_TRACE): Likewise.
19475         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19476         __USE_XOPEN2K8].
19477         (CLD_KILLED): Likewise.
19478         (CLD_DUMPED): Likewise.
19479         (CLD_TRAPPED): Likewise.
19480         (CLD_STOPPED): Likewise.
19481         (CLD_CONTINUED): Likewise.
19482         (POLL_IN): Likewise.
19483         (POLL_OUT): Likewise.
19484         (POLL_MSG): Likewise.
19485         (POLL_ERR): Likewise.
19486         (POLL_PRI): Likewise.
19487         (POLL_HUP): Likewise.
19488         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19489         Likewise.
19490         (ILL_ILLOPN): Likewise.
19491         (ILL_ILLADR): Likewise.
19492         (ILL_ILLTRP): Likewise.
19493         (ILL_PRVOPC): Likewise.
19494         (ILL_PRVREG): Likewise.
19495         (ILL_COPROC): Likewise.
19496         (ILL_BADSTK): Likewise.
19497         (FPE_INTDIV): Likewise.
19498         (FPE_INTOVF): Likewise.
19499         (FPE_FLTDIV): Likewise.
19500         (FPE_FLTOVF): Likewise.
19501         (FPE_FLTUND): Likewise.
19502         (FPE_FLTRES): Likewise.
19503         (FPE_FLTINV): Likewise.
19504         (FPE_FLTSUB): Likewise.
19505         (SEGV_MAPERR): Likewise.
19506         (SEGV_ACCERR): Likewise.
19507         (BUS_ADRALN): Likewise.
19508         (BUS_ADRERR): Likewise.
19509         (BUS_OBJERR): Likewise.
19510         (BUS_MCEERR_AR): Likewise.
19511         (BUS_MCEERR_AO): Likewise.
19512         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19513         (TRAP_TRACE): Likewise.
19514         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19515         __USE_XOPEN2K8].
19516         (CLD_KILLED): Likewise.
19517         (CLD_DUMPED): Likewise.
19518         (CLD_TRAPPED): Likewise.
19519         (CLD_STOPPED): Likewise.
19520         (CLD_CONTINUED): Likewise.
19521         (POLL_IN): Likewise.
19522         (POLL_OUT): Likewise.
19523         (POLL_MSG): Likewise.
19524         (POLL_ERR): Likewise.
19525         (POLL_PRI): Likewise.
19526         (POLL_HUP): Likewise.
19527         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19528         (ILL_ILLOPN): Likewise.
19529         (ILL_ILLADR): Likewise.
19530         (ILL_ILLTRP): Likewise.
19531         (ILL_PRVOPC): Likewise.
19532         (ILL_PRVREG): Likewise.
19533         (ILL_COPROC): Likewise.
19534         (ILL_BADSTK): Likewise.
19535         (FPE_INTDIV): Likewise.
19536         (FPE_INTOVF): Likewise.
19537         (FPE_FLTDIV): Likewise.
19538         (FPE_FLTOVF): Likewise.
19539         (FPE_FLTUND): Likewise.
19540         (FPE_FLTRES): Likewise.
19541         (FPE_FLTINV): Likewise.
19542         (FPE_FLTSUB): Likewise.
19543         (SEGV_MAPERR): Likewise.
19544         (SEGV_ACCERR): Likewise.
19545         (BUS_ADRALN): Likewise.
19546         (BUS_ADRERR): Likewise.
19547         (BUS_OBJERR): Likewise.
19548         (BUS_MCEERR_AR): Likewise.
19549         (BUS_MCEERR_AO): Likewise.
19550         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19551         (TRAP_TRACE): Likewise.
19552         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19553         __USE_XOPEN2K8].
19554         (CLD_KILLED): Likewise.
19555         (CLD_DUMPED): Likewise.
19556         (CLD_TRAPPED): Likewise.
19557         (CLD_STOPPED): Likewise.
19558         (CLD_CONTINUED): Likewise.
19559         (POLL_IN): Likewise.
19560         (POLL_OUT): Likewise.
19561         (POLL_MSG): Likewise.
19562         (POLL_ERR): Likewise.
19563         (POLL_PRI): Likewise.
19564         (POLL_HUP): Likewise.
19565         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19566         Likewise.
19567         (ILL_ILLOPN): Likewise.
19568         (ILL_ILLADR): Likewise.
19569         (ILL_ILLTRP): Likewise.
19570         (ILL_PRVOPC): Likewise.
19571         (ILL_PRVREG): Likewise.
19572         (ILL_COPROC): Likewise.
19573         (ILL_BADSTK): Likewise.
19574         (ILL_BADIADDR): Likewise.
19575         (ILL_BREAK): Likewise.
19576         (FPE_INTDIV): Likewise.
19577         (FPE_INTOVF): Likewise.
19578         (FPE_FLTDIV): Likewise.
19579         (FPE_FLTOVF): Likewise.
19580         (FPE_FLTUND): Likewise.
19581         (FPE_FLTRES): Likewise.
19582         (FPE_FLTINV): Likewise.
19583         (FPE_FLTSUB): Likewise.
19584         (FPE_DECOVF): Likewise.
19585         (FPE_DECDIV): Likewise.
19586         (FPE_DECERR): Likewise.
19587         (FPE_INVASC): Likewise.
19588         (FPE_INVDEC): Likewise.
19589         (SEGV_MAPERR): Likewise.
19590         (SEGV_ACCERR): Likewise.
19591         (SEGV_PSTKOVF): Likewise.
19592         (BUS_ADRALN): Likewise.
19593         (BUS_ADRERR): Likewise.
19594         (BUS_OBJERR): Likewise.
19595         (BUS_MCEERR_AR): Likewise.
19596         (BUS_MCEERR_AO): Likewise.
19597         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19598         (TRAP_TRACE): Likewise.
19599         (TRAP_BRANCH): Likewise.
19600         (TRAP_HWBKPT): Likewise.
19601         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19602         __USE_XOPEN2K8].
19603         (CLD_KILLED): Likewise.
19604         (CLD_DUMPED): Likewise.
19605         (CLD_TRAPPED): Likewise.
19606         (CLD_STOPPED): Likewise.
19607         (CLD_CONTINUED): Likewise.
19608         (POLL_IN): Likewise.
19609         (POLL_OUT): Likewise.
19610         (POLL_MSG): Likewise.
19611         (POLL_ERR): Likewise.
19612         (POLL_PRI): Likewise.
19613         (POLL_HUP): Likewise.
19614         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19615         (ILL_ILLOPN): Likewise.
19616         (ILL_ILLADR): Likewise.
19617         (ILL_ILLTRP): Likewise.
19618         (ILL_PRVOPC): Likewise.
19619         (ILL_PRVREG): Likewise.
19620         (ILL_COPROC): Likewise.
19621         (ILL_BADSTK): Likewise.
19622         (FPE_INTDIV): Likewise.
19623         (FPE_INTOVF): Likewise.
19624         (FPE_FLTDIV): Likewise.
19625         (FPE_FLTOVF): Likewise.
19626         (FPE_FLTUND): Likewise.
19627         (FPE_FLTRES): Likewise.
19628         (FPE_FLTINV): Likewise.
19629         (FPE_FLTSUB): Likewise.
19630         (SEGV_MAPERR): Likewise.
19631         (SEGV_ACCERR): Likewise.
19632         (BUS_ADRALN): Likewise.
19633         (BUS_ADRERR): Likewise.
19634         (BUS_OBJERR): Likewise.
19635         (BUS_MCEERR_AR): Likewise.
19636         (BUS_MCEERR_AO): Likewise.
19637         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19638         (TRAP_TRACE): Likewise.
19639         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19640         __USE_XOPEN2K8].
19641         (CLD_KILLED): Likewise.
19642         (CLD_DUMPED): Likewise.
19643         (CLD_TRAPPED): Likewise.
19644         (CLD_STOPPED): Likewise.
19645         (CLD_CONTINUED): Likewise.
19646         (POLL_IN): Likewise.
19647         (POLL_OUT): Likewise.
19648         (POLL_MSG): Likewise.
19649         (POLL_ERR): Likewise.
19650         (POLL_PRI): Likewise.
19651         (POLL_HUP): Likewise.
19652         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19653         (ILL_ILLOPN): Likewise.
19654         (ILL_ILLADR): Likewise.
19655         (ILL_ILLTRP): Likewise.
19656         (ILL_PRVOPC): Likewise.
19657         (ILL_PRVREG): Likewise.
19658         (ILL_COPROC): Likewise.
19659         (ILL_BADSTK): Likewise.
19660         (FPE_INTDIV): Likewise.
19661         (FPE_INTOVF): Likewise.
19662         (FPE_FLTDIV): Likewise.
19663         (FPE_FLTOVF): Likewise.
19664         (FPE_FLTUND): Likewise.
19665         (FPE_FLTRES): Likewise.
19666         (FPE_FLTINV): Likewise.
19667         (FPE_FLTSUB): Likewise.
19668         (SEGV_MAPERR): Likewise.
19669         (SEGV_ACCERR): Likewise.
19670         (BUS_ADRALN): Likewise.
19671         (BUS_ADRERR): Likewise.
19672         (BUS_OBJERR): Likewise.
19673         (BUS_MCEERR_AR): Likewise.
19674         (BUS_MCEERR_AO): Likewise.
19675         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19676         (TRAP_TRACE): Likewise.
19677         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19678         __USE_XOPEN2K8].
19679         (CLD_KILLED): Likewise.
19680         (CLD_DUMPED): Likewise.
19681         (CLD_TRAPPED): Likewise.
19682         (CLD_STOPPED): Likewise.
19683         (CLD_CONTINUED): Likewise.
19684         (POLL_IN): Likewise.
19685         (POLL_OUT): Likewise.
19686         (POLL_MSG): Likewise.
19687         (POLL_ERR): Likewise.
19688         (POLL_PRI): Likewise.
19689         (POLL_HUP): Likewise.
19690         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19691         (ILL_ILLOPN): Likewise.
19692         (ILL_ILLADR): Likewise.
19693         (ILL_ILLTRP): Likewise.
19694         (ILL_PRVOPC): Likewise.
19695         (ILL_PRVREG): Likewise.
19696         (ILL_COPROC): Likewise.
19697         (ILL_BADSTK): Likewise.
19698         (FPE_INTDIV): Likewise.
19699         (FPE_INTOVF): Likewise.
19700         (FPE_FLTDIV): Likewise.
19701         (FPE_FLTOVF): Likewise.
19702         (FPE_FLTUND): Likewise.
19703         (FPE_FLTRES): Likewise.
19704         (FPE_FLTINV): Likewise.
19705         (FPE_FLTSUB): Likewise.
19706         (SEGV_MAPERR): Likewise.
19707         (SEGV_ACCERR): Likewise.
19708         (BUS_ADRALN): Likewise.
19709         (BUS_ADRERR): Likewise.
19710         (BUS_OBJERR): Likewise.
19711         (BUS_MCEERR_AR): Likewise.
19712         (BUS_MCEERR_AO): Likewise.
19713         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19714         (TRAP_TRACE): Likewise.
19715         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19716         __USE_XOPEN2K8].
19717         (CLD_KILLED): Likewise.
19718         (CLD_DUMPED): Likewise.
19719         (CLD_TRAPPED): Likewise.
19720         (CLD_STOPPED): Likewise.
19721         (CLD_CONTINUED): Likewise.
19722         (POLL_IN): Likewise.
19723         (POLL_OUT): Likewise.
19724         (POLL_MSG): Likewise.
19725         (POLL_ERR): Likewise.
19726         (POLL_PRI): Likewise.
19727         (POLL_HUP): Likewise.
19728         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19729         (ILL_ILLOPN): Likewise.
19730         (ILL_ILLADR): Likewise.
19731         (ILL_ILLTRP): Likewise.
19732         (ILL_PRVOPC): Likewise.
19733         (ILL_PRVREG): Likewise.
19734         (ILL_COPROC): Likewise.
19735         (ILL_BADSTK): Likewise.
19736         (ILL_DBLFLT): Likewise.
19737         (ILL_HARDWALL): Likewise.
19738         (FPE_INTDIV): Likewise.
19739         (FPE_INTOVF): Likewise.
19740         (FPE_FLTDIV): Likewise.
19741         (FPE_FLTOVF): Likewise.
19742         (FPE_FLTUND): Likewise.
19743         (FPE_FLTRES): Likewise.
19744         (FPE_FLTINV): Likewise.
19745         (FPE_FLTSUB): Likewise.
19746         (SEGV_MAPERR): Likewise.
19747         (SEGV_ACCERR): Likewise.
19748         (BUS_ADRALN): Likewise.
19749         (BUS_ADRERR): Likewise.
19750         (BUS_OBJERR): Likewise.
19751         (BUS_MCEERR_AR): Likewise.
19752         (BUS_MCEERR_AO): Likewise.
19753         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19754         (TRAP_TRACE): Likewise.
19755         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19756         __USE_XOPEN2K8].
19757         (CLD_KILLED): Likewise.
19758         (CLD_DUMPED): Likewise.
19759         (CLD_TRAPPED): Likewise.
19760         (CLD_STOPPED): Likewise.
19761         (CLD_CONTINUED): Likewise.
19762         (POLL_IN): Likewise.
19763         (POLL_OUT): Likewise.
19764         (POLL_MSG): Likewise.
19765         (POLL_ERR): Likewise.
19766         (POLL_PRI): Likewise.
19767         (POLL_HUP): Likewise.
19768         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19769         (ILL_ILLOPN): Likewise.
19770         (ILL_ILLADR): Likewise.
19771         (ILL_ILLTRP): Likewise.
19772         (ILL_PRVOPC): Likewise.
19773         (ILL_PRVREG): Likewise.
19774         (ILL_COPROC): Likewise.
19775         (ILL_BADSTK): Likewise.
19776         (FPE_INTDIV): Likewise.
19777         (FPE_INTOVF): Likewise.
19778         (FPE_FLTDIV): Likewise.
19779         (FPE_FLTOVF): Likewise.
19780         (FPE_FLTUND): Likewise.
19781         (FPE_FLTRES): Likewise.
19782         (FPE_FLTINV): Likewise.
19783         (FPE_FLTSUB): Likewise.
19784         (SEGV_MAPERR): Likewise.
19785         (SEGV_ACCERR): Likewise.
19786         (BUS_ADRALN): Likewise.
19787         (BUS_ADRERR): Likewise.
19788         (BUS_OBJERR): Likewise.
19789         (BUS_MCEERR_AR): Likewise.
19790         (BUS_MCEERR_AO): Likewise.
19791         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19792         (TRAP_TRACE): Likewise.
19793         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19794         __USE_XOPEN2K8].
19795         (CLD_KILLED): Likewise.
19796         (CLD_DUMPED): Likewise.
19797         (CLD_TRAPPED): Likewise.
19798         (CLD_STOPPED): Likewise.
19799         (CLD_CONTINUED): Likewise.
19800         (POLL_IN): Likewise.
19801         (POLL_OUT): Likewise.
19802         (POLL_MSG): Likewise.
19803         (POLL_ERR): Likewise.
19804         (POLL_PRI): Likewise.
19805         (POLL_HUP): Likewise.
19806         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19807         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19809         [BZ #16670]
19810         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19811         before #include of <time.h>.
19812         [!__USE_XOPEN2K] (__need_timespec): Likewise.
19813         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19814         (test-xfail-UNIX98/sched.h/conform): Likewise.
19816 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19818         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19819         error absence of trapping exception support.
19820         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19822 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19824         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19825         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19826         * timezone/Makefile (testdata): Move definition above include of
19827         Rules.
19828         (test-zones): New variable.
19829         (tests-special): Add zone files.
19830         (build-testdata): Use $(evaluate-test).
19832         * elf/Makefile (tests-special): Rename tests to end with .out.
19833         ($(objpfx)noload-mem): Likewise.
19834         ($(objpfx)tst-leaks1-mem): Likewise.
19835         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19836         * iconv/Makefile (xtests-special): Change test-iconvconfig to
19837         $(objpfx)test-iconvconfig.out.
19838         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
19839         set -e inside subshell and redirect output to file.
19840         * iconvdata/Makefile (generated): Rename tests to end with .out.
19841         Correct type.
19842         (tests-special): Rename tests to end with .out.
19843         ($(objpfx)mtrace-tst-loading): Likewise.
19844         * intl/Makefile (generated): Likewise.
19845         (tests-special): Likewise.
19846         ($(objpfx)mtrace-tst-gettext): Likewise.
19847         * misc/Makefile (generated): Likewise.
19848         (tests-special): Likewise.
19849         ($(objpfx)tst-error1-mem): Likewise.
19850         * nptl/Makefile (tests-special): Likewise.
19851         ($(objpfx)tst-stack3-mem): Likewise.
19852         (generated): Likewise.
19853         * posix/Makefile (generated): Likewise.
19854         (tests-special): Likewise.
19855         (xtests-special): Likewise.
19856         ($(objpfx)tst-fnmatch-mem): Likewise.
19857         ($(objpfx)bug-regex2-mem): Likewise.
19858         ($(objpfx)bug-regex14-mem): Likewise.
19859         ($(objpfx)bug-regex21-mem): Likewise.
19860         ($(objpfx)bug-regex31-mem): Likewise.
19861         ($(objpfx)tst-vfork3-mem): Likewise.
19862         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19863         ($(objpfx)tst-pcre-mem): Likewise.
19864         ($(objpfx)tst-boost-mem): Likewise.
19865         ($(objpfx)bug-ga2-mem): Likewise.
19866         ($(objpfx)bug-glob2-mem): Likewise.
19867         * resolv/Makefile (generate): Likewise.
19868         (tests-special): Likewise.
19869         (xtests-special): Likewise.
19870         (generated): Likewise.
19871         ($(objpfx)mtrace-tst-leaks): Likewise.
19872         ($(objpfx)mtrace-tst-leaks2): Likewise.
19874         * scripts/merge-test-results.sh: New file.
19875         * Makefile (tests-special-notdir): New variable.
19876         (tests): Run merge-test-results.sh.
19877         (xtests): Likewise.
19878         * Rules (tests-special-notdir): New variable.
19879         (xtests-special-notdir): Likewise.
19880         (tests): Run merge-test-results.sh
19881         (xtests): Likewise.
19883         * Makeconfig (test-xfail-name): New variable.
19884         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19885         compute variable name for expected failures.
19886         * conform/Makefile (conformtest-headers-data): New variable.
19887         (conformtest-standards): Likewise.
19888         (conformtest-headers-ISO): Likewise.
19889         (conformtest-headers-ISO99): Likewise.
19890         (conformtest-headers-ISO11): Likewise.
19891         (conformtest-headers-POSIX): Likewise.
19892         (conformtest-headers-XPG3): Likewise.
19893         (conformtest-headers-XPG4): Likewise.
19894         (conformtest-headers-UNIX98): Likewise.
19895         (conformtest-headers-XOPEN2K): Likewise.
19896         (conformtest-headers-POSIX2008): Likewise.
19897         (conformtest-headers-XOPEN2K8): Likewise.
19898         (conformtest-header-list-base): Likewise.
19899         (conformtest-header-list-tests): Likewise.
19900         (conformtest-header-base): Likewise.
19901         (conformtest-header-tests): Likewise.
19902         (tests-special): Add $(conformtest-header-list-tests).  If
19903         [$(fast-check) && !$(cross-compiling)], add
19904         $(conformtest-header-tests) instead of
19905         $(objpfx)run-conformtest.out.
19906         (generated): Add $(conformtest-header-list-base).  If
19907         [$(fast-check) && !$(cross-compiling)], add
19908         $(conformtest-header-base).  Remove previous setting.
19909         ($(conformtest-header-list-tests)): New target.
19910         (test-xfail-run-conformtest): Remove variable.
19911         ($(objpfx)run-conformtest.out): Remove target.
19912         (test-xfail-ISO11/complex.h/conform): New variable.
19913         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19914         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19915         (test-xfail-XPG3/varargs.h/conform): Likewise.
19916         (test-xfail-XPG4/varargs.h/conform): Likewise.
19917         (test-xfail-UNIX98/varargs.h/conform): Likewise.
19918         (test-xfail-XPG4/ndbm.h/conform): Likewise.
19919         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19920         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19921         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19922         (test-xfail-XPG3/fcntl.h/conform): Likewise.
19923         (test-xfail-XPG3/ftw.h/conform): Likewise.
19924         (test-xfail-XPG3/grp.h/conform): Likewise.
19925         (test-xfail-XPG3/langinfo.h/conform): Likewise.
19926         (test-xfail-XPG3/limits.h/conform): Likewise.
19927         (test-xfail-XPG3/pwd.h/conform): Likewise.
19928         (test-xfail-XPG3/search.h/conform): Likewise.
19929         (test-xfail-XPG3/signal.h/conform): Likewise.
19930         (test-xfail-XPG3/stdio.h/conform): Likewise.
19931         (test-xfail-XPG3/stdlib.h/conform): Likewise.
19932         (test-xfail-XPG3/string.h/conform): Likewise.
19933         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19934         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19935         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19936         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19937         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19938         (test-xfail-XPG3/sys/types.h/conform): Likewise.
19939         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19940         (test-xfail-XPG3/termios.h/conform): Likewise.
19941         (test-xfail-XPG3/time.h/conform): Likewise.
19942         (test-xfail-XPG3/unistd.h/conform): Likewise.
19943         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19944         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19945         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19946         (test-xfail-XPG4/netdb.h/conform): Likewise.
19947         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19948         (test-xfail-XPG4/signal.h/conform): Likewise.
19949         (test-xfail-XPG4/stdio.h/conform): Likewise.
19950         (test-xfail-XPG4/stdlib.h/conform): Likewise.
19951         (test-xfail-XPG4/stropts.h/conform): Likewise.
19952         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19953         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19954         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19955         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19956         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19957         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19958         (test-xfail-XPG4/sys/time.h/conform): Likewise.
19959         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19960         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19961         (test-xfail-XPG4/termios.h/conform): Likewise.
19962         (test-xfail-XPG4/ucontext.h/conform): Likewise.
19963         (test-xfail-XPG4/unistd.h/conform): Likewise.
19964         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19965         (test-xfail-POSIX/sched.h/conform): Likewise.
19966         (test-xfail-POSIX/signal.h/conform): Likewise.
19967         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19968         (test-xfail-POSIX/tar.h/conform): Likewise.
19969         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19970         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19971         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19972         (test-xfail-UNIX98/netdb.h/conform): Likewise.
19973         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19974         (test-xfail-UNIX98/sched.h/conform): Likewise.
19975         (test-xfail-UNIX98/signal.h/conform): Likewise.
19976         (test-xfail-UNIX98/stdio.h/conform): Likewise.
19977         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19978         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19979         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19980         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19981         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19982         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19983         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19984         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19985         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19986         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19987         (test-xfail-UNIX98/unistd.h/conform): Likewise.
19988         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19989         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19990         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19991         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19992         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19993         (test-xfail-XOPEN2K/math.h/conform): Likewise.
19994         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19995         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19996         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19997         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19998         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19999         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
20000         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
20001         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20002         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20003         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20004         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20005         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20006         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20007         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
20008         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
20009         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20010         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
20011         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20012         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
20013         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20014         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
20015         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
20016         (test-xfail-POSIX2008/signal.h/conform): Likewise.
20017         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20018         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
20019         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
20020         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20021         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20022         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
20023         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20024         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20025         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20026         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
20027         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
20028         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20029         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20030         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20031         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
20032         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20033         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20034         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20035         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20036         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
20037         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20038         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20039         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
20040         (conformtest-cc-flags): Likewise.
20041         ($(conformtest-header-tests): New target.
20042         * conform/check-header-lists.sh: New file.
20043         * conform/run-conformtest.sh: Remove.
20045         * conform/conformtest.pl: Allow ' and \ in values given for
20046         constants.
20047         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
20048         inclusion.
20049         [POSIX] (sys/types.h): Likewise.
20050         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
20051         inclusion.
20052         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
20053         inclusion.
20054         * conform/data/signal.h-data (SIGIO): Remove expectation.
20055         [XPG3] (SIGBUS): Do not expect.
20056         [POSIX || XPG3] (SIGPOLL): Likewise.
20057         [POSIX || XPG3] (SIGPROF): Likewise.
20058         [POSIX || XPG3] (SIGSYS): Likewise.
20059         [XPG3] (SIGTRAP): Likewise.
20060         [POSIX || XPG3] (SIGURG): Likewise.
20061         [POSIX || XPG3] (SIGVTALRM): Likewise.
20062         [POSIX || XPG3] (SIGXCPU): Likewise.
20063         [POSIX || XPG3] (SIGXFSZ): Likewise.
20064         [POSIX] (SA_SIGINFO): Expect.
20065         [XPG3] (siginfo_t): Do not expect type or contents.
20066         [POSIX] (si_pid): Do not expect element.
20067         [POSIX] (si_uid): Likewise.
20068         [POSIX] (si_addr): Likewise.
20069         [POSIX] (si_status): Likewise.
20070         [POSIX] (si_band): Likewise.
20071         [XPG4] (si_value): Likewise.
20072         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
20073         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
20074         [POSIX || XPG3] (ILL_ILLADR): Likewise.
20075         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
20076         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
20077         [POSIX || XPG3] (ILL_PRVREG): Likewise.
20078         [POSIX || XPG3] (ILL_COPROC): Likewise.
20079         [POSIX || XPG3] (ILL_BADSTK): Likewise.
20080         [POSIX || XPG3] (FPE_INTDIV): Likewise.
20081         [POSIX || XPG3] (FPE_INTOVF): Likewise.
20082         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
20083         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
20084         [POSIX || XPG3] (FPE_FLTUND): Likewise.
20085         [POSIX || XPG3] (FPE_FLTRES): Likewise.
20086         [POSIX || XPG3] (FPE_FLTINV): Likewise.
20087         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
20088         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
20089         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
20090         [POSIX || XPG3] (BUS_ADRALN): Likewise.
20091         [POSIX || XPG3] (BUS_ADRERR): Likewise.
20092         [POSIX || XPG3] (BUS_OBJERR): Likewise.
20093         [POSIX || XPG3] (CLD_EXITED): Likewise.
20094         [POSIX || XPG3] (CLD_KILLED): Likewise.
20095         [POSIX || XPG3] (CLD_DUMPED): Likewise.
20096         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
20097         [POSIX || XPG3] (CLD_STOPPED): Likewise.
20098         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
20099         [POSIX || XPG3] (POLL_IN): Likewise.
20100         [POSIX || XPG3] (POLL_OUT): Likewise.
20101         [POSIX || XPG3] (POLL_MSG): Likewise.
20102         [POSIX || XPG3] (POLL_ERR): Likewise.
20103         [POSIX || XPG3] (POLL_PRI): Likewise.
20104         [POSIX || XPG3] (POLL_HUP): Likewise.
20105         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
20106         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
20107         (SIG*): Do not allow.
20108         [XPG3] (si_*): Likewise.
20109         [XPG3] (SI_*): Likewise.
20110         [XPG3 || XPG4] (sigev_*): Likewise.
20111         [XPG3 || XPG4] (SIGEV_*): Likewise.
20112         [XPG3 || XPG4] (sival_*): Likewise.
20113         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
20114         [POSIX || XPG3] (BUS_*): Likewise.
20115         [POSIX || XPG3] (CLD_*): Likewise.
20116         [POSIX || XPG3] (FPE_*): Likewise.
20117         [POSIX || XPG3] (ILL_*): Likewise.
20118         [POSIX || XPG3] (POLL_*): Likewise.
20119         [POSIX || XPG3] (SEGV_*): Likewise.
20120         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
20121         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
20122         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
20123         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
20124         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
20125         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
20126         Specify type and value.
20127         (TVERSLEN): Likewise.
20128         (REGTYPE): Likewise.
20129         (AREGTYPE): Likewise.
20130         (LNKTYPE): Likewise.
20131         (SYMTYPE): Likewise.
20132         (CHRTYPE): Likewise.
20133         (BLKTYPE): Likewise.
20134         (DIRTYPE): Likewise.
20135         (FIFOTYPE): Likewise.
20136         (CONTTYPE): Likewise.
20137         (TSUID): Likewise.
20138         (TSGID): Likewise.
20139         (TSVTX): Likewise.
20140         (TUREAD): Likewise.
20141         (TUWRITE): Likewise.
20142         (TUEXEC): Likewise.
20143         (TGREAD): Likewise.
20144         (TGWRITE): Likewise.
20145         (TGEXEC): Likewise.
20146         (TOREAD): Likewise.
20147         (TOWRITE): Likewise.
20148         (TOEXEC): Likewise.
20149         [POSIX] (TSVTX): Expect constant.
20151 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
20153         * Makefile (tests): Change dependencies to ....
20154         (tests-special): ... additions to this variable.
20155         (tests): Depend on $(tests-special).
20156         * Makerules (check-abi-list): New variable.
20157         (check-abi): Depend on $(check-abi-list).
20158         [$(subdir) = elf] (tests-special): Add
20159         $(objpfx)check-abi-libc.out.
20160         [$(build-shared) = yes && subdir] (tests-special): Add
20161         $(check-abi-list).
20162         [$(build-shared) = yes && subdir] (tests): Do not depend on
20163         check-abi.
20164         * Rules (tests): Depend on $(tests-special).
20165         (xtests): Depend on $(xtests-special).
20166         * catgets/Makefile (tests): Change dependencies to ....
20167         (tests-special): ... additions to this variable.
20168         * conform/Makefile (tests): Change dependencies to ....
20169         (tests-special): ... additions to this variable.
20170         * elf/Makefile (tests): Change dependencies to ....
20171         (tests-special): ... additions to this variable.
20172         * grp/Makefile (tests): Change dependencies to ....
20173         (tests-special): ... additions to this variable.
20174         * iconv/Makefile (xtests): Change dependencies to ....
20175         (xtests-special): ... additions to this variable.
20176         * iconvdata/Makefile (tests): Change dependencies to ....
20177         (tests-special): ... additions to this variable.
20178         * intl/Makefile (tests): Change dependencies to ....
20179         (tests-special): ... additions to this variable.  Also add
20180         $(objpfx)tst-gettext.out.
20181         * io/Makefile (tests): Change dependencies to ....
20182         (tests-special): ... additions to this variable.
20183         * libio/Makefile (tests): Change dependencies to ....
20184         (tests-special): ... additions to this variable.
20185         * malloc/Makefile (tests): Change dependencies to ....
20186         (tests-special): ... additions to this variable.
20187         * misc/Makefile (tests): Change dependencies to ....
20188         (tests-special): ... additions to this variable.
20189         * nptl/Makefile (tests): Change dependencies to ....
20190         (tests-special): ... additions to this variable.
20191         * nptl_db/Makefile (tests): Change dependencies to ....
20192         (tests-special): ... additions to this variable.
20193         * posix/Makefile (tests): Change dependencies to ....
20194         (tests-special): ... additions to this variable.
20195         (xtests): Change dependencies to ....
20196         (xtests-special): ... additions to this variable.
20197         * resolv/Makefile (tests): Change dependencies to ....
20198         (tests-special): ... additions to this variable.
20199         (xtests): Change dependencies to ....
20200         (xtests-special): ... additions to this variable.
20201         * stdio-common/Makefile (tests): Change dependencies to ....
20202         (tests-special): ... additions to this variable.
20203         (do-tst-unbputc): Remove target.
20204         (do-tst-printf): Likewise.
20205         * stdlib/Makefile (tests): Change dependencies to ....
20206         (tests-special): ... additions to this variable.
20207         * string/Makefile (tests): Change dependencies to ....
20208         (tests-special): ... additions to this variable.
20209         * sysdeps/x86/Makefile (tests): Change dependencies to ....
20210         (tests-special): ... additions to this variable.
20212         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20213         whole file.
20214         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20215         whole file.
20216         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20217         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20219         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20220         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20221         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20222         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20223         * conform/data/libgen.h-data [XPG3]: Likewise.
20224         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20225         * conform/data/ndbm.h-data [XPG3]: Likewise.
20226         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20227         * conform/data/netdb.h-data [XPG3]: Likewise.
20228         * conform/data/netinet/in.h-data [XPG3]: Likewise.
20229         * conform/data/poll.h-data [XPG3]: Likewise.
20230         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20231         * conform/data/strings.h-data [XPG3]: Likewise.
20232         * conform/data/stropts.h-data [XPG3]: Likewise.
20233         * conform/data/sys/mman.h-data [XPG3]: Likewise.
20234         * conform/data/sys/resource.h-data [XPG3]: Likewise.
20235         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20236         Likewise.
20237         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20238         * conform/data/sys/time.h-data [XPG3]: Likewise.
20239         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20240         * conform/data/sys/uio.h-data [XPG3]: Likewise.
20241         * conform/data/sys/un.h-data [XPG3]: Likewise.
20242         * conform/data/syslog.h-data [XPG3]: Likewise.
20243         * conform/data/ucontext.h-data [XPG3]: Likewise.
20244         * conform/data/utmpx.h-data [XPG3]: Likewise.
20245         * conform/data/varargs.h-data [UNIX98]: Enable file.
20247         * manual/Makefile (INSTALL_INFO): Remove variable setting.
20249         * math/libm-test.inc (struct test_f_f_data): Move expected results
20250         into structure for each rounding mode.
20251         (struct test_ff_f_data): Likewise.
20252         (struct test_ff_f_data_nexttoward): Likewise.
20253         (struct test_fi_f_data): Likewise.
20254         (struct test_fl_f_data): Likewise.
20255         (struct test_if_f_data): Likewise.
20256         (struct test_fff_f_data): Likewise.
20257         (struct test_c_f_data): Likewise.
20258         (struct test_f_f1_data): Likewise.
20259         (struct test_fF_f1_data): Likewise.
20260         (struct test_ffI_f1_data): Likewise.
20261         (struct test_c_c_data): Likewise.
20262         (struct test_cc_c_data): Likewise.
20263         (struct test_f_i_data): Likewise.
20264         (struct test_ff_i_data): Likewise.
20265         (struct test_f_l_data): Likewise.
20266         (struct test_f_L_data): Likewise.
20267         (struct test_fFF_11_data): Likewise.
20268         (RM_): New macro.
20269         (RM_FE_DOWNWARD): Likewise.
20270         (RM_FE_TONEAREST): Likewise.
20271         (RM_FE_TOWARDZERO): Likewise.
20272         (RM_FE_UPWARD): Likewise.
20273         (RUN_TEST_LOOP_f_f): Update references to expected results.
20274         (RUN_TEST_LOOP_2_f): Likewise.
20275         (RUN_TEST_LOOP_fff_f): Likewise.
20276         (RUN_TEST_LOOP_c_f): Likewise.
20277         (RUN_TEST_LOOP_f_f1): Likewise.
20278         (RUN_TEST_LOOP_fF_f1): Likewise.
20279         (RUN_TEST_LOOP_fI_f1): Likewise.
20280         (RUN_TEST_LOOP_ffI_f1): Likewise.
20281         (RUN_TEST_LOOP_c_c): Likewise.
20282         (RUN_TEST_LOOP_cc_c): Likewise.
20283         (RUN_TEST_LOOP_f_i): Likewise.
20284         (RUN_TEST_LOOP_f_i_tg): Likewise.
20285         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20286         (RUN_TEST_LOOP_f_b): Likewise.
20287         (RUN_TEST_LOOP_f_b_tg): Likewise.
20288         (RUN_TEST_LOOP_f_l): Likewise.
20289         (RUN_TEST_LOOP_f_L): Likewise.
20290         (RUN_TEST_LOOP_fFF_11): Likewise.
20291         * math/gen-libm-test.pl (parse_args): Output four copies of
20292         expected results for each test.
20294         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20295         (__ASSUME_UTIMES): Remove.
20296         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20297         (__ASSUME_UTIMES): Likewise.
20299         * math/gen-auto-libm-tests.c: Update comment on output format.
20300         (output_for_one_input_case): Generate before-rounding and
20301         after-rounding information as conditions on output flags not
20302         floating-point format.
20303         * math/auto-libm-test-out: Regenerated.
20304         * math/gen-libm-test.pl (cond_value): New function.
20305         (or_cond_value): Use cond_value.
20306         (generate_testfile): Handle conditional exceptions.
20308 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
20310         * math/libm-test.inc (max_valid_error): New variable.
20311         (init_max_error): Take new argument specifying whether function
20312         results are exactly determined.  Set max_valid_error and bound
20313         other variables for errors based on this argument.
20314         (set_max_error): Do not record results above max_valid_error.
20315         (check_float_internal): Only accept errors of up to 0.5ulps if
20316         also at most max_valid_error.
20317         (START): Take new argument EXACT and pass it to init_max_error.
20318         (acos_test): Update call to START.
20319         (acos_test_tonearest): Likewise.
20320         (acos_test_towardzero): Likewise.
20321         (acos_test_downward): Likewise.
20322         (acos_test_upward): Likewise.
20323         (acosh_test): Likewise.
20324         (asin_test): Likewise.
20325         (asin_test_tonearest): Likewise.
20326         (asin_test_towardzero): Likewise.
20327         (asin_test_downward): Likewise.
20328         (asin_test_upward): Likewise.
20329         (asinh_test): Likewise.
20330         (atan_test): Likewise.
20331         (atanh_test): Likewise.
20332         (atan2_test): Likewise.
20333         (cabs_test): Likewise.
20334         (cacos_test): Likewise.
20335         (cacosh_test): Likewise.
20336         (carg_test): Likewise.
20337         (casin_test): Likewise.
20338         (casinh_test): Likewise.
20339         (catan_test): Likewise.
20340         (catanh_test): Likewise.
20341         (cbrt_test): Likewise.
20342         (ccos_test): Likewise.
20343         (ccosh_test): Likewise.
20344         (ceil_test): Likewise.
20345         (cexp_test): Likewise.
20346         (cimag_test): Likewise.
20347         (clog_test): Likewise.
20348         (clog10_test): Likewise.
20349         (conj_test): Likewise.
20350         (copysign_test): Likewise.
20351         (cos_test): Likewise.
20352         (cos_test_tonearest): Likewise.
20353         (cos_test_towardzero): Likewise.
20354         (cos_test_downward): Likewise.
20355         (cos_test_upward): Likewise.
20356         (cosh_test): Likewise.
20357         (cosh_test_tonearest): Likewise.
20358         (cosh_test_towardzero): Likewise.
20359         (cosh_test_downward): Likewise.
20360         (cosh_test_upward): Likewise.
20361         (cpow_test): Likewise.
20362         (cproj_test): Likewise.
20363         (creal_test): Likewise.
20364         (csin_test): Likewise.
20365         (csinh_test): Likewise.
20366         (csqrt_test): Likewise.
20367         (ctan_test): Likewise.
20368         (ctan_test_tonearest): Likewise.
20369         (ctan_test_towardzero): Likewise.
20370         (ctan_test_downward): Likewise.
20371         (ctan_test_upward): Likewise.
20372         (ctanh_test): Likewise.
20373         (ctanh_test_tonearest): Likewise.
20374         (ctanh_test_towardzero): Likewise.
20375         (ctanh_test_downward): Likewise.
20376         (ctanh_test_upward): Likewise.
20377         (erf_test): Likewise.
20378         (erfc_test): Likewise.
20379         (exp_test): Likewise.
20380         (exp_test_tonearest): Likewise.
20381         (exp_test_towardzero): Likewise.
20382         (exp_test_downward): Likewise.
20383         (exp_test_upward): Likewise.
20384         (exp10_test): Likewise.
20385         (exp10_test_tonearest): Likewise.
20386         (exp10_test_towardzero): Likewise.
20387         (exp10_test_downward): Likewise.
20388         (exp10_test_upward): Likewise.
20389         (pow10_test): Likewise.
20390         (exp2_test): Likewise.
20391         (expm1_test): Likewise.
20392         (expm1_test_tonearest): Likewise.
20393         (expm1_test_towardzero): Likewise.
20394         (expm1_test_downward): Likewise.
20395         (expm1_test_upward): Likewise.
20396         (fabs_test): Likewise.
20397         (fdim_test): Likewise.
20398         (floor_test): Likewise.
20399         (fma_test): Likewise.
20400         (fma_test_towardzero): Likewise.
20401         (fma_test_downward): Likewise.
20402         (fma_test_upward): Likewise.
20403         (fmax_test): Likewise.
20404         (fmin_test): Likewise.
20405         (fmod_test): Likewise.
20406         (fpclassify_test): Likewise.
20407         (frexp_test): Likewise.
20408         (hypot_test): Likewise.
20409         (ilogb_test): Likewise.
20410         (isfinite_test): Likewise.
20411         (finite_test): Likewise.
20412         (isgreater_test): Likewise.
20413         (isgreaterequal_test): Likewise.
20414         (isinf_test): Likewise.
20415         (isless_test): Likewise.
20416         (islessequal_test): Likewise.
20417         (islessgreater_test): Likewise.
20418         (isnan_test): Likewise.
20419         (isnormal_test): Likewise.
20420         (issignaling_test): Likewise.
20421         (isunordered_test): Likewise.
20422         (j0_test): Likewise.
20423         (j1_test): Likewise.
20424         (jn_test): Likewise.
20425         (ldexp_test): Likewise.
20426         (lgamma_test): Likewise.
20427         (gamma_test): Likewise.
20428         (lrint_test): Likewise.
20429         (lrint_test_tonearest): Likewise.
20430         (lrint_test_towardzero): Likewise.
20431         (lrint_test_downward): Likewise.
20432         (lrint_test_upward): Likewise.
20433         (llrint_test): Likewise.
20434         (llrint_test_tonearest): Likewise.
20435         (llrint_test_towardzero): Likewise.
20436         (llrint_test_downward): Likewise.
20437         (llrint_test_upward): Likewise.
20438         (log_test): Likewise.
20439         (log10_test): Likewise.
20440         (log1p_test): Likewise.
20441         (log2_test): Likewise.
20442         (logb_test): Likewise.
20443         (logb_test_downward): Likewise.
20444         (lround_test): Likewise.
20445         (llround_test): Likewise.
20446         (modf_test): Likewise.
20447         (nearbyint_test): Likewise.
20448         (nextafter_test): Likewise.
20449         (nexttoward_test): Likewise.
20450         (pow_test): Likewise.
20451         (pow_test_tonearest): Likewise.
20452         (pow_test_towardzero): Likewise.
20453         (pow_test_downward): Likewise.
20454         (pow_test_upward): Likewise.
20455         (remainder_test): Likewise.
20456         (drem_test): Likewise.
20457         (remainder_test_tonearest): Likewise.
20458         (drem_test_tonearest): Likewise.
20459         (remainder_test_towardzero): Likewise.
20460         (drem_test_towardzero): Likewise.
20461         (remainder_test_downward): Likewise.
20462         (drem_test_downward): Likewise.
20463         (remainder_test_upward): Likewise.
20464         (drem_test_upward): Likewise.
20465         (remquo_test): Likewise.
20466         (rint_test): Likewise.
20467         (rint_test_tonearest): Likewise.
20468         (rint_test_towardzero): Likewise.
20469         (rint_test_downward): Likewise.
20470         (rint_test_upward): Likewise.
20471         (round_test): Likewise.
20472         (scalb_test): Likewise.
20473         (scalbn_test): Likewise.
20474         (scalbln_test): Likewise.
20475         (signbit_test): Likewise.
20476         (sin_test): Likewise.
20477         (sin_test_tonearest): Likewise.
20478         (sin_test_towardzero): Likewise.
20479         (sin_test_downward): Likewise.
20480         (sin_test_upward): Likewise.
20481         (sincos_test): Likewise.
20482         (sinh_test): Likewise.
20483         (sinh_test_tonearest): Likewise.
20484         (sinh_test_towardzero): Likewise.
20485         (sinh_test_downward): Likewise.
20486         (sinh_test_upward): Likewise.
20487         (sqrt_test): Likewise.
20488         (sqrt_test_tonearest): Likewise.
20489         (sqrt_test_towardzero): Likewise.
20490         (sqrt_test_downward): Likewise.
20491         (sqrt_test_upward): Likewise.
20492         (tan_test): Likewise.
20493         (tan_test_tonearest): Likewise.
20494         (tan_test_towardzero): Likewise.
20495         (tan_test_downward): Likewise.
20496         (tan_test_upward): Likewise.
20497         (tanh_test): Likewise.
20498         (tgamma_test): Likewise.
20499         (trunc_test): Likewise.
20500         (y0_test): Likewise.
20501         (y1_test): Likewise.
20502         (yn_test): Likewise.
20503         (significand_test): Likewise.
20505         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20506         individual tests in comment.
20507         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20508         (prev_max_error): New variable.
20509         (prev_real_max_error): Likewise.
20510         (prev_imag_max_error): Likewise.
20511         (compare_ulp_data): Don't refer to test names in comment.
20512         (find_test_ulps): Remove function.
20513         (find_function_ulps): Likewise.
20514         (find_complex_function_ulps): Likewise.
20515         (init_max_error): Take function name as argument.  Look up ulps
20516         for that function.
20517         (print_ulps): Remove function.
20518         (print_max_error): Use prev_max_error instead of calling
20519         find_function_ulps.
20520         (print_complex_max_error): Use prev_real_max_error and
20521         prev_imag_max_error instead of calling find_complex_function_ulps.
20522         (check_float_internal): Take max_ulp parameter instead of calling
20523         find_test_ulps.  Don't call print_ulps.
20524         (check_float): Update call to check_float_internal.
20525         (check_complex): Update calls to check_float_internal.
20526         (START): Pass argument to init_max_error.
20527         * math/gen-libm-test.pl (%results): Don't include "kind"
20528         information.
20529         (parse_ulps): Don't handle ulps of individual tests.
20530         (print_ulps_file): Likewise.
20531         (output_ulps): Likewise.
20532         * math/README.libm-test: Update.
20533         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20534         individual tests.
20535         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20536         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20537         * sysdeps/arm/libm-test-ulps: Likewise.
20538         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20539         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20540         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20541         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20542         * sysdeps/microblaze/libm-test-ulps: Likewise.
20543         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20544         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20545         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20546         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20547         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20548         * sysdeps/sh/libm-test-ulps: Likewise.
20549         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20550         * sysdeps/tile/libm-test-ulps: Likewise.
20551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20553 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
20555         * math/libm-test.inc (print_complex_max_error): Check separately
20556         whether real and imaginary errors are within allowed range and
20557         pass 0 to print_complex_function_ulps instead of value within
20558         allowed range.
20560 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20562         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20563         formatting.
20564         (get_handles_fopen): Likewise.
20565         (do_write_test): Likewise.
20567         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20569         * libio/fileops.c (do_ftell): Use cached offset when
20570         available.
20571         * libio/iofwide.c (do_ftell_wide): Likewise.
20572         * libio/iofdopen.c (_IO_new_fdopen): Don't use
20573         _IO_file_attach.
20574         * libio/wfileops.c (_IO_fwide): Don't cache offset.
20576         [BZ #16532]
20577         * libio/libioP.h (get_file_offset): New function.
20578         * libio/fileops.c (get_file_offset): Likewise.
20579         (do_ftell): Likewise.
20580         (_IO_new_file_seekoff): Split out ftell logic.
20581         * libio/wfileops.c (do_ftell_wide): Likewise.
20582         (_IO_wfile_seekoff): Split out ftell logic.
20583         * libio/tst-ftell-active-handler.c: New test case.
20584         * libio/Makefile (tests): Add it.
20586 2014-03-03  Roland McGrath  <roland@hack.frob.com>
20588         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20589         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20591 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20593         [BZ #16639]
20594         * nscd/connections.c (nscd_init): Call do_exit.
20595         (start_threads): Call do_exit and notify_parent.
20596         (begin_drop_privileges): Call do_exit.
20597         (finish_drop_privileges): Likewise.
20598         * nscd/selinux.c (preserve_capabilities): Likewise.
20599         (install_real_capabilities): Likewise.
20600         (nscd_selinux_enabled): Likewise.
20601         (avc_create_thread): Likewise.
20602         (avc_alloc_lock): Likewise.
20603         (nscd_avc_init): Likewise.
20604         * nscd/nscd.c (parent_fd): New static variable.
20605         (main): Create a pipe between parent and child processes.
20606         Skip closing parent_fd.
20607         (monitor_child): New function.
20608         (do_exit): Likewise.
20609         (notify_parent): Likewise.
20610         * nscd/nscd.h (notify_parent): Likewise.
20611         (do_exit): Likewise.
20613 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
20615         * malloc/malloc.c (__libc_calloc): Revert last change.
20617 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20619         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20621 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20623         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20625         implementation.
20626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20627         (__libc_ifunc_impl_list): Likewise.
20628         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20629         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20630         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20631         * string/strrchr.c: Define STRRCHR.
20633 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
20635         * benchtest/bench-strtok.c (simple_strtok): Delete.
20636         (strtok_string): Use as benchmark.
20637         * string/strtok (STRTOK): New macro.
20639 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
20641         * manual/threads.texi: Add header and standard comments to all
20642         functions.
20644         * elf/dl-lookup.c (check_match): New function.
20645         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20646         (do_lookup_x): Remove nested function check_match. Use non-nested
20647         function check_match.
20649 2014-02-28  Roland McGrath  <roland@hack.frob.com>
20651         * csu/Makefile (generated, before-compile): Use += rather than =.
20652         * catgets/Makefile (generated, generated-dirs): Likewise.
20653         * debug/Makefile (generated): Likewise.
20654         * dlfcn/Makefile (generated): Likewise.
20655         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20656         * iconvdata/Makefile (before-compile, generated): Likewise.
20657         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20658         * libio/Makefile (generated): Likewise.
20659         * malloc/Makefile (generated): Likewise.
20660         * manual/Makefile (generated, generated-dirs): Likewise.
20661         * misc/Makefile (generated): Likewise.
20662         * posix/Makefile (generated): Likewise.
20663         * resolv/Makefile (generated): Likewise.
20664         * sunrpc/Makefile (generated, generated-dirs): Likewise.
20665         * timezone/Makefile (generated, generated-dirs): Likewise.
20667         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20669 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20671         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20672         power8 implementation.
20673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20674         file: POWER8 llround ifunc implementation.
20675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20676         (__lllround): Add POWER8 implementation.
20677         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20678         POWER8 llround implementation.
20680         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20681         power8 implementation.
20682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20683         file: POWER8 llrint ifunc implementation.
20684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20685         Add POWER8 implementation.
20686         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20687         POWER8 llrint implementation.
20689         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20690         power8 implementation.
20691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20692         file: POWER8 finite ifunc implementation.
20693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20694         Add POWER8 implementation.
20695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20696         Likewise.
20697         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20698         POWER8 finite implementation.
20699         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20701         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20702         power8 implementation.
20703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20704         file: POWER8 isinf ifunc implementation.
20705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20706         POWER8 implementation.
20707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20708         Likewise.
20709         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20710         isinf implementation.
20711         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20713         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20714         (INIT_ARCH): Add hwcap2 initialization.
20715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20716         power8 implementation.
20717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20718         file: POWER8 isnan ifunc implementation.
20719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20720         POWER8 implementation.
20721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20722         Likewise.
20723         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20724         isnan implementation.
20725         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20727 2014-02-27  Joey Ye  <joey.ye@arm.com>
20729         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20730         (_FP_NANFRAC_Q): Set to zero.
20732 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20734         [BZ #16623]
20735         * math/auto-libm-test-in: New test inputs.
20736         * math/auto-libm-test-out: Regenerate.
20737         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20738         and DA.
20739         (__cos): Likewise.
20740         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20742 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
20744         * scripts/evaluate-test.sh: Take new argument indicating whether
20745         failure is expected.
20746         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20747         indicating whether failure is expected.
20748         * conform/Makefile (test-xfail-run-conformtest): New variable.
20749         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20750         level.
20751         * posix/Makefile (test-xfail-annexc): New variable.
20752         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20754 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
20756         * argp/Makefile: Include Makeconfig immediately after defining
20757         subdir.
20758         * assert/Makefile: Likewise.
20759         * benchtests/Makefile: Likewise.
20760         * catgets/Makefile: Likewise.
20761         * conform/Makefile: Likewise.
20762         * crypt/Makefile: Likewise.
20763         * csu/Makefile: Likewise.
20764         (all): Remove target.
20765         * ctype/Makefile: Include Makeconfig immediately after defining
20766         subdir.
20767         * debug/Makefile: Likewise.
20768         * dirent/Makefile: Likewise.
20769         * dlfcn/Makefile: Likewise.
20770         * gmon/Makefile: Likewise.
20771         * gnulib/Makefile: Likewise.
20772         * grp/Makefile: Likewise.
20773         * gshadow/Makefile: Likewise.
20774         * hesiod/Makefile: Likewise.
20775         * hurd/Makefile: Likewise.
20776         (all): Remove target.
20777         * iconvdata/Makefile: Include Makeconfig immediately after
20778         defining subdir.
20779         * inet/Makefile: Likewise.
20780         * intl/Makefile: Likewise.
20781         * io/Makefile: Likewise.
20782         * libio/Makefile: Likewise.
20783         (all): Remove target.
20784         * locale/Makefile: Include Makeconfig immediately after defining
20785         subdir.
20786         * login/Makefile: Likewise.
20787         * mach/Makefile: Likewise.
20788         (all): Remove target.
20789         * malloc/Makefile: Include Makeconfig immediately after defining
20790         subdir.
20791         (all): Remove target.
20792         * manual/Makefile: Include Makeconfig immediately after defining
20793         subdir.
20794         * math/Makefile: Likewise.
20795         * misc/Makefile: Likewise.
20796         * nis/Makefile: Likewise.
20797         * nss/Makefile: Likewise.
20798         * po/Makefile: Likewise.
20799         (all): Remove target.
20800         * posix/Makefile: Include Makeconfig immediately after defining
20801         subdir.
20802         * pwd/Makefile: Likewise.
20803         * resolv/Makefile: Likewise.
20804         * resource/Makefile: Likewise.
20805         * rt/Makefile: Likewise.
20806         * setjmp/Makefile: Likewise.
20807         * shadow/Makefile: Likewise.
20808         * signal/Makefile: Likewise.
20809         * socket/Makefile: Likewise.
20810         * soft-fp/Makefile: Likewise.
20811         * stdio-common/Makefile: Likewise.
20812         * stdlib/Makefile: Likewise.
20813         * streams/Makefile: Likewise.
20814         * string/Makefile: Likewise.
20815         * sunrpc/Makefile: Likewise.
20816         (all): Remove target.
20817         * sysvipc/Makefile: Include Makeconfig immediately after defining
20818         subdir.
20819         * termios/Makefile: Likewise.
20820         * time/Makefile: Likewise.
20821         * timezone/Makefile: Likewise.
20822         (all): Remove target.
20823         * wcsmbs/Makefile: Include Makeconfig immediately after defining
20824         subdir.
20825         * wctype/Makefile: Likewise.
20827 2014-02-26  Steve Ellcey  <sellcey@mips.com>
20829         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20830         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20831         (libc_feholdexcept_setround_mips): Ditto.
20832         (libc_feholdsetround): New.
20833         (libc_feholdsetroundf): New.
20834         (libc_feholdsetroundl): New.
20835         (libc_feupdateenv_test_mips): New.
20836         (libc_feupdateenv_test): New.
20837         (libc_feupdateenv_testf): New.
20838         (libc_feupdateenv_testl): New.
20839         (libc_feresetround): New.
20840         (libc_feresetroundf): New.
20841         (libc_feresetroundl): New.
20842         (libc_fetestexcept_mips): New.
20843         (libc_fetestexcept): New.
20844         (libc_fetestexceptf): New.
20845         (libc_fetestexceptl): New.
20846         (HAVE_RM_CTX): New.
20847         (libc_feholdexcept_setround_mips_ctx): New.
20848         (libc_feholdexcept_setround_ctx): New.
20849         (libc_feholdexcept_setroundf_ctx): New.
20850         (libc_feholdexcept_setroundl_ctx): New.
20851         (libc_fesetenv_mips_ctx): New.
20852         (libc_fesetenv_ctx): New.
20853         (libc_fesetenv_ctxf): New.
20854         (libc_fesetenv_ctxl): New.
20855         (libc_feupdateenv_mips_ctx): New.
20856         (libc_feupdateenv_ctx): New.
20857         (libc_feupdateenvf_ctx): New.
20858         (libc_feupdateenvl_ctx): New.
20859         (libc_feholdsetround_mips_ctx): New.
20860         (libc_feholdsetround_ctx): New.
20861         (libc_feholdsetroundf_ctx): New.
20862         (libc_feholdsetroundl_ctx): New.
20863         (libc_feresetround_mips_ctx): New.
20864         (libc_feresetround_ctx): New.
20865         (libc_feresetroundf_ctx): New.
20866         (libc_feresetroundl_ctx): New.
20868 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
20870         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20872         * manual/ipc.texi: New file.
20873         * manual/Makefile (chapters): Add ipc.
20874         * manual/job.texi: Add "Inter-Process Communication" to next.
20875         * manual/process.texi: Add "Inter-Process Communication" to prev.
20877 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20881 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
20883         * malloc/malloc.c (__libc_calloc): Simplify implementation.
20885         * manual/arith.texi: Fix spaces after sentences.
20886         * manual/charset.texi: Likewise.
20887         * manual/errno.texi: Likewise.
20888         * manual/install.texi: Likewise.
20889         * manual/llio.texi: Likewise.
20890         * manual/locale.texi: Likewise.
20891         * manual/maint.texi: Likewise.
20892         * manual/math.texi: Likewise.
20893         * manual/memory.texi: Likewise.
20894         * manual/message.texi: Likewise.
20895         * manual/probes.texi: Likewise.
20896         * manual/resource.texi: Likewise.
20897         * manual/signal.texi: Likewise.
20898         * manual/socket.texi: Likewise.
20899         * manual/stdio.texi: Likewise.
20900         * manual/string.texi: Likewise.
20901         * manual/time.texi: Likewise.
20902         * manual/users.texi: Likewise.
20904 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
20906         [BZ #16632]
20907         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20908         _DEFAULT_SOURCE is defined.
20910 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
20911             Carlos O'Donell  <carlos@redhat.com>
20913         [BZ #16613]
20914         * elf/dl-tls.c (_dl_count_modids): New function.
20915         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20916         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20917         audit library and increment generation counter.
20918         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20919         * elf/tst-audit9.c: New file.
20920         * elf/tst-auditmod9a.c: New file.
20921         * elf/tst-auditmod9b.c: New file.
20922         * elf/Makefile: Add rules to build and run tst-audit9.
20924 2014-02-25  Florian Weimer  <fweimer@redhat.com>
20926         [BZ #15347]
20927         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20929 2014-02-25  Will Newton  <will.newton@linaro.org>
20931         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20932         (__longjmp): Restore sp and lr before restoring callee
20933         saved registers.  Add longjmp and longjmp_target
20934         SystemTap probe point.
20935         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20936         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20937         Define to zero to match jmpbuf layout.
20938         * sysdeps/arm/setjmp.S: Include stap-probe.h.
20939         (__sigsetjmp): Save sp and lr before saving callee
20940         saved registers.  Add setjmp SystemTap probe point.
20942 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20944         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20946 2014-02-24  Andreas Schwab  <schwab@suse.de>
20948         [BZ #15804]
20949         * elf/pldd.c (wait_for_ptrace_stop): New function.
20950         (main): Call it after attaching.
20952 2014-02-22  Roland McGrath  <roland@hack.frob.com>
20954         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20955         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20956         Versions files is now verboten.
20957         * hurd/Versions (libc: GLIBC_2.0):
20958         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20959         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20960         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20961         * mach/Versions: Likewise.
20963         * csu/Versions: Remove unused %include.
20964         * resolv/Versions: Likewise.
20966 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
20968         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20969         ($(objpfx)check-local-headers.out): Likewise.
20970         ($(objpfx)begin-end-check.out): Likewise.
20971         * Makerules (check-abi-%.out): Likewise.
20972         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20973         ($(objpfx)test2.cat): Likewise.
20974         ($(objpfx)de/libc.cat): Likewise.
20975         ($(objpfx)test-gencat.out): Likewise.
20976         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20977         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20978         ($(objpfx)noload-mem): Likewise.
20979         ($(objpfx)tst-pathopt.out): Likewise.
20980         ($(objpfx)tst-rtld-load-self.out): Likewise.
20981         ($(objpfx)tst-array1-cmp.out): Likewise.
20982         ($(objpfx)tst-array1-static-cmp.out): Likewise.
20983         ($(objpfx)tst-array2-cmp.out): Likewise.
20984         ($(objpfx)tst-array3-cmp.out): Likewise.
20985         ($(objpfx)tst-array4-cmp.out): Likewise.
20986         ($(objpfx)tst-array5-cmp.out): Likewise.
20987         ($(objpfx)tst-array5-static-cmp.out): Likewise.
20988         ($(objpfx)check-textrel.out): Likewise.
20989         ($(objpfx)check-execstack.out): Likewise.
20990         ($(objpfx)check-localplt.out): Likewise.
20991         ($(objpfx)order2-cmp.out): Likewise.
20992         ($(objpfx)tst-leaks1-mem): Likewise.
20993         ($(objpfx)tst-leaks1-static-mem): Likewise.
20994         ($(objpfx)tst-initorder-cmp.out): Likewise.
20995         ($(objpfx)tst-initorder2-cmp.out): Likewise.
20996         ($(objpfx)tst-unused-dep.out): Likewise.
20997         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20998         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20999         * iconv/Makefile (test-iconvconfig): Likewise.
21000         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
21001         ($(objpfx)iconv-test.out): Likewise.
21002         ($(objpfx)tst-tables.out): Likewise.
21003         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
21004         ($(objpfx)tst-gettext.out): Likewise.
21005         ($(objpfx)tst-translit.out): Likewise.
21006         ($(objpfx)tst-gettext2.out): Likewise.
21007         ($(objpfx)tst-gettext4.out): Likewise.
21008         ($(objpfx)tst-gettext6.out): Likewise.
21009         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
21010         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
21011         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
21012         ($(objpfx)tst-fopenloc-mem.out): Likewise.
21013         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
21014         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
21015         * posix/Makefile ($(objpfx)globtest.out): Likewise.
21016         ($(objpfx)wordexp-tst.out): Likewise.
21017         ($(objpfx)annexc.out): Likewise.
21018         ($(objpfx)tst-fnmatch-mem): Likewise.
21019         ($(objpfx)bug-regex2-mem): Likewise.
21020         ($(objpfx)bug-regex14-mem): Likewise.
21021         ($(objpfx)bug-regex21-mem): Likewise.
21022         ($(objpfx)bug-regex31-mem): Likewise.
21023         ($(objpfx)tst-vfork3-mem): Likewise.
21024         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
21025         ($(objpfx)tst-pcre-mem): Likewise.
21026         ($(objpfx)tst-boost-mem): Likewise.
21027         ($(objpfx)tst-getconf.out): Likewise.
21028         ($(objpfx)bug-ga2-mem): Likewise.
21029         ($(objpfx)bug-glob2-mem): Likewise.
21030         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
21031         ($(objpfx)mtrace-tst-leaks2): Likewise.
21032         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
21033         ($(objpfx)tst-printf.out): Likewise.
21034         ($(objpfx)tst-setvbuf1.out): Likewise.
21035         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
21036         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
21037         ($(objpfx)tst-fmtmsg.out): Likewise.
21038         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
21039         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
21041         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
21042         * bits/sigaction.h [__USE_MISC]: Likewise.
21043         * bits/waitstatus.h: Update #endif comments.
21044         * ctype/ctype.h: Likewise.
21045         * dirent/dirent.h: Likewise.
21046         [__USE_MISC]: Remove redundant conditionals.
21047         * grp/grp.h: Update #endif comments.
21048         [__USE_GNU]: Remove redundant conditionals.
21049         [__USE_MISC]: Likewise.
21050         * inet/netinet/in.h [__USE_GNU]: Likewise.
21051         * io/sys/stat.h [__USE_MISC]: Likewise.
21052         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
21053         * libio/bits/stdio.h: Update #endif comments.
21054         [__USE_MISC]: Remove redundant conditionals.
21055         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
21056         * libio/stdio.h: Update #endif comments.
21057         [__USE_MISC]: Remove redundant conditionals.
21058         * math/bits/math-finite.h [__USE_MISC]: Likewise.
21059         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
21060         * math/math.h: Update #else and #endif comments.
21061         [__USE_MISC]: Remove redundant conditionals.
21062         * misc/sys/uio.h: Update #endif comments.
21063         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
21064         * posix/glob.h [__USE_MISC]: Likewise.
21065         * posix/sys/types.h: Update #endif comments.
21066         [__USE_MISC]: Remove redundant conditionals.
21067         * posix/sys/wait.h: Update #endif comments.
21068         [__USE_MISC]: Remove redundant conditionals.
21069         * posix/unistd.h: Update #endif comments.
21070         [__USE_MISC]: Remove redundant conditionals.
21071         * pwd/pwd.h [__USE_GNU]: Likewise.
21072         [__USE_MISC]: Likewise.
21073         * resolv/netdb.h [__USE_GNU]: Likewise.
21074         * signal/signal.h: Update #endif comments.
21075         [__USE_MISC]: Remove redundant conditionals.
21076         * stdlib/stdlib.h: Update #else and #endif comments.
21077         [__USE_MISC]: Remove redundant conditionals.
21078         [__USE_GNU]: Likewise.
21079         * string/bits/string2.h [__USE_MISC]: Likewise.
21080         * string/string.h: Update #endif comments.
21081         [__USE_MISC]: Remove redundant conditionals.
21082         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
21083         Likewise.
21084         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
21085         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
21086         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
21087         Likewise.
21088         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
21089         Likewise.
21090         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
21091         comments.
21092         [__USE_MISC]: Remove redundant conditionals.
21093         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
21094         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
21095         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
21096         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
21097         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
21098         Likewise.
21099         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
21100         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
21101         Likewise.
21102         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
21103         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
21104         Likewise.
21105         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
21106         Likewise.
21107         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
21108         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
21109         Likewise.
21110         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
21111         Likewise.
21112         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
21113         * sysdeps/x86/bits/string.h: Update #endif comments.
21114         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
21115         conditionals.
21116         * time/sys/time.h: Update #endif comments.
21117         * time/time.h: Likewise.
21118         [__USE_MISC]: Remove redundant conditionals.
21120 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
21122         [BZ #16600]
21123         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
21125 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
21127         * Versions.def (librt): Add GLIBC_2.17.
21129 2014-02-21  Adam Conrad  <adconrad@0c3.net>
21131         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
21132         synonym for _SYS_AUXV_H to allow direct inclusion.
21133         * sysdeps/sparc/bits/hwcap.h: Likewise.
21134         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21135         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21136         * sysdeps/sparc/sysdep.h: Likewise.
21138 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21140         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21142 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21144         * benchtests/bench-strrchr.c: Print length instead of position.
21146 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
21148         [BZ #16611]
21149         * sysdeps/unix/sysv/linux/kernel-features.h
21150         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21151         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21152         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21153         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21154         Likewise.
21155         [__i386__ || __powerpc__ || __sh__ || __sparc__]
21156         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21157         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21158         (__ASSUME_SENDMMSG): Define instead of using previous
21159         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21160         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21161         (__ASSUME_SENDMMSG_SYSCALL): Define.
21162         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21163         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21164         Likewise.
21165         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21166         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21167         Likewise.
21168         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21169         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21170         Likewise.
21171         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21172         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21173         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21174         [__ASSUME_SENDMMSG]: Change conditionals to
21175         [__ASSUME_SENDMMSG_SOCKETCALL].
21176         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21177         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21178         Define.
21179         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21180         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21181         Likewise.
21182         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21183         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21184         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21185         [!__ASSUME_SENDMMSG]: Change conditional to
21186         [!__ASSUME_SENDMMSG_SOCKETCALL].
21187         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21188         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21189         Define.
21191         [BZ #16610]
21192         * sysdeps/unix/sysv/linux/kernel-features.h
21193         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21194         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21195         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21196         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21197         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21198         [__i386__ || __sparc__]
21199         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21200         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21201         (__ASSUME_RECVMMSG): Define instead of using previous
21202         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21203         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21204         (__ASSUME_RECVMMSG_SYSCALL): Define.
21205         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21206         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21207         Likewise.
21208         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21209         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21210         Likewise.
21211         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21212         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21213         Likewise.
21214         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21215         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21216         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21217         [__ASSUME_RECVMMSG]: Change condition to
21218         [__ASSUME_RECVMMSG_SOCKETCALL].
21219         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21220         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21221         Define.
21222         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21223         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21224         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21225         Likewise.
21226         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21227         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21228         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21229         [!__ASSUME_RECVMMSG]: Change condition to
21230         [!__ASSUME_RECVMMSG_SOCKETCALL].
21231         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21232         (__ASSUME_RECVMMSG_SYSCALL): Define.
21234         [BZ #16609]
21235         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21236         __powerpc__ || __s390__ || __sh__ || __sparc__]
21237         (__ASSUME_SOCKETCALL): Define.
21238         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21239         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21240         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21241         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21242         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21243         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21244         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21245         (__ASSUME_ACCEPT4): Define instead of using previous
21246         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21247         __powerpc__ || __sparc__ || __s390__)] condition.
21248         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21249         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21250         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21251         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21252         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21253         [!__ASSUME_ACCEPT4]: Change condition to
21254         [!__ASSUME_ACCEPT4_SOCKETCALL].
21255         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21256         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
21257         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21258         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21259         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21260         __ASSUME_ACCEPT4_SYSCALL.
21261         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21262         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21263         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21264         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21265         __ASSUME_ACCEPT4_SYSCALL.
21266         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21267         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21268         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21269         [__ASSUME_ACCEPT4]: Change condition to
21270         [__ASSUME_ACCEPT4_SOCKETCALL].
21271         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21272         (__ASSUME_SOCKETCALL): Define.
21273         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21274         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21275         (__ASSUME_SOCKETCALL): Define.
21276         (__ASSUME_ACCEPT4): Remove.
21277         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21278         Define.
21279         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21280         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21281         Likewise.
21282         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21283         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21285         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21286         macro.
21287         (HWCAP_ARM_LPAE): Likewise.
21288         (HWCAP_ARM_EVTSTRM): Likewise.
21289         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21290         Add vpfd32, lpae and evtstrm.
21291         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21292         Increase to 22.
21294 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
21296         * math/auto-libm-test-in: Add tests of clog10.
21297         * math/auto-libm-test-out: Regenerated.
21298         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21299         * sysdeps/i386/fpu/libm-test-ulps: Update.
21300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21302 2014-02-18  Andreas Schwab  <schwab@suse.de>
21304         [BZ #16574]
21305         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21306         Store non-zero if the second buffer was newly allocated.
21307         (send_dg): Likewise.
21308         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21309         to send_vc and send_dg.
21310         (res_nsend): Pass NULL for ansp2_malloced.
21311         * resolv/res_query.c (__libc_res_nquery): Add parameter
21312         answerp2_malloced and pass it down to __libc_res_nsend.
21313         (res_nquery): Pass additional NULL to __libc_res_nquery.
21314         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21315         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
21316         second answer buffer if answerp2_malloced was set.
21317         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21318         (__libc_res_nquerydomain): Add parameter
21319         answerp2_malloced and pass it down to __libc_res_nquery.
21320         (res_nquerydomain): Pass additional NULL to
21321         __libc_res_nquerydomain.
21322         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21323         additional NULL to __libc_res_nsend and __libc_res_nquery.
21324         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21325         additional NULL to __libc_res_nsearch.
21326         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
21327         parameter of __libc_res_nsearch to check for separately allocated
21328         second buffer.
21329         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21330         __libc_res_nquery.
21331         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21332         additional NULL to __libc_res_nquery.
21333         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21334         __libc_res_nsearch.
21335         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21336         * include/resolv.h: Update prototypes of __libc_res_nquery,
21337         __libc_res_nsearch, __libc_res_nsend.
21339 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
21341         * math/auto-libm-test-in: Add tests of fma.
21342         * math/auto-libm-test-out: Regenerated.
21343         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21344         (fma_towardzero_test_data): Likewise.
21345         (fma_downward_test_data): Likewise.
21346         (fma_upward_test_data): Likewise.
21347         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21348         mpc_mode.
21349         (rounding_modes): Add values for new field.
21350         (func_calc_method): Add value mpfr_fff_f.
21351         (func_calc_desc): Add mpfr_fff_f union field.
21352         (test_function): Add field exact_args.
21353         (FUNC): Add macro argument EXACT_ARGS.
21354         (FUNC_mpfr_f_f): Update call to FUNC.
21355         (FUNC_mpfr_f_f): Likewise.
21356         (FUNC_mpfr_ff_f): Likewise.
21357         (FUNC_mpfr_if_f): Likewise.
21358         (FUNC_mpc_c_f): Likewise.
21359         (FUNC_mpc_c_c): Likewise.
21360         (test_functions): Add fma.  Update calls to FUNC.
21361         (handle_input_arg): Add argument exact_args.
21362         (add_test): Update call to handle_input_arg.
21363         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
21364         (output_for_one_input_case): Update call to calc_generic_results.
21365         Recalculate exact zero results in each rounding mode.
21367         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21368         non-negative before setting low bit.
21369         * math/auto-libm-test-in: Mark one asin test possibly having
21370         spurious underflow.
21371         * math/auto-libm-test-out: Regenerated.
21372         * sysdeps/i386/fpu/libm-test-ulps: Update.
21373         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21375 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
21377         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21378         * sysdeps/unix/sysv/linux/microblaze: Move directory from
21379         ports/sysdeps/unix/sysv/linux/microblaze.
21380         * README: Add missing listing for microblaze*-*-linux-gnu.
21382 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
21384         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21385         duplicate code
21387 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
21389         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21390         * sysdeps/unix/sysv/linux/ia64: Move directory from
21391         ports/sysdeps/unix/sysv/linux/ia64.
21392         * README: Update listing for ia64-*-linux-gnu.
21394 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
21395             Joseph Myers  <joseph@codesourcery.com>
21397         * Makeconfig (test-name): New variable.
21398         (evaluate-test): Likewise.
21399         * Makerules (do-test-clean): Remove .test-result files.
21400         (common-mostlyclean): Likewise.
21401         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21402         * scripts/evaluate-test.sh: New file.
21404 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
21406         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21407         separate $(objpfx)tst-fopenloc-cmp.out and
21408         $(objpfx)tst-fopenloc-mem.out targets.
21409         (tests): Update dependencies.
21410         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21411         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21412         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21413         (tst-rxspencer-no-utf8-ARGS): New variable.
21414         (tst-rxspencer-no-utf8-ENV): Likewise.
21415         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21416         instead of $(objpfx)tst-rxspencer-mem.
21417         ($(objpfx)tst-rxspencer-mem): Change target to
21418         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
21419         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21420         * posix/tst-rxspencer-no-utf8.c: New file.
21422         * elf/Makefile ($(objpfx)order.out): Remove rule.
21423         [$(run-built-tests) = yes] (tests): Depend on
21424         $(objpfx)order-cmp.out.
21425         ($(objpfx)order-cmp.out): New rule.
21426         [$(run-built-tests) = yes] (tests): Depend on
21427         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21428         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21429         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21430         $(objpfx)tst-array5-static-cmp.out.
21431         ($(objpfx)tst-array1.out): Remove rule.
21432         ($(objpfx)tst-array1-cmp.out): New rule.
21433         ($(objpfx)tst-array1-static.out): Remove rule.
21434         ($(objpfx)tst-array1-static-cmp.out): New rule.
21435         ($(objpfx)tst-array2.out): Remove rule.
21436         ($(objpfx)tst-array2-cmp.out): New rule.
21437         ($(objpfx)tst-array3.out): Remove rule.
21438         ($(objpfx)tst-array3-cmp.out): New rule.
21439         ($(objpfx)tst-array4.out): Remove rule.
21440         ($(objpfx)tst-array4-cmp.out): New rule.
21441         ($(objpfx)tst-array5.out): Remove rule.
21442         ($(objpfx)tst-array5-cmp.out): New rule.
21443         ($(objpfx)tst-array5-static.out): Remove rule.
21444         ($(objpfx)tst-array5-static-cmp.out): New rule.
21445         [$(run-built-tests) = yes] (tests): Depend on
21446         $(objpfx)order2-cmp.out.
21447         ($(objpfx)order2.out): Remove rule.
21448         ($(objpfx)order2-cmp.out): New rule.
21449         ($(objpfx)tst-initorder.out): Remove rule.
21450         [$(run-built-tests) = yes] (tests): Depend on
21451         $(objpfx)tst-initorder-cmp.out.
21452         ($(objpfx)tst-initorder-cmp.out): New rule.
21453         ($(objpfx)tst-initorder2.out): Remove rule.
21454         [$(run-built-tests) = yes] (tests): Depend on
21455         $(objpfx)tst-initorder2-cmp.out.
21456         ($(objpfx)tst-initorder2-cmp.out): New rule.
21457         [$(run-built-tests) = yes] (tests): Depend on
21458         $(objpfx)tst-unused-dep-cmp.out.
21459         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21460         ($(objpfx)tst-unused-dep-cmp.out): New rule.
21461         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21462         on $(objpfx)tst-setvbuf1-cmp.out.
21463         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21464         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21465         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21466         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21467         ($(objpfx)tst-svc.out): Remove rule.
21468         ($(objpfx)tst-svc-cmp.out): New rule.
21470 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
21472         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21473         * ctype/ctype.h [__USE_MISC]: Likewise.
21474         * dirent/dirent.h [__USE_MISC]: Likewise.
21475         * grp/grp.h [__USE_MISC]: Likewise.
21476         * io/fcntl.h [__USE_MISC]: Likewise.
21477         * io/sys/stat.h [__USE_MISC]: Likewise.
21478         * libio/stdio.h [__USE_MISC]: Likewise.
21479         * posix/unistd.h [__USE_MISC]: Likewise.
21480         * pwd/pwd.h [__USE_MISC]: Likewise.
21481         * stdlib.h [__USE_MISC]: Likewise.
21482         * string/bits/string2.h [__USE_MISC]: Likewise.
21483         * string/string.h [__USE_MISC]: Likewise.
21484         * time/time.h [__USE_MISC]: Likewise.
21486 2014-02-13  Andreas Schwab  <schwab@suse.de>
21488         [BZ #16574]
21489         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21490         second answer buffer if it was separately allocated.
21492 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
21494         * sysdeps/mips/math-tests.h: Include <features.h>.
21495         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21496         (ROUNDING_TESTS_long_double): Do not define.
21497         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21498         (EXCEPTION_TESTS_long_double): Likewise.
21499         * sysdeps/mips/mips64/libm-test-ulps: Update.
21501         * include/features.h (__USE_BSD): Remove macro definitions.
21502         (__USE_SVID): Likewise.
21503         (_BSD_SOURCE): Likewise.
21504         (_SVID_SOURCE): Likewise.
21505         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21506         from definition of _DEFAULT_SOURCE.
21507         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21508         [_DEFAULT_SOURCE].
21509         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21510         * bits/mman.h [__USE_BSD]: Likewise.
21511         * bits/termios.h [__USE_BSD]: Likewise.
21512         * bits/waitstatus.h [__USE_BSD]: Likewise.
21513         * ctype/ctype.h [__USE_SVID]: Likewise.
21514         * dirent/dirent.h [__USE_BSD]: Likewise.
21515         * grp/grp.h [__USE_SVID]: Likewise.
21516         [__USE_BSD]: Likewise.
21517         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21518         * io/fcntl.h [__USE_BSD]: Likewise.
21519         * io/ftw.h [__USE_BSD]: Likewise.
21520         * io/sys/stat.h [__USE_BSD]: Likewise.
21521         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21522         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21523         * libio/stdio.h [__USE_SVID]: Likewise.
21524         [__USE_BSD]: Likewise.
21525         * math/math.h [__USE_SVID]: Likewise.
21526         [__USE_BSD]: Likewise.
21527         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21528         * misc/bits/syslog.h [__USE_BSD]: Likewise.
21529         * misc/search.h [__USE_SVID]: Likewise.
21530         * misc/sys/mman.h [__USE_BSD]: Likewise.
21531         * misc/sys/syslog.h [__USE_BSD]: Likewise.
21532         * misc/sys/uio.h [__USE_BSD]: Likewise.
21533         * posix/bits/unistd.h [__USE_BSD]: Likewise.
21534         * posix/glob.h [__USE_BSD]: Likewise.
21535         * posix/regex.h [__USE_BSD]: Likewise.
21536         * posix/sys/types.h [__USE_BSD]: Likewise.
21537         [__USE_SVID]: Likewise.
21538         * posix/sys/utsname.h [__USE_SVID]: Likewise.
21539         * posix/sys/wait.h [__USE_BSD]: Likewise.
21540         [__USE_SVID]: Likewise.
21541         * posix/unistd.h [__USE_BSD]: Likewise.
21542         [__USE_SVID]: Likewise.
21543         * pwd/pwd.h [__USE_SVID]: Likewise.
21544         * resolv/netdb.h [__USE_BSD]: Likewise.
21545         * setjmp/setjmp.h [__USE_BSD]: Likewise.
21546         * signal/signal.h [__USE_BSD]: Likewise.
21547         [__USE_SVID]: Likewise.
21548         * socket/sys/socket.h [__USE_BSD]: Likewise.
21549         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21550         * stdlib/stdlib.h [__USE_BSD]: Likewise.
21551         [__USE_SVID]: Likewise.
21552         * string/bits/string2.h [__USE_BSD]: Likewise.
21553         [__USE_SVID]: Likewise.
21554         * string/bits/string3.h [__USE_BSD]: Likewise.
21555         * string/endian.h [__USE_BSD]: Likewise.
21556         * string/string.h [__USE_SVID]: Likewise.
21557         [__USE_BSD]: Likewise.
21558         * string/strings.h [__USE_BSD]: Likewise.
21559         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21560         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21561         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21562         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21563         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21564         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21565         Likewise.
21566         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21567         Likewise.
21568         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21569         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21570         Likewise.
21571         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21572         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21573         Likewise.
21574         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21575         Likewise.
21576         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21577         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21578         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21579         Likewise.
21580         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21581         Likewise.
21582         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21583         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21584         * termios/termios.h [__USE_BSD]: Likewise.
21585         * time/sys/time.h [__USE_BSD]: Likewise.
21586         * time/time.h [__USE_BSD]: Likewise.
21587         [__USE_SVID]: Likewise.
21589         * Makefile (subdir_targets): Remove subdir_lint.out.
21591         * stdio-common/Makefile (do-tst-unbputc): Remove target.
21592         (do-tst-printf): Likewise.
21593         (tests): Depend directly on $(objpfx)tst-unbputc.out and
21594         $(objpfx)tst-printf.out.
21596         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21598         * Makerules (check-abi-%): Change target to
21599         $(objpfx)check-abi-%.out.
21600         (check-abi target): Update dependencies.
21601         (check-abi-pattern variable): Redirect output of diff to $@.
21602         (check-abi variable): Likewise.
21603         * elf/Makefile (check-abi): Update dependencies.
21605         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21606         unused.
21607         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21608         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21609         subnormal range.
21610         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21611         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21612         value has largest subnormal exponent.
21613         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21614         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21615         * sysdeps/aarch64/soft-fp/sfp-machine.h
21616         (_FP_TININESS_AFTER_ROUNDING): New macro.
21617         * sysdeps/alpha/soft-fp/sfp-machine.h
21618         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21619         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21620         Likewise.
21621         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21622         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21623         * sysdeps/mips/soft-fp/sfp-machine.h
21624         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21625         * sysdeps/powerpc/soft-fp/sfp-machine.h
21626         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21627         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21628         Likewise.
21629         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21630         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21631         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21632         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21633         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21634         Likewise.
21636 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
21638         [BZ #16545]
21639         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21640         model 1.
21642 2014-02-12  Richard Henderson  <rth@redhat.com>
21644         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21645         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21646         * sysdeps/unix/sysv/linux/alpha: Move directory from
21647         ports/sysdeps/unix/sysv/linux/alpha.
21648         * README: Update listing for alpha-*-linux-gnu.
21650 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
21652         * include/features.h: Update comment documenting feature test
21653         macros.
21654         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
21655         _DEFAULT_SOURCE.
21656         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21657         (_SVID_SOURCE): Likewise.
21658         (_DEFAULT_SOURCE): Update description of default features.
21659         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21660         with _GNU_SOURCE.
21661         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21662         (S_ISVTX): Likewise.
21663         * manual/math.texi (Mathematical Constants): Likewise.
21664         * manual/signal.texi (Interrupted Primitives): Likewise.
21665         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21666         * math/test-matherr.c (_SVID_SOURCE): Do not define.
21667         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21668         Don't refer to _SVID_SOURCE in warning text.
21670         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21672         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21673         already defined.
21674         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21675         * sysdeps/mips/dl-lookup.c: Remove.
21676         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21678 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21680         [BZ #16447]
21681         * math/auto-libm-test-in: Add testcase for expl.
21682         * math/auto-libm-test-out: Regenerate.
21683         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21684         calculation of unsafe.
21685         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21687 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21689         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21690         * sysdeps/unix/sysv/linux/aarch64: Move directory from
21691         ports/sysdeps/unix/sysv/linux/aarch64.
21692         * README: Update listing for aarch64*-*-linux-gnu.
21694 2014-02-11  Will Newton  <will.newton@linaro.org>
21696         * manual/probes.texi (Mathematical Function Probes): Use
21697         "triggered" instead of "hit".
21699         * manual/probes.texi (Internal Probes): Add documentation
21700         of setjmp, longjmp and longjmp_target probes.
21702         * include/stap-probe.h: Add comment about probe argument
21703         format.
21705         * malloc/mtrace.c (attribute_hidden): Remove unused macro
21706         definition.  (tr_where, tr_freehook, tr_mallochook,
21707         tr_reallochook, tr_memalignhook): Use ANSI protoype.
21709 2014-02-11  David S. Miller  <davem@davemloft.net>
21711         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21712         processing int_tests.
21714 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
21716         * sysdeps/mips: Move directory from ports/sysdeps/mips.
21717         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21718         * sysdeps/unix/sysv/linux/mips: Move directory from
21719         ports/sysdeps/unix/sysv/linux/mips.
21720         * README: Update listing for mips-*-linux-gnu and
21721         mips64-*-linux-gnu.
21723 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
21725         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21726         * sysdeps/unix/sysv/linux/m68k: Move directory from
21727         ports/sysdeps/unix/sysv/linux/m68k.
21728         * README: Update listing for m68k-*-linux-gnu.
21730 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
21732         * sysdeps/tile: Move directory from ports/sysdeps/tile.
21733         * sysdeps/unix/sysv/linux/generic: Move directory from
21734         ports/sysdeps/unix/sysv/linux/generic.
21735         * sysdeps/unix/sysv/linux/tile: Move directory from
21736         ports/sysdeps/unix/sysv/linux/tile.
21737         * README: Update listing for tile*-*-linux-gnu.
21739 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
21741         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21742         __builtin_expect.
21743         * benchtests/bench-memmem.c (simple_memmem): Likewise.
21744         * catgets/open_catalog.c (__open_catalog): Likewise.
21745         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21746         * debug/confstr_chk.c: Likewise.
21747         * debug/fread_chk.c (__fread_chk): Likewise.
21748         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21749         * debug/getgroups_chk.c: Likewise.
21750         * debug/mbsnrtowcs_chk.c: Likewise.
21751         * debug/mbsrtowcs_chk.c: Likewise.
21752         * debug/mbstowcs_chk.c: Likewise.
21753         * debug/memcpy_chk.c: Likewise.
21754         * debug/memmove_chk.c: Likewise.
21755         * debug/mempcpy_chk.c: Likewise.
21756         * debug/memset_chk.c: Likewise.
21757         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21758         * debug/strcat_chk.c (__strcat_chk): Likewise.
21759         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21760         * debug/strncat_chk.c (__strncat_chk): Likewise.
21761         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21762         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21763         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21764         * debug/wcpncpy_chk.c: Likewise.
21765         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21766         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21767         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21768         * debug/wcsncpy_chk.c: Likewise.
21769         * debug/wcsnrtombs_chk.c: Likewise.
21770         * debug/wcsrtombs_chk.c: Likewise.
21771         * debug/wcstombs_chk.c: Likewise.
21772         * debug/wmemcpy_chk.c: Likewise.
21773         * debug/wmemmove_chk.c: Likewise.
21774         * debug/wmempcpy_chk.c: Likewise.
21775         * debug/wmemset_chk.c: Likewise.
21776         * dirent/scandirat.c (SCANDIRAT): Likewise.
21777         * dlfcn/dladdr1.c (dladdr1): Likewise.
21778         * dlfcn/dladdr.c (dladdr): Likewise.
21779         * dlfcn/dlclose.c (dlclose_doit): Likewise.
21780         * dlfcn/dlerror.c (__dlerror): Likewise.
21781         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21782         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21783         * dlfcn/dlopen.c (dlopen_doit): Likewise.
21784         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21785         * dlfcn/dlsym.c (dlsym_doit): Likewise.
21786         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21787         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21788         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21789         Likewise.
21790         * elf/dl-conflict.c: Likewise.
21791         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21792         * elf/dl-dst.h: Likewise.
21793         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21794         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21795         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21796         * elf/dl-init.c (call_init, _dl_init): Likewise.
21797         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21798         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21799         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21800         Likewise.
21801         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21802         Likewise.
21803         * elf/dl-minimal.c (__libc_memalign): Likewise.
21804         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21805         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21806         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21807         * elf/dl-sym.c (do_sym): Likewise.
21808         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21809         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21810         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21811         * elf/dl-writev.h (_dl_writev): Likewise.
21812         * elf/ldconfig.c (search_dir): Likewise.
21813         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21814         (dl_main): Likewise.
21815         * elf/setup-vdso.h (setup_vdso): Likewise.
21816         * grp/compat-initgroups.c (compat_call): Likewise.
21817         * grp/fgetgrent.c (fgetgrent): Likewise.
21818         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21819         * grp/putgrent.c (putgrent): Likewise.
21820         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21821         Likewise.
21822         * hurd/hurdinit.c: Likewise.
21823         * iconvdata/8bit-gap.c (struct): Likewise.
21824         * iconvdata/ansi_x3.110.c : Likewise.
21825         * iconvdata/big5.c : Likewise.
21826         * iconvdata/big5hkscs.c : Likewise.
21827         * iconvdata/cp1255.c: Likewise.
21828         * iconvdata/cp1258.c : Likewise.
21829         * iconvdata/cp932.c : Likewise.
21830         * iconvdata/euc-cn.c: Likewise.
21831         * iconvdata/euc-jisx0213.c : Likewise.
21832         * iconvdata/euc-jp.c: Likewise.
21833         * iconvdata/euc-jp-ms.c : Likewise.
21834         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21835         * iconvdata/gb18030.c : Likewise.
21836         * iconvdata/gbbig5.c (const): Likewise.
21837         * iconvdata/gbgbk.c: Likewise.
21838         * iconvdata/gbk.c : Likewise.
21839         * iconvdata/ibm1364.c : Likewise.
21840         * iconvdata/ibm930.c : Likewise.
21841         * iconvdata/ibm932.c: Likewise.
21842         * iconvdata/ibm933.c : Likewise.
21843         * iconvdata/ibm935.c : Likewise.
21844         * iconvdata/ibm937.c : Likewise.
21845         * iconvdata/ibm939.c : Likewise.
21846         * iconvdata/ibm943.c: Likewise.
21847         * iconvdata/iso_11548-1.c: Likewise.
21848         * iconvdata/iso-2022-cn.c : Likewise.
21849         * iconvdata/iso-2022-cn-ext.c : Likewise.
21850         * iconvdata/iso-2022-jp-3.c: Likewise.
21851         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21852         * iconvdata/iso-2022-kr.c : Likewise.
21853         * iconvdata/iso646.c (gconv_end): Likewise.
21854         * iconvdata/iso_6937-2.c : Likewise.
21855         * iconvdata/iso_6937.c : Likewise.
21856         * iconvdata/iso8859-1.c: Likewise.
21857         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21858         * iconvdata/shift_jisx0213.c : Likewise.
21859         * iconvdata/sjis.c : Likewise.
21860         * iconvdata/t.61.c : Likewise.
21861         * iconvdata/tcvn5712-1.c : Likewise.
21862         * iconvdata/tscii.c: Likewise.
21863         * iconvdata/uhc.c : Likewise.
21864         * iconvdata/unicode.c (gconv_end): Likewise.
21865         * iconvdata/utf-16.c (gconv_end): Likewise.
21866         * iconvdata/utf-32.c (gconv_end): Likewise.
21867         * iconvdata/utf-7.c (base64): Likewise.
21868         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21869         * iconv/gconv_close.c (__gconv_close): Likewise.
21870         * iconv/gconv_open.c (__gconv_open): Likewise.
21871         * iconv/gconv_simple.c (internal_ucs4_loop_single)
21872         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21873         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21874         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21875         (ucs4le_internal_loop_single): Likewise.
21876         * iconv/iconv.c (iconv): Likewise.
21877         * iconv/iconv_close.c: Likewise.
21878         * iconv/loop.c (SINGLE): Likewise.
21879         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21880         * include/atomic.h: Likewise.
21881         * inet/inet6_option.c (option_alloc): Likewise.
21882         * intl/bindtextdom.c (set_binding_values): Likewise.
21883         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21884         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21885         * intl/localealias.c (read_alias_file): Likewise.
21886         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21887         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21888         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21889         * libio/fmemopen.c (fmemopen): Likewise.
21890         * libio/iofgets.c (_IO_fgets): Likewise.
21891         * libio/iofgets_u.c (fgets_unlocked): Likewise.
21892         * libio/iofgetws.c (fgetws): Likewise.
21893         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21894         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21895         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21896         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21897         * locale/findlocale.c (_nl_find_locale): Likewise.
21898         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21899         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21900         Likewise.
21901         * locale/setlocale.c (setlocale): Likewise.
21902         * login/programs/pt_chown.c (main): Likewise.
21903         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21904         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21905         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21906         (mmap, mmap64, mremap, munmap): Likewise.
21907         * math/e_exp2l.c: Likewise.
21908         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21909         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21910         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21911         * math/s_catan.c (__catan): Likewise.
21912         * math/s_catanf.c (__catanf): Likewise.
21913         * math/s_catanh.c (__catanh): Likewise.
21914         * math/s_catanhf.c (__catanhf): Likewise.
21915         * math/s_catanhl.c (__catanhl): Likewise.
21916         * math/s_catanl.c (__catanl): Likewise.
21917         * math/s_ccosh.c (__ccosh): Likewise.
21918         * math/s_ccoshf.c (__ccoshf): Likewise.
21919         * math/s_ccoshl.c (__ccoshl): Likewise.
21920         * math/s_cexp.c (__cexp): Likewise.
21921         * math/s_cexpf.c (__cexpf): Likewise.
21922         * math/s_cexpl.c (__cexpl): Likewise.
21923         * math/s_clog10.c (__clog10): Likewise.
21924         * math/s_clog10f.c (__clog10f): Likewise.
21925         * math/s_clog10l.c (__clog10l): Likewise.
21926         * math/s_clog.c (__clog): Likewise.
21927         * math/s_clogf.c (__clogf): Likewise.
21928         * math/s_clogl.c (__clogl): Likewise.
21929         * math/s_csin.c (__csin): Likewise.
21930         * math/s_csinf.c (__csinf): Likewise.
21931         * math/s_csinh.c (__csinh): Likewise.
21932         * math/s_csinhf.c (__csinhf): Likewise.
21933         * math/s_csinhl.c (__csinhl): Likewise.
21934         * math/s_csinl.c (__csinl): Likewise.
21935         * math/s_csqrt.c (__csqrt): Likewise.
21936         * math/s_csqrtf.c (__csqrtf): Likewise.
21937         * math/s_csqrtl.c (__csqrtl): Likewise.
21938         * math/s_ctan.c (__ctan): Likewise.
21939         * math/s_ctanf.c (__ctanf): Likewise.
21940         * math/s_ctanh.c (__ctanh): Likewise.
21941         * math/s_ctanhf.c (__ctanhf): Likewise.
21942         * math/s_ctanhl.c (__ctanhl): Likewise.
21943         * math/s_ctanl.c (__ctanl): Likewise.
21944         * math/w_pow.c: Likewise.
21945         * math/w_powf.c: Likewise.
21946         * math/w_powl.c: Likewise.
21947         * math/w_scalb.c (sysv_scalb): Likewise.
21948         * math/w_scalbf.c (sysv_scalbf): Likewise.
21949         * math/w_scalbl.c (sysv_scalbl): Likewise.
21950         * misc/error.c (error_tail): Likewise.
21951         * misc/pselect.c (__pselect): Likewise.
21952         * nis/nis_callback.c (__nis_create_callback): Likewise.
21953         * nis/nis_call.c (__nisfind_server): Likewise.
21954         * nis/nis_creategroup.c (nis_creategroup): Likewise.
21955         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21956         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21957         * nis/nis_getservlist.c (nis_getservlist): Likewise.
21958         * nis/nis_lookup.c (nis_lookup): Likewise.
21959         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21960         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21961         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21962         * nis/nis_xdr.c (xdr_endpoint): Likewise.
21963         * nis/nss_compat/compat-grp.c (getgrent_next_file)
21964         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21965         * nis/nss_compat/compat-initgroups.c (add_group)
21966         (internal_getgrent_r): Likewise.
21967         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21968         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21969         * nis/nss_compat/compat-spwd.c (getspent_next_file)
21970         (internal_getspnam_r): Likewise.
21971         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21972         (_nss_nis_getaliasbyname_r): Likewise.
21973         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21974         (_nss_nis_getntohost_r): Likewise.
21975         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21976         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21977         (_nss_nis_getgrgid_r): Likewise.
21978         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21979         (internal_nis_gethostent_r, internal_gethostbyname2_r)
21980         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21981         (_nss_nis_gethostbyname4_r): Likewise.
21982         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21983         (initgroups_netid): Likewise.
21984         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21985         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21986         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21987         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21988         (_nss_nis_getprotobynumber_r): Likewise.
21989         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21990         (_nss_nis_getsecretkey): Likewise.
21991         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21992         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21993         (_nss_nis_getpwuid_r): Likewise.
21994         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21995         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21996         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21997         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21998         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21999         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
22000         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
22001         Likewise.
22002         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
22003         (_nss_nisplus_getntohost_r): Likewise.
22004         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
22005         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
22006         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
22007         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
22008         Likewise.
22009         * nis/nss_nisplus/nisplus-initgroups.c
22010         (_nss_nisplus_initgroups_dyn): Likewise.
22011         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
22012         (_nss_nisplus_getnetbyaddr_r): Likewise.
22013         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
22014         (_nss_nisplus_getprotobynumber_r): Likewise.
22015         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
22016         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
22017         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
22018         Likewise.
22019         * nis/nss_nisplus/nisplus-service.c
22020         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
22021         (_nss_nisplus_getservbyport_r): Likewise.
22022         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
22023         (_nss_nisplus_getspnam_r): Likewise.
22024         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
22025         Likewise.
22026         * nscd/aicache.c (addhstaiX): Likewise.
22027         * nscd/cache.c (cache_search, prune_cache): Likewise.
22028         * nscd/connections.c (register_traced_file, send_ro_fd)
22029         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
22030         (main_loop_epoll): Likewise.
22031         * nscd/grpcache.c (addgrbyX): Likewise.
22032         * nscd/hstcache.c (addhstbyX): Likewise.
22033         * nscd/initgrcache.c (addinitgroupsX): Likewise.
22034         * nscd/mem.c (gc, mempool_alloc): Likewise.
22035         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
22036         (addinnetgrX): Likewise.
22037         * nscd/nscd-client.h (__nscd_acquire_maplock)
22038         (__nscd_drop_map_ref): Likewise.
22039         * nscd/nscd_getai.c (__nscd_getai): Likewise.
22040         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
22041         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
22042         Likewise.
22043         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
22044         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
22045         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
22046         (__nscd_get_map_ref): Likewise.
22047         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
22048         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
22049         Likewise.
22050         * nscd/pwdcache.c (addpwbyX): Likewise.
22051         * nscd/selinux.c (preserve_capabilities): Likewise.
22052         * nscd/servicescache.c (addservbyX): Likewise.
22053         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
22054         * posix/fnmatch.c (fnmatch): Likewise.
22055         * posix/getopt.c (_getopt_internal_r): Likewise.
22056         * posix/glob.c (glob, glob_in_dir): Likewise.
22057         * posix/wordexp.c (exec_comm_child): Likewise.
22058         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
22059         (getanswer_r, gaih_getanswer_slice): Likewise.
22060         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
22061         * resolv/res_init.c: Likewise.
22062         * resolv/res_mkquery.c (res_nmkquery): Likewise.
22063         * resolv/res_query.c (__libc_res_nquery): Likewise.
22064         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
22065         Likewise.
22066         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
22067         * stdio-common/perror.c (perror): Likewise.
22068         * stdio-common/printf_fp.c (___printf_fp): Likewise.
22069         * stdio-common/tmpnam.c (tmpnam): Likewise.
22070         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22071         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
22072         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
22073         Likewise.
22074         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
22075         * stdlib/putenv.c (putenv): Likewise.
22076         * stdlib/setenv.c (__add_to_environ): Likewise.
22077         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22078         * stdlib/strtol_l.c (INTERNAL): Likewise.
22079         * string/memmem.c (memmem): Likewise.
22080         * string/strerror.c (strerror): Likewise.
22081         * string/strnlen.c (__strnlen): Likewise.
22082         * string/test-memmem.c (simple_memmem): Likewise.
22083         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
22084         * sunrpc/pm_getport.c (__get_socket): Likewise.
22085         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
22086         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
22087         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
22088         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
22089         Likewise.
22090         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
22091         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22092         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
22093         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
22094         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
22095         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
22096         Likewise.
22097         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
22098         Likewise.
22099         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
22100         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
22101         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
22102         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
22103         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
22104         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
22105         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
22106         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
22107         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
22108         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
22109         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
22110         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
22111         Likewise.
22112         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
22113         Likewise.
22114         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
22115         Likewise.
22116         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
22117         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22118         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
22119         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
22120         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
22121         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
22122         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
22123         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
22124         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
22125         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
22126         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
22127         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22128         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
22129         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
22130         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22131         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
22132         Likewise.
22133         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
22134         Likewise.
22135         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22136         Likewise.
22137         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22138         Likewise.
22139         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22140         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22141         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22142         Likewise.
22143         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22144         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22145         * sysdeps/posix/opendir.c (__opendirat): Likewise.
22146         * sysdeps/posix/sleep.c: Likewise.
22147         * sysdeps/posix/tempname.c: Likewise.
22148         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22149         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22150         Likewise.
22151         * sysdeps/powerpc/powerpc32/dl-machine.h
22152         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22153         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22154         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22155         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22156         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22157         Likewise.
22158         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22159         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22160         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22161         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22162         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22163         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22164         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22165         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22166         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22167         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22168         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22169         (elf_machine_lazy_rel): Likewise.
22170         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22171         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22172         (elf_machine_lazy_rel): Likewise.
22173         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22174         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22175         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22176         * sysdeps/unix/grantpt.c (grantpt): Likewise.
22177         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22178         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22179         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22180         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22181         Likewise.
22182         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22183         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22184         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22185         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22186         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22187         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22188         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22189         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22190         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22191         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22192         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22193         Likewise.
22194         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22195         (__posix_fallocate64_l64): Likewise.
22196         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22197         (posix_fallocate): Likewise.
22198         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22199         Likewise.
22200         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22201         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22202         (getifaddrs_internal): Likewise.
22203         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22204         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22205         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22206         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22207         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22208         (__posix_fallocate64_l64): Likewise.
22209         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22210         Likewise.
22211         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22212         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22213         (__get_clockfreq): Likewise.
22214         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22215         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22216         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22217         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22218         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22219         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22220         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22221         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22222         Likewise.
22223         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22224         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22225         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22226         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22227         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22228         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22229         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22230         Likewise.
22231         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22232         (posix_fallocate): Likewise.
22233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22234         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22235         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22236         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22237         (elf_machine_rela, elf_machine_rela_relative)
22238         (elf_machine_lazy_rel): Likewise.
22239         * time/asctime.c (asctime_internal): Likewise.
22240         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22241         * time/tzset.c (__tzset_parse_tz): Likewise.
22242         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22243         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22244         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22245         * wcsmbs/wcsmbsload.h: Likewise.
22247         [BZ #15894]
22248         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22250         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22251         (arena_get2): Remove THREAD_STATS conditionals.
22252         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22253         (__malloc_stats, int): Likewise.
22255 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
22257         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22258         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
22260         * manual/setjmp.texi: Fix typos/grammar errors.
22262         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22263         Only return early when n is <= 0.  Delete unused return statement.
22265         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22266         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22267         * debug/tst-longjmp_chk3.c: New file.
22269         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22270         (test_main): Replace code with set_fortify_handler call.
22271         * debug/test-strcpy_chk.c: Likewise.
22272         * debug/tst-chk1.c: Likewise.
22273         * debug/tst-longjmp_chk.c: Likewise.
22274         * test-skeleton.c: Include fcntl.h & paths.h
22275         (set_fortify_handler): Define.
22277         * debug/tst-longjmp_chk.c: Add header comment and include
22278         ../test-skeleton.c.
22279         (do_test): Mark static.
22280         (TEST_FUNCTION): Define.
22282         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22283         (IP_PMTUDISC_INTERFACE): Likewise.
22284         (IP_MULTICAST_IF): Likewise.
22285         (IP_MULTICAST_TTL): Likewise.
22286         (IP_MULTICAST_LOOP): Likewise.
22287         (IP_ADD_MEMBERSHIP): Likewise.
22288         (IP_DROP_MEMBERSHIP): Likewise.
22289         (IP_UNBLOCK_SOURCE): Likewise.
22290         (IP_BLOCK_SOURCE): Likewise.
22291         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22292         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22293         (IP_MSFILTER): Likewise.
22294         (MCAST_JOIN_GROUP): Likewise.
22295         (MCAST_BLOCK_SOURCE): Likewise.
22296         (MCAST_UNBLOCK_SOURCE): Likewise.
22297         (MCAST_LEAVE_GROUP): Likewise.
22298         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22299         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22300         (MCAST_MSFILTER): Likewise.
22301         (IP_MULTICAST_ALL): Likewise.
22302         (IP_UNICAST_IF): Likewise.
22304         * timezone/Makefile: Delete $(have-ksh) check.
22305         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22306         * timezone/tzselect.ksh: Add +x mode bits.
22308         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22309         (ANON_INODE_FS_MAGIC): Likewise.
22310         (BDEVFS_MAGIC): Likewise.
22311         (BINFMTFS_MAGIC): Likewise.
22312         (BTRFS_TEST_MAGIC): Likewise.
22313         (CRAMFS_MAGIC_WEND): Likewise.
22314         (DEBUGFS_MAGIC): Likewise.
22315         (ECRYPTFS_SUPER_MAGIC): Likewise.
22316         (EXT3_SUPER_MAGIC): Likewise.
22317         (EXT4_SUPER_MAGIC): Likewise.
22318         (FUTEXFS_SUPER_MAGIC): Likewise.
22319         (HOSTFS_SUPER_MAGIC): Likewise.
22320         (HUGETLBFS_MAGIC): Likewise.
22321         (MINIX3_SUPER_MAGIC): Likewise.
22322         (MTD_INODE_FS_MAGIC): Likewise.
22323         (NILFS_SUPER_MAGIC): Likewise.
22324         (OPENPROM_SUPER_MAGIC): Likewise.
22325         (PIPEFS_MAGIC): Likewise.
22326         (PSTOREFS_MAGIC): Likewise.
22327         (QNX6_SUPER_MAGIC): Likewise.
22328         (RAMFS_MAGIC): Likewise.
22329         (REISERFS_SUPER_MAGIC_STRING): Likewise.
22330         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22331         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22332         (SECURITYFS_MAGIC): Likewise.
22333         (SELINUX_MAGIC): Likewise.
22334         (SMACK_MAGIC): Likewise.
22335         (SOCKFS_MAGIC): Likewise.
22336         (SQUASHFS_MAGIC): Likewise.
22337         (STACK_END_MAGIC): Likewise.
22338         (TMPFS_MAGIC): Likewise.
22339         (USBDEVICE_SUPER_MAGIC): Likewise.
22340         (V9FS_MAGIC): Likewise.
22341         (XENFS_SUPER_MAGIC): Likewise.
22342         (CRAMFS_MAGIC): Fix typo in comment.
22343         (EXT2_SUPER_MAGIC): Update comment.
22344         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22346 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
22348         * sysdeps/arm: Move directory from ports/sysdeps/arm.
22349         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22350         * sysdeps/unix/sysv/linux/arm: Move directory from
22351         ports/sysdeps/unix/sysv/linux/arm.
22352         * README: Update listing for arm-*-linux-gnueabi.
22354         * README: Remove mention of am33.
22356 2014-02-07  Roland McGrath  <roland@hack.frob.com>
22358         * bits/sigset.h (__sigemptyset): Use a statement expression rather
22359         than the comma operator, to avoid "rhs of comma has no effect"
22360         compiler warnings.
22361         (__sigfillset, __sigandset, __sigorset): Likewise.
22362         * include/signal.h (__sigemptyset): Likewise.
22363         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22365 2014-02-07  Allan McRae  <allan@archlinux.org>
22367         * version.h (RELEASE): Set to "development".
22368         (VERSION): Set to "2.19.90"
22369         * NEWS: Add 2.20 section.
22371 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
22373         [BZ #16529]
22374         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22376 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22378         * manual/contrib.texi: Update entry for Carlos O'Donell,
22379         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22381 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
22383         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22385         * sysdeps/unix/sysv/linux/kernel-features.h
22386         [__LINUX_KERNEL_VERSION >= 0x020621]
22387         (__ASSUME_PROC_PID_TASK_COMM): Define.
22389 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22391         [BZ #16398]
22392         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22393         conversion when destination buffer does not have enough space.
22394         * libio/tst-ftell-partial-wide.c: New test case.
22395         * libio/Makefile (tests): Add tst-ftell-partial-wide.
22397         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22398         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
22399         Leonard and Allan McRae.
22401 2014-02-04  David S. Miller  <davem@davemloft.net>
22403         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22404         32-bit.
22406 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22409         New file
22410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22411         New file
22412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22413         New file.
22414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22415         New file.
22416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22417         New file.
22418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22419         New file.
22420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22421         New file.
22422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22423         New file.
22424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22425         New file.
22426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22427         New file.
22428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22429         New file.
22430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22431         New file.
22432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22433         New file.
22435 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22437         * nptl/shlib-versions: Change powerpc*le start to 2.17.
22438         * shlib-versions: Likewise.
22440 2014-02-04  Roland McGrath  <roland@hack.frob.com>
22441             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22443         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22444         (abilist-pattern): New variable, set to %-le.abilist.
22446         * Makerules (abilist-pattern): New variable.
22447         (vpath): Use $(abilist-pattern) in place of %.abilist.
22448         (check-abi-% pattern rule): Likewise.
22449         (check-abi, update-abi): Likewise.
22451 2014-02-04  Eric Wong  <normalperson@yhbt.net>
22453         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22455 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
22457         * manual/startup.texi: Add next, previous, and top entries for
22458         the `Program Arguments' and `Environment Variables' nodes.
22460 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
22462         * manual/macros.texi: Add comments before MTASC-safety macros.
22464         * manual/users.texi: Document MTASC-safety properties.
22466         * manual/threads.texi (pthread_key_create, pthread_key_delete)
22467         (pthread_getspecific, pthread_setspecific): Format with
22468         @deftypefun, and add @safety note.
22469         * manual/signal.texi: Move comments that analyze the above
22470         functions to their home place.
22472 2014-02-03  Allan McRae  <allan@archlinux.org>
22474         * po/sl.po: Update Slovenian translation from translation project.
22476 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
22478         * manual/time.texi (timegm): Add missing blank after @c.
22479         Reported by Joseph Myers <joseph@codesourcery.com>.
22481 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
22483         * manual/check-safety.sh: New.
22484         * manual/Makefile ($(objpfx)stamp-summary): Run it.
22486         * manual/terminal.texi: Document MTASC-safety properties.
22488         * manual/filesys.texi: Document MTASC-safety properties.
22490         * manual/errno.texi: Document MTASC-safety properties.
22492         * manual/intro.texi: Document safety identifiers and
22493         conditionals.
22495         * manual/string.texi (wcstok): Fix prototype.
22496         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22498         * manual/time.texi: Document MTASC-safety properties.
22500         * manual/string.texi: Document MTASC-safety properties.
22502         * manual/threads.texi: Document MTASC-safety properties.
22504         * manual/stdio.texi: Document MTASC-safety properties.
22506         * manual/syslog.texi: Document MTASC-safety properties.
22508         * manual/sysinfo.texi: Document MTASC-safety properties.
22510         * manual/startup.texi: Document MTASC-safety properties.
22512         * manual/socket.texi: Document MTASC-safety properties.
22514         * manual/signal.texi: Document MTASC-safety properties.
22516 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
22518         * manual/setjmp.texi: Document MTASC-safety properties.
22520         * manual/search.texi: Document MTASC-safety properties.
22522         * manual/resource.texi: Document MTASC-safety properties.
22524         * manual/process.texi: Document MTASC-safety properties.
22526         * manual/platform.texi: Document MTASC-safety properties.
22528         * manual/pipe.texi: Document MTASC-safety properties.
22530         * manual/pattern.texi: Document MTASC-safety properties.
22532         * manual/message.texi: Document MTASC-safety properties.
22534         [BZ #12751]
22535         * manual/memory.texi: Document MTASC-safety properties.
22537         * manual/math.texi: Document MTASC-safety properties.
22539         * manual/locale.texi: Document MTASC-safety properties.
22541         * manual/llio.texi: Document MTASC-safety properties.
22543         * manual/libdl.texi: New.
22545         * manual/lang.texi: Document MTASC-safety properties.
22547         * manual/job.texi: Document MTASC-safety properties.
22549         * manual/getopt.texi: Document MTASC-safety properties.
22551         * manual/ctype.texi: Document MTASC-safety properties.
22553 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
22555         [BZ #16046]
22556         * csu/libc-tls.c (static_map): Remove variable.
22557         (__libc_setup_tls): Use main executable's link map for TLS data.
22558         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22559         casing for LM_ID_BASE and GL(dl_nns).
22560         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22561         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
22562         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22563         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22564         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22565         member.
22566         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22567         l_phnum members.
22569 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
22571         * manual/debug.texi: Document MTASC-safety properties.
22573 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
22575         [BZ #16510]
22576         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22577         of __x86_64__ when disabling x87 inline functions.
22579 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
22581         * manual/charset.texi: Document MTASC-safety properties.
22583         * manual/crypt.texi: Document MTASC-safety properties.
22585         * manual/conf.texi: Document MTASC-safety properties.
22587         * manual/arith.texi: Document MTASC-safety properties.
22589         * manual/argp.texi: Document MTASC-safety properties.
22591         * manual/macros.texi: Introduce macros to document multi
22592         thread, asynchronous signal and asynchronous cancellation
22593         safety properties.
22594         * manual/intro.texi: Introduce the properties themselves.
22596 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22598         * sysdeps/sh/sh4/Makefile: New file.
22600 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
22602         * math/gen-libm-test.pl ($srcdir): New variable.
22603         ($auto_input): Use it.
22605 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22607         [BZ #16506]
22608         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22609         access beyond array bounds when parsing netgroups file.
22611         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22612         the old buffer before realloc.
22614 2014-01-27  Allan McRae  <allan@archlinux.org>
22616         * po/fr.po: Update French translation from translation project.
22618 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22620         * sysdeps/sh/libm-test-ulps: Regenerate.
22622 2014-01-24  David S. Miller  <davem@davemloft.net>
22624         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22626 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22628         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22629         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22631 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22633         [BZ #16474]
22634         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22635         string pointers after reallocation.
22637 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22639         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22640         __SH4A__ instead of __SH_FPU_ANY__.
22642 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22644         * sysdeps/sh/fpu_control.h: New file.
22645         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22646         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22647         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22648         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22649         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22650         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22651         * sysdeps/sh/sys/ucontext.h: Remove.
22652         * sysdeps/sh/sys: Remove directory.
22654 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22656         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22657         s390/sys/ucontext.h.
22658         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22659         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22661 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
22663         [BZ #15605]
22664         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22666 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22668         [BZ#16431]
22669         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22670         Adjust the vDSO correctly for internal calls.
22671         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22673 2014-01-20  Allan McRae  <allan@archlinux.org>
22675         * po/ca.po: Update Catalan translation from translation project.
22677 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
22679         * sysdeps/s390/sotruss-lib.c: New file.
22681 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22683         [BZ#16430]
22684         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22685         (__GI___gettimeofday): Alias for a different internal symbol to avoid
22686         local calls issues by not having a PLT stub required for IFUNC calls.
22687         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22689 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
22691         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22692         * math/test-fpucw-static.c: Likewise.
22694 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22696         [BZ #16453]
22697         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22699 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22701         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22702         implementation for powerpc.
22704 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
22706         [BZ #14782]
22707         * sysdeps/posix/system.c (__libc_system): Do not enable
22708         asynchronous cancellation.
22710 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22712         [BZ #16427]
22713         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22714         handling only for numbers special also in the IEEE case.
22716 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22718         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22720 2014-01-11  Allan McRae  <allan@archlinux.org>
22722         * po/bg.po: Update Bulgarian translation from translation project.
22724         * po/de.po: Update German translation from translation project.
22726 2014-01-10  Roland McGrath  <roland@hack.frob.com>
22728         * sysdeps/generic/gcc-compat.h: New file.
22730 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22732         * benchtests/asin-inputs: Correct slow inputs.
22733         * benchtests/acos-inputs: Likewise.
22735 2014-01-10  Allan McRae  <allan@archlinux.org>
22737         * po:sv.po: Update Swedish translation from translation project.
22739         * po/vi.po: Update Vietnamese translation from translation project.
22741         * po/eo.po: Update Esperanto translation from translation project.
22743         * po/cs.po: Update Czech translation from translation project.
22745         * po/nl.po: Update Dutch translation from translation project.
22747         * po/pl.po: Update Polish translation from translation project.
22749         * po/ru.po: Update Russian translation from translation project.
22751         * po/uk.po: Update Ukrainian translation from translation project.
22753 2014-01-08  Brooks Moses  <bmoses@google.com>
22755         * elf/dl-load.c: Fix comment typo.
22757 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
22759         * po/header.pot: Rename to...
22760         * po/pot.header: ... this.
22761         * po/Makefile: Use pot.header.
22763 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
22764             Maxim Kuvyrkov  <maxim@kugelworks.com>
22766         [BZ #16394]
22767         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22768         SRC and DEST against LEN.
22770 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22772         [BZ #16414]
22773         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22774         implementation.
22775         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22777 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22779         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22781 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
22783         [BZ #16408]
22784         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22785         for large positive arguments.
22787 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
22789         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22791         * math/auto-libm-test-in: Mark various tests with
22792         xfail-rounding:ldbl-128ibm.
22793         * math/auto-libm-test-out: Regenerated.
22795         [BZ #16407]
22796         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22797         Increase overflow threshold.
22799 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
22801         [BZ #14286]
22802         * stdio-common/vfprintf.c: Check for integer overflow.
22804 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22806         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22807         the first argument and return value of __tls_get_addr_internal.
22809 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22811         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22812         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22814 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22816         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22817         * sysdeps/s390/rtld-global-offsets.sym: New file.
22818         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22819         GLIBC_2.19 symbol.
22820         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22821         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22822         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22823         ... this.
22824         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22825         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22826         ... this.
22827         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22828         Regenerate.
22829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22830         Regenerate.
22831         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22832         halfs of GPRs for high_gprs contexts.
22833         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22834         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
22835         field.
22836         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22837         uc_flags field.
22838         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22839         64 bit versions:
22840         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22841         for high GPRs (uc_high_gprs) and for future extensions
22842         (__reserved).
22843         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22844         for future extensions (__reserved).
22845         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22846         64 bit versions:
22847         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22848         SC_HIGHGPRS offset definition.
22849         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22850         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22852         * Versions.def: Add GLIBC_2.19 for libpthread.
22853         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22854         siglongjmp for libpthread with GLIBC_2.19 symver.
22855         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22856         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22857         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22858         * sysdeps/s390/__longjmp.c: New file.
22859         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22860         * sysdeps/s390/longjmp.c: New file.
22861         * sysdeps/s390/setjmp.S: New file.
22862         * sysdeps/s390/sigjmp.S: New file.
22863         * sysdeps/s390/v1-longjmp.c: New file.
22864         * sysdeps/s390/v1-setjmp.h: New file.
22865         * sysdeps/s390/v1-sigjmp.c: New file.
22866         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22867         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22868         GLIBC_2.19 version.
22869         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22870         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22871         versioned symbols for ____longjmp_chk.
22872         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22873         Likewise.
22874         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22875         Regenerate.
22876         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22877         Regenerate.
22878         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22879         Regenerate.
22880         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22881         Regenerate.
22882         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22883         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22884         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22885         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22886         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22887         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22888         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22889         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22890         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22891         * sysdeps/s390/rtld-__longjmp.c: New file.
22892         * sysdeps/s390/rtld-setjmp.S: New file.
22894 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
22896         [BZ #16400]
22897         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22898         Return -__logl (x) for small positive arguments without evaluating
22899         a polynomial.
22901 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
22903         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22904         Rename to ...
22905         (__ptrace_peeksiginfo_args): ... this.
22906         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22907         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22908         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22910 2014-01-06  Allan McRae  <allan@archlinux.org>
22912         * inet/netinet/in.h: Fix typo in comment.
22914 2014-01-05  Andreas Jaeger  <aj@suse.de>
22916         * sysdeps/i386/fpu/libm-test-ulps: Update.
22918 2014-01-05  Allan McRae  <allan@archlinux.org>
22920         * po/libc.pot: Regenerated.
22922         * malloc/memusagestat.c: Fix gettext call formatting.
22924 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
22926         * nscd/nscd.c: Improve usage() output.
22928 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
22930         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22931         * sysdeps/unix/sysv/linux/configure: Regenerated.
22932         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22933         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22935 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22937         [BZ #16390]
22938         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22939         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22941 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22943         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22944         extra tokens at end of #undef directive.
22945         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22946         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22947         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22949 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22951         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22953         * math/auto-libm-test-in: Mark various tests with
22954         xfail-rounding:ldbl-128ibm.
22955         * math/auto-libm-test-out: Regenerated.
22957 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
22959         [BZ #16386]
22960         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22961         numbers with subnormal high part when calculating exponent.
22963         [BZ #16385]
22964         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22965         fabs.
22967         [BZ #16384]
22968         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22969         M_LN2l.
22970         (__ieee754_acoshl): Use __log1pl not __log1p.
22972 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
22974         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22975         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22976         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22977         (grow_heap, heap_trim, _int_new_arena, get_free_list)
22978         (reused_arena, arena_get2): Convert to GNU style.
22979         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22980         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22981         (memalign_check, __malloc_set_state): Likewise.
22982         * malloc/mallocbug.c (main): Likewise.
22983         * malloc/malloc.c (__malloc_assert, malloc_init_state)
22984         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22985         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22986         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22987         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22988         (__posix_memalign, malloc_info): Likewise.
22989         * malloc/malloc.h: Likewise.
22990         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22991         (mallochook, memalignhook, reallochook, mabort): Likewise.
22992         * malloc/mcheck.h: Likewise.
22993         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22994         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22995         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22996         * malloc/morecore.c (__default_morecore): Likewise.
22997         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22998         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22999         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
23000         (print_and_abort): Likewise.
23001         * malloc/obstack.h: Likewise.
23002         * malloc/set-freeres.c (__libc_freeres): Likewise.
23003         * malloc/tst-mallocstate.c (main): Likewise.
23004         * malloc/tst-mtrace.c (main): Likewise.
23005         * malloc/tst-realloc.c (do_test): Likewise.
23007 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23009         [BZ #16366]
23010         * nscd/netgroupcache.c (do_notfound): New function.
23011         (addgetnetgrentX): Use it.
23013         [BZ # 16365]
23014         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
23015         NSS_STATUS_NOTFOUND.
23017 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
23019         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23022 2014-01-01  Allan McRae  <allan@archlinux.org>
23024         * scripts/update-copyrights: Update configure input file suffix.
23026         * NEWS: Update copyright year.
23027         * catgets/gencat.c: Likewise.
23028         * csu/version.c: Likewise.
23029         * debug/catchsegv.sh: Likewise.
23030         * debug/pcprofiledump.c: Likewise.
23031         * debug/xtrace.sh: Likewise.
23032         * elf/ldconfig.c: Likewise.
23033         * elf/ldd.bash.in: Likewise.
23034         * elf/pldd.c: Likewise.
23035         * elf/sotruss.ksh: Likewise.
23036         * elf/sprof.c: Likewise.
23037         * iconv/iconv_prog.c: Likewise.
23038         * iconv/iconvconfig.c: Likewise.
23039         * locale/programs/locale.c: Likewise.
23040         * locale/programs/localedef.c: Likewise.
23041         * login/programs/pt_chown.c: Likewise.
23042         * malloc/memusage.sh: Likewise.
23043         * malloc/memusagestat.c: Likewise.
23044         * malloc/mtrace.pl: Likewise.
23045         * manual/libc.texinfo: Likewise.
23046         * nscd/nscd.c: Likewise.
23047         * nss/getent.c: Likewise.
23048         * nss/makedb.c: Likewise.
23049         * posix/getconf.c: Likewise.
23050         * scripts/test-installation.pl: Likewise.
23052         * All files with FSF copyright notices: Update copyright dates
23053         using scripts/update-copyrights.
23054         * intl/plural.c: Regenerated.
23055         * locale/programs/charmap-kw.h: Likewise.
23056         * locale/programs/locfile-kw.h: Likewise.
23058 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
23060         * sysdeps/unix/sysv/linux/configure: Regenerated.
23061         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
23062         the linux/fanotify.h header.
23063         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
23064         HAVE_LINUX_FANOTIFY_H is defined.
23066 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23068         * benchtests/cos-inputs: New inputs.
23069         * benchtests/sin-inputs: Likewise.
23071         * benchtests/atan-inputs: New inputs. Fix name of multiple
23072         precision fallback inputs.
23074         * benchtests/atanh-inputs: New inputs.
23075         * benchtests/tanh-inputs: Likewise.
23077         * benchtests/acosh-inputs: New inputs.
23078         * benchtests/asinh-inputs: Likewise.
23080         * benchtests/cosh-inputs: New inputs.
23081         * benchtests/sinh-inputs: Likewise.
23083         * benchtests/acos-inputs: Add more inputs.
23084         * benchtests/asin-inputs: Likewise.
23086 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
23088         [BZ #16375]
23089         * manual/arith.texi: Fix spelling.
23090         * manual/charset.texi: Likewise.
23091         * manual/errno.texi: Likewise.
23092         * manual/filesys.texi: Likewise.
23093         * manual/lang.texi: Likewise.
23094         * manual/llio.texi: Likewise.
23095         * manual/locale.texi: Likewise.
23096         * manual/message.texi: Likewise.
23097         * manual/resource.texi: Likewise.
23098         * manual/search.texi: Likewise.
23099         * manual/setjmp.texi: Likewise.
23100         * manual/stdio.texi: Likewise.
23101         * manual/string.texi: Likewise.
23102         * manual/sysinfo.texi: Likewise.
23103         * manual/time.texi: Likewise.
23105 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
23107         * po/sl.po: New file.
23109 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
23111         * .gitignore: Add core/.gdbinit/.gdb_history.
23113 2013-12-27  Allan McRae  <allan@archlinux.org>
23115         [BZ #16369]
23116         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
23117         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
23119 2013-12-24  Brooks Moses  <bmoses@google.com>
23121         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
23122         all compilers that claim C++98 compliance, not just GCC.
23123         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
23124         Likewise.
23126 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23128         * NEWS: Restore accidentally deleted bug-fix entries.
23130 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
23131             Ondřej Bílka  <neleai@seznam.cz>
23133         [BZ #15073]
23134         * malloc/malloc.c (_int_free): Perform sanity check only if we
23135         have_lock.
23137 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
23139         [BZ #12986]
23140         * manual/stdio.texi (String Input Conversions): Clarify that character
23141         classes are not supported.
23143 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23145         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23147 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
23149         [BZ #16337]
23150         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23151         Calculate results for small negative arguments directly rather
23152         than using reflection formula with special underflow handling.
23154         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23155         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23156         sysdeps/unix/bsd/bsd4.4/syscalls.list.
23157         (fchflags): Likewise.
23158         (revoke): Likewise.
23159         (setlogin): Likewise.
23160         (sigaltstack): Likewise.
23161         (wait4): Likewise.
23162         (sigblock): Remove.
23163         (sigsetmask): Likewise.
23164         (wait3): Likewise.
23165         (waitpid): Likewise.
23166         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23167         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23168         file.
23169         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23170         * sysdeps/unix/bsd/Makefile: ... here.
23171         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23172         * sysdeps/unix/bsd/Versions: ... here.
23173         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23174         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23175         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23176         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23177         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23178         * sysdeps/unix/bsd/sigblock.c: ... here.
23179         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23180         * sysdeps/unix/bsd/sigsetmask.c: ... here.
23181         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23182         * sysdeps/unix/bsd/sigvec.c: ... here.
23183         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23184         * sysdeps/unix/bsd/tcdrain.c: ... here.
23185         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23186         * sysdeps/unix/bsd/tcgetattr.c: ... here.
23187         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23188         * sysdeps/unix/bsd/tcsetattr.c: ... here.
23189         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23190         * sysdeps/unix/bsd/wait.c: ... here.
23191         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23192         * sysdeps/unix/bsd/wait3.c: ... here.
23193         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23194         * sysdeps/unix/bsd/waitpid.c: ... here.
23196 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
23198         [BZ #16356]
23199         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23200         round-to-nearest for [!USE_AS_EXPM1L].
23201         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23202         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
23203         more tests of exp and exp10.  Expect some exp10 tests to miss
23204         exceptions or fail in directed rounding modes.
23205         * math/auto-libm-test-out: Regenerated.
23206         * math/libm-test.inc (exp10_tonearest_test_data): New array.
23207         (exp10_test_tonearest): New function.
23208         (exp10_towardzero_test_data): New array.
23209         (exp10_test_towardzero): New function.
23210         (exp10_downward_test_data): New array.
23211         (exp10_test_downward): New function.
23212         (exp10_upward_test_data): New array.
23213         (exp10_test_upward): New function.
23214         (main): Call the new functions.
23215         * sysdeps/i386/fpu/libm-test-ulps: Update.
23216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23218 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
23220         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23221         asinh, atan, atan2, atanh, cbrt, cos and cosh.
23222         * math/auto-libm-test-out: Regenerated.
23223         * math/libm-test.inc (acosh_test_data): Add more tests.
23224         (atanh_test_data): Likewise.
23225         (ceil_test_data): Likewise.
23226         (copysign_test_data): Likewise.
23227         * sysdeps/i386/fpu/libm-test-ulps: Update.
23228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23230         * timezone/checktab.awk: Update from tzcode 2013i.
23231         * timezone/private.h: Likewise.
23232         * timezone/scheck.c: Likewise.
23233         * timezone/tzfile.h: Likewise.
23234         * timezone/tzselect.ksh: Likewise.
23235         * timezone/zdump.c: Likewise.
23236         * timezone/zic.c: Likewise.
23238         * math/auto-libm-test-in: Add tests of cpow.
23239         * math/auto-libm-test-out: Regenerated.
23240         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23241         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23242         mpc_cc_c.
23243         (func_calc_desc): Add mpc_cc_c union field.
23244         (test_functions): Add cpow.
23245         (special_fill_2pi): New function.
23246         (special_real_inputs): Add 2pi.
23247         (calc_generic_results): Handle mpc_cc_c.
23248         * sysdeps/i386/fpu/libm-test-ulps: Update.
23249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23251         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23252         csqrt, ctan and ctanh.
23253         * math/auto-libm-test-out: Regenerated.
23254         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23255         (TEST_COND_x86): Likewise.
23256         (ccos_test_data): Use AUTO_TESTS_c_c.
23257         (ccosh_test_data): Likewise.
23258         (cexp_test_data): Likewise.
23259         (clog_test_data): Likewise.
23260         (csqrt_test_data): Likewise.
23261         (ctan_test_data): Likewise.
23262         (ctan_tonearest_test_data): Likewise.
23263         (ctan_towardzero_test_data): Likewise.
23264         (ctan_downward_test_data): Likewise.
23265         (ctan_upward_test_data): Likewise.
23266         (ctanh_test_data): Likewise.
23267         (ctanh_tonearest_test_data): Likewise.
23268         (ctanh_towardzero_test_data): Likewise.
23269         (ctanh_downward_test_data): Likewise.
23270         (ctanh_upward_test_data): Likewise.
23271         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23272         mpc_c_c.
23273         (func_calc_desc): Add mpc_c_c union field.
23274         (FUNC_mpc_c_c): New macro.
23275         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23276         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23277         ctanh.
23278         (special_fill_min_subnorm_p120): New function.
23279         (special_real_inputs): Add min_subnorm_p120.
23280         (calc_generic_results): Handle mpc_c_c.
23281         * sysdeps/i386/fpu/libm-test-ulps: Update.
23282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23284 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23286         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23287         (do_sin_slow): New functions.
23288         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23289         (cslow2, csloww1, csloww2): Use the new functions.
23291         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23292         Use M to change sign of result instead of X.  Assume X is
23293         positive.
23294         (csloww1): Likewise.
23295         (__sin): Adjust.
23296         (__cos): Adjust.
23298         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23299         arguments A and DA.
23300         (__sin): Adjust.
23301         (__cos): Likewise.
23303         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23304         (__cos): Likewise.
23305         (sloww1): Don't adjust sign of DX.
23306         (csloww1): Likewise.
23307         (sloww2): Use X directly and don't adjust sign of DX.
23308         (csloww2): Likewise.
23310 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23312         * math/auto-libm-test-in: Add tests of cabs and carg.
23313         * math/auto-libm-test-out: Regenerated.
23314         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23315         (carg_test_data): Likewise.
23316         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23317         mpc_c_f.
23318         (func_calc_desc): Add mpc_c_f union field.
23319         (test_functions): Add cabs and carg.
23320         (calc_generic_results): Handle mpc_c_f.
23322         * sysdeps/powerpc/powerpc32/libgcc-compat.S
23323         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23324         as a macro and a compat symbol.
23325         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23326         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23327         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23328         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23329         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23330         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23331         not use .hidden.
23332         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23333         Likewise.
23334         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23335         Likewise.
23336         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23337         Likewise.
23338         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23339         Likewise.
23340         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23341         Likewise.
23342         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23343         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23344         from GLIBC_2.3.2.
23346 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23350 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23352         * manual/texinfo.tex: Update to version 2013-11-26.10 with
23353         trailing whitespace removed.
23354         * scripts/config.guess: Update to version 2013-11-29.
23355         * scripts/config.sub: Update to version 2013-10-01.
23357         * math/auto-libm-test-in: Add tests of sincos.
23358         * math/auto-libm-test-out: Regenerated.
23359         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23360         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23361         mpfr_f_11.
23362         (func_calc_desc): Add mpfr_f_11 union field.
23363         (test_functions): Add sincos.
23364         (calc_generic_results): Handle mpfr_f_11.
23365         * sysdeps/i386/fpu/libm-test-ulps: Update.
23366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23368 2013-12-19  Andreas Schwab  <schwab@suse.de>
23370         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23371         CALL_MCOUNT.
23372         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23373         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23374         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23376 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23378         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23379         * sysdeps/i386/fpu/libm-test-ulps: Update.
23380         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23382         [BZ #16293]
23383         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23384         round-to-nearest mode when using frndint.
23385         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23386         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23387         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23388         Likewise.
23389         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
23390         sinh test to fail.
23391         * math/auto-libm-test-out: Regenerated.
23392         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23393         (TEST_COND_x86): Likewise.
23394         (expm1_tonearest_test_data): New array.
23395         (expm1_test_tonearest): New function.
23396         (expm1_towardzero_test_data): New array.
23397         (expm1_test_towardzero): New function.
23398         (expm1_downward_test_data): New array.
23399         (expm1_test_downward): New function.
23400         (expm1_upward_test_data): New array.
23401         (expm1_test_upward): New function.
23402         (main): Run the new test functions.
23403         * sysdeps/i386/fpu/libm-test-ulps: Update.
23404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23406         * include/features.h: Update comment documenting feature test
23407         macros.  Mention _DEFAULT_SOURCE in comment.
23408         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23409         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23410         _BSD_SOURCE and _SVID_SOURCE.
23411         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23412         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23413         !_SVID_SOURCE]: Likewise.
23414         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23415         (__USE_POSIX_IMPLICITLY): Define.
23416         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23417         (_POSIX_SOURCE): Undefine and redefine.
23418         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23419         (_POSIX_C_SOURCE): Likewise.
23420         * manual/creature.texi (_DEFAULT_SOURCE): Document.
23421         (Feature Test Macros): Update documentation of default features.
23423 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23425         * benchtests/Makefile: Add bench-strtok.
23426         * benchtests/bench-strtok.c: New file: strtok benchtest.
23428 2013-12-19  Allan McRae  <allan@archlinux.org>
23430         * manual/install.texi: Suppress menu for plain text output.
23431         * INSTALL: Regenerated.
23433 2013-12-18  Brooks Moses  <bmoses@google.com>
23435         [BZ #15846]
23436         * misc/getauxval.c: Include errno.h.
23437         (__getauxval): Set errno to ENOENT if the requested type is not
23438         found.
23439         * misc/sys/auxv.h (getauxval): Document that it may set errno;
23440         don't declare with __attribute_const__.
23441         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23442         * manual/startup.texi: Document that getauxval sets errno.
23444 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23446         * math/auto-libm-test-in: Add tests of jn and yn.
23447         * math/auto-libm-test-out: Regenerated.
23448         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23449         (yn_test_data): Likewise.
23450         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23451         mpfr_if_f.
23452         (func_calc_desc): Add mpfr_if_f union field.
23453         (FUNC_mpfr_if_f): New macro.
23454         (test_functions): Add jn and yn.
23455         (calc_generic_results): Assert type of second input for
23456         mpfr_ff_f.  Handle mpfr_if_f.
23457         (output_for_one_input_case): Disable all checking for arguments
23458         fitting floating-point types in case of an integer argument.
23459         * sysdeps/i386/fpu/libm-test-ulps: Update.
23460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23463         Don't expect fegetround reference in libm.so.
23465 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23467         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23468         $(config-cflags-nofma).
23470 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23472         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23473         * math/auto-libm-test-out: Regenerated.
23475         [BZ #16338]
23476         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23477         to determine exponent and adjust argument to have exponent of -1.
23478         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23479         log2.
23480         * math/auto-libm-test-out: Regenerated.
23481         * sysdeps/i386/fpu/libm-test-ulps: Update.
23482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23484 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
23486         * manual/probes.texi: Remove cases when per-thread arenas are
23487         disabled.
23489 2013-12-18  Andreas Schwab  <schwab@suse.de>
23491         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23492         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23493         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23494         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23495         * sysdeps/i386/i686/multiarch/Makefile: Update.
23496         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23498 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23500         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23501         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23503 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
23505         [BZ #15968]
23506         Support TZ transition times < 00:00:00.
23507         This is needed for version-3 tz-format files; it supports time
23508         stamps past 2037 for America/Godthab (the only entry in the tz
23509         database for which this change is relevant).
23510         * manual/time.texi (TZ Variable): Document transition times
23511         from -167:59:59 through -00:00:01.
23512         * time/tzset.c (tz_rule): Time of day is now signed.
23513         (__tzset_parse_tz): Parse negative time of day.
23515         Document TZ transition times >= 25:00:00.
23516         * manual/time.texi (TZ Variable): Document transition times from
23517         25:00:00 through 167:59:59.  These are already supported, and this
23518         support will help with version-3 tz-format files.
23520         * manual/time.texi (TZ Variable): Modernize North America example
23521         to reflect current (i.e., 2007-and-later) daylight saving rules.
23523         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23525 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23527         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23528         * sysdeps/unix/bsd/bits/stat.h: Likewise.
23529         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23530         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23531         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23532         * sysdeps/unix/bsd/bsdstat.h: Likewise.
23533         * sysdeps/unix/bsd/clock.c: Likewise.
23534         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23535         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23536         * sysdeps/unix/bsd/init-posix.c: Likewise.
23537         * sysdeps/unix/bsd/poll.c: Likewise.
23538         * sysdeps/unix/bsd/ptsname.c: Likewise.
23539         * sysdeps/unix/bsd/seekdir.c: Likewise.
23540         * sysdeps/unix/bsd/setegid.c: Likewise.
23541         * sysdeps/unix/bsd/seteuid.c: Likewise.
23542         * sysdeps/unix/bsd/setgid.c: Likewise.
23543         * sysdeps/unix/bsd/setrgid.c: Likewise.
23544         * sysdeps/unix/bsd/setruid.c: Likewise.
23545         * sysdeps/unix/bsd/setsid.c: Likewise.
23546         * sysdeps/unix/bsd/setuid.c: Likewise.
23547         * sysdeps/unix/bsd/sigaction.c: Likewise.
23548         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23549         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23550         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23551         * sysdeps/unix/bsd/telldir.c: Likewise.
23552         * sysdeps/unix/bsd/times.c: Likewise.
23553         * sysdeps/unix/bsd/usleep.c: Likewise.
23555         * misc/Makefile (install-lib): Remove libbsd-compat.a.
23556         ($(objpfx)libbsd-compat.a): Remove rule.
23558         * include/features.h (__FAVOR_BSD): Do not define.
23559         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23560         features conflicting with POSIX.
23561         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23562         (_BSD_SOURCE): Remove description of not being a subset of other
23563         feature test macros.
23564         * manual/job.texi (getpgrp): Do not document BSD version.
23565         (getpgid): Do not document by reference to BSD getpgrp.
23566         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23567         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23568         * signal/signal.h [__FAVOR_BSD]: Likewise.
23569         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23570         instead of making contents conditional on [__FAVOR_BSD].
23571         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23573 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23577 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23579         [BZ #16314]
23580         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23581         values below 2**-450, not 2**-500.
23582         * math/auto-libm-test-in: Don't allow spurious underflow from
23583         hypot.
23584         * math/auto-libm-test-out: Regenerated.
23586         [BZ #16316]
23587         [BZ #16330]
23588         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23589         values of ha and hb and sort them after adjusting subnormal
23590         arguments.
23591         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23592         Likewise.
23593         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23594         values of ea and eb and sort them after adjusting subnormal
23595         arguments.
23596         * math/auto-libm-test-in: Do not expect some hypot tests of
23597         subnormals to fail.  Add more hypot tests.
23598         * math/auto-libm-test-out: Regenerated.
23600 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23602         [BZ #13304]
23603         * sysdeps/sh/s_fma.c: New file.
23604         * sysdeps/sh/s_fmaf.c: New file.
23605         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
23606         version.
23607         * sysdeps/sh/Implies: Add sh/soft-fp.
23609 2013-12-16  Roland McGrath  <roland@hack.frob.com>
23611         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
23612         level of indirection to members `objname', `errstring', `malloced'.
23613         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23614         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
23615         it as the __longjmp argument (just pass 1 instead).
23616         (_dl_catch_error): Initialize C with argument pointers and address of
23617         volatile local ERRCODE rather than copying values out of C at return.
23619 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
23621         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23622         * math/auto-libm-test-out: Regenerated.
23623         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23624         (hypot_test_data): Likewise.
23625         (pow_test_data): Likewise.
23626         (pow_tonearest_test_data): Likewise.
23627         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23628         mpfr_ff_f.
23629         (func_calc_desc): Add mpfr_ff_f union field.
23630         (FUNC_mpfr_ff_f): New macro.
23631         (test_functions): Add atan2, hypot and pow.
23632         (special_fill_min): New function.
23633         (special_fill_minus_min): Likewise.
23634         (special_fill_min_subnorm): Likewise.
23635         (special_fill_minus_min_subnorm): Likewise.
23636         (special_real_inputs): Add min, -min, min_subnorm and
23637         -min_subnorm.
23638         (calc_generic_results): Handle mpfr_ff_f.
23639         * sysdeps/i386/fpu/libm-test-ulps: Update.
23640         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23642 2013-12-16  Will Newton  <will.newton@linaro.org>
23644         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23645         (Aligned Memory Blocks): Add documentation for aligned_alloc
23646         and suggest it as an alternative to posix_memalign.
23647         (Hooks for Malloc): Document __memalign_hook is also called
23648         for aligned_alloc.  (Summary of Malloc): Add summary for
23649         aligned alloc.  Document __memalign_hook is also called
23650         for aligned_alloc.
23652 2013-12-16  Will Newton  <will.newton@linaro.org>
23654         * manual/memory.texi (Malloc Examples): Clarify default
23655         alignment documentation.  Suggest posix_memalign rather
23656         than memalign or valloc.
23657         (Aligned Memory Blocks): Remove suggestion to use memalign
23658         or valloc.  Remove obsolete comment about BSD.
23659         Document memalign errno values and mark the function obsolete.
23660         Document posix_memalign returned error codes.  Mark valloc
23661         as obsolete.  (Hooks for Malloc): __memalign_hook is also
23662         called for posix_memalign and valloc.
23663         (Summary of Malloc): Add posix_memalign to function summary.
23664         __memalign_hook is also called for posix_memalign and valloc.
23666 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23668         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23669         TAYLOR_SIN.
23670         (__sin): Adjust.
23671         (__cos): Likewise.
23672         (sloww): Use mynumber union.  Expand ternary operator into
23673         if-else statements.
23674         (cslow): use mynumber union.
23676 2013-12-16  Allan McRae  <allan@archlinux.org>
23678         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23679         * configure: Regenerated.
23681         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23683         [BZ #14120]
23684         * configure.ac: Added --enable-maintainer-mode. Check for
23685         autoconf when enabled.
23686         * configure: Regenerated.
23688         * nscd/nscd.service: New file.
23689         * nscd/nscd.tmpfiles: New file.
23691 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
23693         [BZ #12100]
23694         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23695         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23696         * sysdeps/x86_64/multiarch/strstr.c: ... here.
23697         (strstr): Add __strstr_sse2_unaligned ifunc.
23698         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23699         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23700         (strcasestr): Remove __strcasestr_sse42 ifunc.
23701         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23702         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23703         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23705 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23707         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23708         * sysdeps/sh/bits/fenv.h: ... here.
23709         * sysdeps/sh/sh4/fpu/bits: Remove directory.
23711 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23713         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23715         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23716         hypotf multiarch implementations.
23717         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23718         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23719         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23720         multiarch hypot for PPC64.
23721         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23722         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23723         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23724         multiarch hypotf for PPC64.
23726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23727         modff multiarch implementations.
23728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23729         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23731         multiarch modf for PPC64.
23732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23733         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23735         multiarch modff for PPC64.
23737         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23738         and logl multiarch implementations.
23739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23740         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23742         multiarch logb for PPC64.
23743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23746         multiarch logb for PPC64.
23747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23750         multiarch logb for PPC64.
23752         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23753         isinff multiarch implementation.
23754         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23755         file.
23756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23758         multiarch isinf for PPC64.
23759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23760         file.
23761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23762         multiarch isinff for PPC64.
23764         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23765         finitef multiarch implementation.
23766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23767         file.
23768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23770         multiarch finite for PPC64.
23771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23772         file.
23773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23774         multiarch finitef for PPC64.
23776         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23777         lrint multiarch implementation.
23778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23779         file.
23780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23782         multiarch llrint for PPC64.
23783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23784         multiarch lrint for PPC64.
23786         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23787         copysignf multiarch implementation.
23788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23789         file.
23790         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23791         file.
23792         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23793         multiarch copysign for PPC64.
23794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23795         multiarch copysignf for PPC64.
23797         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23798         multiarch implementation.
23799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23800         file.
23801         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23802         file.
23803         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23804         file.
23805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23806         file.
23807         multiarch llround for PPC64.
23808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23809         multiarch trunc for PPC64.
23810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23811         multiarch truncf for PPC64.
23813         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23814         multiarch implementation.
23815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23816         file.
23817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23818         file.
23819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23820         file.
23821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23822         file.
23823         multiarch llround for PPC64.
23824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23825         multiarch round for PPC64.
23826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23827         multiarch roundf for PPC64.
23829         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23830         multiarch implementation.
23831         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23832         file.
23833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23834         file.
23835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23836         file.
23837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23838         file.
23839         multiarch llround for PPC64.
23840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23841         multiarch floor for PPC64.
23842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23843         multiarch floorf for PPC64.
23845         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23846         multiarch implementation.
23847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23848         file.
23849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23850         file.
23851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23852         file.
23853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23854         file.
23855         multiarch llround for PPC64.
23856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23857         multiarch ceil for PPC64.
23858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23859         multiarch ceilf for PPC64.
23861         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23862         multiarch implementation.
23863         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23864         file.
23865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23866         file.
23867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23868         file.
23869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23870         multiarch llround for PPC64.
23871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23872         multiarch lround for PPC64.
23874         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23875         multiarch implementation.
23876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23877         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23879         file.
23880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23882         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23883         multiarch isnan for PPC64.
23884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23885         multiarch isnanf for PPC64.
23887         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23888         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23889         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23890         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23891         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23894         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23895         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23896         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23897         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23899         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23900         multiarch implementations.
23901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23902         (__libc_ifunc_impl_list): Likewise.
23903         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23904         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23905         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23906         multiarch stpcpy for PPC64.
23908         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23909         multiarch implementations.
23910         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23911         (__libc_ifunc_impl_list): Likewise.
23912         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23913         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23914         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23915         multiarch strcpy for PPC64.
23917         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23918         redefine function name.
23919         (_wordcopy_fwd_dest_aligned): Likewise.
23920         (_wordcopy_bwd_aligned): Likewise.
23921         (_wordcopy_bwd_dest_aligned): Likewise.
23922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23923         multiarch implementations.
23924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23925         (__libc_ifunc_impl_list): Likewise.
23926         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23927         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23928         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23929         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23930         multiarch wcscpy for PPC64.
23932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23933         multiarch implementations.
23934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23935         (__libc_ifunc_impl_list): Likewise.
23936         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23937         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23938         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23939         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23940         multiarch wcscpy for PPC64.
23942         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23943         multiarch implementations.
23944         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23945         (__libc_ifunc_impl_list): Likewise.
23946         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23947         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23948         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23949         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23950         multiarch wcsrchr for PPC64.
23952         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23953         multiarch implementations.
23954         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23955         (__libc_ifunc_impl_list): Likewise.
23956         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23957         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23958         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23959         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23960         multiarch wcschr for PPC64.
23962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23963         multiarch implementations.
23964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23965         (__libc_ifunc_impl_list): Likewise.
23966         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23967         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23968         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23969         multiarch strchrnul for PPC64.
23971         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23972         implementations.
23973         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23974         (__libc_ifunc_impl_list): Likewise.
23975         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23976         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23977         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23978         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23979         strchr for PPC64.
23981         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23982         implementations.
23983         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23984         (__libc_ifunc_impl_list): Likewise.
23985         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23986         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23987         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23988         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23989         strncmp for PPC64.
23991         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23992         multiarch implementations.
23993         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23994         (__libc_ifunc_impl_list): Likewise.
23995         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23996         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23997         strncasecmp for PPC64.
23998         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23999         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
24000         multiarch strncasecmp_l for PPC64.
24002         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
24003         multiarch implementations.
24004         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
24005         (__libc_ifunc_impl_list): Likewise.
24006         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
24007         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
24008         multiarch strcasecmp for PPC64.
24009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
24010         file.
24011         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
24012         multiarch strcasecmp_l for PPC64.
24014         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
24015         implementations.
24016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24017         (__libc_ifunc_impl_list): Likewise.
24018         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
24019         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
24020         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
24021         strnlen for PPC64.
24023         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
24024         implementations.
24025         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24026         (__libc_ifunc_impl_list): Likewise.
24027         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
24028         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
24029         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
24030         strlen for PPC64.
24032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
24033         implementations.
24034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24035         (__libc_ifunc_impl_list): Likewise.
24036         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
24037         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
24038         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
24039         rawmemrchr for PPC64.
24041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
24042         implementation.
24043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24044         (__libc_ifunc_impl_list): Likewise.
24045         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
24046         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
24047         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
24048         memrchr for PPC64.
24050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
24051         implementation.
24052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24053         (__libc_ifunc_impl_list): Likewise.
24054         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
24055         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
24056         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
24057         memchr for PPC64.
24059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
24060         implementation.
24061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24062         (__libc_ifunc_impl_list): Likewise.
24063         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
24064         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
24065         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
24066         mempcpy for PPC64.
24068         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
24069         avoid cretion of __bzero symbol.
24070         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
24071         Likewise.
24072         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
24073         Likewise.
24074         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
24075         Likewise.
24076         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
24077         multiarch implementations.
24078         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24079         (__libc_ifunc_impl_list): Likewise.
24080         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
24081         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
24082         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
24083         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
24084         bzero for PPC32.
24085         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
24086         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
24087         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
24088         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24089         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
24090         memset for PPC64.
24091         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
24093         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
24094         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
24095         implementations.
24096         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24097         (__libc_ifunc_impl_list): Likewise.
24098         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
24099         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
24100         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
24101         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
24102         memcmp for PPC64.
24104         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
24105         multiarch for POWER/PPC64.
24106         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24107         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
24108         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
24109         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
24110         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
24111         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
24112         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
24113         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
24114         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
24115         memcpy for PPC64.
24117         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
24118         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
24119         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
24120         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
24121         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
24122         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
24123         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
24124         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
24125         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
24126         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
24127         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
24128         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
24129         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
24130         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
24131         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
24132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
24133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
24134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24138         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24140 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24142         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24144 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24146         * benchtests/Makefile (bench): Add exp2 and log2.
24147         (LDLIBS-bench-exp2): Add -lm.
24148         (LDLIBS-bench-log2): Likewise.
24149         * benchtests/exp2-inputs: New inputs file.
24150         * benchtests/log2-inputs: New inputs file.
24151         * benchtests/log-inputs: Add new inputs.
24152         * benchtests/tan-inputs: Likewise.
24154 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24156         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24157         definition...
24158         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24159         (csloww2): ... from here.
24161         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24162         instead of structures.
24163         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24164         (POLYNOMIAL): Likewise.
24165         (TAYLOR_SLOW): Likewise.
24166         (__sin): Likewise.
24167         (__cos): Likewise.
24168         (slow1): Likewise.
24169         (slow2): Likewise.
24170         (sloww): Likewise.
24171         (sloww1); Likewise.
24172         (sloww2): Likewise.
24173         (bsloww1): Likewise.
24174         (bsloww2): Likewise.
24175         (cslow2): Likewise.
24176         (csloww): Likewise.
24177         (csloww1): Likewise.
24178         (csloww2): Likewise.
24180 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
24182         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24183         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24184         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24185         * malloc/hooks.c (realloc_check): Likewise.
24187         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24188         * malloc/arena.c: Remove PER_THREAD conditional.
24189         [!PER_THREAD]: Remove code.
24190         (ptmalloc_unlock_all2): Likewise.
24191         (ptmalloc_init): Likewise.
24192         (_int_new_arena): Likewise.
24193         (arena_get2): Likewise.
24194         * malloc/hooks.c (__malloc_get_state): Likewise.
24195         (__malloc_set_state): Likewise.
24196         * malloc/malloc.c: Likewise.
24197         (struct malloc_state): Likewise.
24198         (struct malloc_par): Likewise.
24199         (__libc_realloc): Likewise.
24200         (__libc_mallopt): Likewise.
24202 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24204         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24206 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
24208         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24209         macro to a function.  Check for zero perturb_byte.
24210         (_int_malloc, _int_free): Remove zero perturb_byte checks.
24212         * malloc/malloc.c: (force_reg): Remove.
24213         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24214         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24215         force_reg by atomic_forced_read.
24216         * malloc/arena.c (ptmalloc_init): Likewise.
24217         * malloc/hooks.c (top_check): Likewise.
24219 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24223 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
24225         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24227 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
24229         * math/auto-libm-test-in: Add tests of lgamma.
24230         * math/auto-libm-test-out: Regenerated.
24231         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24232         (M_LOG_2_SQRT_PIl): Likewise.
24233         (lgamma_test_data): Use AUTO_TESTS_f_f1.
24234         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24235         mpfr_f_f1.
24236         (func_calc_desc): Add mpfr_f_f1 union field.
24237         (ARGS1): New macro.
24238         (ARGS2): Likewise.
24239         (ARGS3): Likewise.
24240         (ARGS4): Likewise.
24241         (RET1): Likewise.
24242         (RET2): Likewise.
24243         (CALC): Likewise.
24244         (FUNC): Likewise.
24245         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24246         (test_functions): Add lgamma.
24247         (calc_generic_results): Handle mpfr_f_f1.
24248         * sysdeps/i386/fpu/libm-test-ulps: Update.
24249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24251 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24253         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24254         __mpn_add_n for PowerPC64/POWER7.
24255         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24256         __mpn_sub_n for PowerPC64/POWER7.
24258         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24259         __mpn_addmul_1 for PowerPC64.
24260         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24261         __mpn_submul_1 for PowerPC64.
24262         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24263         for PowerPC64.
24264         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24265         for PowerPC64.
24267 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
24269         [BZ #15089]
24270         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24272 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24274         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24276         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24277         add multiarch folders.
24278         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24279         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24280         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24281         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24282         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24283         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24284         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24285         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24286         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24287         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24288         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24297         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24299         New file.
24300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24301         New file.
24302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24303         multiarch __ieee754_hypot for PowerPC32.
24304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24305         New file.
24306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24307         New file.
24308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24309         multiarch __ieee754_hypotf for PowerPC32.
24311         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24312         long_double_symbol only if __logbl is defined.
24313         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24314         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24315         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24316         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24317         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24318         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24319         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24320         path for implementation.
24321         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24322         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24324         logb, and logbl multiarch implementations for PowerPC32.
24325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24326         file.
24327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24328         file.
24329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24330         multiarch logb for PowerPC32.
24331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24332         file.
24333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24334         file.
24335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24336         multiarch logbf for PowerPC32.
24337         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24339         file.
24340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24341         multiarch logbl implementation for PowerPC32.
24343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24344         and modff multiarch implementations.
24345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24346         New file.
24347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24348         New file.
24349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24350         multiarch modf for PowerPC32.
24351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24352         New file.
24353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24354         New file.
24355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24356         multiarch modff for PowerPC32.
24358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24359         and lrintf multiarch implementations.
24360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24361         New file.
24362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24363         New file.
24364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24365         multiarch lrint for PowerPC32.
24366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24367         file: multiarch lrintf for PowerPC32.
24369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24370         and lroundf multiarch implementations.
24371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24372         New file.
24373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24374         New file.
24375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24376         New file.
24377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24378         multiarch lround for PowerPC32.
24379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24380         file: multiarch lroundf for PowerPC32.
24382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24383         copysign and copysignf multiarch implementations.
24384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24385         New file.
24386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24387         New file.
24388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24389         file: multiarch copysign for PowerPC32.
24390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24391         file: multiarch copysignf for PowerPC32.
24393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24394         and truncf multiarch implementations.
24395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24396         New file.
24397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24398         file.
24399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24400         multiarch trunc for PowerPC32.
24401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24402         New file.
24403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24404         New file.
24405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24406         multiarch truncf for PowerPC32.
24408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24409         and roundf multiarch implementations.
24410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24411         New file.
24412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24413         file.
24414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24415         multiarch round for PowerPC32.
24416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24417         New file.
24418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24419         New file.
24420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24421         multiarch roundf for PowerPC32.
24423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24424         and floorf multiarch implementations.
24425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24426         New file.
24427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24428         file.
24429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24430         multiarch floor for PowerPC32.
24431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24432         New file.
24433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24434         New file.
24435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24436         multiarch floorf for PowerPC32.
24438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24439         and ceilf multiarch implementations.
24440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24441         New file.
24442         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24443         file.
24444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24445         multiarch ceil for PowerPC32.
24446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24447         New file.
24448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24449         file.
24450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24451         multiarch ceilf for PowerPC32.
24453         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24454         is defined.
24455         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24456         FINITEF is defined.
24457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24458         and finitef multiarch implementations.
24459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24460         New file.
24461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24462         file.
24463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24464         multiarch finite for PowerPC32.
24465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24466         New file.
24467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24468         file: multiarch finitef for PowerPC32.
24470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24471         and isinff multiarch implementations.
24472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24473         file.
24474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24475         file.
24476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24477         multiarch isinf for PowerPC32.
24478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24479         New file.
24480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24481         multiarch isinff for PowerPC32.
24483         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24484         alias when __isnan is defined.
24485         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24486         and isnanf multiarch implementations.
24487         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24488         file.
24489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24490         file.
24491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24492         file.
24493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24494         file.
24495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24496         multiarch isnan for PowerPC32.
24497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24498         New file.
24499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24500         New file.
24501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24502         multiarch isnanf for PowerPC32.
24504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24505         and sqrtf multiarch implementations.
24506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24507         file.
24508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24509         file.
24510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24511         multiarch sqrt for PowerPC32.
24512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24513         file.
24514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24515         file.
24516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24517         multiarch sqrtf for PowerPC32.
24519         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24520         and llroundf multiarch implementations.
24521         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24522         New file.
24523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24524         New file.
24525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24526         New file.
24527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24528         file: multiarch llround for PowerPC32.
24529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24530         file: multiarch llroundf for PowerPC32.
24532         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24533         multiarch PowerPC32 fpu implementations.
24534         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24535         New file.
24536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24537         New file.
24538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24539         multiarch llrint for PowerPC32.
24540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24541         New file.
24542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24543         New file.
24544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24545         file.
24547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24549         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24550         file.
24551         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24552         file.
24553         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24554         file.
24555         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24556         multiarch wordcopy for PPC32.
24557         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24558         wordcopy objects.
24559         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24560         (__libc_ifunc_impl_list): Likewise.
24561         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24562         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24563         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24564         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24565         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24566         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24568         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24569         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24570         file.
24571         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24572         file.
24573         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24574         file.
24575         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24576         multiarch wcscpy for PPC32.
24577         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24578         multiarch objects.
24579         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24580         (__libc_ifunc_impl_list): Likewise.
24581         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24582         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24583         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24584         sysdeps/powerpc/power6/wcscpy.c.
24586         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24587         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24588         file.
24589         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24590         file.
24591         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24592         file.
24593         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24594         multiarch wcsrchr for PPC32.
24595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24596         multiarch objects.
24597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24598         (__libc_ifunc_impl_list): Likewise.
24599         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24600         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24601         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24602         sysdeps/powerpc/power6/wcsrchr.c.
24604         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24605         file.
24606         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24607         file.
24608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24610         multiarch wcschr for PPc32.
24611         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24612         multiarch objects.
24613         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24614         (__libc_ifunc_impl_list): Likewise.
24615         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24616         * sysdeps/powerpc/power6/wcschr.c: ... to here.
24617         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24618         sysdeps/powerpc/power6/wcschr.c.
24620         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24621         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24622         file.
24623         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24624         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24625         file: multiarch strchr for PPC32.
24626         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24627         multiarch objects.
24628         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24629         (__libc_ifunc_impl_list): Likewise.
24631         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24632         name.
24633         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24634         file.
24635         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24636         file.
24637         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24638         multiarch strchrnul for PPC32.
24639         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24640         multiarch objects.
24641         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24642         (__libc_ifunc_impl_list): Likewise.
24644         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24645         file.
24646         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24647         multiarch strncasecmp for PPC32.
24648         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24649         file.
24650         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24651         multiarch strncasecmp_l for PPC32.
24652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24653         strncasecmp multiarch objects.
24654         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24655         (__libc_ifunc_impl_list): Likewise.
24657         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24658         file.
24659         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24660         multiarch strncasecmp for PPC32.
24661         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24662         New file.
24663         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24664         multiarch strcasecmp_l for PPC32.
24665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24666         multiarch objects.
24667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24668         (__libc_ifunc_impl_list): Likewise.
24670         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24671         file.
24672         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24673         file.
24674         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24675         multiarch strncmp for PPC32.
24676         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24677         multiarch objects.
24678         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24679         (__libc_ifunc_impl_list): Likewise.
24681         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24682         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24683         file.
24684         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24685         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24686         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24687         multiarch objects.
24688         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24689         (__libc_ifunc_impl_list): Likewise.
24691         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24692         file.
24693         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24694         file.
24695         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24696         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24697         multiarch objects.
24698         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24699         (__libc_ifunc_impl_list): Likewise.
24701         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24702         file.
24703         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24704         file.
24705         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24706         multiarch rawmemchr for PPC32.
24707         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24708         multiarch objects.
24709         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24710         (__libc_ifunc_impl_list): Likewise.
24712         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24713         file.
24714         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24715         file.
24716         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24717         file: memrchr multiarch for PPC32.
24718         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24719         multiarch objects.
24720         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24721         (__libc_ifunc_impl_list): Likewise.
24723         * string/memchr.c (__memchr): Using macro to redefine symbol name.
24724         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24725         file.
24726         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24727         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24728         multiarch memchr for PPC32.
24729         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24730         multiarch objects.
24731         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24732         (__libc_ifunc_impl_list): Likewise.
24734         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24735         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24736         file.
24737         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24738         file.
24739         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24740         file: multiarch mempcpy for PPC32.
24741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24742         multiarch objects.
24743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24744         (__libc_ifunc_impl_list): Likewise.
24746         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24747         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24748         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24749         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24750         multiarch bzero for PPC32.
24751         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24752         file.
24753         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24754         file.
24755         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24756         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24757         file: multiarch memset for PPC32.
24758         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24759         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24760         memset multiarch objects.
24761         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24762         (__libc_ifunc_impl_list): Likewise.
24764         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24765         file.
24766         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24767         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24768         memcmp for PPC32.
24769         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24770         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24771         multiarch objects.
24772         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24773         (__libc_ifunc_impl_list): Likewise.
24775         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24776         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24777         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24778         file.
24779         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24780         file.
24781         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24782         file.
24783         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24784         multiarch memcpy for PPC32.
24785         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24786         multiarch objects.
24787         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24788         (__libc_ifunc_impl_list): Likewise.
24790         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24791         support multiarch for POWER/PPC32.
24792         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24793         Likewise.
24794         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24796         Implies file to make multiarch folder appers before the fpu and
24797         default folder for power4 configuration.
24799 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24801         * scripts/bench.pl: Append volatile keyword to type.
24803 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24805         * sysdeps/sh/sotruss-lib.c: New file.
24806         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24808 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24810         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24812 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
24814         [BZ #6810]
24815         * math/w_tgamma.c: Include <errno.h>.
24816         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
24817         * math/w_tgammaf.c: Include <errno.h>.
24818         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
24819         * math/w_tgammal.c: Include <errno.h>.
24820         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
24821         * math/auto-libm-test-in: Do not allow missing errno on tgamma
24822         underflow.  Add more tgamma tests.
24823         * math/auto-libm-test-out: Regenerated.
24824         * sysdeps/i386/fpu/libm-test-ulps: Update.
24825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24827         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24828         sin, sinh, tan, tanh, tgamma, y0 and y1.
24829         * math/auto-libm-test-out: Regenerated.
24830         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24831         (TEST_COND_x86): Likewise.
24832         (M_E2l): Remove macro.
24833         (M_E3l): Likewise.
24834         (M_2_SQRT_PIl): Likewise.
24835         (M_SQRT_PIl): Likewise.
24836         (M_1_DIV_El): Likewise.
24837         (log_test_data): Use AUTO_TESTS_f_f.
24838         (log10_test_data): Likewise.
24839         (log1p_test_data): Likewise.
24840         (log2_test_data): Likewise.
24841         (sin_test_data): Likewise.
24842         (sin_tonearest_test_data): Likewise.
24843         (sin_towardzero_test_data): Likewise.
24844         (sin_downward_test_data): Likewise.
24845         (sin_upward_test_data): Likewise.
24846         (sinh_test_data): Likewise.
24847         (sinh_tonearest_test_data): Likewise.
24848         (sinh_towardzero_test_data): Likewise.
24849         (sinh_downward_test_data): Likewise.
24850         (sinh_upward_test_data): Likewise.
24851         (tan_test_data): Likewise.
24852         (tan_tonearest_test_data): Likewise.
24853         (tan_towardzero_test_data): Likewise.
24854         (tan_downward_test_data): Likewise.
24855         (tan_upward_test_data): Likewise.
24856         (tanh_test_data): Likewise.
24857         (tgamma_test_data): Likewise.
24858         (y0_test_data): Likewise.
24859         (y1_test_data): Likewise.
24860         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24861         (special_real_inputs): Add pi/4.
24862         * sysdeps/i386/fpu/libm-test-ulps: Update.
24863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24865 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24867         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24868         "longjmp_target" static probes.
24869         (__longjmp): Rename to __longjmp_symbol.
24870         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24871         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24872         on which longjmp to generate.
24873         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24874         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24875         probe.
24876         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24877         (__sigjmp_save): Rename to __sigjmp_save_symbol.
24878         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24879         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24880         and __sigjmp_save_symbol based on which sigsetjmp to generated.
24881         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24883         __longjmp_symbol based on which __longjmp to generate.
24884         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24885         probe.
24886         (setjmp): Rename to setjmp_symbol.
24887         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24888         (_setjmp): Rename to _setjmp_symbol.
24889         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24890         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24891         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24892         which setjmp to generate.
24893         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24894         "longjmp_target" static probes.
24896 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24898         * benchtests/README: Add note about output arguments.
24899         * benchtests/bench-sincos.c: Remove file.
24900         * benchtests/sincos-inputs: New file.
24901         * scripts/bench.pl: Identify output arguments and define
24902         static variables for them.
24904         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24906         [BZ #15941]
24907         * Makefile (INSTALL): Add install-plain.texi as the primary
24908         dependency.
24909         * manual/install-plain.texi: New file.
24910         * manual/install.texi: Include node directive only for
24911         non-plaintext output.
24913 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
24915         * stdlib/longlong.h: Update from GCC.
24917         [BZ #6807]
24918         [BZ #15901]
24919         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24920         * math/w_j0f.c (y0f): Likewise.
24921         * math/w_j0l.c (__y0l): Likewise.
24922         * math/w_j1.c (y1): Likewise.
24923         * math/w_j1f.c (y1f): Likewise.
24924         * math/w_j1l.c (__y1l): Likewise
24925         * math/w_jn.c (yn): Likewise.
24926         * math/w_jnf.c (ynf): Likewise.
24927         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24928         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
24929         value for Bessel function domain errors outside _SVID_ mode.
24930         Adjust sign of return value for yn (negative integer, 0).
24931         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24932         by zero in return for negative x and set sign appropriately for
24933         negative n.
24934         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24935         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24936         * math/libm-test.inc (y0_test_data): Add more tests and adjust
24937         expectations in error cases.
24938         (y1_test_data): Likewise.
24939         (yn_test_data): Likewise.
24940         * sysdeps/i386/fpu/libm-test-ulps: Update.
24941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24943 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24945         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24946         "64" to "64-v1".  Add "64-v2".
24947         (abi-64-options): Rename to ...
24948         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
24949         (abi-64-condition): Rename to ...
24950         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
24951         (abi-64-ld-soname): Rename to ...
24952         (abi-64-v1-ld-soname): ... this.
24953         (abi-64-v2-options): Define.
24954         (abi-64-v2-condition): Likewise.
24955         (abi-64-v2-ld-soname): Likewise.
24956         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24957         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24962 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24963             Alan Modra  <amodra@gmail.com>
24965         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24966         New versions for use with the ELFv2 ABI.
24967         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24968         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24969         declaration.
24970         (struct La_ppc64v2_retval): Likewise.
24971         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24972         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24973         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24974         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24975         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24976         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24977         Do not save or restore CR.
24978         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24979         (_dl_profile_resolve): Do no save or restore CR.  Support extended
24980         return values for ELFv2 ABI.  Fix location of FPR return registers.
24981         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24982         updated values for _CALL_ELF == 2.
24983         (La_regs, La_retval, int_retval): Likewise.
24985 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24987         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24988         (FRAME_MIN_SIZE_PARM): Likewise.
24989         (FRAME_BACKCHAIN): Likewise.
24990         (FRAME_CR_SAVE): Likewise.
24991         (FRAME_LR_SAVE): Likewise.
24992         (FRAME_TOC_SAVE): Likewise.
24993         (FRAME_PARM_SAVE): Likewise.
24994         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24995         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24996         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24997         (call_mcount_parm_offset): New macro.
24998         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24999         (PROF): Use symbolic stack frame offsets.
25000         (TAIL_CALL_SYSCALL_ERROR): Likewise.
25001         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
25002         Redefine in terms of FRAME_MIN_SIZE.
25003         (_dl_runtime_resolve): Use symbolic stack frame offsets.
25004         (_dl_profile_resolve): Likewise.  Update comment.
25005         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
25006         symbols stack frame offsets.
25007         (__sigsetjmp): Likewise.
25008         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
25009         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
25010         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
25011         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
25013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
25014         (FRAME_BACKCHAIN): Remove.
25015         (FRAME_CR_SAVE): Likewise.
25016         (FRAME_LR_SAVE): Likewise.
25017         (FRAME_COMPILER_DW): Likewise.
25018         (FRAME_LINKER_DW): Likewise.
25019         (FRAME_TOC_SAVE): Likewise.
25020         (FRAME_PARM_SAVE): Likewise.
25021         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
25022         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
25023         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
25024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
25025         (CHECK_SP): Use symbolic stack frame offsets.
25026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
25027         zone" instead of caller's parameter save area for temp storage.
25028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
25029         Likewise.  Also, use symbolic stack frame offsets.
25030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
25031         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
25032         our own stack frame instead of the caller's.
25033         (__socket): Use symbolic stack frame offsets.
25035 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25036             Alan Modra  <amodra@gmail.com>
25038         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
25039         Define.
25040         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
25041         (PPC64_LOCAL_ENTRY_OFFSET): Define.
25042         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
25043         New function.
25044         (elf_machine_fixup_plt): Call it.
25045         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
25046         reloc arguments.
25047         (elf_machine_rela): Update call to elf_machine_plt_conflict.
25048         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25049         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
25050         r2 before calling target.
25052 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25053             Alan Modra  <amodra@gmail.com>
25055         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
25056         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
25057         versions of macros to support ELFv2 ABI.
25058         (LOCALENTRY): New macro.
25059         (ENTRY, EALIGN): Use it.
25060         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
25061         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
25062         fall through into ENTRY entry point.
25063         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
25064         Only define if _CALL_ELF != 2.
25066         (elf_machine_matches_host): Verify ABI version matches.
25067         (RTLD_START): Use LOCALENTRY.
25068         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
25069         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
25070         (PLT_ENTRY_WORDS): New macro.
25071         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
25072         (elf_machine_runtime_setup): Support ELFv2 ABI.
25073         (elf_machine_fixup_plt): Likewise.
25074         (elf_machine_plt_conflict): Likewise.
25075         (resolve_ifunc): Likewise.
25076         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
25077         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25078         Likewise.
25079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
25080         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
25081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25082         (makecontext): Support ELFv2 ABI.
25083         * elf/elf.h (EF_PPC64_ABI): Define.
25085 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25087         * sysdeps/powerpc/powerpc64/sysdep.h
25088         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
25089         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
25090         (ENTRY) [ASSEMBLER]: ... but instead here ...
25091         (EALIGN) [ASSEMBLER]: ... and here.
25092         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
25093         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
25094         (ENTRY_2) [!ASSEMBLER]: Use it.
25095         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
25096         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
25097         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
25098         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
25099         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
25100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
25101         Use PPC64_LOAD_FUNCPTR.
25103         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
25105 2013-12-04  Alan Modra  <amodra@gmail.com>
25107         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
25108         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
25109         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
25110         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
25112         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
25113         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
25114         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
25115         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
25116         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
25117         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
25119 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
25121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25122         (__makecontext): Fix incorrect CFI when backtracing out of
25123         context created via makecontext.
25124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
25125         (__setcontext): Fix incorrect CFI during switch to new context.
25126         (__novec_setcontext): Likewise.
25128 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25130         [BZ #4772]
25131         * time/strptime_l.c (__strptime_internal): Allow modifiers
25132         in strptime.
25133         * time/tst-strptime.c (day_tests): Add testcase.
25135 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25137         * scripts/bench.pl: Skip over blank lines.
25139 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25141         [BZ #926]
25142         * manual/time.texi (Calendar Time): Clarify what timezone functions
25143         use.
25145 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25149 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25151         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25152         implementation.
25153         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25154         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25155         * debug/memset_chk.c (__memset_chk): Likewise.
25156         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25157         * debug/strncpy_chk.c: Likewise.
25159 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25161         [BZ #15268]
25162         [BZ #15425]
25163         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25164         (__ieee754_exp): For possibly underflowing results, check size of
25165         result and force underflow exception if required.
25166         * math/auto-libm-test-in: Add more tests of exp.
25167         * math/auto-libm-test-out: Regenerated.
25168         * sysdeps/i386/fpu/libm-test-ulps: Update.
25169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25171         [BZ #16283]
25172         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25173         * math/w_exp2f.c (__exp2f): Likewise.
25174         * math/w_exp2l.c (__exp2l): Likewise.
25175         * math/auto-libm-test-in: Do not allow missing errno on exp2
25176         underflow.
25177         * math/auto-libm-test-out: Regenerated.
25179 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
25181         [BZ #16274]
25182         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25183         handle filename validation.
25184         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25185         (do_open): Delete.
25187 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25189         [BZ #6786]
25190         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25191         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25192         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25193         <float.h>.
25194         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25195         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25196         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25197         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25198         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25199         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25200         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25201         * math/auto-libm-test-in: Don't allow missing errno from erfc.
25202         Add more erfc tests.
25203         * math/auto-libm-test-out: Regenerated.
25204         * sysdeps/i386/fpu/libm-test-ulps: Update.
25205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25207         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25208         exp2, expm1, j0 and j1.
25209         * math/auto-libm-test-out: Regenerated.
25210         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25211         (erfc_test_data): Likewise.
25212         (exp_test_data): Likewise.
25213         (exp_tonearest_test_data): Likewise.
25214         (exp_towardzero_test_data): Likewise.
25215         (exp_downward_test_data): Likewise.
25216         (exp_upward_test_data): Likewise.
25217         (exp10_test_data): Likewise.
25218         (exp2_test_data): Likewise.
25219         (expm1_test_data): Likewise.
25220         (j0_test_data): Likewise.
25221         (j1_test_data): Likewise.
25222         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25223         (input_flag_type): Add flag_xfail_rounding.
25224         (input_flags): Add xfail-rounding.
25225         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25226         (output_for_one_input_case): Handle flag_xfail_rounding.
25227         * sysdeps/i386/fpu/libm-test-ulps: Update.
25228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25230 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
25232         [BZ #16289]
25233         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25234         division by 0.
25236 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25238         [BZ #16195]
25239         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25240         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25241         (STAP_PROBE0): New macro.
25242         (STAP_PROBE1): Likewise.
25243         (STAP_PROBE2): Likewise.
25244         (STAP_PROBE3): Likewise.
25245         (STAP_PROBE4): Likewise.
25247 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
25249         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25251 2013-12-02  Steve Ellcey  <sellcey@mips.com>
25253         * benchtests/Makefile (bench): Add sqrt.
25254         (LDLIBS-bench-sqrt): New.
25255         * benchtests/sqrt-input: New.
25257 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
25259         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25260         (GAIH_EAI): Likewise.
25261         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25262         (gaih_inet): Likewise.
25263         (getaddrinfo): Don't use GAIH_EAI.
25265         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25266         (struct gaih): Remove definition.
25268 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25270         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25271         Use HERRNOP directly.
25273 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25277 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
25279         * math/gen-auto-libm-tests.c (test_functions): Add more
25280         single-argument functions.
25281         (special_fill_pi_2): New function.
25282         (special_fill_minus_pi_2): Likewise.
25283         (special_fill_pi_6): Likewise.
25284         (special_fill_minus_pi_6): Likewise.
25285         (special_fill_pi_3): Likewise.
25286         (special_fill_2pi_3): Likewise.
25287         (special_fill_e): Likewise.
25288         (special_fill_1_e): Likewise.
25289         (special_fill_e_minus_1): Likewise.
25290         (special_real_inputs): Add more special inputs.
25291         (output_for_one_input_case): Do not require ERANGE on underflow to
25292         zero if round-to-nearest result does not underflow to zero, unless
25293         exact results required.
25294         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25295         atan, atanh, cbrt, cos and cosh.
25296         * math/auto-libm-test-out: Regenerated.
25297         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25298         (acos_tonearest_test_data): Likewise.
25299         (acos_towardzero_test_data): Likewise.
25300         (acos_downward_test_data): Likewise.
25301         (acos_upward_test_data): Likewise.
25302         (acosh_test_data): Likewise.
25303         (asin_test_data): Likewise.
25304         (asin_tonearest_test_data): Likewise.
25305         (asin_towardzero_test_data): Likewise.
25306         (asin_upward_test_data): Likewise.
25307         (asinh_test_data): Likewise.
25308         (atan_test_data): Likewise.
25309         (atanh_test_data): Likewise.
25310         (cbrt_test_data): Likewise.
25311         (cos_test_data): Likewise.
25312         (cos_tonearest_test_data): Likewise.
25313         (cos_towardzero_test_data): Likewise.
25314         (cos_downward_test_data): Likewise.
25315         (cos_upward_test_data): Likewise.
25316         (cosh_test_data): Likewise.
25317         (cosh_tonearest_test_data): Likewise.
25318         (cosh_towardzero_test_data): Likewise.
25319         (cosh_downward_test_data): Likewise.
25320         (cosh_upward_test_data): Likewise.
25321         * sysdeps/i386/fpu/libm-test-ulps: Update.
25322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25324 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
25326         [BZ #6787]
25327         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25328         * math/w_exp10f.c (__exp10f): Likewise.
25329         * math/w_exp10l.c (__exp10l): Likewise.
25330         * math/libm-test.inc (exp10_test_data): Add more tests and expect
25331         errno settings in existing tests.
25333         [BZ #14032]
25334         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25335         precision control set to double precision.
25336         * sysdeps/i386/fpu/w_sqrt.c: New file.
25337         * math/auto-libm-test-in: Add more tests.
25338         * math/auto-libm-test-out: Update.
25340         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25341         (sqrt_test_tonearest): New function.
25342         (sqrt_towardzero_test_data): New variable.
25343         (sqrt_test_towardzero): New function.
25344         (sqrt_downward_test_data): New variable.
25345         (sqrt_test_downward): New function.
25346         (sqrt_upward_test_data): New variable.
25347         (sqrt_test_upward): New function.
25348         (main): Call the new functions.
25350         * math/gen-auto-libm-tests.c: New file.
25351         * math/auto-libm-test-in: Likewise.
25352         * math/auto-libm-test-out: New generated file.
25353         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25354         variables.
25355         (%beautify): Add generated representations of zero.
25356         (top level): Set $auto_input and call parse_auto_input.
25357         (beautify): Remove trailing "f" from hex float constants.
25358         (parse_args): Handle XFAIL_TEST.
25359         (convert_condition): New function.
25360         (or_value): Likewise.
25361         (or_cond_value): Likewise.
25362         (generate_testfile): Handle AUTO_TESTS_* lines.
25363         (parse_auto_input): New function.
25364         * math/libm-test.inc (XFAIL_TEST): New macro.
25365         (ERRNO_UNCHANGED): Update value.
25366         (ERRNO_EDOM): Likewise.
25367         (ERRNO_ERANGE): Likewise.
25368         (IGNORE_RESULT): Likewise.
25369         (TEST_COND_flt_32): New macro.
25370         (TEST_COND_dbl_64): Likewise.
25371         (TEST_COND_ldbl_96_intel): Likewise.
25372         (TEST_COND_ldbl_96_m68k): Likewise.
25373         (TEST_COND_ldbl_128): Likewise.
25374         (TEST_COND_ldbl_128ibm): Likewise.
25375         (TEST_COND_long32): Likewise.
25376         (TEST_COND_long64): Likewise.
25377         (TEST_COND_before_rounding): Likewise.
25378         (TEST_COND_after_rounding): Likewise.
25379         (enable_test): Handle XFAIL_TEST flag.
25380         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25381         with finite results.
25382         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25383         auto-libm-test-out.
25385 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25386             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25388         [BZ #16214]
25389         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25390         __tls_get_addr_internal instead of __tls_get_offset in order to
25391         avoid GOT pointer dependency.  Make rtld export
25392         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25393         __tls_get_addr since we are a __tls_get_offset platform.
25394         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25395         GOT pointer being set up before.
25396         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25398 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
25400         * manual/math.texi (Errors in Math Functions): Document accuracy
25401         goals.
25403         [BZ #15004]
25404         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25405         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25406         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25407         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25408         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25409         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25410         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25411         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25412         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25413         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25414         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25415         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25416         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25417         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25418         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25419         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25421         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25422         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25423         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25424         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25425         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25426         Likewise.
25427         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25428         Likewise.
25429         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25430         Likewise.
25431         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25432         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25433         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25434         atomic-feupdateenv and flt-rounds.
25435         * sysdeps/powerpc/nofpu/Versions (libc): Add
25436         __atomic_feholdexcept, __atomic_feclearexcept,
25437         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25438         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25439         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25440         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25441         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25442         here.
25443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25444         Update.
25446         * manual/arith.texi (FP Exceptions): Document that exceptions may
25447         not be raised when matherr is used.
25448         (Math Error Reporting): Document overflow in directed rounding
25449         modes.  Document that errno may not be set when finite values are
25450         returned on overflow.  Document intent to set errno on underflow
25451         only for underflow to zero.
25453         [BZ #16271]
25454         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25455         round-to-nearest then adjust result for other rounding modes.
25456         * include/fenv.h (fegetround): Use libm_hidden_proto.
25457         * math/fegetround.c (fegetround): Use libm_hidden_def.
25458         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25459         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25460         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25461         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25462         Likewise.
25463         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25464         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25465         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25466         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25468 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25470         [BZ #16077]
25471         * nss/Versions (libnss_files): Add
25472         _nss_files_gethostbyname3_r.
25473         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25474         New function.
25475         (HOST_DB_LOOKUP): Remove macro.
25476         (_nss_files_gethostbyname_r): Implement function without the
25477         HOST_DB_LOOKUP macro.
25478         (_nss_files_gethostbyname2_r): Likewise.
25480 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
25482         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25484 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
25486         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25487         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25488         warning.
25490 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25492         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25493         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25494         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25495         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25496         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25497         __fe_nomask_env_priv and attribute_hidden.
25498         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25499         (libc_feupdateenv_test_ppc): Likewise.
25500         (libc_feresetround_ppc): Likewise.
25501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25502         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25503         compat_symbol macro.
25504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25505         (__fe_nomask_env): Likewise.
25506         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25508 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25510         * string/Makefile: Remove ifunc tests.
25511         * string/test-string.h: Define TEST_IFUNC.
25512         * string/test-bcopy-ifunc.c: Remove.
25513         * string/test-bzero-ifunc.c: Likewise.
25514         * string/test-memccpy-ifunc.c: Likewise.
25515         * string/test-memchr-ifunc.c: Likewise.
25516         * string/test-memcmp-ifunc.c: Likewise.
25517         * string/test-memcpy-ifunc.c: Likewise.
25518         * string/test-memmem-ifunc.c: Likewise.
25519         * string/test-memmove-ifunc.c: Likewise.
25520         * string/test-mempcpy-ifunc.c: Likewise.
25521         * string/test-memrchr-ifunc.c: Likewise.
25522         * string/test-memset-ifunc.c: Likewise.
25523         * string/test-rawmemchr-ifunc.c: Likewise.
25524         * string/test-stpcpy-ifunc.c: Likewise.
25525         * string/test-stpncpy-ifunc.c: Likewise.
25526         * string/test-strcasecmp-ifunc.c: Likewise.
25527         * string/test-strcasestr-ifunc.c: Likewise.
25528         * string/test-strcat-ifunc.c: Likewise.
25529         * string/test-strchr-ifunc.c: Likewise.
25530         * string/test-strchrnul-ifunc.c: Likewise.
25531         * string/test-strcmp-ifunc.c: Likewise.
25532         * string/test-strcpy-ifunc.c: Likewise.
25533         * string/test-strcspn-ifunc.c: Likewise.
25534         * string/test-strlen-ifunc.c: Likewise.
25535         * string/test-strncasecmp-ifunc.c: Likewise.
25536         * string/test-strncat-ifunc.c: Likewise.
25537         * string/test-strncmp-ifunc.c: Likewise.
25538         * string/test-strncpy-ifunc.c: Likewise.
25539         * string/test-strnlen-ifunc.c: Likewise.
25540         * string/test-strpbrk-ifunc.c: Likewise.
25541         * string/test-strrchr-ifunc.c: Likewise.
25542         * string/test-strspn-ifunc.c: Likewise.
25543         * string/test-strstr-ifunc.c: Likewise.
25545 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25547         * benchtests/Makefile: Remove ifunc tests.
25548         * benchtests/bench-string.h: Define TEST_IFUNC.
25549         * benchtests/bench-bcopy-ifunc.c: Remove.
25550         * benchtests/bench-bzero-ifunc.c: Likewise.
25551         * benchtests/bench-memccpy-ifunc.c: Likewise.
25552         * benchtests/bench-memchr-ifunc.c: Likewise.
25553         * benchtests/bench-memcmp-ifunc.c: Likewise.
25554         * benchtests/bench-memcpy-ifunc.c: Likewise.
25555         * benchtests/bench-memmem-ifunc.c: Likewise.
25556         * benchtests/bench-memmove-ifunc.c: Likewise.
25557         * benchtests/bench-mempcpy-ifunc.c: Likewise.
25558         * benchtests/bench-memrchr-ifunc.c: Likewise.
25559         * benchtests/bench-memset-ifunc.c: Likewise.
25560         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25561         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25562         * benchtests/bench-stpcpy-ifunc.c: Likewise.
25563         * benchtests/bench-stpncpy-ifunc.c: Likewise.
25564         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25565         * benchtests/bench-strcasestr-ifunc.c: Likewise.
25566         * benchtests/bench-strcat-ifunc.c: Likewise.
25567         * benchtests/bench-strchr-ifunc.c: Likewise.
25568         * benchtests/bench-strchrnul-ifunc.c: Likewise.
25569         * benchtests/bench-strcmp-ifunc.c: Likewise.
25570         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25571         * benchtests/bench-strcpy-ifunc.c: Likewise.
25572         * benchtests/bench-strcspn-ifunc.c: Likewise.
25573         * benchtests/bench-strlen-ifunc.c: Likewise.
25574         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25575         * benchtests/bench-strncat-ifunc.c: Likewise.
25576         * benchtests/bench-strncmp-ifunc.c: Likewise.
25577         * benchtests/bench-strncpy-ifunc.c: Likewise.
25578         * benchtests/bench-strnlen-ifunc.c: Likewise.
25579         * benchtests/bench-strpbrk-ifunc.c: Likewise.
25580         * benchtests/bench-strrchr-ifunc.c: Likewise.
25581         * benchtests/bench-strsep-ifunc.c: Likewise.
25582         * benchtests/bench-strspn-ifunc.c: Likewise.
25583         * benchtests/bench-strstr-ifunc.c: Likewise.
25585 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25587         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25589 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25591         * resolv/netdb.h: Use __glibc_reserved instead __unused.
25592         * rt/aio.h: Likewise.
25593         * sysdeps/gnu/bits/utmp.h: Likewise.
25594         * sysdeps/gnu/bits/utmpx.h: Likewise.
25595         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25596         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25597         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25598         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25599         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25600         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25601         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25602         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25603         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25604         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25605         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25606         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25607         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25609         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25610         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25611         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25612         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25613         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25614         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25615         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25616         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25617         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25618         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25619         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25620         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25621         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25622         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25623         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25624         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25625         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25626         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25627         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25628         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25629         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25630         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25631         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25632         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25633         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25634         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25635         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25636         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25638 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
25640         [BZ #16245]
25641         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25642         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25644 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
25646         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25647         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25648         Likewise.
25650 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25652         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25653         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25654         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25655         (__fesetround): Remove define.
25656         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25657         rounding and exceptions handling.
25658         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25659         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25660         (__fe_nomask_env): Likewise.
25661         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25662         __fegetround instead of fegetround.
25663         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25664         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25666 2013-11-21  Roland McGrath  <roland@hack.frob.com>
25668         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25669         it's there.
25671         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25673 2013-11-21  Meador Inge  <meadori@codesourcery.com>
25675         [BZ #11157]
25676         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25677         (encrypt_r): Likewise.
25678         * malloc/obstack.h (obstack_free): Likewise.
25679         * posix/unistd.h (encrypt): Likewise.
25681 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
25683         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25684         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25685         DL_CALL_DT_FINI() that call the functions directly.
25686         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25687         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25688         * elf/dl-fini.c: Likewise.
25690 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
25692         * malloc/hooks.c (memalign_check): Add alignment rounding.
25693         * malloc/malloc.c (_mid_memalign): New function.
25694         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25695         Implement by calling _mid_memalign.
25696         * manual/probes.texi (Memory Allocation Probes): Remove
25697         memory_valloc_retry and memory_pvalloc_retry.
25699 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25701         * locale/programs/locarchive.c (open_archive): Add const
25702         qualifier to ARCHIVEFNAME and copy default fname to
25703         DEFAULT_FNAME.
25705         [BZ #15601]
25706         * libio/tst-widetext.input: Rename Oriya to Odia.
25707         * locale/iso-639.def: Likewise.
25709         * manual/probes.texi (Mathematical Function Probes): Add
25710         documentation for sin, cos, asin and acos probes.
25711         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25712         (__sin32): Add slowasin probe.
25713         (__cos32): Add slowacos probe.
25714         (__mpsin): Add slowsin probe.
25715         (__mpcos): Add slowcos probe.
25717 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
25719         [BZ #15483]
25720         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25721         thread-local __sim_exceptions_thread and global
25722         __sim_exceptions_global.
25723         (__sim_disabled_exceptions): Change to thread-local
25724         __sim_disabled_exceptions_thread and global
25725         __sim_disabled_exceptions_global.
25726         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25727         and global __sim_round_mode_global.
25728         (__simulate_exceptions): Use thread-local floating-point state and
25729         set global state from it as needed.
25730         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25731         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25732         __sim_round_mode_thread.
25733         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25734         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25735         and global __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         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25742         (SIM_SET_GLOBAL): Likewise.
25743         * sysdeps/powerpc/soft-fp/sfp-machine.h
25744         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25745         __sim_round_mode_thread.
25746         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25747         __sim_disabled_exceptions_thread.
25748         (__sim_exceptions): Change to __sim_exceptions_thread.
25749         (__sim_disabled_exceptions): Change to
25750         __sim_disabled_exceptions_thread.
25751         (__sim_round_mode): Change to __sim_round_mode_thread.
25752         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25753         thread-local floating-point state and set global state from it as
25754         needed.
25755         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25756         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25757         (__sim_disabled_exceptions): Remove extern declaration.
25758         (feenableexcept): Use thread-local floating-point state and set
25759         global state from it as needed.
25760         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25761         extern declaration.
25762         (__sim_disabled_exceptions): Likewise.
25763         (__sim_round_mode): Likewise.
25764         (__fegetenv): Use thread-local floating-point state.
25765         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25766         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25767         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25768         floating-point state and set global state from it as needed.
25769         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25770         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25771         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25772         Likewise.
25773         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25774         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25775         Likewise.
25776         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25777         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25778         Use __sim_round_mode_thread.
25779         * math/test-fenv-tls.c: New file.
25780         * math/Makefile (tests): Add test-fenv-tls.
25781         ($(objpfx)test-fenv-tls): Depend on
25782         $(common-objpfx)nptl/libpthread.so.
25784 2013-11-19  Andreas Schwab  <schwab@suse.de>
25786         * locale/programs/locale.c (show_info): Decode wordarray elements.
25787         * locale/categories.def (LC_MONETARY): Add element for
25788         _NL_MONETARY_CRNCYSTR.
25789         * locale/C-monetary.c (conversion_rate): New variable.
25790         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25791         element.
25793 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
25795         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25796         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25798 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
25800         * elf/Makefile (tst-auxv): New test.
25801         * elf/tst-auxv.c: New
25802         * elf/rtld.c (dl_main): Adjust AT_EXECFN
25804 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
25806         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25807         (hidden_proto): Caller changed.
25808         (hidden_tls_proto): New macro.
25809         (libc_hidden_tls_proto): Likewise.
25810         (rtld_hidden_tls_proto): Likewise.
25811         (libm_hidden_tls_proto): Likewise.
25812         (libresolv_hidden_tls_proto): Likewise.
25813         (librt_hidden_tls_proto): Likewise.
25814         (libdl_hidden_tls_proto): Likewise.
25815         (libnss_files_hidden_tls_proto): Likewise.
25816         (libnsl_hidden_tls_proto): Likewise.
25817         (libnss_nisplus_hidden_tls_proto): Likewise.
25818         (libutil_hidden_tls_proto): Likewise.
25820 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
25822         [BZ #10253]
25823         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25824         (decompose_rpath): Defer expansion to fillin_rpath.
25825         (_dl_init_paths): Pass linkmap to fillin_rpath.
25827 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25829         * benchtests/Makefile: Add strsep.
25830         * benchtests/bench-strsep.c: New file: strsep benchtest.
25831         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25833 2013-11-18  Andreas Schwab  <schwab@suse.de>
25835         * locale/programs/locale.c (show_info) [case byte]: Check for
25836         '\377' instead of '\177'.
25837         * locale/C-monetary.c (not_available): Always use "\377".
25838         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25839         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
25840         detect unavailable sign_posn locale elements.
25841         * locale/localeconv.c (__localeconv): For grouping and
25842         mon_grouping handle "\177" and "\377" like no grouping.
25843         (INT_ELEM): New macro.  Use it to set all numeric members.
25844         * locale/programs/ld-monetary.c (monetary_read)
25845         <tok_mon_grouping>: Normalize single -1 to the empty string.
25846         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25847         Likewise.
25849 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25851         [BZ #16055]
25852         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25853         when we match (nil).
25854         * stdio-common/tst-sscanf.c (struct test): Add testcase.
25856 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
25858         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25859         (NO_TEST_INLINE): Update value.
25860         (ERRNO_UNCHANGED): Likewise.
25861         (ERRNO_EDOM): Likewise.
25862         (ERRNO_ERANGE): Likewise.
25863         (IGNORE_RESULT): Likewise.
25864         (check_float_internal): Check signs of NaN results if
25865         TEST_NAN_SIGN used.
25866         (check_complex): Pass TEST_NAN_SIGN flag through to second
25867         check_float_internal call.
25868         (copysign_test_data): Add tests with quiet NaNs as second
25869         argument.  Use TEST_NAN_SIGN.
25870         (fabs_test_data): Add test of negative quiet NaN argument.  Use
25871         TEST_NAN_SIGN.
25872         (signbit_test_data): Add tests of quiet NaN argument.
25873         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25875         * math/gen-libm-test.pl (show_exceptions): Take extra argument
25876         $ignore_result.
25877         (parse_args): Handle function results specified as IGNORE.
25878         * math/libm-test.inc (IGNORE_RESULT): New macro.
25879         (check_float_internal): Do not check numerical result if flag
25880         IGNORE_RESULT set.
25881         (check_complex): Pass through IGNORE_RESULT to second
25882         check_float_internal call.
25883         (check_int): Do not check numerical result if flag IGNORE_RESULT
25884         set.
25885         (check_long): Likewise.
25886         (check_bool): Likewise.
25887         (check_longlong): Likewise.
25888         (lrint_test_data): Add tests of infinite and NaN arguments.
25889         (lrint_tonearest_test_data): Likewise.
25890         (lrint_towardzero_test_data): Likewise.
25891         (lrint_downward_test_data): Likewise.
25892         (lrint_upward_test_data): Likewise.
25893         (llrint_test_data): Likewise.
25894         (llrint_tonearest_test_data): Likewise.
25895         (llrint_towardzero_test_data): Likewise.
25896         (llrint_downward_test_data): Likewise.
25897         (llrint_upward_test_data): Likewise.
25898         (lround_test_data): Likewise.
25899         (llround_test_data): Likewise.
25901         * math/libm-test.inc (NO_TEST_INLINE): New macro.
25902         (ERRNO_UNCHANGED): Update value.
25903         (ERRNO_EDOM): Likewise.
25904         (ERRNO_ERANGE): Likewise.
25905         (NO_TEST_INLINE_FLOAT): New macro.
25906         (NO_TEST_INLINE_DOUBLE): Likewise.
25907         (enable_test): New function.
25908         (RUN_TEST_f_f): Check enable_test before running test.
25909         (RUN_TEST_2_f): Likewise.
25910         (RUN_TEST_fff_f): Likewise.
25911         (RUN_TEST_c_f): Likewise.
25912         (RUN_TEST_f_f1): Likewise.
25913         (RUN_TEST_fF_f1): Likewise.
25914         (RUN_TEST_fI_f1): Likewise.
25915         (RUN_TEST_ffI_f1): Likewise.
25916         (RUN_TEST_c_c): Likewise.
25917         (RUN_TEST_cc_c): Likewise.
25918         (RUN_TEST_f_i): Likewise.
25919         (RUN_TEST_f_i_tg): Likewise.
25920         (RUN_TEST_ff_i_tg): Likewise.
25921         (RUN_TEST_f_b): Likewise.
25922         (RUN_TEST_f_b_tg): Likewise.
25923         (RUN_TEST_f_l): Likewise.
25924         (RUN_TEST_f_L): Likewise.
25925         (RUN_TEST_fFF_11): Likewise.
25926         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25927         conditionals.
25928         (cosh_test_data): Likewise.
25929         (exp_test_data): Likewise.
25930         (expm1_test_data): Likewise.
25931         (hypot_test_data): Likewise.
25932         (pow_test_data): Likewise.
25933         (sinh_test_data): Likewise.
25934         (tanh_test_data): Likewise.
25935         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25936         flags argument.
25938         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25939         tests with quiet NaN input and output.
25940         (acosh_test_data): Likewise.
25941         (asin_test_data): Likewise.
25942         (asinh_test_data): Likewise.
25943         (atan_test_data): Likewise.
25944         (atanh_test_data): Likewise.
25945         (atan2_test_data): Likewise.
25946         (cbrt_test_data): Likewise.
25947         (cos_test_data): Likewise.
25948         (cosh_test_data): Likewise.
25949         (erf_test_data): Likewise.
25950         (erfc_test_data): Likewise.
25951         (exp_test_data): Likewise.
25952         (exp10_test_data): Likewise.
25953         (exp2_test_data): Likewise.
25954         (expm1_test_data): Likewise.
25955         (hypot_test_data): Likewise.
25956         (j0_test_data): Likewise.
25957         (j1_test_data): Likewise.
25958         (jn_test_data): Likewise.
25959         (lgamma_test_data): Likewise.
25960         (log_test_data): Likewise.
25961         (log10_test_data): Likewise.
25962         (log1p_test_data): Likewise.
25963         (log2_test_data): Likewise.
25964         (pow_test_data): Likewise.
25965         (scalb_test_data): Likewise.
25966         (sin_test_data): Likewise.
25967         (sincos_test_data): Likewise.
25968         (sinh_test_data): Likewise.
25969         (tan_test_data): Likewise.
25970         (tanh_test_data): Likewise.
25971         (tgamma_test_data): Likewise.
25972         (y0_test_data): Likewise.
25973         (y1_test_data): Likewise.
25974         (yn_test_data): Likewise.
25976         [BZ #16167]
25977         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25978         argument being NaN and avoid computations with second argument in
25979         that case.
25980         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25981         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25982         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25984 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
25986         * locale/iso-639.def: Add Chitwani Tharu (the).
25988 2013-11-14  Andreas Schwab  <schwab@suse.de>
25990         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25991         word instead of empty string.
25993 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25996         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25998         (__fe_nomask_env): Likewise.
26000 2013-11-13  Steve Ellcey  <sellcey@mips.com>
26002         * benchtests/bench-timing.h: Include time.h.
26004 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
26006         [BZ #15997]
26007         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
26008         to 3.4.0 for x32.
26009         * sysdeps/unix/sysv/linux/configure: Regenerated.
26011 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
26013         [BZ #16151]
26014         * stdlib/strtod_l.c (round_and_return): Do not consider
26015         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
26016         exponent one less than half the least subnormal exponent.
26017         * stdlib/test-strtod-round-data: Add more tests.
26018         * stdlib/tst-strtod-round.c (tests): Regenerated.
26020 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26022         [BZ #14143]
26023         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
26024         (__fe_mask_env): Likewise.
26025         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
26026         libm_hidden_proto and add function prototype.
26027         (__fe_mask_env): Add function prototype.
26028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
26029         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
26030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
26031         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
26032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
26033         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
26035 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26037         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
26038         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
26040 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26042         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
26043         of htab_find_slot().
26045 2013-11-11  David S. Miller  <davem@davemloft.net>
26047         [BZ #16150]
26048         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
26049         symbol in the non-vis3 case in static builds.
26050         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
26051         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
26052         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
26053         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
26055 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
26057         [BZ #387]
26058         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
26059         it is empty.
26061 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26063         * benchtests/Makefile: Add bench-strtod.
26064         * benchtests/bench-strtod.c: New file: strtod benchtest
26066 2013-11-11  Andreas Schwab  <schwab@suse.de>
26068         [BZ #16153]
26069         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
26070         terminating NUL in key length.
26072 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26074         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
26075         Add artificial ODP entry for vDSO symbol for PPC64.
26076         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
26077         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
26079 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
26081         [BZ #15374]
26082         * nss/getent.c (services_keys): Recognize services starting with digit.
26084 2013-11-06  David S. Miller  <davem@davemloft.net>
26086         [BZ #15985]
26087         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
26088         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
26090 2013-11-06  Will Newton  <will.newton@linaro.org>
26092         * manual/memory.texi (Malloc Examples): Remove register
26093         keyword from examples.
26095 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
26097         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
26099 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
26101         [BZ #6981]
26102         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
26103         depending on [__GCC_IEC_559 > 0].
26104         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
26105         depending on [__GCC_IEC_559_COMPLEX > 0].
26107 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
26109         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
26110         to iso-639.def.
26112 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
26114         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
26116 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
26118         [BZ #16112]
26119         * malloc/malloc (malloc_info): Do not handle first bin as
26120         special case.
26122 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
26124         * locale/iso-639.def: Add Central Nahuatl (nhn).
26126 2013-11-01  Bruno Haible  <bruno@clisp.org>
26128         [BZ #7003]
26129         * manual/math.texi (BSD Random): Specify range upper bound as
26130         in POSIX.
26132 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
26134         * locale/iso-639.def: Add Meadow Mari (mhr).
26136 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
26138         [BZ #14752], [BZ #15763]
26139         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26140         Validate name.
26141         * rt/tst_shm.c: Add test for escaping directory.
26143 2013-10-31  Andreas Schwab  <schwab@suse.de>
26145         [BZ #15917]
26146         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26147         followed by 'x' as part of digit sequence.
26148         * stdio-common/tst-sscanf.c (double_tests2): New tests.
26150 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26152         [BZ #16037]
26153         * configure.ac: allow GNU Make 4.0 and greater.
26154         * configure: Regenerated.
26156 2013-10-30  Will Newton  <will.newton@linaro.org>
26158         [BZ #16038]
26159         * malloc/hooks.c (memalign_check): Limit alignment to the
26160         maximum representable power of two.
26161         * malloc/malloc.c (__libc_memalign): Likewise.
26162         * malloc/tst-memalign.c (do_test): Add test for very
26163         large alignment values.
26164         * malloc/tst-posix_memalign.c (do_test): Likewise.
26166 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26168         [BZ #11087]
26169         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26170         (munmap_chunk): Likewise.
26171         (mremap_chunk): Likewise.
26173 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26175         [BZ #15799]
26176         * stdlib/div.c (div): Remove obsolete code.
26177         * stdlib/ldiv.c (ldiv): Likewise.
26178         * stdlib/lldiv.c (lldiv): Likewise.
26180 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26182         [BZ #16071]
26183         * nss/nss_files/files-XXX.c (get_contents_ret): New
26184         enumerator.
26185         (get_contents): New function.
26186         (internal_getent): Use it.  Expand size of LINEBUFLEN.
26188 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
26190         * configure.in: Moved to ...
26191         * configure.ac: ... here. Change reference to configure.in
26192         to configure.ac.
26193         * sysdeps/arm/preconfigure.ac: ... here.
26194         configure.in to configure.ac.
26195         * sysdeps/gnu/configure.in: Moved to ...
26196         * sysdeps/gnu/configure.ac: ... here.
26197         * sysdeps/i386/configure.in: Moved to ...
26198         * sysdeps/i386/configure.ac: ... here.
26199         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26200         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26201         * sysdeps/mach/configure.in: Moved to ...
26202         * sysdeps/mach/configure.ac: ... here.
26203         * sysdeps/mach/hurd/configure.in: Moved to ...
26204         * sysdeps/mach/hurd/configure.ac: ... here.
26205         * sysdeps/powerpc/configure.in: Moved to ...
26206         * sysdeps/powerpc/configure.ac: ... here.
26207         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26208         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26209         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26210         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26211         * sysdeps/s390/s390-32/configure.in: Moved to ...
26212         * sysdeps/s390/s390-32/configure.ac: ... here.
26213         * sysdeps/s390/s390-64/configure.in: Moved to ...
26214         * sysdeps/s390/s390-64/configure.ac: ... here.
26215         * sysdeps/sh/configure.in: Moved to ...
26216         * sysdeps/sh/configure.ac: ... here.
26217         * sysdeps/sparc/configure.in: Moved to ...
26218         * sysdeps/sparc/configure.ac: ... here.
26219         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26220         * sysdeps/unix/sysv/linux/configure.ac: ... here.
26221         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26222         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26223         * sysdeps/x86_64/configure.in: Moved to ...
26224         * sysdeps/x86_64/configure.ac: ... here.
26225         * sysdeps/x86_64/preconfigure.in: Moved to ...
26226         * sysdeps/x86_64/preconfigure.ac: ... here.
26227         * aclocal.m4: Change reference to configure.in to configure.ac.
26228         * config.h.in: Likewise.
26229         * manual/install.texi: Likewise.
26230         * manual/maint.texi: Likewise.
26231         * Makefile: Likewise.
26232         * malloc/Makefile: Likewise.
26233         * nscd/Makefile: Likewise.
26234         * Makeconfig: Change reference to configure.in and
26235         preconfigure.in to configure.ac and preconfigure.ac
26236         respectively.
26237         * INSTALL: Regenerated.
26238         * configure: Likewise.
26239         * sysdeps/gnu/configure: Likewise.
26240         * sysdeps/i386/configure: Likewise.
26241         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26242         * sysdeps/mach/configure: Likewise.
26243         * sysdeps/mach/hurd/configure: Likewise.
26244         * sysdeps/powerpc/configure: Likewise.
26245         * sysdeps/powerpc/powerpc32/configure: Likewise.
26246         * sysdeps/powerpc/powerpc64/configure: Likewise.
26247         * sysdeps/s390/s390-32/configure: Likewise.
26248         * sysdeps/s390/s390-64/configure: Likewise.
26249         * sysdeps/sh/configure: Likewise.
26250         * sysdeps/sparc/configure: Likewise.
26251         * sysdeps/unix/sysv/linux/configure: Likewise.
26252         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26253         * sysdeps/x86_64/configure: Likewise.
26254         * sysdeps/x86_64/preconfigure: Likewise.
26256 2013-10-29  Andreas Schwab  <schwab@suse.de>
26258         * stdio-common/Makefile (tst-swscanf-ENV): Define.
26260 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26262         * benchtests/pow-inputs: Add new inputs.
26264         * benchtests/exp-inputs: Add new inputs.
26266         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26267         conditional check for return value.
26268         (__cos32): Likewise.
26270 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26272         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26273         to provide a boost for large inputs with word alignment.
26274         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26275         implementation based on optimized PPC64 strcpy.
26276         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26277         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26278         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26279         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26281 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26283         [BZ #2801]
26284         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26286 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26288         [BZ #14876]
26289         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26290         * time/tst-strptime.c (day_tests): Add testcase.
26292 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26294         [BZ #14029]
26295         * manual/pattern.texi: Acknowledge that fnmatch can fail.
26297 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
26299         [BZ #16074]
26300         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26301         MAP_FAILED on error.
26303 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26305         [BZ #16072]
26306         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26307         heap for large requests.
26309 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
26311         [BZ #9954]
26312         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26313         result if the result has no associated interface.
26314         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26315         interface for all 127.X.Y.Z addresses.
26317 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
26319         * locale/iso-639.def: Add Ligurian (lij)
26321 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
26323         [BZ #15825]
26324         * sunrpc/rpc_main.c: Document rpcgen -5.
26326 2013-10-19  Michael Stahl  <mstahl@redhat.com>
26328         * elf/rtld.c (do_preload): Print the reason why preloading failed.
26330 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26332         [BZ #10278]
26333         * posix/glob.c: Match only directories when trailing slash is present.
26334         * posix/tst-gnuglob.c (my_opendir): Do not open files.
26335         (main): Add testcase.
26337 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26339         [BZ #15670]
26340         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26342 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
26344         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26345         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26346         AUTH_DES and cindex for FIPS 140-2.
26347         (DES Encryption): Add cindex FIPS 46-3.
26349         * locale/locarchive.h (struct locarhandle): Add fname.
26350         * locale/programs/localedef.c (main): Pass ARGV[remaining]
26351         if an optional argument was specified to --list-archive,
26352         otherwise NULL.
26353         * locale/programs/locarchive.c (show_archive_content): Take new
26354         argument fname and pass it via ah.fname to open_archive.
26355         * locale/programs/localedef.h: Update decl.
26356         (open_archive): If AH->fname is non-null, open that file
26357         rather than the default file name, and don't ignore ENOENT.
26358         (create_archive): Set AH.fname to NULL.
26359         (delete_locales_from_archive): Likewise.
26360         (add_locales_to_archive): Likewise.
26361         * locale/programs/locfile.c (write_all_categories): Likewise.
26363 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
26364             Aldy Hernandez  <aldyh@redhat.com>
26366         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26367         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26368         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26369         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26370         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26371         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26372         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26373         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26374         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26375         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26376         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26377         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26378         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26379         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26380         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26381         Likewise.
26382         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26383         Likewise.
26384         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26385         Likewise.
26386         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26387         Likewise.
26388         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26389         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26390         Likewise.
26391         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26392         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26393         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26394         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26395         Likewise.
26396         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26397         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26398         * sysdeps/powerpc/preconfigure: Likewise.
26399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26400         Likewise.
26401         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26402         Replace contents of file by #include of <fenv_libc.h>.
26403         * sysdeps/powerpc/soft-fp/sfp-machine.h
26404         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26405         and <sys/prctl.h>.
26406         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26407         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26408         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26409         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26410         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26411         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26413         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26414         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26415         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26416         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26417         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26419         Allow copysignl PLT reference to be missing.
26421 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
26422             Joseph Myers  <joseph@codesourcery.com
26424         [BZ #15948]
26425         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26426         single character.
26427         (add_to_tablewc): Assert sequence of wide characters is nonempty.
26429 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26431         * elf/tst-tls-dlinfo.c: Don't include tls.h.
26432         * elf/tst-tls1.c: Likewise.
26433         * elf/tst-tls10.h: Likewise.
26434         * elf/tst-tls14.c: Likewise.
26435         * elf/tst-tls2.c: Likewise.
26436         * elf/tst-tls3.c: Likewise.
26437         * elf/tst-tls4.c: Likewise.
26438         * elf/tst-tls5.c: Likewise.
26439         * elf/tst-tls6.c: Likewise.
26440         * elf/tst-tls7.c: Likewise.
26441         * elf/tst-tls8.c: Likewise.
26442         * elf/tst-tls9.c: Likewise.
26443         * elf/tst-tlsmod1.c: Likewise.
26444         * elf/tst-tlsmod13.c: Likewise.
26445         * elf/tst-tlsmod13a.c: Likewise.
26446         * elf/tst-tlsmod14a.c: Likewise.
26447         * elf/tst-tlsmod16a.c: Likewise.
26448         * elf/tst-tlsmod16b.c: Likewise.
26449         * elf/tst-tlsmod2.c: Likewise.
26450         * elf/tst-tlsmod3.c: Likewise.
26451         * elf/tst-tlsmod4.c: Likewise.
26452         * elf/tst-tlsmod5.c: Likewise.
26453         * elf/tst-tlsmod6.c: Likewise.
26455 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
26457         [BZ #12486]
26458         * malloc/malloc.c: remove checks for statistics.
26460 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26462         [BZ #15277]
26463         * inet/inet_net.c (inet_network): Detect additional invalid strings.
26464         * inet/tst-network.c: Add testcase.
26466 2013-10-17  Andreas Schwab  <schwab@suse.de>
26468         [BZ #15218]
26469         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26470         to determine canonical name.
26472 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26474         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26475         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26476         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26477         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26478         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26479         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26480         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26481         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26482         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26483         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26484         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26485         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26486         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26487         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26488         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26489         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26490         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26491         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26492         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26493         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26494         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26495         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26496         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26497         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26498         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26499         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26500         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26501         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26502         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26503         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26504         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26505         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26506         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26507         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26508         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26509         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26510         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26511         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26512         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26513         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26514         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26515         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26516         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26517         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26518         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26519         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26520         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26521         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26522         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26523         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26524         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26525         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26526         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26527         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26528         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26529         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26530         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26531         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26533 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
26535         [BZ #16041]
26536         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26537         make result into a quiet NaN.
26539 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
26541         * soft-fp/adddf3.c: Fix horizontal whitespace.
26542         * soft-fp/addsf3.c: Likewise.
26543         * soft-fp/addtf3.c: Likewise.
26544         * soft-fp/divdf3.c: Likewise.
26545         * soft-fp/divsf3.c: Likewise.
26546         * soft-fp/divtf3.c: Likewise.
26547         * soft-fp/double.h: Likewise.
26548         * soft-fp/eqdf2.c: Likewise.
26549         * soft-fp/eqsf2.c: Likewise.
26550         * soft-fp/eqtf2.c: Likewise.
26551         * soft-fp/extenddftf2.c: Likewise.
26552         * soft-fp/extended.h: Likewise.
26553         * soft-fp/extendsfdf2.c: Likewise.
26554         * soft-fp/extendsftf2.c: Likewise.
26555         * soft-fp/extendxftf2.c: Likewise.
26556         * soft-fp/fixdfdi.c: Likewise.
26557         * soft-fp/fixdfsi.c: Likewise.
26558         * soft-fp/fixdfti.c: Likewise.
26559         * soft-fp/fixsfdi.c: Likewise.
26560         * soft-fp/fixsfsi.c: Likewise.
26561         * soft-fp/fixsfti.c: Likewise.
26562         * soft-fp/fixtfdi.c: Likewise.
26563         * soft-fp/fixtfsi.c: Likewise.
26564         * soft-fp/fixtfti.c: Likewise.
26565         * soft-fp/fixunsdfdi.c: Likewise.
26566         * soft-fp/fixunsdfsi.c: Likewise.
26567         * soft-fp/fixunsdfti.c: Likewise.
26568         * soft-fp/fixunssfdi.c: Likewise.
26569         * soft-fp/fixunssfsi.c: Likewise.
26570         * soft-fp/fixunssfti.c: Likewise.
26571         * soft-fp/fixunstfdi.c: Likewise.
26572         * soft-fp/fixunstfsi.c: Likewise.
26573         * soft-fp/fixunstfti.c: Likewise.
26574         * soft-fp/floatdidf.c: Likewise.
26575         * soft-fp/floatdisf.c: Likewise.
26576         * soft-fp/floatditf.c: Likewise.
26577         * soft-fp/floatsidf.c: Likewise.
26578         * soft-fp/floatsisf.c: Likewise.
26579         * soft-fp/floatsitf.c: Likewise.
26580         * soft-fp/floattidf.c: Likewise.
26581         * soft-fp/floattisf.c: Likewise.
26582         * soft-fp/floattitf.c: Likewise.
26583         * soft-fp/floatundidf.c: Likewise.
26584         * soft-fp/floatundisf.c: Likewise.
26585         * soft-fp/floatunditf.c: Likewise.
26586         * soft-fp/floatunsidf.c: Likewise.
26587         * soft-fp/floatunsisf.c: Likewise.
26588         * soft-fp/floatunsitf.c: Likewise.
26589         * soft-fp/floatuntidf.c: Likewise.
26590         * soft-fp/floatuntisf.c: Likewise.
26591         * soft-fp/floatuntitf.c: Likewise.
26592         * soft-fp/fmadf4.c: Likewise.
26593         * soft-fp/fmasf4.c: Likewise.
26594         * soft-fp/fmatf4.c: Likewise.
26595         * soft-fp/gedf2.c: Likewise.
26596         * soft-fp/gesf2.c: Likewise.
26597         * soft-fp/getf2.c: Likewise.
26598         * soft-fp/ledf2.c: Likewise.
26599         * soft-fp/lesf2.c: Likewise.
26600         * soft-fp/letf2.c: Likewise.
26601         * soft-fp/muldf3.c: Likewise.
26602         * soft-fp/mulsf3.c: Likewise.
26603         * soft-fp/multf3.c: Likewise.
26604         * soft-fp/negdf2.c: Likewise.
26605         * soft-fp/negsf2.c: Likewise.
26606         * soft-fp/negtf2.c: Likewise.
26607         * soft-fp/op-1.h: Likewise.
26608         * soft-fp/op-2.h: Likewise.
26609         * soft-fp/op-4.h: Likewise.
26610         * soft-fp/op-8.h: Likewise.
26611         * soft-fp/op-common.h: Likewise.
26612         * soft-fp/quad.h: Likewise.
26613         * soft-fp/single.h: Likewise.
26614         * soft-fp/soft-fp.h: Likewise.
26615         * soft-fp/sqrtdf2.c: Likewise.
26616         * soft-fp/sqrtsf2.c: Likewise.
26617         * soft-fp/sqrttf2.c: Likewise.
26618         * soft-fp/subdf3.c: Likewise.
26619         * soft-fp/subsf3.c: Likewise.
26620         * soft-fp/subtf3.c: Likewise.
26621         * soft-fp/truncdfsf2.c: Likewise.
26622         * soft-fp/trunctfdf2.c: Likewise.
26623         * soft-fp/trunctfsf2.c: Likewise.
26624         * soft-fp/trunctfxf2.c: Likewise.
26625         * soft-fp/unorddf2.c: Likewise.
26626         * soft-fp/unordsf2.c: Likewise.
26627         * soft-fp/unordtf2.c: Likewise.
26629 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
26631         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26632         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26634 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
26636         * elf/dl-libc.c: Clear initfini list after freeing.
26638 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
26640         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26641         * soft-fp/addsf3.c: Likewise.
26642         * soft-fp/addtf3.c: Likewise.
26643         * soft-fp/divdf3.c: Likewise.
26644         * soft-fp/divsf3.c: Likewise.
26645         * soft-fp/divtf3.c: Likewise.
26646         * soft-fp/double.h: Likewise.
26647         * soft-fp/eqdf2.c: Likewise.
26648         * soft-fp/eqsf2.c: Likewise.
26649         * soft-fp/eqtf2.c: Likewise.
26650         * soft-fp/extenddftf2.c: Likewise.
26651         * soft-fp/extended.h: Likewise.
26652         * soft-fp/extendsfdf2.c: Likewise.
26653         * soft-fp/extendsftf2.c: Likewise.
26654         * soft-fp/extendxftf2.c: Likewise.
26655         * soft-fp/fixdfdi.c: Likewise.
26656         * soft-fp/fixdfsi.c: Likewise.
26657         * soft-fp/fixdfti.c: Likewise.
26658         * soft-fp/fixsfdi.c: Likewise.
26659         * soft-fp/fixsfsi.c: Likewise.
26660         * soft-fp/fixsfti.c: Likewise.
26661         * soft-fp/fixtfdi.c: Likewise.
26662         * soft-fp/fixtfsi.c: Likewise.
26663         * soft-fp/fixtfti.c: Likewise.
26664         * soft-fp/fixunsdfdi.c: Likewise.
26665         * soft-fp/fixunsdfsi.c: Likewise.
26666         * soft-fp/fixunsdfti.c: Likewise.
26667         * soft-fp/fixunssfdi.c: Likewise.
26668         * soft-fp/fixunssfsi.c: Likewise.
26669         * soft-fp/fixunssfti.c: Likewise.
26670         * soft-fp/fixunstfdi.c: Likewise.
26671         * soft-fp/fixunstfsi.c: Likewise.
26672         * soft-fp/fixunstfti.c: Likewise.
26673         * soft-fp/floatdidf.c: Likewise.
26674         * soft-fp/floatdisf.c: Likewise.
26675         * soft-fp/floatditf.c: Likewise.
26676         * soft-fp/floatsidf.c: Likewise.
26677         * soft-fp/floatsisf.c: Likewise.
26678         * soft-fp/floatsitf.c: Likewise.
26679         * soft-fp/floattidf.c: Likewise.
26680         * soft-fp/floattisf.c: Likewise.
26681         * soft-fp/floattitf.c: Likewise.
26682         * soft-fp/floatundidf.c: Likewise.
26683         * soft-fp/floatundisf.c: Likewise.
26684         * soft-fp/floatunsidf.c: Likewise.
26685         * soft-fp/floatunsisf.c: Likewise.
26686         * soft-fp/floatuntidf.c: Likewise.
26687         * soft-fp/floatuntisf.c: Likewise.
26688         * soft-fp/floatuntitf.c: Likewise.
26689         * soft-fp/fmadf4.c: Likewise.
26690         * soft-fp/fmasf4.c: Likewise.
26691         * soft-fp/fmatf4.c: Likewise.
26692         * soft-fp/gedf2.c: Likewise.
26693         * soft-fp/gesf2.c: Likewise.
26694         * soft-fp/getf2.c: Likewise.
26695         * soft-fp/ledf2.c: Likewise.
26696         * soft-fp/lesf2.c: Likewise.
26697         * soft-fp/letf2.c: Likewise.
26698         * soft-fp/muldf3.c: Likewise.
26699         * soft-fp/mulsf3.c: Likewise.
26700         * soft-fp/multf3.c: Likewise.
26701         * soft-fp/negdf2.c: Likewise.
26702         * soft-fp/negsf2.c: Likewise.
26703         * soft-fp/negtf2.c: Likewise.
26704         * soft-fp/op-1.h: Likewise.
26705         * soft-fp/op-2.h: Likewise.
26706         * soft-fp/op-4.h: Likewise.
26707         * soft-fp/op-8.h: Likewise.
26708         * soft-fp/op-common.h: Likewise.
26709         * soft-fp/quad.h: Likewise.
26710         * soft-fp/single.h: Likewise.
26711         * soft-fp/soft-fp.h: Likewise.
26712         * soft-fp/sqrtdf2.c: Likewise.
26713         * soft-fp/sqrtsf2.c: Likewise.
26714         * soft-fp/sqrttf2.c: Likewise.
26715         * soft-fp/subdf3.c: Likewise.
26716         * soft-fp/subsf3.c: Likewise.
26717         * soft-fp/subtf3.c: Likewise.
26718         * soft-fp/truncdfsf2.c: Likewise.
26719         * soft-fp/trunctfdf2.c: Likewise.
26720         * soft-fp/trunctfsf2.c: Likewise.
26721         * soft-fp/trunctfxf2.c: Likewise.
26722         * soft-fp/unorddf2.c: Likewise.
26723         * soft-fp/unordsf2.c: Likewise.
26724         * soft-fp/unordtf2.c: Likewise.
26726 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
26728         [BZ #15672]
26729         * misc/error.c (error_tail): Fix possible buffer overflow.
26731 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
26733         [BZ #13028]
26734         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26735         address.
26737 2013-10-14  P. J. McDermott  <pj@pehjota.net>
26739         [BZ #832]
26740         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
26741         testing pipefail option.
26743 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26745         * soft-fp/double.h: Indent preprocessor directives inside #if.
26746         * soft-fp/extended.h: Likewise.
26747         * soft-fp/op-2.h: Likewise.
26748         * soft-fp/op-4.h: Likewise.
26749         * soft-fp/op-common.h: Likewise.
26750         * soft-fp/quad.h: Likewise.
26751         * soft-fp/single.h: Likewise.
26752         * soft-fp/soft-fp.h: Likewise.
26754 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
26756         * iconv/iconv_prog.c: Fix typos.
26757         * stdio-common/psiginfo-data.h: Likewise.
26759 2013-10-12   Reuben Thomas <rrt@sc3d.org>
26761         [BZ #15764]
26762         * locale/setlocale.c: Fix typo.
26764 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26766         [BZ #16036]
26767         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26768         signaling NaN arguments.
26769         * soft-fp/unordsf2.c (__unordsf2): Likewise.
26770         * soft-fp/unordtf2.c (__unordtf2): Likewise.
26772         [BZ #14910]
26773         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26774         unordered operands.
26775         * soft-fp/gesf2.c (__gesf2): Likewise.
26776         * soft-fp/getf2.c (__getf2): Likewise.
26777         * soft-fp/ledf2.c (__ledf2): Likewise.
26778         * soft-fp/lesf2.c (__lesf2): Likewise.
26779         * soft-fp/letf2.c (__letf2): Likewise.
26781         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26782         * soft-fp/eqsf2.c (__eqsf2): Likewise.
26783         * soft-fp/eqtf2.c (__eqtf2): Likewise.
26784         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26785         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26786         * soft-fp/fixdfti.c (__fixdfti): Likewise.
26787         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26788         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26789         * soft-fp/fixsfti.c (__fixsfti): Likewise.
26790         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26791         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26792         * soft-fp/fixtfti.c (__fixtfti): Likewise.
26793         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26794         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26795         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26796         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26797         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26798         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26799         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26800         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26801         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26802         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26803         * soft-fp/floatdisf.c (__floatdisf): Likewise.
26804         * soft-fp/floatsisf.c (__floatsisf): Likewise.
26805         * soft-fp/floattidf.c (__floattidf): Likewise.
26806         * soft-fp/floattisf.c (__floattisf): Likewise.
26807         * soft-fp/floattitf.c (__floattitf): Likewise.
26808         * soft-fp/floatundidf.c (__floatundidf): Likewise.
26809         * soft-fp/floatundisf.c (__floatundisf): Likewise.
26810         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26811         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26812         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26813         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26814         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26815         * soft-fp/gesf2.c (__gesf2): Likewise.
26816         * soft-fp/getf2.c (__getf2): Likewise.
26817         * soft-fp/ledf2.c (__ledf2): Likewise.
26818         * soft-fp/lesf2.c (__lesf2): Likewise.
26819         * soft-fp/letf2.c (__letf2): Likewise.
26821         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26822         Undefine and redefine.
26823         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26824         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26825         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26826         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26827         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26828         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26829         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26830         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26831         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26832         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26833         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26834         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26835         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26836         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26837         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26839         [BZ #16032]
26840         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26841         without decrementing exponent if mantissa >= that for the
26842         denominator, not >.
26843         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26844         denominator, not >.  Decrement exponent in < case instead of
26845         incrementing in >= case.
26846         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26847         without decrementing exponent if mantissa >= that for the
26848         denominator, not >.
26850         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26851         computing saturated result for unsigned overflow.
26853 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26854             Jeff Law  <law@redhat.com>
26856         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26857         (atan2Mp): Add systemtap probe marker.
26858         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26859         (__ieee754_log): Add systemtap probe marker.
26860         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26861         (atanMp): Add systemtap probe marker.
26862         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26863         (tanMp): Add systemtap probe marker.
26864         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26865         (__slowexp): Add systemtap probe marker.
26866         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26867         (__slowpow): Add systemtap probe marker.
26868         * manual/probes.texi: Document probes.
26870 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
26872         [BZ #15362]
26873         * libio/fileops.c (_IO_new_file_write): Return count of bytes
26874         written.
26875         (_IO_new_file_xsputn): Don't return EOF if nothing has been
26876         written.
26877         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26878         written to buffer but not flushed.
26879         * libio/iofwrite_u.c:  Likewise.
26880         * libio/iopadn.c:  Return bytes returned even if EOF was
26881         encountered.
26882         * libio/iowpadn.c:  Likewise.
26883         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26884         if _IO_padn does not write the whole buffer.
26885         [!COMPILE_WPRINTF] (PAD): Likewise.
26887 2013-10-10  David S. Miller  <davem@davemloft.net>
26889         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26890         directory block.
26892 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26894         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
26895         instead of FSF address.
26896         * soft-fp/fixdfti.c: Likewise.
26897         * soft-fp/fixsfti.c: Likewise.
26898         * soft-fp/fixtfti.c: Likewise.
26899         * soft-fp/fixunsdfti.c: Likewise.
26900         * soft-fp/fixunssfti.c: Likewise.
26901         * soft-fp/fixunstfti.c: Likewise.
26902         * soft-fp/floattidf.c: Likewise.
26903         * soft-fp/floattisf.c: Likewise.
26904         * soft-fp/floattitf.c: Likewise.
26905         * soft-fp/floatuntidf.c: Likewise.
26906         * soft-fp/floatuntisf.c: Likewise.
26907         * soft-fp/floatuntitf.c: Likewise.
26908         * soft-fp/trunctfxf2.c: Likewise.
26910         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
26911         * soft-fp/fixdfti.c: Likewise.
26912         * soft-fp/fixsfti.c: Likewise.
26913         * soft-fp/fixtfti.c: Likewise.
26914         * soft-fp/fixunsdfti.c: Likewise.
26915         * soft-fp/fixunssfti.c: Likewise.
26916         * soft-fp/fixunstfti.c: Likewise.
26917         * soft-fp/floattidf.c: Likewise.
26918         * soft-fp/floattisf.c: Likewise.
26919         * soft-fp/floattitf.c: Likewise.
26920         * soft-fp/floatuntidf.c: Likewise.
26921         * soft-fp/floatuntisf.c: Likewise.
26922         * soft-fp/floatuntitf.c: Likewise.
26923         * soft-fp/trunctfxf2.c: Likewise.
26925 2013-10-10  David S. Miller  <davem@davemloft.net>
26927         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26929 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
26931         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26932         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26933         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26934         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26935         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26936         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26937         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26939         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26940         for NaNs before doing comparisons on argument.
26941         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26942         Likewise.
26944 2013-10-10  Will Newton  <will.newton@linaro.org>
26946         * malloc/hooks.c (memalign_check): Ensure the value of bytes
26947         passed to _int_memalign does not overflow.
26949 2013-10-10  Torvald Riegel  <triegel@redhat.com>
26951         * scripts/bench.pl: Add include-sources directive.
26952         * benchtests/README: Update documentation.
26954 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26956         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26957         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26958         instead of FP_INIT_ROUNDMODE.
26959         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26960         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26962         [BZ #16034]
26963         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
26964         copy class of input value.
26965         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
26966         not handle exceptions.
26967         * soft-fp/negsf2.c (__negsf2): Likewise.
26968         * soft-fp/negtf2.c (__negtf2): Likewise.
26969         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26971 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
26973         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26974         semicolon.  From Linux kernel.
26976 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
26978         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26980 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
26982         [BZ #156]
26983         * manual/socket.texi: Added statement about buffer
26984         for gethostbyname2_r.
26986 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
26988         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26989         Use .p2align directive instead, throughout.
26990         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26991         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26992         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26993         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26994         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26995         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26996         * sysdeps/x86_64/strchr.S: Likewise.
26997         * sysdeps/x86_64/strrchr.S: Likewise.
26999 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27001         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
27003         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
27005         * sysdeps/generic/math_private.h (__mpsin1): Remove
27006         declaration.
27007         (__mpcos1): Likewise.
27008         (__mpsin): New argument __range_reduce.
27009         (__mpcos): Likewise.
27010         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27011         (slow): Use __mpsin and __mpcos.
27012         (slow1): Likewise.
27013         (slow2): Likewise.
27014         (sloww): Likewise.
27015         (sloww1): Likewise.
27016         (sloww2): Likewise.
27017         (bsloww): Likewise.
27018         (bsloww1): Likewise.
27019         (bsloww2): Likewise.
27020         (cslow2): Likewise.
27021         (csloww): Likewise.
27022         (csloww1): Likewise.
27023         (csloww2): Likewise.
27024         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
27025         range_reduce.  Merge in __mpsin1.
27026         (__mpcos): Likewise.
27027         (__mpsin1): Remove.
27028         (__mpcos1): Likewise.
27030 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
27032         * locale/loadlocale.c (_nl_intern_locale_data): Use
27033         LOCFILE_ALIGNED_P.
27034         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
27035         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
27036         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
27037         obstack data is appropriately aligned.
27038         (obstack_int32_grow_fast): Likewise.
27039         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
27040         * locale/programs/locfile.c (add_locale_uint32): Likewise.
27041         (add_locale_uint32_array): Likewise.
27043 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27045         * benchtests/Makefile: Remove ARGLIST and RET variables.
27046         ($(objpfx)bench-%.c): Pass only function name to the script.
27047         * benchtests/README: Update documentation.
27048         * benchtests/acos-inputs: Add new directives.
27049         * benchtests/acosh-inputs: Likewise.
27050         * benchtests/asin-inputs: Likewise.
27051         * benchtests/asinh-inputs: Likewise.
27052         * benchtests/atan-inputs: Likewise.
27053         * benchtests/atanh-inputs: Likewise.
27054         * benchtests/cos-inputs: Likewise.
27055         * benchtests/cosh-inputs: Likewise.
27056         * benchtests/exp-inputs: Likewise.
27057         * benchtests/log-inputs: Likewise.
27058         * benchtests/pow-inputs: Likewise.
27059         * benchtests/rint-inputs: Likewise.
27060         * benchtests/sin-inputs: Likewise.
27061         * benchtests/sinh-inputs: Likewise.
27062         * benchtests/tan-inputs: Likewise.
27063         * benchtests/tanh-inputs: Likewise.
27064         * scripts/bench.pl: Add support for new directives.
27066 2013-10-07  Alan Modra  <amodra@gmail.com>
27068         * README: Fix careless merge.
27070 2013-10-05  Alan Modra  <amodra@gmail.com>
27072         * NEWS: Mention powerpc64le support and bugs fixed.
27073         * README: Both big-endian and little-endian powerpc64 supported.
27075 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27077         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
27078         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
27079         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
27080         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
27082 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
27084         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
27085         match prototype.
27087 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
27089         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
27090         Move -mhard-float appending from
27091         ports/sysdeps/powerpc/powerpc32/Makefile.
27092         [$(with-fp) = yes] (ASFLAGS): Likewise.
27093         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
27094         * sysdeps/powerpc/nofpu: Move directory from
27095         ports/sysdeps/powerpc/nofpu.
27096         * sysdeps/powerpc/soft-fp: Move directory from
27097         ports/sysdeps/powerpc/soft-fp.
27098         * sysdeps/powerpc/powerpc32/405: Move directory from
27099         ports/sysdeps/powerpc/powerpc32/405.
27100         * sysdeps/powerpc/powerpc32/440: Move directory from
27101         ports/sysdeps/powerpc/powerpc32/440.
27102         * sysdeps/powerpc/powerpc32/464: Move directory from
27103         ports/sysdeps/powerpc/powerpc32/464.
27104         * sysdeps/powerpc/powerpc32/476: Move directory from
27105         ports/sysdeps/powerpc/powerpc32/476.
27106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
27107         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
27108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
27109         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
27110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
27111         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
27112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
27113         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
27114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
27115         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
27116         * README: Update for powerpc-*-linux-gnu software floating point
27117         support in libc.
27119         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
27120         case to powerpc/powerpc32*.
27121         * sysdeps/unix/sysv/linux/configure: Regenerated.
27123         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
27124         (_FPU_MASK_OM): Define as 0x04.
27125         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
27126         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
27127         0x00c10080.
27128         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
27129         0x0000003c.
27130         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
27132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
27133         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27134         getcontext_e500.
27135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27136         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27137         setcontext_e500.
27138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27139         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27140         and setcontext_e500.
27142 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
27144         * locale/iso-3166.def: Update iso-1366.def and related occurrences
27146 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27148         * manual/threads.texi (Default Thread Attributes): Fix typo.
27150 2013-10-04  Will Newton  <will.newton@linaro.org>
27152         * malloc/Makefile: Add tst-memalign.
27153         * malloc/tst-memalign.c: New file.
27155         * malloc/tst-posix_memalign.c: Add comments.
27156         (do_test): Add comments and call free on all potentially
27157         allocated pointers. Add space after cast.
27159         * malloc/tst-pvalloc.c: Add comments.
27160         (do_test): Add comments and call free on all potentially
27161         allocated pointers. Remove duplicate check for NULL pointer.
27162         Add space after cast.
27164         * malloc/tst-valloc.c: Add comments.
27165         (do_test): Add comments and call free on all potentially
27166         allocated pointers. Remove duplicate check for NULL pointer.
27167         Add space after cast.
27169 2013-10-04  Alan Modra  <amodra@gmail.com>
27171         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27172         Use stdint types in rather than __attribute__((mode())).
27173         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27175 2013-10-04  Alan Modra  <amodra@gmail.com>
27177         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27178         Correct handling of unaligned relocs for little-endian.
27179         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27181 2013-10-04  Alan Modra  <amodra@gmail.com>
27183         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27184         * configure: Regenerate.
27185         * nptl/shlib-versions: Powerpc*le starts at 2.18.
27186         * shlib-versions: Likewise.
27188 2013-10-04  Alan Modra  <amodra@gmail.com>
27190         * string/tester.c (test_memrchr): Increment reported test cycle.
27192 2013-10-04  Alan Modra  <amodra@gmail.com>
27194         * string/test-memcpy.c (do_one_test): When reporting errors, print
27195         string address and don't overrun end of string.
27197 2013-10-04  Alan Modra  <amodra@gmail.com>
27199         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27200         insrdi.  Make better use of reg selection to speed exit slightly.
27201         Schedule entry path a little better.  Remove useless "are we done"
27202         checks on entry to main loop.  Handle wrapping around zero address.
27203         Correct main loop count.  Handle single left-over word from main
27204         loop inline rather than by using loop_small.  Remove extra word
27205         case in loop_small caused by wrong loop count.  Add little-endian
27206         support.
27207         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27208         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
27209         cache hint.
27210         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27211         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27212         support.  Avoid rlwimi.
27213         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27215 2013-10-04  Alan Modra  <amodra@gmail.com>
27217         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27218         insrdi.  Formatting.
27219         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27220         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27221         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27222         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27223         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27224         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27226 2013-10-04  Alan Modra  <amodra@gmail.com>
27228         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27229         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27230         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27231         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27232         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27233         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27234         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27235         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27236         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
27237         use of regs.  Use power7 mtocrf.  Tidy function tails.
27239 2013-10-04  Alan Modra  <amodra@gmail.com>
27241         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27242         Formatting.  Consistently use rXXX register defines or rN defines.
27243         Use early exit labels that avoid restoring unused non-volatile regs.
27244         Make cr field use more consistent with rWORDn compares.  Rename
27245         regs used as shift registers for unaligned loop, using rN defines
27246         for short lifetime/multiple use regs.
27247         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27248         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
27249         addi 1,1,64 to pop stack frame.  Simplify return value code.
27250         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27252 2013-10-04  Alan Modra  <amodra@gmail.com>
27254         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27255         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
27256         rather than rlwimi.
27257         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27258         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27259         little-endian support.  Correct typos.
27260         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
27261         rather than rlwimi.
27262         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
27263         in loop and entry code to keep "and." results.
27264         (strchr): Add little-endian support.  Comment.  Move cntlzd
27265         earlier in tail.
27266         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27268 2013-10-04  Alan Modra  <amodra@gmail.com>
27270         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27271         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27272         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27273         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27275 2013-10-04  Alan Modra  <amodra@gmail.com>
27277         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27278         (rTMP): Define as r11.
27279         (strcmp): Add little-endian support.  Optimise tail.
27280         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27281         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27282         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27283         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27284         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27285         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27286         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27288 2013-10-04  Alan Modra  <amodra@gmail.com>
27290         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27291         little-endian support.  Remove unnecessary "are we done" tests.
27292         Handle "s" wrapping around zero and extremely large "size".
27293         Correct main loop count.  Handle single left-over word from main
27294         loop inline rather than by using small_loop.  Correct comments.
27295         Delete "zero" tail, use "end_max" instead.
27296         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27298 2013-10-04  Alan Modra  <amodra@gmail.com>
27300         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27301         support.  Don't branch over align.
27302         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27303         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27304         support.  Rearrange tmp reg use to suit.  Comment.
27305         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27307 2013-10-04  Alan Modra  <amodra@gmail.com>
27309         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27311 2013-10-04  Alan Modra  <amodra@gmail.com>
27313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27314         conditional form of branch and link when obtaining pc.
27315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27317 2013-10-04  Alan Modra  <amodra@gmail.com>
27319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27320         HIWORD/LOWORD.
27321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27324 2013-10-04  Alan Modra  <amodra@gmail.com>
27326         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27327         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27328         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27329         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27330         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27331         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27332         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27333         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27334         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27335         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27337 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27338             Alistair Popple <alistair@ozlabs.au.ibm.com>
27339             Alan Modra <amodra@gmail.com>
27341         [BZ #15723]
27342         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27343         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27344         _dl_hwcap access for little-endian.
27345         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
27346         destroy vmx regs when saving unaligned.
27347         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27348         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
27349         destroy vmx regs when saving unaligned.
27351 2013-10-04  Alan Modra  <amodra@gmail.com>
27353         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27354         Don't use a union to pack hi/low value.
27356 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27358         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27359         for little-endian.
27360         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27361         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27362         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27363         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27364         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27366 2013-10-04  Alan Modra  <amodra@gmail.com>
27368         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27369         constants to usual value for .cst8 section, and remove redundant
27370         high address load.
27371         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27372         constant for 0x1p52.  Load little-endian words of double from
27373         correct stack offsets.
27375 2013-10-04  Alan Modra  <amodra@gmail.com>
27377         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27378         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27379         words of double from correct stack offsets.
27380         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27381         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27382         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27383         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27384         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27385         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27386         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27387         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27388         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27389         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27390         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27391         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27392         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27393         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27394         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27395         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27396         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27398 2013-10-04  Alan Modra  <amodra@gmail.com>
27400         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27401         64-bit int/double union.
27402         (_FPU_SETCW): Likewise.
27403         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27404         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27406 2013-10-04  Alan Modra  <amodra@gmail.com>
27408         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27409         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27411 2013-10-04  Alan Modra  <amodra@gmail.com>
27413         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27414         use vector int constants.
27415         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27417 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27419         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27420         array with long long.
27421         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27422         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27423         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27424         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27425         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27426         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27427         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27428         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27429         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27430         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27431         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27432         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27433         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27435 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27437         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27438         (__signbit): Likewise.  Correct for little-endian.
27439         (__signbitl): Call __signbit.
27440         (lrint): Correct for little-endian.
27441         (lrintf): Call lrint.
27443 2013-10-04  Alan Modra  <amodra@gmail.com>
27445         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27446         union 32-bit int array member with 64-bit int array.
27447         (t515, tm256): Double rather than long double.
27448         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27450 2013-10-04  Alan Modra  <amodra@gmail.com>
27452         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27453         Delete.
27454         (IEEE854_LONG_DOUBLE_BIAS): Delete.
27455         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27456         version of math_ldbl.h.
27458 2013-10-04  Alan Modra  <amodra@gmail.com>
27460         [BZ #15734], [BZ #15735]
27461         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27462         all uses of ieee875 long double macros and unions.  Simplify test
27463         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
27464         ldbl_extract_mantissa value for ix,iy exponents.  Properly
27465         normalize after ldbl_extract_mantissa, and don't add hidden bit
27466         already handled.  Don't treat low word of ieee854 mantissa like
27467         low word of IBM long double and mask off bit when testing for
27468         zero.
27469         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27470         all uses of ieee875 long double macros and unions.  Simplify tests
27471         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
27472         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
27473         two1022, instead use their values.  Recognise that tests for large
27474         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
27475         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27476         Rewrite all uses of ieee875 long double macros and unions.  Simplify
27477         test for 0.0L and nan.  Correct negation.
27478         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27479         ieee875 long double macros and unions.  Correct output for large
27480         magnitude x.  Correct absolute value calculation.
27481         (__erfcl): Likewise.
27482         * math/libm-test.inc: Add tests for errors discovered in IBM long
27483         double versions of fmodl, remainderl, erfl and erfcl.
27485 2013-10-04  Alan Modra  <amodra@gmail.com>
27487         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27488         all uses of ieee854 long double macros and unions.  Simplify tests
27489         for long doubles that are fully specified by the high double.
27490         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27491         Likewise.
27492         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27493         Remove dead code too.
27494         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27495         (__ieee754_ynl): Likewise.
27496         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27497         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27498         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27499         Remove dead code too.
27500         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27501         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27502         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27503         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27504         Simplify.
27505         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27506         Simplify.
27507         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27508         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27509         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27510         Comment on variable precision.
27511         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27512         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27513         Likewise.
27514         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27515         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27516         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27517         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27518         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27520 2013-10-04  Alan Modra  <amodra@gmail.com>
27522         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27523         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27524         all uses of ieee854 long double macros and unions.
27525         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27526         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27527         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27528         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27529         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27530         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27531         Likewise.
27532         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27533         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27534         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27535         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27536         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27537         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27538         Simplify sign and nan test too.
27539         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27540         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27541         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27542         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27543         Likewise.
27544         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27545         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27546         Likewise.
27547         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27548         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27549         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27550         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27551         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27552         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27554 2013-10-04  Alan Modra  <amodra@gmail.com>
27556         * stdio-common/printf_size.c (__printf_size): Don't use
27557         union ieee854_long_double in fpnum union.
27558         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
27559         signbit macro to retrieve sign from long double.
27560         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27561         retrieve sign from long double.
27562         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27563         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27564         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27565         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27566         * math/test-misc.c (main): Don't use union ieee854_long_double.
27568 2013-10-04  Alan Modra  <amodra@gmail.com>
27570         [BZ #15680]
27571         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27572         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27573         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27574         calculation.  Remove unnecessary test for denormal exponent.
27575         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27576         Correct handling of denormals.  Avoid undefined shift behaviour.
27577         Correct normalisation of low mantissa when low double is denormal.
27578         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27579         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
27580         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27581         Correct normalisation of low mantissa.  Test for overflow of high
27582         mantissa and normalise.
27583         (ldbl_nearbyint): Use more readable constant for two52.
27584         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27585         (__mpn_construct_long_double): Fix test for overflow of high
27586         mantissa and correct normalisation.  Avoid undefined shift.
27588 2013-10-04  Alan Modra  <amodra@gmail.com>
27590         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27591         (union ibm_extended_long_double): Define as an array of ieee754_double.
27592         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27593         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27594         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27595         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27596         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27597         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27598         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27599         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27600         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27601         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27602         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27604 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
27606         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27607         page size instead of calling getpagesize.
27609         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27610         (LOCFILE_ALIGN_MASK): Likewise.
27611         (LOCFILE_ALIGN_UP): Likewise.
27612         (LOCFILE_ALIGNED_P): Likewise.
27613         * locale/programs/ld-collate.c (collate_output): Use the new
27614         macros instead of __alignof__ (int32_t).
27615         * locale/weight.h (findidx): Likewise.
27617 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
27619         [BZ #431]
27620         * manual/string.texi: Fix strncat and wcsncat.
27622 2013-10-03  Brooks Moses  <bmoses@google.com>
27624         [BZ #15915]
27625         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27626         * Makerules: ...here, and adjust associated comments.
27628 2013-10-02  Will Newton  <will.newton@linaro.org>
27630         * malloc/Makefile: Add tst-pvalloc.
27631         * malloc/tst-pvalloc.c: New file.
27633 2013-10-02  Will Newton  <will.newton@linaro.org>
27635         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27636         improve test coverage.
27638 2013-10-02  Will Newton  <will.newton@linaro.org>
27640         * malloc/Makefile: Add tst-posix_memalign.
27641         * malloc/tst-posix_memalign.c: New file.
27643 2013-10-01  Eric Blake  <eblake@redhat.com>
27645         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27646         Use __THROWNL rather than __THROW on static functions.
27648 2013-09-30  Petr Machata  <pmachata@redhat.com>
27650         * elf/elf.h (R_AARCH64_ABS16): New macro.
27651         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27652         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27653         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27654         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27655         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27656         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27657         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27658         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27659         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27660         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27661         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27662         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27663         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27664         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27665         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27666         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27667         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27668         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27669         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27670         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27671         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27672         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27673         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27674         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27675         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27676         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27677         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27678         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27679         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27680         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27681         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27682         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27683         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27684         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27685         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27686         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27687         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27688         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27689         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27690         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27691         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27692         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27693         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27694         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27695         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27696         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27697         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27698         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27699         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27700         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27701         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27702         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27703         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27704         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27705         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27706         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27707         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27708         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27709         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27710         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27711         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27712         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27713         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27714         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27715         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27716         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27717         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27718         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27719         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27720         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27721         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27722         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27723         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27724         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27725         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27726         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27727         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27728         (R_AARCH64_TLSDESC_LDR): Likewise.
27729         (R_AARCH64_TLSDESC_ADD): Likewise.
27730         (R_AARCH64_TLSDESC_CALL): Likewise.
27732 2013-09-30  Andreas Schwab  <schwab@suse.de>
27734         [BZ #15048]
27735         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27736         the nss database lookup.
27737         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27740 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
27742         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27744 2013-09-28  P. J. McDermott  <pj@pehjota.net>
27746         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27747         ${Bash-specific parameter/pattern/string} parameter expansion.
27748         * sysdeps/unix/make-syscalls.sh: Likewise.
27750 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27752         * sysdeps/sh/stackguard-macros.h: New file.
27754 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
27756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27757         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27758         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27759         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27760         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27761         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27763 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27765         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27766         Fix thread ID register.
27768 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
27770         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27771         [POSIX || UNIX98]: Require rather than permitting all symbols from
27772         <time.h>.
27773         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27774         element of struct sched_param.
27775         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27776         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27777         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27778         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27779         constant.
27781 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
27783         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27784         argument calculation.
27786 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27788         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27789         Expect macro.
27790         [POSIX] (pthread_attr_t): Do not require type.
27791         [POSIX] (pthread_cond_t): Likewise.
27792         [POSIX] (pthread_condattr_t): Likewise.
27793         [POSIX] (pthread_key_t): Likewise.
27794         [POSIX] (pthread_mutex_t): Likewise.
27795         [POSIX] (pthread_mutexattr_t): Likewise.
27796         [POSIX] (pthread_once_t): Likewise.
27797         [POSIX] (pthread_t): Likewise.
27798         [POSIX-based standards] (pthread_atfork): Expect function.
27800 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27801             Richard Sandiford  <richard@codesourcery.com>
27803         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27804         (swap_endianness_p): New extern variable.
27805         (set_big_endian): New inline function.
27806         (maybe_swap_uint32): Likewise.
27807         (maybe_swap_uint32_array): Likewise.
27808         (maybe_swap_uint32_obstack): Likewise.
27809         * locale/programs/locfile.c: Include <stdbool.h>.
27810         (swap_endianness_p): New variable.
27811         (add_locale_uint32): Call maybe_swap_uint32.
27812         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27813         (write_locale_data): Call maybe_swap_uint32_array.
27814         * locale/programs/ld-collate.c (obstack_int32_grow): Call
27815         maybe_swap_uint32.
27816         (obstack_int32_grow_fast): Likewise.
27817         (output_weightwc): Call maybe_swap_uint32_obstack.
27818         (collate_output): Likewise.
27819         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27820         (OPT_LITTLE_ENDIAN): Likewise.
27821         (options): Add --little-endian and --big-endian options.
27822         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27823         * locale/programs/locarchive.c: Include "locfile.h".
27824         (GET): New macro.
27825         (SET): Likewise.
27826         (INC): Likewise.
27827         (create_archive): Use the new macros to access fields of
27828         structures directly mapped from or written to locale archives.
27829         (oldlocrecentcmp): Likewise.
27830         (enlarge_archive): Likewise.
27831         (insert_name): Likewise.
27832         (add_alias): Likewise.
27833         (add_locale): Likewise.
27834         (delete_locales_from_archive): Likewise.
27835         (show_archive_content): Likewise.
27836         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
27837         locale data.
27839 2013-09-24  Roland McGrath  <roland@hack.frob.com>
27841         * manual/freemanuals.texi: Updated from (newly) canonical copy at
27842         http://www.gnu.org/doc/freemanuals.texi.
27843         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27845 2013-09-24  Will Newton  <will.newton@linaro.org>
27847         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27848         macro.
27850 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
27852         * locale/hashval.h (compute_hashval): Interpret bytes of key as
27853         unsigned char.
27855 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
27857         * manual/threads.texi (POSIX Threads): Fix a typo.
27859 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27861         [BZ #14547]
27862         * string/tst-strcoll-overflow.c: New test case.
27863         * string/Makefile (xtests): Add tst-strcoll-overflow.
27864         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27865         cache if string sizes may cause integer overflow.
27867         [BZ #14547]
27868         * string/strcoll_l.c (coll_seq): New members rule, idx,
27869         save_idx and back_us.
27870         (get_next_seq_nocache): New function.
27871         (do_compare_nocache): New function.
27872         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27873         when malloc fails.
27875 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
27877         [BZ #15754]
27878         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27879         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27880         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27882         [BZ #15754]
27883         * elf/Makefile (tests): Add tst-ptrguard1.
27884         (tests-static): Add tst-ptrguard1-static.
27885         (tst-ptrguard1-ARGS): Define.
27886         (tst-ptrguard1-static-ARGS): Define.
27887         * elf/tst-ptrguard1.c: New file.
27888         * elf/tst-ptrguard1-static.c: New file.
27889         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27890         * sysdeps/i386/stackguard-macros.h: Likewise.
27891         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27892         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27893         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27894         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27895         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27896         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27898 2013-09-23  Hector Marco  <hecmargi@upv.es>
27899             Ismael Ripoll  <iripoll@disca.upv.es>
27900             Carlos O'Donell  <carlos@redhat.com>
27902         [BZ #15754]
27903         * sysdeps/generic/stackguard-macros.h: Define
27904         __pointer_chk_guard_local and POINTER_CHK_GUARD.
27905         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27906         Define __pointer_chk_guard_local.
27907         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27908         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27910 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
27912         [BZ #15859]
27913         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27915 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
27917         * include/string.h (__ffs): Declare as hidden.
27918         * string/ffs.c (__ffs): Define as hidden.
27919         * sysdeps/i386/ffs.c (__ffs): Likewise.
27920         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27921         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27922         * sysdeps/s390/ffs.c (__ffs): Likewise.
27923         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27925 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
27927         * NEWS: Mention malloc probes.
27929         * malloc/arena.c (new_heap): New memory_heap_new probe.
27930         (grow_heap): New memory_heap_more probe.
27931         (shrink_heap): New memory_heap_less probe.
27932         (heap_trim): New memory_heap_free probe.
27933         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27934         (systrim): New memory_sbrk_less probe.
27935         * manual/probes.texi: Document them.
27937         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27938         * manual/probes.texi: Document it.
27940         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27941         (__libc_realloc): Add memory_realloc_retry probe.
27942         (__libc_memalign): Add memory_memalign_retry probe.
27943         (__libc_valloc): Add memory_valloc_retry probe.
27944         (__libc_pvalloc): Add memory_pvalloc_retry probe.
27945         (__libc_calloc): Add memory_calloc_retry probe.
27946         * manual/probes.texi: Document them.
27948         * malloc/arena.c (get_free_list): Add probe
27949         memory_arena_reuse_free_list.
27950         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27951         and memory_arena_reuse.
27952         (arena_get2) [!PER_THREAD]: Likewise.
27953         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27954         memory_arena_reuse_realloc.
27955         * manual/probes.texi: Document them.
27957         * malloc/malloc.c (__libc_free): Add
27958         memory_mallopt_free_dyn_thresholds probe.
27959         (__libc_mallopt): Add multiple memory_mallopt probes.
27960         * manual/probes.texi: Document them.
27962         * malloc/malloc.c: Include stap-probe.h.
27963         (__libc_mallopt): Add memory_mallopt probe.
27964         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27965         * manual/probes.texi: New.
27966         * manual/Makefile (chapters): Add probes.
27967         * manual/threads.texi: Set next node.
27969 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
27971         [BZ #15963, #13985]
27972         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27973         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27974         Add `Chinese' to `nan' entry name.
27976 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27978         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27979         (POLYNOMIAL): Likewise.
27980         (TAYLOR_SINCOS): Likewise.
27981         (TAYLOR_SLOW): Likewise.
27982         (__sin): Use TAYLOR_SINCOS.
27983         (__cos): Likewise.
27984         (slow): Use TAYLOR_SLOW.
27985         (sloww): Likewise.
27986         (bsloww): Likewise.
27987         (csloww): Likewise.
27989 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27991         * stdlib/strtod_l.c: Fix buffer overrun.
27993 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27995         * benchtests/Makefile (bench): Add sincos.
27996         * benchtests/bench-sincos.c: New file.
27998         * math/libm-test.inc (cos_test_data): New test inputs.
27999         (sin_test_data): Likewise.
28001         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
28002         macro.
28003         (__sin): Use it.
28004         (__cos): Likewise.
28005         (slow1): Likewise.
28006         (slow2): Likewise.
28007         (sloww1): Likewise.
28008         (sloww2): Likewise.
28009         (bsloww1): Likewise.
28010         (bsloww2): Likewise.
28011         (cslow2): Likewise.
28012         (csloww1): Likewise.
28013         (csloww2): Likewise.
28015         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
28016         function.
28017         (__sin): Use it.
28018         (__cos): Likewise.
28020         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
28021         gotos.
28022         (__cos): Likewise.
28024 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
28026         * config.h.in (HAVE_MIPS_NAN2008): New macro.
28027         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
28028         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
28029         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
28030         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
28031         * elf/cache.c (print_entry): Handle the new cache flags.
28033 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28034             Aldy Hernandez  <aldyh@redhat.com>
28036         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
28037         Change condition to [_SOFT_FLOAT].
28038         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
28039         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
28040         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
28041         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
28042         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
28043         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
28044         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
28045         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
28046         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
28047         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
28048         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
28049         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
28050         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
28051         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
28052         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
28053         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
28054         declaration.
28056 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
28058         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
28059         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28060         (__longjmp): Use LOAD_GP to load saved GPRs.
28061         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
28062         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
28063         (__sigsetjmp): Use SAVE_GP to save GPRs.
28065         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
28066         Do not append -msoft-float.
28067         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
28069 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28071         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
28073 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
28075         [BZ #15966]
28076         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
28077         (_FPU_GETCW): Use initial "__" on variable and field names but not
28078         on macro parameter name.
28079         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
28080         parentheses around reference to macro parameter.
28082 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
28084         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
28085         prototype.
28086         (ctype_startup): Use uint32_t in cast and sizeof for
28087         ctype->charnames.
28089 2013-09-11  Jia Liu  <proljc@gmail.com>
28091         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
28092         __daddr_t_defined.
28093         [__FreeBSD__]: Likewise.
28095 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
28097         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
28098         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
28099         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
28100         (strchr): Remove __strchr_sse42 ifunc selection.
28101         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
28102         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
28104 2013-09-11  Will Newton  <will.newton@linaro.org>
28106         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
28107         parameter to RES. Remove hardcoded 1000 value.
28108         * benchtests/bench-skeleton.c (main): Pass RES parameter
28109         to TIMING_INIT and multiply result by 1000.
28111 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28115 2013-09-11  Andreas Schwab  <schwab@suse.de>
28117         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
28118         if not defined.
28119         (O_TMPFILE) [__USE_GNU]: Define.
28120         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
28121         Define.
28123 2013-09-11  Will Newton  <will.newton@linaro.org>
28125         [BZ #15857]
28126         * malloc/malloc.c (__libc_memalign): Check the value of bytes
28127         does not overflow.
28129 2013-09-11  Will Newton  <will.newton@linaro.org>
28131         [BZ #15856]
28132         * malloc/malloc.c (__libc_valloc): Check the value of bytes
28133         does not overflow.
28135 2013-09-11  Will Newton  <will.newton@linaro.org>
28137         [BZ #15855]
28138         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28139         does not overflow.
28141 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
28143         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28144         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28145         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28146         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28147         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28149 2013-09-10  Allan McRae  <allan@archlinux.org>
28151         [BZ #15748]
28152         * manual/arith.texi (Parsing of Floats): Clarify
28153         cross-reference.
28155         [BZ #15849]
28156         * manual/install.texi (Running make install): Mention
28157         --enable-pt-chown.
28158         * INSTALL: Regenerated.
28160 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
28162         * csu/init-first.c (_init): Remove the !SHARED condition around
28163         FPU control word initialization.
28164         * elf/dl-support.c (_dl_fpu_control): New variable.
28165         (_dl_aux_init) <AT_FPUCW>: Initialize it.
28166         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28167         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28168         * math/test-fpucw-static.c: New file.
28169         * math/test-fpucw-ieee.c: New file.
28170         * math/test-fpucw-ieee-static.c: New file.
28171         * math/Makefile (tests): Add `test-fpucw-ieee' and
28172         `$(tests-static)'.
28173         (tests-static): New variable.
28174         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28175         dependency to...
28176         [($(build-shared),yes)]
28177         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28178         ... this.
28179         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28180         New dependency.
28182 2013-09-09  Allan McRae  <allan@archlinux.org>
28184         [BZ #15939]
28185         * manual/string.texi (Collation Functions): Fix typo in
28186         strcoll example.
28187         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28189         [BZ #15893]
28190         * stdlib/isomac.c (get_null_defines): Fix memory leak.
28192         [BZ #15892]
28193         * libio/memstream.c (open_memstream): Fix memory leak.
28194         * libio/wmemstream.c (open_wmemstream): Likewise.
28196         [BZ #15895]
28197         * nscd/netgroupcache.c: Fix nesting of ifdefs.
28199 2013-09-09  Will Newton  <will.newton@linaro.org>
28201         * malloc/Makefile: Add tst-realloc to tests.
28202         * malloc/tst-realloc.c: New file.
28204 2013-09-09  Allan McRae  <allan@archlinux.org>
28206         [BZ #15844]
28207         * COPYING: Update from GNU website to fix FSF address.
28208         * COPYING.LIB: Likewise.
28210 2013-09-06  David S. Miller  <davem@davemloft.net>
28212         * po/zh_TW.po: Update Chinese (traditional) translation from
28213         translation project.
28215 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
28216             Joseph Myers  <joseph@codesourcery.com>
28218         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28219         "localeinfo.h".
28220         (obstack_chunk_alloc): New macro.
28221         (obstack_chunk_free): Likewise.
28222         (record_offset): New function.
28223         (init_locale_data): Likewise.
28224         (align_locale_data): Likewise.
28225         (add_locale_empty): Likewise.
28226         (add_locale_raw_data): Likewise.
28227         (add_locale_raw_obstack): Likewise.
28228         (add_locale_string): Likewise.
28229         (add_locale_wstring): Likewise.
28230         (add_locale_uint32): Likewise.
28231         (add_locale_uint32_array): Likewise.
28232         (add_locale_char): Likewise.
28233         (start_locale_structure): Likewise.
28234         (end_locale_structure): Likewise.
28235         (start_locale_prelude): Likewise.
28236         (end_locale_prelude): Likewise.
28237         (write_locale_data): Take locale_file structure rather than an
28238         iovec.
28239         * locale/programs/locfile.h: Include "obstack.h".
28240         (struct locale_file): Change to store locale file contents instead
28241         of header.
28242         (init_locale_data): New prototype.
28243         (align_locale_data): Likewise.
28244         (add_locale_empty): Likewise.
28245         (add_locale_raw_data): Likewise.
28246         (add_locale_raw_obstack): Likewise.
28247         (add_locale_string): Likewise.
28248         (add_locale_wstring): Likewise.
28249         (add_locale_uint32): Likewise.
28250         (add_locale_uint32_array): Likewise.
28251         (add_locale_char): Likewise.
28252         (start_locale_structure): Likewise.
28253         (end_locale_structure): Likewise.
28254         (start_locale_prelude): Likewise.
28255         (end_locale_prelude): Likewise.
28256         (write_locale_data): Update prototype.
28257         * locale/programs/3level.h (struct TABLE): Remove result field.
28258         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28259         Use new locale_file interface.
28260         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28261         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28262         * locale/programs/ld-address.c (address_output): Use new
28263         locale_file interface.
28264         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28265         NO_ADD_LOCALE.
28266         (collate_finish): Don't call collseq_table_finalize.
28267         (collate_output): Use new locale_file interface.
28268         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28269         in file.
28270         (NO_FINALIZE): Change to NO_ADD_LOCALE.
28271         (TABLE): Move defines earlier in file.
28272         (ELEMENT): Likewise.
28273         (DEFAULT): Likewise.
28274         (wctrans_table_add): Move macro and inline function earlier in
28275         file.
28276         (struct wctype_table): Move type earlier in file.
28277         (add_locale_wctype_table): New static prototype.
28278         (struct locale_ctype_t): Use logical types instead of struct iovec
28279         pointers for members.
28280         (ctype_output): Use new locale_file interface.
28281         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
28282         new locale_file interface.
28283         (allocate_arrays): Update for use of new locale_file interface.
28284         * locale/programs/ld-identification.c (identification_output): Use
28285         new locale_file interface.
28286         * locale/programs/ld-measurement.c (measurement_output): Likewise.
28287         * locale/programs/ld-messages.c (messages_output): Likewise.
28288         * locale/programs/ld-monetary.c (monetary_output): Likewise.
28289         * locale/programs/ld-name.c (name_output): Likewise.
28290         * locale/programs/ld-numeric.c (numeric_output): Likewise.
28291         * locale/programs/ld-paper.c (paper_output): Likewise.
28292         * locale/programs/ld-telephone.c (telephone_output): Likewise.
28293         * locale/programs/ld-time.c (time_output): Likewise.
28295 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28297         * benchtests/Makefile: Add memrchr benchmark.
28298         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28299         benchmark as memrchr.
28300         * benchtests/bench-memrchr-ifunc.c: New file.
28301         * benchtests/bench-memrchr.c: New file.
28303 2013-09-06   Will Newton  <will.newton@linaro.org>
28305         * benchtests/Makefile (string-bench): Add memcpy.
28307 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
28308             Cong Wang  <amwang@redhat.com>
28310         [BZ #15850]
28311         * sysdeps/unix/sysv/linux/bits/in.h
28312         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28313         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28314         before __USE_KERNEL_IPV6_DEFS uses.
28315         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28316         IPPROTO_BEETPH.
28317         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28318         sockaddr_in6, or ipv6_mreq.
28320 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28322         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28323         memory access for final bytes in some large inputs.
28324         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28326 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28328         * string/test-memrchr.c: New file.
28329         * string/test-memrchr-ifunc.c: New file.
28330         * string/Makefile: Add new memrchr testcase.
28332 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
28334         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28335         fanotify_init returns EPERM.
28337 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28339         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28340         errors.
28341         (top level): Treat second token from macro or constant entries for
28342         allowed headers as allowed.
28343         * include/complex.h: Condition internal declarations on
28344         [!_ISOMAC].
28345         * include/fenv.h: Condition include of <stdbool.h> and internal
28346         declarations on [!_ISOMAC].
28348 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
28350         [BZ #15923]
28351         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28353 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28355         * configure.in (--enable-versioning): Remove configure option.
28356         (libc_cv_asm_symver_directive): Remove configure test.
28357         (libc_cv_ld_version_script_option): Likewise.
28358         (VERSIONING): Remove variable and AC_SUBST.
28359         (DO_VERSIONING): Remove AC_DEFINE.
28360         * configure: Regenerated.
28361         * config.h.in (DO_VERSIONING): Remove macro.
28362         * Makerules [$(versioning) = yes]: Change conditionals to
28363         [$(build-shared) = yes].
28364         * config.make.in (versioning): Remove variable.
28365         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28366         [$(build-shared) = yes].
28367         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28368         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28369         * elf/Makefile [$(versioning) = yes]: Change conditionals to
28370         [$(build-shared) = yes].
28371         * extra-lib.mk [$(versioning) = yes]: Likewise.
28372         * hurd/Makefile [$(versioning) = yes]: Likewise.
28373         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28374         [SHARED].
28375         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28376         [SHARED].
28377         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28378         [SHARED && !NO_HIDDEN].
28379         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28380         [SHARED].
28381         [SHARED && DO_VERSIONING]: Likewise..
28382         * libio/Makefile [$(versioning) = yes]: Change conditionals to
28383         [$(build-shared) = yes].
28384         * manual/install.texi (--disable-versioning): Remove
28385         documentation.
28386         * INSTALL: Regenerated.
28387         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28388         to [SHARED].
28389         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28390         [$(build-shared) = yes].
28391         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28392         * sysdeps/i386/i686/multiarch/strstr-c.c
28393         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28394         [SHARED && !NO_HIDDEN].
28395         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28396         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28397         * sysdeps/powerpc/powerpc32/dl-machine.c
28398         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28399         * sysdeps/powerpc/powerpc32/sysdep.h
28400         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28401         to [SHARED && PIC && !NO_HIDDEN].
28402         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28403         conditional to [SHARED].
28405 2013-09-04   Will Newton  <will.newton@linaro.org>
28407         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28408         * benchtests/bench-string.h: Include bench-timing.h instead
28409         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28410         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28411         call to HP_TIMING_DIFF_INIT.
28412         * benchtests/bench-memccpy.c: Use bench-timing.h macros
28413         instead of hp-timing.h macros.
28414         * benchtests/bench-memchr.c: Likewise.
28415         * benchtests/bench-memcmp.c: Likewise.
28416         * benchtests/bench-memcpy.c: Likewise.
28417         * benchtests/bench-memmem.c: Likewise.
28418         * benchtests/bench-memmove.c: Likewise.
28419         * benchtests/bench-memset.c: Likewise.
28420         * benchtests/bench-rawmemchr.c: Likewise.
28421         * benchtests/bench-strcasecmp.c: Likewise.
28422         * benchtests/bench-strcasestr.c: Likewise.
28423         * benchtests/bench-strcat.c: Likewise.
28424         * benchtests/bench-strchr.c: Likewise.
28425         * benchtests/bench-strcmp.c: Likewise.
28426         * benchtests/bench-strcpy.c: Likewise.
28427         * benchtests/bench-strcpy_chk.c: Likewise.
28428         * benchtests/bench-strlen.c: Likewise.
28429         * benchtests/bench-strncasecmp.c: Likewise.
28430         * benchtests/bench-strncat.c: Likewise.
28431         * benchtests/bench-strncmp.c: Likewise.
28432         * benchtests/bench-strncpy.c: Likewise.
28433         * benchtests/bench-strnlen.c: Likewise.
28434         * benchtests/bench-strpbrk.c: Likewise.
28435         * benchtests/bench-strrchr.c: Likewise.
28436         * benchtests/bench-strspn.c: Likewise.
28437         * benchtests/bench-strstr.c: Likewise.
28439 2013-09-04  Will Newton  <will.newton@linaro.org>
28441         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28443 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
28445         [BZ #15427]
28446         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28447         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28448         * math/libm-test.inc (lgamma_test_data): Add more tests.
28449         * sysdeps/i386/fpu/libm-test-ulps: Update.
28450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28452 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
28454         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28455         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28456         Add ifunc.
28457         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28458         Add strcmp-sse2-unaligned
28459         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28461 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28463         * Versions.def (libc): Add GLIBC_2.19.
28465 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28467         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28468         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28470 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
28472         [BZ #14155]
28473         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28474         intermediate calculations in recurrence.
28475         (__ieee754_ynf): Likewise.
28476         * math/libm-test.inc (jn_test_data): Do not allow spurious
28477         underflow exception.  Add more tests.
28478         (yn_test_data): Add more tests.
28479         * sysdeps/i386/fpu/libm-test-ulps: Update.
28480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28482 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
28484         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28486 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28488         * csu/init-first.c: Fix then/than typos.
28489         * locale/programs/ld-collate.c: Likewise.
28490         * locale/programs/linereader.h: Likewise.
28491         * manual/charset.texi: Likewise.
28492         * manual/filesys.texi: Likewise.
28493         * manual/stdio.texi: Likewise.
28494         * manual/string.texi: Likewise.
28495         * stdlib/fmtmsg.c: Likewise.
28496         * sysdeps/i386/stpncpy.S: Likewise.
28497         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28498         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28499         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28500         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28502 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28504         * elf/dl-open.c: Fix typos.
28505         * iconvdata/gbbig5.c: Likewise.
28506         * iconvdata/iso-2022-jp.c: Likewise.
28507         * iconv/gconv_int.h: Likewise.
28508         * iconv/loop.c: Likewise.
28509         * nis/rpcsvc/nis.h: Likewise.
28510         * resolv/ns_name.c: Likewise.
28511         * stdio-common/vfscanf.c: Likewise.
28512         * streams/stropts.h: Likewise.
28513         * sunrpc/rpc_thread.c: Likewise.
28514         * sysdeps/i386/strpbrk.S: Likewise.
28515         * sysdeps/ieee754/k_standard.c: Likewise.
28516         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28517         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28518         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28519         * sysdeps/mach/hurd/profil.c: Likewise.
28520         * sysdeps/s390/dl-procinfo.h: Likewise.
28521         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28522         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28523         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28524         * sysdeps/x86_64/dl-trampoline.S: Likewise.
28525         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28527 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
28529         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28530         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28532 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
28534         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28535         aix specific files.
28536         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28537         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28538         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28539         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28540         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28541         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28542         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28543         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28545 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28546             Roland McGrath  <roland@hack.frob.com>
28548         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28549         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28551 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28553         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28554         __executable_start symbol instead of _start.
28556 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28558         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28559         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28560         Move macros to...
28561         * sysdeps/gnu/ldsodefs.h: ... this new file.
28563         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28564         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28565         instead of ELFOSABI_LINUX.
28567         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28568         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28569         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28570         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28571         Likewise.
28572         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28573         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28574         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28575         Likewise.
28576         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28577         (ibm_extended_long_double): Add ieee_nan member.
28578         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28579         (do_test): New function.
28581         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28582         TEST_TRUNC.
28583         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28584         functions, renamed from truncdfsf_test, trunctfsf_test,
28585         trunctfdf_test.
28586         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28587         functions.
28588         (do_test): Run all these.
28590 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
28592         * argp/argp-help.c: Fix typos.
28593         * argp/argp-parse.c: Likewise.
28594         * debug/backtracesyms.c: Likewise.
28595         * elf/elf.h: Likewise.
28596         * malloc/malloc.c: Likewise.
28597         * nis/nis_print.c: Likewise.
28598         * resolv/res_comp.c: Likewise.
28599         * stdlib/stdlib.h: Likewise.
28600         * sunrpc/clnt_tcp.c: Likewise.
28601         * sunrpc/clnt_udp.c: Likewise.
28602         * sunrpc/clnt_unix.c: Likewise.
28603         * sysdeps/unix/bsd/ptsname.c: Likewise.
28604         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28605         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28607         Likewise.
28608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28609         Likewise.
28610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28611         Likewise.
28612         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28614 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28616         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28619 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
28621         [BZ #15897]
28622         * dlfcn/Makefile (tests): Add bug-dl-leaf.
28623         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28624         ($(objpfx)bug-dl-leaf): New rule.
28625         ($(objpfx)bug-dl-leaf.so): Likewise.
28626         ($(objpfx)bug-dl-leaf.out): Likewise.
28627         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28628         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28629         * dlfcn/bug-dl-leaf.c: New test.
28630         * dlfcn/bug-dl-leaf-lib.c: Likewise.
28631         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28632         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28633         (dlclose): Likewise.
28634         (dlmopen): Likewise.
28636 2013-08-27  Roland McGrath  <roland@hack.frob.com>
28638         * include/netdb.h [!_ISOMAC]:
28639         Don't include <tls.h>.
28640         (h_errno, __libc_h_errno): Move declaration and macros out of
28641         [_LIBC_REENTRANT].
28643         * include/resolv.h [_RESOLV_H_]:
28644         Don't include <tls.h>.
28645         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28646         * resolv/res_libc.c: Don't include <tls.h>.
28647         (_res): Use __attribute__ ((nocommon)) in place of
28648         __attribute__ ((section (".bss"))).
28650         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28651         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28653         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28655         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28656         only under [SIOCGIFCONF && SIOCGIFNETMASK].
28658         * resolv/res_mkquery.c: Include <sys/time.h>.
28660         * inet/ifreq.c: Moved to ...
28661         * sysdeps/unix/ifreq.c: ... here.
28662         * inet/ifreq.c: New file, true stub version.
28664         * socket/sa_len.c: New file.
28665         * socket/Makefile (aux): Add it.
28666         * sysdeps/unix/sysv/linux/Makefile
28667         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28668         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28669         and #include <socket/sa_len.c>.
28670         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28671         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28673         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28674         * bits/socket.h: ... here.
28676         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28677         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28678         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28680 2013-08-27  Andreas Schwab  <schwab@suse.de>
28682         [BZ #15736]
28683         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28684         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28685         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28686         * string/test-strcasecmp.c (test_main): Run tests in several
28687         locales.
28688         * string/test-strncasecmp.c (test_main): Likewise.
28690         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28691         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28692         to __strcasecmp_nonascii and __strncasecmp_nonascii.
28693         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28694         (__strncasecmp_ssse3) [PIC]: Likewise.
28696 2013-08-26  Roland McGrath  <roland@hack.frob.com>
28698         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28700         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28701         instead of explicitly declaring xdecrypt.
28702         * nis/nss_nis/nis-publickey.c: Likewise.
28704 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28706         [BZ #15890]
28707         * nscd/aicache.c: Include res_hconf.h.
28708         (addhstaiX): Initialize res_hconf.
28710 2013-08-26  Andreas Schwab  <schwab@suse.de>
28712         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28713         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28715 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28717         * nscd/aicache.c (addhstaiX): Fix indentation.
28719 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
28721         * configure.ac: Quote $build_pt_chown test.
28722         * configure: Regenerated.
28724 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
28726         [BZ #15532]
28727         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28728         * math/s_cexpf.c (__cexpf): Likewise.
28729         * math/s_cexpl.c (__cexpl): Likewise.
28730         * math/libm-test.inc (cexp_test_data): Correct expected return
28731         value for NaN + i0.  Add another test.
28733 2013-08-22  David S. Miller  <davem@davemloft.net>
28735         * po/ca.po: Update Catalan translation from translation project.
28736         * po/uk.po: Add Ukrainian translations from translation project.
28738 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
28740         [BZ #15797]
28741         * math/s_fdim.c (__fdim): Check for infinite arguments if result
28742         is infinite, not alongside NaN test.
28743         * math/s_fdimf.c (__fdimf): Likewise.
28744         * math/s_fdiml.c (__fdiml): Likewise.
28745         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
28746         errno is unchanged.
28748 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
28750         * argp/argp-help.c: Fix typos.
28751         * crypt/speeds.c: Likewise.
28752         * csu/check_fds.c: Likewise.
28753         * elf/dl-load.c: Likewise.
28754         * elf/dl-open.c: Likewise.
28755         * elf/reldep3.c: Likewise.
28756         * elf/reldep.c: Likewise.
28757         * elf/sprof.c: Likewise.
28758         * iconv/iconv_charmap.c: Likewise.
28759         * iconv/skeleton.c: Likewise.
28760         * iconv/strtab.c: Likewise.
28761         * io/lockf64.c: Likewise.
28762         * libio/libioP.h: Likewise.
28763         * resolv/gai_notify.c: Likewise.
28764         * resolv/ns_name.c: Likewise.
28765         * resolv/ns_samedomain.c: Likewise.
28766         * resolv/res_send.c: Likewise.
28767         * stdlib/random.c: Likewise.
28768         * sunrpc/rpc/xdr.h: Likewise.
28769         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28770         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28771         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28772         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28773         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28774         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28775         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28776         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28777         * sysdeps/mach/hurd/check_fds.c: Likewise.
28778         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28779         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28780         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28781         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28782         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28783         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28784         * sysdeps/pthread/aio_notify.c: Likewise.
28785         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28786         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28787         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28788         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28789         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28791 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28793         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28794         version if bit_Slow_SSE4_2 is set.
28795         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28796         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28798 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28800         [BZ #15867]
28801         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28802         trampoline stack frame information.
28803         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28804         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28805         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28806         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28807         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28808         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28809         (_libc_vdso_platform_setup): Initialize the signal trampolines.
28810         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28811         sa_flags value.
28812         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28813         interrupting a syscall and set with option SA_SIGINFO.
28815 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28817         [BZ #15531]
28818         * math/s_cproj.c (__cproj): Only return an infinity if one part of
28819         argument is infinite.
28820         * math/s_cprojf.c (__cprojf): Likewise.
28821         * math/s_cprojl.c (__cprojl): Likewise.
28822         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28823         * math/libm-test.inc (cproj_test_data): Add more tests.
28825         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28827         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28828         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28829         size.  Use __ffs to determine corresponding shift.
28831 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28832             Roland McGrath  <roland@hack.frob.com>
28834         * Makefile (INSTALL): Remove trailing blank lines from output of
28835         makeinfo.
28837 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28839         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28840         Align 32 bit compat elf_greg to 8 bytes.
28842 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
28844         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28846 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28848         * string/strcoll_l.c (coll_seq): New structure.
28849         (get_next_seq_cached): New function.
28850         (get_next_seq): New function.
28851         (do_compare): New function.
28852         (STRCOLL): Use GNU style definition.  Simplify implementation
28853         by using get_next_seq, get_next_seq_cached and do_compare.
28855 2013-08-16  Florian Weimer  <fweimer@redhat.com>
28857         [BZ #14699]
28858         CVE-2013-4237
28859         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28860         member.
28861         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28862         member.
28863         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28864         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28865         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
28866         conditional.
28867         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28868         GETDENTS_64BIT_ALIGNED.
28869         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28870         * manual/filesys.texi (Reading/Closing Directory): Document
28871         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
28872         strongly.
28873         * manual/conf.texi (Limits for Files): Add portability note to
28874         NAME_MAX, PATH_MAX.
28875         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28877 2013-08-13  Andreas Schwab  <schwab@suse.de>
28879         [BZ #15749]
28880         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28881         of fabs.
28882         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28883         LDBL_MAX_EXP >= 16384]: Add tests for it.
28885 2013-08-12  David S. Miller  <davem@davemloft.net>
28887         * version.h (RELEASE): Set to "development".
28888         (VERSION): Set to "2.18.90".
28889         * NEWS: Add 2.19 section.
28891 2013-08-03  David S. Miller  <davem@davemloft.net>
28893         * po/ko.po: Update Korean translation from translation project.
28895 2013-08-01  David S. Miller  <davem@davemloft.net>
28897         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
28898         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28899         Bilka.
28901 2013-07-30  David S. Miller  <davem@davemloft.net>
28903         * po/fr.po: Update French translation from translation project.
28905 2013-07-28  David S. Miller  <davem@davemloft.net>
28907         * po/cs.po: Update Czech translation from translation project.
28909         * po/sv.po: Update Swedish translation from translation project.
28911 2013-07-27  David S. Miller  <davem@davemloft.net>
28913         * po/eo.po: Update Esperanto translation from translation project.
28915         * po/vi.po: Update Vietnamese translation from translation project.
28917         * po/de.po: Update German translation from translation project.
28919 2013-07-26  David S. Miller  <davem@davemloft.net>
28921         * po/bg.po: Update Bulgarian translation from translation project.
28923         * po/nl.po: Update Dutch translation from translation project.
28924         * po/pl.po: Update Polish translation from translation project.
28925         * po/ru.po: Update Russian translation from translation project.
28927 2013-07-24  David S. Miller  <davem@davemloft.net>
28929         * po/libc.pot: Update.
28931 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28933         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28934         variable page size.
28935         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28936         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28937         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28939 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28941         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28943 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28944             Andreas Schwab  <schwab@suse.de>
28945             Roland McGrath  <roland@hack.frob.com>
28946             Joseph Myers  <joseph@codesourcery.com>
28947             Carlos O'Donell  <carlos@redhat.com>
28949         [BZ #15755]
28950         * config.h.in: Define HAVE_PT_CHOWN.
28951         * config.make.in (build-pt-chown): New variable.
28952         * configure.in (--enable-pt_chown): New configure option.
28953         * configure: Regenerate.
28954         * login/Makefile: Include Makeconfig.  Build pt_chown only if
28955         build-pt-chown is enabled.
28956         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28957         pt_chown to fix pty ownership.
28958         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28959         CLOSE_ALL_FDS.
28960         * manual/install.texi (Configuring and compiling): Mention
28961         --enable-pt_chown. Add @findex for grantpt.
28962         * INSTALL: Regenerate.
28964 2013-07-20  David S. Miller  <davem@davemloft.net>
28966         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28967         difference between 32-bit and 64-bit.
28969 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
28971         [BZ #15711]
28972         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28973         Avoid system header dependency with -ffreestanding.
28974         ($(objpfx)bits/syscall%d): Likewise.
28976 2013-07-13  David S. Miller  <davem@davemloft.net>
28978         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28979         underflows from atanl/atan2l due to bug 15319.
28980         (casinh_test_data): Likewise.
28982 2013-07-07  David S. Miller  <davem@davemloft.net>
28984         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28986 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
28988         * sysdeps/i386/fpu/libm-test-ulps: Update.
28989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28991 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28993         * configure.in (--enable-lock-elision): Fix message text.
28994         * INSTALL: Regenerate.
28995         * configure: Regenerate.
28997 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29001 2013-07-03  Andreas Jaeger  <aj@suse.de>
29003         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
29004         define.
29005         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
29006         (ptrace_peeksiginfo_args): Add.
29007         (__ptrace_peeksiginfo_flags): Add.
29008         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
29009         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29010         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
29012 2013-07-03  Allan McRae  <allan@archlinux.org>
29014         * sysdeps/i386/fpu/libm-test-ulps: Update.
29016 2013-07-02  David S. Miller  <davem@davemloft.net>
29018         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29020 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
29022         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29024 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29026         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29029 2013-07-02  Andi Kleen <ak@linux.intel.com>
29031         * config.h.in (ENABLE_LOCK_ELISION): Add.
29032         * configure.in (--enable-lock-elision): Add option.
29033         * manual/install.texi: Document --enable lock elision.
29034         * configure: Regenerate
29035         * INSTALL: Regenerate.
29037 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
29039         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
29040         SSE4.2 strcasecmp for libc.a.
29041         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
29043 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
29045         [BZ #13304]
29046         * soft-fp/op-common.h (_FP_FMA): New macro.
29047         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
29048         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
29049         (_FP_MUL_MEAT_1_imm): ... here.
29050         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
29051         (_FP_MUL_MEAT_1_wide): ... here.
29052         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
29053         (_FP_MUL_MEAT_1_hard): ... here.
29054         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
29055         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
29056         (_FP_MUL_MEAT_2_wide): ... here.
29057         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
29058         (_FP_MUL_MEAT_2_wide_3mul): ... here.
29059         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
29060         (_FP_MUL_MEAT_2_gmp): ... here.
29061         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
29062         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
29063         (_FP_MUL_MEAT_4_wide): ... here.
29064         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
29065         (_FP_MUL_MEAT_4_gmp): ... here.
29066         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
29067         (_FP_WFRACBITS_DW_S): Likewise.
29068         (_FP_WFRACXBITS_DW_S): Likewise.
29069         (_FP_HIGHBIT_DW_S): Likewise.
29070         (FP_FMA_S): Likewise.
29071         (_FP_FRAC_HIGH_DW_S): Likewise.
29072         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
29073         (_FP_WFRACBITS_DW_D): Likewise.
29074         (_FP_WFRACXBITS_DW_D): Likewise.
29075         (_FP_HIGHBIT_DW_D): Likewise.
29076         (FP_FMA_D): Likewise.
29077         (_FP_FRAC_HIGH_DW_D): Likewise.
29078         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
29079         (_FP_WFRACBITS_DW_E): Likewise.
29080         (_FP_WFRACXBITS_DW_E): Likewise.
29081         (_FP_HIGHBIT_DW_E): Likewise.
29082         (FP_FMA_E): Likewise.
29083         (_FP_FRAC_HIGH_DW_E): Likewise.
29084         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
29085         (_FP_WFRACBITS_DW_Q): Likewise.
29086         (_FP_WFRACXBITS_DW_Q): Likewise.
29087         (_FP_HIGHBIT_DW_Q): Likewise.
29088         (FP_FMA_Q): Likewise.
29089         (_FP_FRAC_HIGH_DW_Q): Likewise.
29090         * soft-fp/fmasf4.c: New file.
29091         * soft-fp/fmadf4.c: Likewise.
29092         * soft-fp/fmatf4.c: Likewise.
29094 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29096         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
29097         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
29098         Silvermont.
29099         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
29100         macro.
29101         (index_Slow_SSE4_2): Likewise.
29102         (index_Prefer_PMINUB_for_stringop): Likewise.
29103         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
29104         bit_Slow_SSE4_2 is set.
29105         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
29106         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
29108 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29110         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
29111         rtld_global._dl_hwcap2.
29112         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
29113         POWER8.
29114         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
29115         POWER8 feature descriptions defined in _dl_hwcap2.
29116         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
29117         string handling for POWER8 feature bits.
29118         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
29119         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
29120         _dl_powerpc_cap_flags.
29121         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
29122         * sysdeps/powerpc/rtld-global-offsets.sym
29123         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
29124         _dl_hwcap2 in the rtld_global_ro structure.
29126 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29128         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
29129         hardware capabilities in support of AT_HWCAP2.
29130         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
29131         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
29132         GLRO(dl_hwcap2).
29133         (_dl_show_auxv): Add support for calling _dl_procinfo to display
29134         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
29135         explicitly the unknown a_type display mechanism is used.
29136         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29137         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29138         struct member.
29139         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29140         to macro prototype for AT_HWCAP2 support.
29141         * sysdeps/i386/dl-procinfo.h: Likewise.
29142         * sysdeps/s390/dl-procinfo.h: Likewise.
29143         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29144         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
29145         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
29146         return -1 for unknown a_type display fallback.
29147         * sysdeps/sparc/dl-procinfo.h: Likewise.
29148         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29149         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29151 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
29153         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29154         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29156 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
29158         [BZ #12492]
29159         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29160         mprotect making __stack_prot writable.
29162 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
29163             Joseph Myers  <joseph@codesourcery.com>
29165         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29166         as being properly aligned.
29168 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
29170         * dlfcn/modstatic5.c: New file.
29171         * dlfcn/tststatic5.c: New file.
29172         * dlfcn/Makefile (tests): Add tststatic5.
29173         (tests-static): Likewise.
29174         (modules-names): Add modstatic5.
29175         (tststatic5-ENV): New variable.
29176         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29178         [BZ #15022]
29179         * elf/dl-support.c (_dl_main_map): New variable.
29180         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29181         (_dl_nns, _dl_load_adds): Set to 1.
29182         (_dl_initial_searchlist): Refer to _dl_main_map.
29183         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29184         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29185         call to _dl_get_origin.
29186         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29187         around call_map.
29188         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29189         * dlfcn/modstatic3.c: New file.
29190         * dlfcn/tststatic3.c: New file.
29191         * dlfcn/tststatic4.c: New file.
29192         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29193         (tests-static): Likewise.
29194         (modules-names): Add modstatic3.
29195         (tststatic3-ENV, tststatic4-ENV): New variables.
29196         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29197         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29199 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
29201         * configure.in (CC): Require GCC version 4.4 or later.
29202         * configure: Regenerated.
29203         * manual/install.texi (Tools for Compilation): Update GCC version
29204         requirement.
29205         * INSTALL: Regenerated.
29207 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29209         [BZ #15674]
29210         * string/test-memcmp.c (check2): New.
29211         (main): Call check2.
29213         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29215 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
29217         [BZ #15022]
29218         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29219         over to...
29220         (dl_open_worker) [!SHARED]: ... here.
29222 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29224         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29226 2013-06-25  Richard Henderson  <rth@redhat.com>
29228         * locale/programs/locarchive.c: Include <libc-internal.h>
29230 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
29232         * manual/texinfo.tex: Update to version 2013-06-21.17, with
29233         trailing whitespace removed.
29235 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29237         [BZ #10283]
29238         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29239         * locale/programs/locarchive.c: Include libc-mmap.h.
29240         (prepare_address_space): Take two new outputs (the mmap base and len).
29241         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
29242         values.
29243         (create_archive): Declare new mmap base and len values for
29244         prepare_address_space, and store the result in ah.
29245         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29246         (enlarge_archive): If ah->mmap_base is not NULL, use that and
29247         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29248         Declare new mmap base and len values for
29249         prepare_address_space, and store the result in new_ah.
29250         (open_archive): Declare new mmap base and len values for
29251         prepare_address_space, and store the result in ah.
29252         (close_archive): If ah->mmap_base is not NULL, use that and
29253         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29254         * sysdeps/generic/libc-mmap.h: New file.
29256 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29258         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29259         (ALIGN_UP): Likewise.
29260         (PTR_ALIGN_DOWN): Likewise.
29261         (PTR_ALIGN_UP): Likewise.
29263 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29265         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29266         entry mapped to PPC_PLATFORM_POWER8.
29267         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29268         POWER8.
29269         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29270         (_dl_string_platform): Add case for exporting platform position for
29271         POWER8.
29272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29273         search path to sysdeps/powerpc/powerpc32/power8 directory.
29274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29275         search path to sysdeps/powerpc/powerpc64/power8 directory.
29276         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29277         power7 directories.
29278         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29279         power7 directories.
29281 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29283         * INSTALL: Regenerate.
29285         * nscd/connections.c (nscd_init): Fix comment.
29287 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
29289         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29291         [BZ #15667]
29292         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29293         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29295 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29297         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29298         DL_DST_REQ_STATIC.
29299         (DL_DST_REQ_STATIC): Remove macro.
29301 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
29303         [BZ #7006]
29304         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29305         with a shift of 0 bits.
29307 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29309         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29310         $(tststatic-ENV).
29312 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29314         [BZ #15655]
29315         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29317 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29319         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29320         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29321         accepts -fno-tree-loop-distribute-patterns.
29322         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29323         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29324         recursive call.
29325         * string/memset.c (memset): Likewise.
29326         * string/test-memmove.c (simple_memmove): Disable loop transformation
29327         to library calls.
29328         * string/test-memset.c (simple_memset): Likewise.
29329         * benchtests/bench-memmove.c (simple_memmove): Likewise.
29330         * benchtests/bench-memset.c (simple_memset): Likewise.
29331         * configure: Regenerated.
29333 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
29335         * math/test-misc.c (main): Ignore fesetround failure when failures
29336         of subsequent rounding tests would be ignored.
29338         [BZ #15654]
29339         * math/fedisblxcpt.c (fedisableexcept): Return 0.
29340         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29341         * math/fegetenv.c (__fegetenv): Return 0.
29342         * math/fegetexcept.c (fegetexcept): Return 0.
29343         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29344         FE_TONEAREST.
29345         * math/feholdexcpt.c (feholdexcept): Return 0.
29346         * math/fesetenv.c (__fesetenv): Return 0.
29347         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29348         argument FE_TONEAREST.
29349         * math/feupdateenv.c (__feupdateenv): Return 0.
29350         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29352 2013-06-18  Roland McGrath  <roland@hack.frob.com>
29354         * elf/rtld-Rules (rtld-compile-command.S): New variable.
29355         (rtld-compile-command.s, rtld-compile-command.c): New variables.
29356         ($(objpfx)rtld-%.os rules): Use them.
29358 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29360         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29361         fields.
29363 2013-06-17  Roland McGrath  <roland@hack.frob.com>
29365         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29366         length of target pattern, then descending length of dependency pattern.
29367         * configure.in (AWK): Require gawk 3.1.2 or newer.
29368         * manual/install.texi (Tools for Compilation): Say that we do.
29369         * configure: Regenerated.
29371         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29372         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29373         * scripts/sysd-rules.awk: ... this new script.
29374         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29375         than a glob-style pattern.
29377 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
29379         * math/test-misc.c (main): Do not treat incorrectly rounded
29380         conversions as failure unless ROUNDING_TESTS passes.
29382 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
29384         [BZ #15631]
29385         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29386         restore exception state around main square root computation, then
29387         check for inexactness explicitly.
29389         * math/libm-test.inc (fma_test_data): Add another test.
29391 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29393         * manual/threads.texi (Non-POSIX Extensions): New document
29394         node.  Document pthread_getattr_default_np and
29395         pthread_setattr_default_np.
29397         * Versions.def (libpthread): Add GLIBC_2.18.
29398         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29400         Likewise.
29401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29402         Likewise.
29403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29404         Likewise.
29405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29406         Likewise.
29407         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29408         Likewise.
29409         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29410         Likewise.
29411         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29412         Likewise.
29413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29414         Likewise.
29415         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29416         Likewise.
29418 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29420         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29421         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29423 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29424             H.J. Lu  <hjl.tools@gmail.com>
29426         [BZ #15627]
29427         * sysdeps/x86_64/rtld-memset.c: Remove file.
29428         * sysdeps/x86_64/rtld-memset.S: New file.
29430 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
29432         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29433         (test_in_one_mode): Take arguments for whether the rounding mode
29434         is supported for each floating-point type.
29435         (do_test): Pass new arguments to test_in_one_mode using
29436         ROUNDING_TESTS.
29438 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29440         * posix/tst-waitid.c (do_test): Distinguish different instances of
29441         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
29442         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29443         before entering the kernel for waitpid.
29445 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29447         * NEWS: Fix note on clock function precision.  Text by Roland
29448         McGrath.
29450 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29452         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29453         it into place only when and if the sanity check passes.
29455 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
29457         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29458         output for whether conversion result is exact.  Take argument
29459         indicating whether type is IBM long double.
29460         (round_for_all): Change need_exact field to ibm_ld.
29461         * stdlib/tst-strtod-round.c (struct exactness): New type.
29462         (struct test): Change bool ld_ok field to struct exactness exact.
29463         (TEST): Update all definitions for change to field.
29464         (tests): Regenerate array contents.
29465         (test_in_one_mode): Take pointer to new field instead of old ld_ok
29466         field value.  Check for IBM long double here.
29467         (do_test): Update calls to test_in_one_mode.
29469 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29471         [BZ #12515]
29472         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29473         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29475 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29477         [BZ #15605]
29478         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29479         generated by the compiler on loop optimizations.
29480         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29481         general definitions.
29483 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
29485         * math/bug-nextafter.c: Include <math-tests.h>.
29486         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29487         the relevant type.
29488         * math/bug-nexttoward.c: Include <math-tests.h>.
29489         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29490         the relevant type.
29491         * math/test-misc.c: Include <math-tests.h>.
29492         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29493         the relevant type.
29495 2013-06-12  Andreas Jaeger  <aj@suse.de>
29497         * po/ia.po: Update Interlingua translation from translation
29498         project.
29500 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29502         * include/fenv.h: Include stdbool.h.
29503         (struct rm_ctx): New structure.
29504         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29505         Define macro.
29506         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29507         (SET_RESTORE_ROUNDF): Likewise.
29508         (SET_RESTORE_ROUNDL): Likewise.
29509         (SET_RESTORE_ROUND_NOEX): Likewise.
29510         (SET_RESTORE_ROUND_NOEXF): Likewise.
29511         (SET_RESTORE_ROUND_NOEXL): Likewise.
29512         (SET_RESTORE_ROUND_53BIT): Likewise.
29513         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29514         (libc_feresetround_noexf_ctx): Likewise.
29515         (libc_feresetround_noexl_ctx): Likewise.
29516         (libc_feholdsetround_53bit_ctx): Likewise.
29517         (libc_feresetround_53bit_ctx): Likewise.
29518         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29519         (libc_feholdexcept_setround_sse_ctx): New function.
29520         (libc_fesetenv_sse_ctx): Likewise.
29521         (libc_feupdateenv_sse_ctx): Likewise.
29522         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29523         (libc_feholdexcept_setround_387_ctx): Likewise.
29524         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29525         (libc_feholdsetround_387_prec_ctx): Likewise.
29526         (libc_feholdsetround_387_ctx): Likewise.
29527         (libc_feholdsetround_387_53bit_ctx): Likewise.
29528         (libc_feholdsetround_sse_ctx): Likewise.
29529         (libc_feresetround_sse_ctx): Likewise.
29530         (libc_feresetround_387_ctx): Likewise.
29531         (libc_feupdateenv_387_ctx): Likewise.
29532         (libc_feholdexcept_setroundf_ctx): Define macro.
29533         (libc_fesetenvf_ctx): Likewise.
29534         (libc_feupdateenvf_ctx): Likewise.
29535         (libc_feholdsetroundf_ctx): Likewise.
29536         (libc_feresetroundf_ctx): Likewise.
29537         (libc_feholdexcept_setround_ctx): Likewise.
29538         (libc_fesetenv_ctx): Likewise.
29539         (libc_feupdateenv_ctx): Likewise.
29540         (libc_feholdsetround_ctx): Likewise.
29541         (libc_feresetround_ctx): Likewise.
29542         (libc_feholdexcept_setroundl_ctx): Likewise.
29543         (libc_feupdateenvl_ctx): Likewise.
29544         (libc_feholdsetroundl_ctx): Likewise.
29545         (libc_feresetroundl_ctx): Likewise.
29546         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29547         (libc_feresetround_53bit_ctx): Likewise.
29549 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29551         * locale/iso-639.def: Convert to UTF-8.
29553 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
29555         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29556         (EXCEPTION_TESTS_double): Likewise.
29557         (EXCEPTION_TESTS_long_double): Likewise.
29558         (EXCEPTION_TESTS): Likewise.
29559         * math/libm-test.inc (test_exceptions): Only test exceptions if
29560         EXCEPTION_TESTS (FLOAT).
29562 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29564         * benchtests/Makefile (string-bench): Add strcpy_chk and
29565         stpcpy_chk.
29566         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29567         * benchtests/bench-stpcpy_chk.c: New file.
29568         * benchtests/bench-strcpy_chk-ifunc.c: New file.
29569         * benchtests/bench-strcpy_chk.c: New file.
29570         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29571         code.
29572         (do_test): Likewise.
29574 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29576         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29577         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29578         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29579         with tabs where appropriate.
29580         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29581         dl-procinfo.h.
29582         [PPC_PLATFORM_PPC440]: Likewise.
29583         [PPC_PLATFORM_PPC464]: Likewise.
29584         [PPC_PLATFORM_PPC476]: Likewise.
29585         (_dl_string_platform): Add support for detecting ppc405, ppc440,
29586         ppc464, and ppc476 platform strings merging from ports/
29587         dl-procinfo.h.
29589 2013-06-11  Andreas Schwab  <schwab@suse.de>
29591         [BZ #14991]
29592         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29593         (from_ucs4_idx): Regenerate.
29594         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29595         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29596         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29597         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29598         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29599         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29600         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29601         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29602         from FROM_LOOP and TO_LOOP specific macros.
29603         (BODY): Handle combining characters.
29604         * iconvdata/BIG5HKSCS.irreversible: Update.
29605         * iconvdata/BIG5HKSCS.precomposed: New file.
29606         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29607         characters.
29608         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29610 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29612         * include/sys/time.h: Fix indentation and add copyright header.
29614         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29615         (do_test): Likewise.
29616         * string/test-memchr.c (do_one_test): Likewise.
29617         (do_test): Likewise.
29618         * string/test-memcmp.c (do_one_test): Likewise.
29619         (do_test): Likewise.
29620         * string/test-memcpy.c (do_one_test): Likewise.
29621         (do_test): Likewise.
29622         * string/test-memmem.c (do_one_test): Likewise.
29623         (do_test): Likewise.
29624         (do_random_tests): Likewise.
29625         * string/test-memmove.c (do_one_test): Likewise.
29626         (do_test): Likewise.
29627         * string/test-memset.c (do_one_test): Likewise.
29628         (do_test): Likewise.
29629         * string/test-rawmemchr.c (do_one_test): Likewise.
29630         (do_test): Likewise.
29631         * string/test-strcasecmp.c (do_one_test): Likewise.
29632         (do_test): Likewise.
29633         * string/test-strcasestr.c (do_one_test): Likewise.
29634         (do_test): Likewise.
29635         * string/test-strcat.c (do_one_test): Likewise.
29636         (do_test): Likewise.
29637         * string/test-strchr.c (do_one_test): Likewise.
29638         (do_test): Likewise.
29639         * string/test-strcmp.c (do_one_test): Likewise.
29640         (do_test): Likewise.
29641         * string/test-strcpy.c (do_one_test): Likewise.
29642         (do_test): Likewise.
29643         * string/test-string.h: Likewise.
29644         (test_init): Likewise.
29645         * string/test-strlen.c (do_one_test): Likewise.
29646         (do_test): Likewise.
29647         * string/test-strncasecmp.c (do_one_test): Likewise.
29648         (do_test): Likewise.
29649         * string/test-strncat.c (do_one_test): Likewise.
29650         (do_test): Likewise.
29651         * string/test-strncmp.c (do_one_test): Likewise.
29652         (do_test_limit): Likewise.
29653         (do_test): Likewise.
29654         * string/test-strncpy.c (do_one_test): Likewise.
29655         (do_test): Likewise.
29656         * string/test-strnlen.c (do_one_test): Likewise.
29657         (do_test): Likewise.
29658         * string/test-strpbrk.c (do_one_test): Likewise.
29659         (do_test): Likewise.
29660         * string/test-strrchr.c (do_one_test): Likewise.
29661         (do_test): Likewise.
29662         * string/test-strspn.c (do_one_test): Likewise.
29663         (do_test): Likewise.
29664         * string/test-strstr.c (do_one_test): Likewise.
29665         (do_test): Likewise.
29667         * benchtests/Makefile (string-bench): Add string benchmarks.
29668         * benchtests/bench-bcopy-ifunc.c: New file.
29669         * benchtests/bench-bcopy.c: New file.
29670         * benchtests/bench-bzero-ifunc.c: New file.
29671         * benchtests/bench-bzero.c: New file.
29672         * benchtests/bench-memccpy-ifunc.c: New file.
29673         * benchtests/bench-memccpy.c: New file.
29674         * benchtests/bench-memchr-ifunc.c: New file.
29675         * benchtests/bench-memchr.c: New file.
29676         * benchtests/bench-memcmp-ifunc.c: New file.
29677         * benchtests/bench-memcmp.c: New file.
29678         * benchtests/bench-memmem-ifunc.c: New file.
29679         * benchtests/bench-memmem.c: New file.
29680         * benchtests/bench-memmove-ifunc.c: New file.
29681         * benchtests/bench-memmove.c: New file.
29682         * benchtests/bench-mempcpy-ifunc.c: New file.
29683         * benchtests/bench-mempcpy.c: New file.
29684         * benchtests/bench-memset-ifunc.c: New file.
29685         * benchtests/bench-memset.c: New file.
29686         * benchtests/bench-rawmemchr-ifunc.c: New file.
29687         * benchtests/bench-rawmemchr.c: New file.
29688         * benchtests/bench-stpcpy-ifunc.c: New file.
29689         * benchtests/bench-stpcpy.c: New file.
29690         * benchtests/bench-stpncpy-ifunc.c: New file.
29691         * benchtests/bench-stpncpy.c: New file.
29692         * benchtests/bench-strcasecmp-ifunc.c: New file.
29693         * benchtests/bench-strcasecmp.c: New file.
29694         * benchtests/bench-strcasestr-ifunc.c: New file.
29695         * benchtests/bench-strcasestr.c: New file.
29696         * benchtests/bench-strcat-ifunc.c: New file.
29697         * benchtests/bench-strcat.c: New file.
29698         * benchtests/bench-strchr-ifunc.c: New file.
29699         * benchtests/bench-strchr.c: New file.
29700         * benchtests/bench-strchrnul-ifunc.c: New file.
29701         * benchtests/bench-strchrnul.c: New file.
29702         * benchtests/bench-strcmp-ifunc.c: New file.
29703         * benchtests/bench-strcmp.c: New file.
29704         * benchtests/bench-strcpy-ifunc.c: New file.
29705         * benchtests/bench-strcpy.c: New file.
29706         * benchtests/bench-strcspn-ifunc.c: New file.
29707         * benchtests/bench-strcspn.c: New file.
29708         * benchtests/bench-strlen-ifunc.c: New file.
29709         * benchtests/bench-strlen.c: New file.
29710         * benchtests/bench-strncasecmp-ifunc.c: New file.
29711         * benchtests/bench-strncasecmp.c: New file.
29712         * benchtests/bench-strncat-ifunc.c: New file.
29713         * benchtests/bench-strncat.c: New file.
29714         * benchtests/bench-strncmp-ifunc.c: New file.
29715         * benchtests/bench-strncmp.c: New file.
29716         * benchtests/bench-strncpy-ifunc.c: New file.
29717         * benchtests/bench-strncpy.c: New file.
29718         * benchtests/bench-strnlen-ifunc.c: New file.
29719         * benchtests/bench-strnlen.c: New file.
29720         * benchtests/bench-strpbrk-ifunc.c: New file.
29721         * benchtests/bench-strpbrk.c: New file.
29722         * benchtests/bench-strrchr-ifunc.c: New file.
29723         * benchtests/bench-strrchr.c: New file.
29724         * benchtests/bench-strspn-ifunc.c: New file.
29725         * benchtests/bench-strspn.c: New file.
29726         * benchtests/bench-strstr-ifunc.c: New file.
29727         * benchtests/bench-strstr.c: New file.
29729         * benchtests/Makefile: Disable parallel execution of targets.
29730         (string-bench): Add memcpy.
29731         (benchset): New variable to store a list of benchmark sets.
29732         (bench-func): Renamed from bench.
29733         (bench-set): New target.
29734         (bench): Depend on bench-func and bench-set.
29735         * benchtests/README: Add section on benchmark sets.
29736         * benchtests/bench-memcpy-ifunc.c: New file.
29737         * benchtests/bench-memcpy.c: New file.
29738         * benchtests/bench-string.h: New file.
29740 2013-06-11  Andreas Schwab  <schwab@suse.de>
29742         [BZ #15577]
29743         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29744         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29745         values in the triple.
29746         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29747         terminator in the group key.
29749 2013-06-11  Andreas Jaeger  <aj@suse.de>
29751         * po/zh_TW.po: Update Chinese (traditional) translation from
29752         translation project.
29754 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29756         * include/time.h (__clock_gettime): Add libc_hidden_proto.
29757         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29758         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
29759         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29760         (clock_getcpuclockid): Likewise.
29761         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29762         Add weak_alias and libc_hidden_def.
29763         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29764         * rt/clock_gettime.c (clock_gettime): Rename to
29765         __clock_gettime.  Add weak_alias and libc_hidden_def.
29766         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29767         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29768         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
29769         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29770         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29771         Likewise.
29772         * rt/clock_settime.c (clock_settime): Rename to
29773         __clock_settime.  Add weak_alias and libc_hidden_def.
29774         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29776 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
29778         * mach/err_boot.sub: Remove trailing whitespace.
29779         * mach/err_ipc.sub: Likewise.
29780         * mach/err_mach.sub: Likewise.
29782         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29783         (ROUNDING_TESTS_double): Likewise.
29784         (ROUNDING_TESTS_long_double): Likewise.
29785         (ROUNDING_TESTS): Likewise.
29786         * math/libm-test.inc: Include <math-tests.h>.
29787         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29788         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29789         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29790         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29792 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29794         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29795         of assigning.
29797 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
29799         * sysdeps/gnu/errlist.awk: Do not generate space at end of
29800         otherwise empty TRANS lines.
29801         * sysdeps/gnu/errlist.c: Regenerated.
29803         * catgets/gencat.c (error_print): Use (void) in function
29804         definition.
29805         * crypt/crypt_util.c (__init_des): Likewise.
29806         * crypt/speeds.c (Stop): Likewise.
29807         (main): Likewise.
29808         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29809         * inet/ruserpass.c (token): Likewise.
29810         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29811         * intl/localealias.c (extend_alias_table): Likewise.
29812         * intl/plural-exp.c (init_germanic_plural): Likewise.
29813         * libio/fcloseall.c (__fcloseall): Likewise.
29814         * libio/genops.c (_IO_flush_all): Likewise.
29815         (_IO_flush_all_linebuffered): Likewise.
29816         (_IO_cleanup): Likewise.
29817         (_IO_iter_begin): Likewise.
29818         (_IO_iter_end): Likewise.
29819         (_IO_list_lock): Likewise.
29820         (_IO_list_unlock): Likewise.
29821         (_IO_list_resetlock): Likewise.
29822         * libio/getchar.c (getchar): Likewise.
29823         * libio/getchar_u.c (getchar_unlocked): Likewise.
29824         * libio/getwchar.c (getwchar): Likewise.
29825         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29826         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29827         * login/getpt.c (__getpt): Likewise.
29828         * login/tst-utmp.c (main): Likewise.
29829         * malloc/hooks.c (__malloc_check_init): Likewise.
29830         * malloc/malloc.c (__malloc_stats): Likewise.
29831         * malloc/mtrace.c (tr_break): Likewise.
29832         (mtrace): Likewise.
29833         (muntrace): Likewise.
29834         * misc/fstab.c (endfsent): Likewise.
29835         * misc/getclktck.c (__getclktck): Likewise.
29836         * misc/getdtsz.c (__getdtablesize): Likewise.
29837         * misc/gethostid.c (gethostid): Likewise.
29838         * misc/getpagesize.c (__getpagesize): Likewise.
29839         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29840         (__get_nprocs): Likewise.
29841         (__get_phys_pages): Likewise.
29842         (__get_avphys_pages): Likewise.
29843         * misc/getttyent.c (getttyent): Likewise.
29844         (setttyent): Likewise.
29845         (endttyent): Likewise.
29846         * misc/getusershell.c (getusershell): Likewise.
29847         (endusershell): Likewise.
29848         (setusershell): Likewise.
29849         (initshells): Likewise.
29850         * misc/hsearch.c (__hdestroy): Likewise.
29851         * misc/sync.c (sync): Likewise.
29852         * misc/syslog.c (closelog_internal): Likewise.
29853         (closelog): Likewise.
29854         * misc/ttyslot.c (ttyslot): Likewise.
29855         * misc/vhangup.c (vhangup): Likewise.
29856         * posix/fork.c (__fork): Likewise.
29857         * posix/getegid.c (__getegid): Likewise.
29858         * posix/geteuid.c (__geteuid): Likewise.
29859         * posix/getgid.c (__getgid): Likewise.
29860         * posix/getpid.c (__getpid): Likewise.
29861         * posix/getppid.c (__getppid): Likewise.
29862         * posix/getuid.c (__getuid): Likewise.
29863         * posix/pause.c (pause): Likewise.
29864         * posix/setpgrp.c (setpgrp): Likewise.
29865         * posix/setsid.c (__setsid): Likewise.
29866         * posix/test-vfork.c (noop): Likewise.
29867         * resolv/gethnamaddr.c (_endhtent): Likewise.
29868         (_gethtent): Likewise.
29869         (ht_endhostent): Likewise.
29870         (gethostent): Likewise.
29871         (dns_service): Likewise.
29872         * stdlib/drand48.c (drand48): Likewise.
29873         * stdlib/lrand48.c (lrand48): Likewise.
29874         * stdlib/mrand48.c (mrand48): Likewise.
29875         * stdlib/rand.c (rand): Likewise.
29876         * stdlib/random.c (__random): Likewise.
29877         * stdlib/setenv.c (clearenv): Likewise.
29878         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29879         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29880         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29881         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29882         (__get_nprocs): Likewise.
29883         (__get_phys_pages): Likewise.
29884         (__get_avphys_pages): Likewise.
29885         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29886         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29887         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29888         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29889         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29890         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29891         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29892         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29893         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29894         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29895         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29896         * sysdeps/mach/hurd/sync.c (sync): Likewise.
29897         * sysdeps/posix/clock.c (clock): Likewise.
29898         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29899         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29900         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29901         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29902         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29903         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29904         (__get_nprocs_conf): Likewise.
29905         (__get_phys_pages): Likewise.
29906         (__get_avphys_pages): Likewise.
29907         * time/clock.c (clock): Likewise.
29908         * time/tzset.c (__tzname_max): Likewise.
29910 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
29912         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29913         (__bswap_32): Do not use "register".
29914         * crypt/crypt.c (_ufc_doit_r): Likewise.
29915         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29916         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29917         * gmon/gmon.c (__monstartup): Likewise.
29918         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29919         * hurd/hurdmalloc.c (more_memory): Likewise.
29920         (malloc): Likewise.
29921         (free): Likewise.
29922         (realloc): Likewise.
29923         (malloc_fork_prepare): Likewise.
29924         (malloc_fork_parent): Likewise.
29925         (malloc_fork_child): Likewise.
29926         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29927         (_svcauth_des): Likewise.
29928         * inet/inet_lnaof.c (inet_lnaof): Likewise.
29929         * inet/inet_net.c (inet_network): Likewise.
29930         * inet/inet_netof.c (inet_netof): Likewise.
29931         * inet/rcmd.c (__validuser2_sa): Likewise.
29932         * io/fts.c (fts_open): Likewise.
29933         (fts_load): Likewise.
29934         (fts_close): Likewise.
29935         (fts_read): Likewise.
29936         (fts_children): Likewise.
29937         (fts_build): Likewise.
29938         (fts_stat): Likewise.
29939         (fts_sort): Likewise.
29940         (fts_alloc): Likewise.
29941         (fts_lfree): Likewise.
29942         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29943         (_IO_file_xsgetn): Likewise.
29944         (_IO_file_xsgetn_mmap): Likewise.
29945         * libio/iofopncook.c (_IO_cookie_read): Likewise.
29946         (_IO_cookie_write): Likewise.
29947         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29948         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29949         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29950         * malloc/obstack.c (_obstack_begin): Likewise.
29951         (_obstack_begin_1): Likewise.
29952         (_obstack_newchunk): Likewise.
29953         (_obstack_allocated_p): Likewise.
29954         (obstack_free): Likewise.
29955         (_obstack_memory_used): Likewise.
29956         * misc/getttyent.c (getttynam): Likewise.
29957         (getttyent): Likewise.
29958         (skip): Likewise.
29959         (value): Likewise.
29960         * misc/getusershell.c (initshells): Likewise.
29961         * misc/syslog.c (__vsyslog_chk): Likewise.
29962         * misc/ttyslot.c (ttyslot): Likewise.
29963         * nis/nis_hash.c (__nis_hash): Likewise.
29964         * posix/fnmatch_loop.c (FCT): Likewise.
29965         * posix/getconf.c (print_all): Likewise.
29966         (main): Likewise.
29967         * posix/getopt.c (exchange): Likewise.
29968         * posix/glob.c (globfree): Likewise.
29969         (prefix_array): Likewise.
29970         (__glob_pattern_type): Likewise.
29971         * resolv/arpa/nameser.h (NS_GET16): Likewise.
29972         (NS_GET32): Likewise.
29973         (NS_PUT16): Likewise.
29974         (NS_PUT32): Likewise.
29975         * resolv/gethnamaddr.c (getanswer): Likewise.
29976         (gethostbyname2): Likewise.
29977         (gethostbyaddr): Likewise.
29978         (_gethtent): Likewise.
29979         (_gethtbyname2): Likewise.
29980         (_gethtbyaddr): Likewise.
29981         * resolv/ns_print.c (dst_s_get_int16): Likewise.
29982         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29983         * resolv/res_init.c (__res_vinit): Likewise.
29984         (net_mask): Likewise.
29985         * resolv/res_mkquery.c (outchar): Likewise.
29986         (PRINT): Likewise.
29987         * stdio-common/printf_fp.c (outchar): Likewise.
29988         (PRINT): Likewise.
29989         * stdio-common/printf_fphex.c (outchar): Likewise.
29990         (PRINT): Likewise.
29991         * stdio-common/printf_size.c (outchar): Likewise.
29992         (PRINT): Likewise.
29993         * stdio-common/test_rdwr.c (main): Likewise.
29994         * stdio-common/tfformat.c (matches): Likewise.
29995         * stdio-common/vfprintf.c (outchar): Likewise.
29996         (printf_unknown): Likewise.
29997         (buffered_vfprintf): Likewise.
29998         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29999         * stdio-common/xbug.c (AppendToBuffer): Likewise.
30000         (ReadFile): Likewise.
30001         * stdlib/qsort.c (SWAP): Likewise.
30002         (_quicksort): Likewise.
30003         * stdlib/setenv.c (__add_to_environ): Likewise.
30004         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
30005         * stdlib/strtol_l.c (__strtol_l): Likewise.
30006         * stdlib/tst-strtod.c (main): Likewise.
30007         * stdlib/tst-strtol.c (main): Likewise.
30008         * stdlib/tst-strtoll.c (main): Likewise.
30009         * string/bits/string2.h (__strcmp_cc): Likewise.
30010         (__strcmp_cg): Likewise.
30011         (__strcspn_c1): Likewise.
30012         (__strcspn_c2): Likewise.
30013         (__strcspn_c3): Likewise.
30014         (__strspn_c1): Likewise.
30015         (__strspn_c2): Likewise.
30016         (__strspn_c3): Likewise.
30017         (__strsep_1c): Likewise.
30018         (__strsep_2c): Likewise.
30019         (__strsep_3c): Likewise.
30020         * string/memccpy.c (__memccpy): Likewise.
30021         * string/stpcpy.c (__stpcpy): Likewise.
30022         * string/strcmp.c (strcmp): Likewise.
30023         * string/strrchr.c (strrchr): Likewise.
30024         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
30025         Likewise.
30026         * sysdeps/mach/hurd/getcwd.c
30027         (_hurd_canonicalize_directory_name_internal): Likewise.
30028         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
30029         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
30030         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
30031         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
30032         Likewise, in both definitions.
30033         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
30034         definitions.
30035         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
30036         64] (__bswap_64): Likewise.
30037         * time/test_time.c (main): Likewise.
30038         * time/tzfile.c (__tzfile_read): Likewise.
30039         (__tzfile_compute): Likewise.
30040         * time/tzset.c (__tzset_parse_tz): Likewise.
30041         (tzset_internal): Likewise.
30042         (compute_change): Likewise.
30043         * wcsmbs/wcscat.c (__wcscat): Likewise.
30044         * wcsmbs/wcschr.c (wcschr): Likewise.
30045         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
30046         * wcsmbs/wcscspn.c (wcscspn): Likewise.
30047         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
30048         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
30049         * wcsmbs/wcsspn.c (wcsspn): Likewise.
30050         * wcsmbs/wcsstr.c (wcsstr): Likewise.
30051         * wcsmbs/wmemchr.c (wmemchr): Likewise.
30052         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30053         * wcsmbs/wmemset.c (wmemset): Likewise.
30055 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
30057         * scripts/config.guess: Update to version 2013-05-16.
30058         * scripts/config.sub: Update to version 2013-04-24.
30059         * scripts/install-sh: Update to version 2011-11-20.07.
30060         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
30061         * scripts/move-if-change: Update to version 2012-01-06 07:23.
30063 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
30065         * debug/fgetws_u_chk.c: Fix leading whitespaces.
30066         * elf/sln.c: Likewise.
30067         * hurd/hurd/ioctl.h: Likewise.
30068         * hurd/hurdmalloc.c: Likewise.
30069         * hurd/xattr.c: Likewise.
30070         * include/shlib-compat.h: Likewise.
30071         * inet/ruserpass.c: Likewise.
30072         * libio/iofgets_u.c: Likewise.
30073         * libio/iofgetws_u.c: Likewise.
30074         * locale/programs/ld-identification.c: Likewise.
30075         * locale/programs/ld-time.c: Likewise.
30076         * mach/msg-destroy.c: Likewise.
30077         * nss/nss_files/files-netgrp.c: Likewise.
30078         * resolv/res_data.c: Likewise.
30079         * soft-fp/op-1.h: Likewise.
30080         * soft-fp/op-2.h: Likewise.
30081         * soft-fp/op-4.h: Likewise.
30082         * soft-fp/op-common.h: Likewise.
30083         * stdio-common/printf_fphex.c: Likewise.
30084         * stdlib/strtod_l.c: Likewise.
30085         * sunrpc/rpc/clnt.h: Likewise.
30086         * sysdeps/generic/framestate.c: Likewise.
30087         * sysdeps/i386/bsd-_setjmp.S: Likewise.
30088         * sysdeps/i386/bsd-setjmp.S: Likewise.
30089         * sysdeps/i386/__longjmp.S: Likewise.
30090         * sysdeps/i386/setjmp.S: Likewise.
30091         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
30092         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
30093         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30094         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30095         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30096         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
30097         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
30098         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
30099         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
30100         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
30101         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
30102         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
30103         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
30104         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
30105         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
30106         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
30107         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
30108         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
30109         * sysdeps/ieee754/support.c: Likewise.
30110         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30111         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
30112         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
30113         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
30114         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
30115         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
30116         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
30117         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
30118         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
30119         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
30120         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
30121         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
30122         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
30123         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
30124         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
30125         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
30126         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
30127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
30129 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
30131         * posix/transbug.c: Remove executable mode.
30133 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
30135         * crypt/speeds.c: Remove trailing whitespace.
30136         * dlfcn/default.c: Likewise.
30137         * elf/ifuncdep2.c: Likewise.
30138         * elf/ifuncmain1.c: Likewise.
30139         * elf/ifuncmain1vis.c: Likewise.
30140         * elf/testobj.h: Likewise.
30141         * elf/tst-stackguard1.c: Likewise.
30142         * gmon/sys/gmon.h: Likewise.
30143         * hurd/hurdmsg.c: Likewise.
30144         * hurd/new-fd.c: Likewise.
30145         * hurd/ports-get.c: Likewise.
30146         * iconvdata/ibm1008_420.c: Likewise.
30147         * inet/tst-getni1.c: Likewise.
30148         * inet/tst-getni2.c: Likewise.
30149         * libio/ioungetc.c: Likewise.
30150         * libio/wfiledoalloc.c: Likewise.
30151         * manual/libm-err-tab.pl: Likewise.
30152         * math/w_dremf.c: Likewise.
30153         * misc/ftruncate.c: Likewise.
30154         * posix/bug-glob2.c: Likewise.
30155         * posix/tst-pcre.c: Likewise.
30156         * posix/wait4.c: Likewise.
30157         * resolv/README: Likewise.
30158         * resolv/res_debug.h: Likewise.
30159         * resolv/tst-inet_ntop.c: Likewise.
30160         * setjmp/bug269-setjmp.c: Likewise.
30161         * soft-fp/extended.h: Likewise.
30162         * soft-fp/op-1.h: Likewise.
30163         * soft-fp/op-2.h: Likewise.
30164         * soft-fp/op-4.h: Likewise.
30165         * soft-fp/op-8.h: Likewise.
30166         * soft-fp/testit.c: Likewise.
30167         * stdio-common/bug16.c: Likewise.
30168         * stdlib/random.c: Likewise.
30169         * sunrpc/rpcsvc/rquota.x: Likewise.
30170         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30171         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30172         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30173         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30174         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30175         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30176         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30177         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30178         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30179         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30180         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30181         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30182         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30183         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30184         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30185         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30186         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30187         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30188         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30189         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30190         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30191         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30192         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30193         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30194         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30195         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30196         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30197         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30198         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30199         * sysdeps/ieee754/s_lib_version.c: Likewise.
30200         * sysdeps/mach/hurd/check_fds.c: Likewise.
30201         * sysdeps/mach/hurd/getsockname.c: Likewise.
30202         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30203         * sysdeps/mach/hurd/recvfrom.c: Likewise.
30204         * sysdeps/powerpc/bits/link.h: Likewise.
30205         * sysdeps/powerpc/dl-procinfo.c: Likewise.
30206         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30207         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30208         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30209         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30210         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30211         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30212         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30213         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30214         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30215         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30216         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30217         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30218         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30219         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30220         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30221         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30222         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30223         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30224         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30225         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30226         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30227         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30228         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30229         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30230         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30231         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30232         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30233         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30234         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30235         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30236         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30237         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30238         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30239         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30240         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30241         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30242         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30243         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30244         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30245         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30246         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30247         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30248         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30249         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30250         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30251         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30252         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30253         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30254         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30255         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30256         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30257         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30258         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30259         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30260         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30261         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30262         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30263         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30264         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30265         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30266         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30267         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30268         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30269         * sysdeps/powerpc/sysdep.h: Likewise.
30270         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30271         * sysdeps/s390/s390-64/sub_n.S: Likewise.
30272         * sysdeps/sh/dl-trampoline.S: Likewise.
30273         * sysdeps/sh/memset.S: Likewise.
30274         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30275         * sysdeps/sh/strlen.S: Likewise.
30276         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30277         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30278         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30279         * sysdeps/sparc/sparc32/rem.S: Likewise.
30280         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30281         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30282         * sysdeps/sparc/sparc32/strchr.S: Likewise.
30283         * sysdeps/sparc/sparc32/udiv.S: Likewise.
30284         * sysdeps/sparc/sparc32/urem.S: Likewise.
30285         * sysdeps/sparc/sparc64/add_n.S: Likewise.
30286         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30287         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30288         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30289         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30290         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30291         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30292         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30293         * sysdeps/unix/bsd/times.c: Likewise.
30294         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30295         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30299         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30300         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30301         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30302         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30303         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30304         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30305         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30306         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30307         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30308         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30309         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30310         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30311         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30312         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30313         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30314         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30315         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30316         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30317         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30318         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30319         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30320         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30321         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30322         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30323         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30324         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30325         * sysdeps/x86_64/strcspn.S: Likewise.
30327 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30329         * locale/C-translit.h: Revert #include <stdint.h> because this is a
30330         generated file.  Regenerate properly from gen-translit.pl.
30331         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
30332         locale/C-translit.h.
30334 2013-06-05  Andreas Schwab  <schwab@suse.de>
30336         [BZ #15100]
30337         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30338         week as 6 instead of -1.
30339         * time/tst-strptime.c (day_tests): Add test case.
30341 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30343         * sysdeps/generic/math_private.h
30344         (libc_feholdexcept_setround_53bit): Replace with
30345         libc_feholdsetround_53bit.
30346         (libc_feupdateenv_53bit): Replace with
30347         libc_feresetround_53bit.
30348         (SET_RESTORE_ROUND_53BIT): Adjust.
30350 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30352         * string/test-strchrnul.c: Add copyright header.
30354         * posix/tst-getaddrinfo4.c: Increase test timeout.
30356 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
30358         [BZ #15536]
30359         * math/libm-test.inc (MAX_EXP): Remove
30360         (MIN_EXP): Define.
30361         (ulp): Use MIN_EXP - MANT_DIG.
30362         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30364 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
30366         * po/be.po: Revert last change.
30367         * po/zh_CN.po: Likewise.
30368         * po/header.pot: Likewise.
30370 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
30372         * Makefile ($(common-objpfx)linkobj/libc.so): Define
30373         link-libc-deps to empty as target-specific variable.
30374         * Makerules (link-libc-args): New variable.
30375         (libc-for-link): Likewise.
30376         (link-libc-deps): Likewise.
30377         (lib%.so): Depend on $(link-libc-deps).  Link with
30378         $(link-libc-args).
30379         (build-module): Link with $(link-libc-args).
30380         (build-module-asneeded): Likewise.
30381         (build-module-helper-objlist): Filter out $(link-libc-deps) from
30382         list of objects.
30383         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30384         target-specific variable.
30385         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30386         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30387         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30388         libc.
30389         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30390         libc and ld.so.
30391         ($(objpfx)libpcprofile.so): Likewise.
30392         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30393         libc_nonshared.a.
30394         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30395         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30396         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30397         $(link-libc-deps).
30398         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30399         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30400         * login/Makefile ($(objpfx)libutil.so): Likewise.
30401         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30402         * math/Makefile ($(objpfx)libm.so): Likewise.
30403         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30404         $(objpfx)libnsl.so): Define libc-for-link as target-specific
30405         variable instead of depending directly on libc.
30406         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30407         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30408         $(link-libc-deps).
30409         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30410         libc.
30411         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30412         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30413         ($(objpfx)libanl.so): Likewise.
30414         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30415         ld.so.
30416         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30417         $(link-libc-deps).
30418         * sysdeps/i386/fpu/Makefile: Remove file.
30419         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30420         ($(objpfx)libm.so): Remove dependency on ld.so.
30422 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
30424         [BZ # 15553]
30425         * nis/yp_xdr.c (XDRMAXNAME): Define.
30426         (XDRMAXRECORD): Define.
30427         (xdr_domainname): Use XDRMAXNAME.
30428         (xdr_mapname): Likewise.
30429         (xdr_peername): Likewise.
30430         (xdr_keydat): Use XDRMAXRECORD.
30431         (xdr_valdat): Likewise.
30433 2013-05-30  Jeff Law  <law@redhat.com>
30435         [BZ #14256]
30436         * manual/errno.texi (ESTALE): Update to account for more than
30437         just NFS file systems.
30438         * sysdeps/gnu/errlist.c: Regenerated.
30440 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30442         [BZ #15465]
30443         * elf/Makefile (tests): Add tst-null-argv.
30444         (modules-names):  Add tst-null-argv-lib.
30445         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30446         (tst-null-argv-ENV): Set environment for tst-null-argv.
30447         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30448         (RTLD_PROGNAME): New macro.
30449         * elf/tst-null-argv.c: New test case.
30450         * elf/tst-null-argv-lib.c: Library for test case.
30451         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30452         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30453         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30454         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30455         * elf/dl-init.c (call_init): Likewise.
30456         (_dl_init): Likewise.
30457         * elf/dl-load.c (print_search_path): Likewise.
30458         (_dl_map_object): Likewise.
30459         * elf/dl-lookup.c (do_lookup_x): Likewise.
30460         (add_dependency): Likewise.
30461         (_dl_lookup_symbol_x): Likewise.
30462         (_dl_debug_bindings): Likewise.
30463         * elf/dl-open.c (_dl_show_scope): Likewise.
30464         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30465         * elf/dl-version.c (match_symbol): Likewise.
30466         (_dl_check_map_versions): Likewise.
30467         * elf/rtld.c (dl_main): Likewise.
30468         (print_unresolved): Use RTLD_PROGNAME.
30469         (print_missing_version): Likewise.
30470         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30471         (elf_machine_rela): Likewise.
30472         * sysdeps/powerpc/powerpc32/dl-machine.c
30473         (__process_machine_rela): Likewise.
30474         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30475         Likewise.
30476         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30477         Likewise.
30478         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30479         Likewise.
30480         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30481         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30482         Likewise.
30483         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30484         Likewise.
30485         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30487 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
30489         * po/be.po: Add descriptive title.
30490         * po/zh_CN.po: Likewise.
30491         * po/header.pot: Likewise.
30493 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
30495         * locale/programs/locarchive.c (create_archive): Inlucde fname in
30496         error message.
30497         (enlarge_archive): Likewise.
30499 2013-05-28  Ben North  <ben@redfrontdoor.org>
30501         * manual/arith.texi (frexp): It is the magnitude of the return
30502         value which lies in [0.5, 1), not the return value itself.
30504 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30506         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30508 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
30510         * stdio-common/bug26.c (main): Correct fscanf template.
30512         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30513         declare _dl_skip_args.
30515         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30516         Don't declare.
30518         * manual/platform.texi: Add missing @end deftypefun.
30520 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30522         [BZ #15529]
30523         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30524         bit of mantissa of 2^16382.
30525         * math/libm-test.inc (hypot_test_data): Add more tests.
30527         * math/libm-test.inc: Add drem and pow10 to list of tested
30528         functions.
30529         (pow10_test): New function.
30530         (drem_test): Likewise.
30531         (drem_test_tonearest): Likewise.
30532         (drem_test_towardzero): Likewise.
30533         (drem_test_downward): Likewise.
30534         (drem_test_upward): Likewise.
30535         (main): Call the new functions.
30537         * math/libm-test.inc (finite_test_data): Remove.
30538         (finite_test): Run tests from isfinite_test_data.
30539         (gamma_test_data): Remove.
30540         (gamma_test): Run tests from lgamma_test_data.
30541         * sysdeps/i386/fpu/libm-test-ulps: Update.
30542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30544 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30546         * manual/platform.texi: Add PowerPC PPR function set documentation.
30547         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30548         implementation.
30550 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
30552         * math/libm-test.inc (MAX_EXP): Define.
30553         (ULPDIFF): Define.
30554         (ulp): New function.
30555         (check_float_internal): Use ULPDIFF.
30556         (cpow_test): Disable failing test.
30557         (check_ulp): Test ulp() implemetnation.
30558         (main): Call check_ulp before starting tests.
30560 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30562         * math/gen-libm-test.pl (generate_testfile): Do not handle
30563         START_DATA and END_DATA.
30564         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30565         END_DATA.
30566         (acos_tonearest_test_data): Likewise.
30567         (acos_towardzero_test_data): Likewise.
30568         (acos_downward_test_data): Likewise.
30569         (acos_upward_test_data): Likewise.
30570         (acosh_test_data): Likewise.
30571         (asin_test_data): Likewise.
30572         (asin_tonearest_test_data): Likewise.
30573         (asin_towardzero_test_data): Likewise.
30574         (asin_downward_test_data): Likewise.
30575         (asin_upward_test_data): Likewise.
30576         (asinh_test_data): Likewise.
30577         (atan_test_data): Likewise.
30578         (atanh_test_data): Likewise.
30579         (atan2_test_data): Likewise.
30580         (cabs_test_data): Likewise.
30581         (cacos_test_data): Likewise.
30582         (cacosh_test_data): Likewise.
30583         (carg_test_data): Likewise.
30584         (casin_test_data): Likewise.
30585         (casinh_test_data): Likewise.
30586         (catan_test_data): Likewise.
30587         (catanh_test_data): Likewise.
30588         (cbrt_test_data): Likewise.
30589         (ccos_test_data): Likewise.
30590         (ccosh_test_data): Likewise.
30591         (ceil_test_data): Likewise.
30592         (cexp_test_data): Likewise.
30593         (cimag_test_data): Likewise.
30594         (clog_test_data): Likewise.
30595         (clog10_test_data): Likewise.
30596         (conj_test_data): Likewise.
30597         (copysign_test_data): Likewise.
30598         (cos_test_data): Likewise.
30599         (cos_tonearest_test_data): Likewise.
30600         (cos_towardzero_test_data): Likewise.
30601         (cos_downward_test_data): Likewise.
30602         (cos_upward_test_data): Likewise.
30603         (cosh_test_data): Likewise.
30604         (cosh_tonearest_test_data): Likewise.
30605         (cosh_towardzero_test_data): Likewise.
30606         (cosh_downward_test_data): Likewise.
30607         (cosh_upward_test_data): Likewise.
30608         (cpow_test_data): Likewise.
30609         (cproj_test_data): Likewise.
30610         (creal_test_data): Likewise.
30611         (csin_test_data): Likewise.
30612         (csinh_test_data): Likewise.
30613         (csqrt_test_data): Likewise.
30614         (ctan_test_data): Likewise.
30615         (ctan_tonearest_test_data): Likewise.
30616         (ctan_towardzero_test_data): Likewise.
30617         (ctan_downward_test_data): Likewise.
30618         (ctan_upward_test_data): Likewise.
30619         (ctanh_test_data): Likewise.
30620         (ctanh_tonearest_test_data): Likewise.
30621         (ctanh_towardzero_test_data): Likewise.
30622         (ctanh_downward_test_data): Likewise.
30623         (ctanh_upward_test_data): Likewise.
30624         (erf_test_data): Likewise.
30625         (erfc_test_data): Likewise.
30626         (exp_test_data): Likewise.
30627         (exp_tonearest_test_data): Likewise.
30628         (exp_towardzero_test_data): Likewise.
30629         (exp_downward_test_data): Likewise.
30630         (exp_upward_test_data): Likewise.
30631         (exp10_test_data): Likewise.
30632         (exp2_test_data): Likewise.
30633         (expm1_test_data): Likewise.
30634         (fabs_test_data): Likewise.
30635         (fdim_test_data): Likewise.
30636         (finite_test_data): Likewise.
30637         (floor_test_data): Likewise.
30638         (fma_test_data): Likewise.
30639         (fma_towardzero_test_data): Likewise.
30640         (fma_downward_test_data): Likewise.
30641         (fma_upward_test_data): Likewise.
30642         (fmax_test_data): Likewise.
30643         (fmin_test_data): Likewise.
30644         (fmod_test_data): Likewise.
30645         (fpclassify_test_data): Likewise.
30646         (frexp_test_data): Likewise.
30647         (gamma_test_data): Likewise.
30648         (hypot_test_data): Likewise.
30649         (ilogb_test_data): Likewise.
30650         (isfinite_test_data): Likewise.
30651         (isgreater_test_data): Likewise.
30652         (isgreaterequal_test_data): Likewise.
30653         (isinf_test_data): Likewise.
30654         (isless_test_data): Likewise.
30655         (islessequal_test_data): Likewise.
30656         (islessgreater_test_data): Likewise.
30657         (isnan_test_data): Likewise.
30658         (isnormal_test_data): Likewise.
30659         (issignaling_test_data): Likewise.
30660         (isunordered_test_data): Likewise.
30661         (j0_test_data): Likewise.
30662         (j1_test_data): Likewise.
30663         (jn_test_data): Likewise.
30664         (ldexp_test_data): Likewise.
30665         (lgamma_test_data): Likewise.
30666         (lrint_test_data): Likewise.
30667         (lrint_tonearest_test_data): Likewise.
30668         (lrint_towardzero_test_data): Likewise.
30669         (lrint_downward_test_data): Likewise.
30670         (lrint_upward_test_data): Likewise.
30671         (llrint_test_data): Likewise.
30672         (llrint_tonearest_test_data): Likewise.
30673         (llrint_towardzero_test_data): Likewise.
30674         (llrint_downward_test_data): Likewise.
30675         (llrint_upward_test_data): Likewise.
30676         (log_test_data): Likewise.
30677         (log10_test_data): Likewise.
30678         (log1p_test_data): Likewise.
30679         (log2_test_data): Likewise.
30680         (logb_test_data): Likewise.
30681         (logb_downward_test_data): Likewise.
30682         (lround_test_data): Likewise.
30683         (llround_test_data): Likewise.
30684         (modf_test_data): Likewise.
30685         (nearbyint_test_data): Likewise.
30686         (nextafter_test_data): Likewise.
30687         (nexttoward_test_data): Likewise.
30688         (pow_test_data): Likewise.
30689         (pow_tonearest_test_data): Likewise.
30690         (pow_towardzero_test_data): Likewise.
30691         (pow_downward_test_data): Likewise.
30692         (pow_upward_test_data): Likewise.
30693         (remainder_test_data): Likewise.
30694         (remainder_tonearest_test_data): Likewise.
30695         (remainder_towardzero_test_data): Likewise.
30696         (remainder_downward_test_data): Likewise.
30697         (remainder_upward_test_data): Likewise.
30698         (remquo_test_data): Likewise.
30699         (rint_test_data): Likewise.
30700         (rint_tonearest_test_data): Likewise.
30701         (rint_towardzero_test_data): Likewise.
30702         (rint_downward_test_data): Likewise.
30703         (rint_upward_test_data): Likewise.
30704         (round_test_data): Likewise.
30705         (scalb_test_data): Likewise.
30706         (scalbn_test_data): Likewise.
30707         (scalbln_test_data): Likewise.
30708         (signbit_test_data): Likewise.
30709         (sin_test_data): Likewise.
30710         (sin_tonearest_test_data): Likewise.
30711         (sin_towardzero_test_data): Likewise.
30712         (sin_downward_test_data): Likewise.
30713         (sin_upward_test_data): Likewise.
30714         (sincos_test_data): Likewise.
30715         (sinh_test_data): Likewise.
30716         (sinh_tonearest_test_data): Likewise.
30717         (sinh_towardzero_test_data): Likewise.
30718         (sinh_downward_test_data): Likewise.
30719         (sinh_upward_test_data): Likewise.
30720         (sqrt_test_data): Likewise.
30721         (tan_test_data): Likewise.
30722         (tan_tonearest_test_data): Likewise.
30723         (tan_towardzero_test_data): Likewise.
30724         (tan_downward_test_data): Likewise.
30725         (tan_upward_test_data): Likewise.
30726         (tanh_test_data): Likewise.
30727         (tgamma_test_data): Likewise.
30728         (trunc_test_data): Likewise.
30729         (y0_test_data): Likewise.
30730         (y1_test_data): Likewise.
30731         (yn_test_data): Likewise.
30732         (significand_test_data): Likewise.
30734         * math/gen-libm-test.pl (@functions): Remove variable.
30735         (generate_testfile): Don't handle START and END lines.
30736         * math/libm-test.inc (START): New macro.
30737         (END): Likewise.
30738         (END_COMPLEX): Likewise.
30739         (acos_test): Use END macro without arguments.
30740         (acos_test_tonearest): Likewise.
30741         (acos_test_towardzero): Likewise.
30742         (acos_test_downward): Likewise.
30743         (acos_test_upward): Likewise.
30744         (acosh_test): Likewise.
30745         (asin_test): Likewise.
30746         (asin_test_tonearest): Likewise.
30747         (asin_test_towardzero): Likewise.
30748         (asin_test_downward): Likewise.
30749         (asin_test_upward): Likewise.
30750         (asinh_test): Likewise.
30751         (atan_test): Likewise.
30752         (atanh_test): Likewise.
30753         (atan2_test): Likewise.
30754         (cabs_test): Likewise.
30755         (cacos_test): Use END_COMPLEX macro without arguments.
30756         (cacosh_test): Likewise.
30757         (carg_test): Use END macro without arguments.
30758         (casin_test): Use END_COMPLEX macro without arguments.
30759         (casinh_test): Likewise.
30760         (catan_test): Likewise.
30761         (catanh_test): Likewise.
30762         (cbrt_test): Use END macro without arguments.
30763         (ccos_test): Use END_COMPLEX macro without arguments.
30764         (ccosh_test): Likewise.
30765         (ceil_test): Use END macro without arguments.
30766         (cexp_test): Use END_COMPLEX macro without arguments.
30767         (cimag_test): Use END macro without arguments.
30768         (clog_test): Use END_COMPLEX macro without arguments.
30769         (clog10_test): Likewise.
30770         (conj_test): Likewise.
30771         (copysign_test): Use END macro without arguments.
30772         (cos_test): Likewise.
30773         (cos_test_tonearest): Likewise.
30774         (cos_test_towardzero): Likewise.
30775         (cos_test_downward): Likewise.
30776         (cos_test_upward): Likewise.
30777         (cosh_test): Likewise.
30778         (cosh_test_tonearest): Likewise.
30779         (cosh_test_towardzero): Likewise.
30780         (cosh_test_downward): Likewise.
30781         (cosh_test_upward): Likewise.
30782         (cpow_test): Use END_COMPLEX macro without arguments.
30783         (cproj_test): Likewise.
30784         (creal_test): Use END macro without arguments.
30785         (csin_test): Use END_COMPLEX macro without arguments.
30786         (csinh_test): Likewise.
30787         (csqrt_test): Likewise.
30788         (ctan_test): Likewise.
30789         (ctan_test_tonearest): Likewise.
30790         (ctan_test_towardzero): Likewise.
30791         (ctan_test_downward): Likewise.
30792         (ctan_test_upward): Likewise.
30793         (ctanh_test): Likewise.
30794         (ctanh_test_tonearest): Likewise.
30795         (ctanh_test_towardzero): Likewise.
30796         (ctanh_test_downward): Likewise.
30797         (ctanh_test_upward): Likewise.
30798         (erf_test): Use END macro without arguments.
30799         (erfc_test): Likewise.
30800         (exp_test): Likewise.
30801         (exp_test_tonearest): Likewise.
30802         (exp_test_towardzero): Likewise.
30803         (exp_test_downward): Likewise.
30804         (exp_test_upward): Likewise.
30805         (exp10_test): Likewise.
30806         (exp2_test): Likewise.
30807         (expm1_test): Likewise.
30808         (fabs_test): Likewise.
30809         (fdim_test): Likewise.
30810         (finite_test): Likewise.
30811         (floor_test): Likewise.
30812         (fma_test): Likewise.
30813         (fma_test_towardzero): Likewise.
30814         (fma_test_downward): Likewise.
30815         (fma_test_upward): Likewise.
30816         (fmax_test): Likewise.
30817         (fmin_test): Likewise.
30818         (fmod_test): Likewise.
30819         (fpclassify_test): Likewise.
30820         (frexp_test): Likewise.
30821         (gamma_test): Likewise.
30822         (hypot_test): Likewise.
30823         (ilogb_test): Likewise.
30824         (isfinite_test): Likewise.
30825         (isgreater_test): Likewise.
30826         (isgreaterequal_test): Likewise.
30827         (isinf_test): Likewise.
30828         (isless_test): Likewise.
30829         (islessequal_test): Likewise.
30830         (islessgreater_test): Likewise.
30831         (isnan_test): Likewise.
30832         (isnormal_test): Likewise.
30833         (issignaling_test): Likewise.
30834         (isunordered_test): Likewise.
30835         (j0_test): Likewise.
30836         (j1_test): Likewise.
30837         (jn_test): Likewise.
30838         (ldexp_test): Likewise.
30839         (lgamma_test): Likewise.
30840         (lrint_test): Likewise.
30841         (lrint_test_tonearest): Likewise.
30842         (lrint_test_towardzero): Likewise.
30843         (lrint_test_downward): Likewise.
30844         (lrint_test_upward): Likewise.
30845         (llrint_test): Likewise.
30846         (llrint_test_tonearest): Likewise.
30847         (llrint_test_towardzero): Likewise.
30848         (llrint_test_downward): Likewise.
30849         (llrint_test_upward): Likewise.
30850         (log_test): Likewise.
30851         (log10_test): Likewise.
30852         (log1p_test): Likewise.
30853         (log2_test): Likewise.
30854         (logb_test): Likewise.
30855         (logb_test_downward): Likewise.
30856         (lround_test): Likewise.
30857         (llround_test): Likewise.
30858         (modf_test): Likewise.
30859         (nearbyint_test): Likewise.
30860         (nextafter_test): Likewise.
30861         (nexttoward_test): Likewise.
30862         (pow_test): Likewise.
30863         (pow_test_tonearest): Likewise.
30864         (pow_test_towardzero): Likewise.
30865         (pow_test_downward): Likewise.
30866         (pow_test_upward): Likewise.
30867         (remainder_test): Likewise.
30868         (remainder_test_tonearest): Likewise.
30869         (remainder_test_towardzero): Likewise.
30870         (remainder_test_downward): Likewise.
30871         (remainder_test_upward): Likewise.
30872         (remquo_test): Likewise.
30873         (rint_test): Likewise.
30874         (rint_test_tonearest): Likewise.
30875         (rint_test_towardzero): Likewise.
30876         (rint_test_downward): Likewise.
30877         (rint_test_upward): Likewise.
30878         (round_test): Likewise.
30879         (scalb_test): Likewise.
30880         (scalbn_test): Likewise.
30881         (scalbln_test): Likewise.
30882         (signbit_test): Likewise.
30883         (sin_test): Likewise.
30884         (sin_test_tonearest): Likewise.
30885         (sin_test_towardzero): Likewise.
30886         (sin_test_downward): Likewise.
30887         (sin_test_upward): Likewise.
30888         (sincos_test): Likewise.
30889         (sinh_test): Likewise.
30890         (sinh_test_tonearest): Likewise.
30891         (sinh_test_towardzero): Likewise.
30892         (sinh_test_downward): Likewise.
30893         (sinh_test_upward): Likewise.
30894         (sqrt_test): Likewise.
30895         (tan_test): Likewise.
30896         (tan_test_tonearest): Likewise.
30897         (tan_test_towardzero): Likewise.
30898         (tan_test_downward): Likewise.
30899         (tan_test_upward): Likewise.
30900         (tanh_test): Likewise.
30901         (tgamma_test): Likewise.
30902         (trunc_test): Likewise.
30903         (y0_test): Likewise.
30904         (y1_test): Likewise.
30905         (yn_test): Likewise.
30906         (significand_test): Likewise.
30908 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
30910         [BZ #15381]
30911         * libio/genops.c (_IO_no_init): Initialize wide struct info.
30913 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
30915         [BZ #14894]
30916         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30917         __ppc_mdoio and __ppc_mdoom.
30918         * manual/platform.texi: Document new functions __ppc_yield,
30919         __ppc_mdoio and __ppc_mdoom.
30921 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
30923         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30924         (main): Mention "tls" pseudo-hwcap is legacy.
30925         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30927 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30929         * math/gen-libm-test.pl (parse_args): Output only string of
30930         arguments as text for test name, not full call or descriptions of
30931         tests for extra outputs.
30932         (generate_testfile): Do not pass function name to parse_args.
30933         Generate this_func variable from START.
30934         * math/libm-test.inc (struct test_f_f_data): Rename test_name
30935         field to arg_str.
30936         (struct test_ff_f_data): Likewise.
30937         (test_ff_f_data_nexttoward): Likewise.
30938         (struct test_fi_f_data): Likewise.
30939         (struct test_fl_f_data): Likewise.
30940         (struct test_if_f_data): Likewise.
30941         (struct test_fff_f_data): Likewise.
30942         (struct test_c_f_data): Likewise.
30943         (struct test_f_f1_data): Likewise.  Remove field extra_name.
30944         (struct test_fF_f1_data): Likewise.
30945         (struct test_ffI_f1_data): Likewise.
30946         (struct test_c_c_data): Rename test_name field to arg_str.
30947         (struct test_cc_c_data): Likewise.
30948         (struct test_f_i_data): Likewise.
30949         (struct test_ff_i_data): Likewise.
30950         (struct test_f_l_data): Likewise.
30951         (struct test_f_L_data): Likewise.
30952         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
30953         and extra2_name.
30954         (COMMON_TEST_SETUP): New macro.
30955         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30956         (COMMON_TEST_CLEANUP): Likewise.
30957         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30958         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
30959         macros.
30960         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30961         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
30962         macros.
30963         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30964         (RUN_TEST_fff_f): Take argument string.  Call new setup and
30965         cleanup macros.
30966         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30967         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
30968         macros.
30969         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30970         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
30971         macros.
30972         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30973         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
30974         cleanup macros.
30975         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30976         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
30977         cleanup macros.
30978         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30979         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
30980         cleanup macros.
30981         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30982         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
30983         macros.
30984         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30985         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
30986         macros.
30987         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30988         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
30989         macros.
30990         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30991         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
30992         cleanup macros.
30993         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30994         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
30995         cleanup macros.
30996         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30997         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
30998         macros.
30999         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
31000         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
31001         cleanup macros.
31002         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
31003         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
31004         macros.
31005         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
31006         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
31007         macros.
31008         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
31009         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
31010         cleanup macros.
31011         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
31013 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
31015         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
31016         to _sifields.sigfault.
31017         (si_addr_lsb): Define new macro.
31018         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31019         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
31020         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
31022 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
31024         [BZ #15441]
31025         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
31026         returns -1.
31027         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
31028         null return -1.
31029         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
31030         loading the domain.
31032 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
31034         * math/gen-libm-test.pl (parse_args): Do not include expected
31035         result in test name.
31036         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
31037         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31038         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31039         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31040         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31043 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
31045         * benchtests/Makefile: Sort function entries.
31047         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
31048         tanh, asinh, acosh, atanh.
31049         * benchtests/acos-inputs: New file.
31050         * benchtests/acosh-inputs: New file.
31051         * benchtests/asin-inputs: New file.
31052         * benchtests/asinh-inputs: New file.
31053         * benchtests/atanh-inputs: New file.
31054         * benchtests/cosh-inputs: New file.
31055         * benchtests/log-inputs: New file.
31056         * benchtests/sinh-inputs: New file.
31057         * benchtests/tanh-inputs: New file.
31059 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
31061         [BZ #15339]
31062         * posix/tst-getaddrinfo4.c: New test.
31063         * posix/Makefile (tests): Add it.
31065 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31067         [BZ #15339]
31068         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
31069         when no services were used.
31070         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
31071         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
31073 2013-05-21  Andreas Schwab  <schwab@suse.de>
31075         [BZ #15014]
31076         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
31077         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
31078         successful.
31079         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
31080         redundant variable declarations and reallocation of buffer when
31081         parsing as IPv6 address.  Always set NSS status when called from
31082         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
31083         buffer too small.  Correct computation of needed size.
31084         * nss/Makefile (tests): Add test-digits-dots.
31085         * nss/test-digits-dots.c: New test.
31087 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31089         * benchtests/Makefile: Remove instructions for adding
31090         benchmark tests.
31091         * benchtests/README: New file to explain how to execute and
31092         enhance the benchmark tests.
31094 2013-05-21  Andreas Schwab  <schwab@suse.de>
31096         [BZ #15493]
31097         * setjmp/Makefile (tests): Add tst-sigsetjmp.
31098         * setjmp/tst-sigsetjmp.c: New test.
31100 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31102         * sysdeps/x86_64/memset.S (memset): New implementation.
31103         (__bzero): Likewise.
31104         (__memset_tail): New function.
31106 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
31108         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
31109         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
31110         __memcpy_sse2_unaligned ifunc selection.
31111         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31112         Add memcpy-sse2-unaligned.S.
31113         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
31114         Add: __memcpy_sse2_unaligned.
31116 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
31118         [BZ #15490]
31119         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
31120         math_force_eval before restoring floating-point envrionment.
31121         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
31122         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
31123         Likewise.
31124         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
31125         <math_private.h>.
31126         (__nearbyintl): Use math_force_eval before restoring
31127         floating-point environment.
31128         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
31130         * math/gen-libm-test.pl (special_functions): Remove.
31131         (parse_args): Don't handle TEST_extra.  Handle functions with no
31132         return value.
31133         * math/libm-test.inc (struct test_sincos_data): Replace with
31134         struct test_fFF_11_data.
31135         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31136         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31137         (sincos_test_data): Change element type to struct
31138         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
31139         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31140         RUN_TEST_LOOP_sincos.
31141         * math/README.libm-test: Don't mention special handling of
31142         individual functions.
31143         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31144         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31145         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31146         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31147         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31150         * math/gen-libm-test.pl (get_variable): Remove function.
31151         (parse_args): Don't show pointer parameters to call in test
31152         names.  Use "extra output N" in test names for extra outputs
31153         rather than naming variables.
31155 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
31157         [BZ #15488]
31158         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31159         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31160         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31161         double tests.
31162         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31163         disable.
31164         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31165         check_long_double.
31167         * math/gen-libm-test.pl (@tests): Remove variable.
31168         ($count): Likewise.
31169         (new_test): Remove function.
31170         (show_exceptions): New function.
31171         (special_functions): Use show_exceptions instead of new_test.
31172         (parse_args): Likewise.
31173         (generate_testfile): Pass only function name in generated call to
31174         print_max_error or print_complex_max_error.
31175         (get_ulps): Do not handle complex tests specially.
31176         (output_test): Rename to ...
31177         (get_all_ulps_for_test): ... this.  Return a string rather than
31178         printing to a file.  Require ulps to be present.
31179         (output_ulps): Generate arrays rather than #defines.
31180         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31181         (struct ulp_data): New type.
31182         (BUILD_COMPLEX_ULP): Remove macro.
31183         (compare_ulp_data): New function.
31184         (find_ulps): Likewise.
31185         (find_test_ulps): Likewise.
31186         (find_function_ulps): Likewise.
31187         (find_complex_function_ulps): Likewise.
31188         (print_max_error): Determine allowed ulps using
31189         find_function_ulps.
31190         (print_complex_max_error): Determine allowed ulps using
31191         find_complex_function_ulps.
31192         (check_float_internal): Determine max ulps using find_test_ulps.
31193         (check_float): Do not take max_ulp parameter.  Update call to
31194         check_float_internal.
31195         (check_complex): Likewise.
31196         (check_int): Do not take max_ulp parameter.
31197         (check_long): Likewise.
31198         (check_bool): Likewise.
31199         (check_longlong): Likewise.
31200         (struct test_f_f_data): Remove max_ulp field.
31201         (struct test_ff_f_data): Likewise.
31202         (struct test_ff_f_data_nexttoward): Likewise.
31203         (struct test_fi_f_data): Likewise.
31204         (struct test_fl_f_data): Likewise.
31205         (struct test_if_f_data): Likewise.
31206         (struct test_fff_f_data): Likewise.
31207         (struct test_c_f_data): Likewise.
31208         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31209         (struct test_fF_f1_data): Likewise.
31210         (struct test_ffI_f1_data): Likewise.
31211         (struct test_c_c_data): Remove max_ulp field.
31212         (struct test_cc_c_data): Likewise.
31213         (struct test_f_i_data): Likewise.
31214         (struct test_ff_i_data): Likewise.
31215         (struct test_f_l_data): Likewise.
31216         (struct test_f_L_data): Likewise.
31217         (struct test_sincos_data): Likewise.
31218         (RUN_TEST_f_f): Do not handle ulps.
31219         (RUN_TEST_LOOP_f_f): Likewise.
31220         (RUN_TEST_2_f): Likewise.
31221         (RUN_TEST_LOOP_2_f): Likewise.
31222         (RUN_TEST_fff_f): Likewise.
31223         (RUN_TEST_LOOP_fff_f): Likewise.
31224         (RUN_TEST_c_f): Likewise.
31225         (RUN_TEST_LOOP_c_f): Likewise.
31226         (RUN_TEST_f_f1): Likewise.
31227         (RUN_TEST_LOOP_f_f1): Likewise.
31228         (RUN_TEST_fF_f1): Likewise.
31229         (RUN_TEST_LOOP_fF_f1): Likewise.
31230         (RUN_TEST_fI_f1): Likewise.
31231         (RUN_TEST_LOOP_fI_f1): Likewise.
31232         (RUN_TEST_ffI_f1): Likewise.
31233         (RUN_TEST_LOOP_ffI_f1): Likewise.
31234         (RUN_TEST_c_c): Likewise.
31235         (RUN_TEST_LOOP_c_c): Likewise.
31236         (RUN_TEST_cc_c): Likewise.
31237         (RUN_TEST_LOOP_cc_c): Likewise.
31238         (RUN_TEST_f_i): Likewise.
31239         (RUN_TEST_LOOP_f_i): Likewise.
31240         (RUN_TEST_f_i_tg): Likewise.
31241         (RUN_TEST_LOOP_f_i_tg): Likewise.
31242         (RUN_TEST_ff_i_tg): Likewise.
31243         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31244         (RUN_TEST_f_b): Likewise.
31245         (RUN_TEST_LOOP_f_b): Likewise.
31246         (RUN_TEST_f_b_tg): Likewise.
31247         (RUN_TEST_LOOP_f_b_tg): Likewise.
31248         (RUN_TEST_f_l): Likewise.
31249         (RUN_TEST_LOOP_f_l): Likewise.
31250         (RUN_TEST_f_L): Likewise.
31251         (RUN_TEST_LOOP_f_L): Likewise.
31252         (RUN_TEST_sincos): Likewise.
31253         (RUN_TEST_LOOP_sincos): Likewise.
31255 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
31257         [BZ #15480]
31258         [BZ #15485]
31259         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31260         main case of finite arguments, set rounding mode to FE_TONEAREST
31261         and discard exceptions.
31262         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31263         exceptions.
31264         (remainder_tonearest_test_data): New variable.
31265         (remainder_test_tonearest): New function.
31266         (remainder_towardzero_test_data): New variable.
31267         (remainder_test_towardzero): New function.
31268         (remainder_downward_test_data): New variable.
31269         (remainder_test_downward): New function.
31270         (remainder_upward_test_data): New variable.
31271         (remainder_test_upward): New function.
31272         (main): Call the new test functions.
31274         * math/libm-test.inc (struct test_f_f1_data): Remove field
31275         extra_init.
31276         (struct test_fF_f1_data): Likewise.
31277         (struct test_ffI_f1_data): Likewise.
31278         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
31279         based on value of EXTRA_EXPECTED.
31280         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31281         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
31282         EXTRA_VAR based on value of EXTRA_EXPECTED.
31283         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31284         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
31285         EXTRA_VAR based on value of EXTRA_EXPECTED.
31286         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31287         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
31288         EXTRA_VAR based on value of EXTRA_EXPECTED.
31289         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31290         * math/gen-libm-test.pl (parse_args): Don't output initializers
31291         for extra output values.
31293         * math/libm-test.inc (check_int): Expect result to be exactly
31294         equal to expected value and do not handle ulps.
31295         (check_long): Likewise.
31296         (check_longlong): Likewise.
31298         * math/libm-test.inc (ceil_test_data): Test for "inexact"
31299         exceptions.
31300         (cimag_test_data): Likewise.
31301         (conj_test_data): Likewise.
31302         (copysign_test_data): Likewise.
31303         (cproj_test_data): Likewise.
31304         (creal_test_data): Likewise.
31305         (fabs_test_data): Likewise.
31306         (fdim_test_data): Likewise.
31307         (finite_test_data): Likewise.
31308         (floor_test_data): Likewise.
31309         (fmax_test_data): Likewise.
31310         (fmin_test_data): Likewise.
31311         (fmod_test_data): Likewise.
31312         (fpclassify_test_data): Likewise.
31313         (frexp_test_data): Likewise.
31314         (ilogb_test_data): Likewise.
31315         (isfinite_test_data): Likewise.
31316         (isgreater_test_data): Likewise.
31317         (isgreaterequal_test_data): Likewise.
31318         (isinf_test_data): Likewise.
31319         (isless_test_data): Likewise.
31320         (islessequal_test_data): Likewise.
31321         (islessgreater_test_data): Likewise.
31322         (isnan_test_data): Likewise.
31323         (isnormal_test_data): Likewise.
31324         (issignaling_test_data): Likewise.
31325         (isunordered_test_data): Likewise.
31326         (ldexp_test_data): Likewise.
31327         (lrint_test_data): Likewise.
31328         (lrint_test_data) [TEST_FLOAT]: Disable one test.
31329         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31330         (lrint_tonearest_test_data): Test for "inexact" exceptions.
31331         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31332         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31333         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31334         test input.
31335         (lrint_towardzero_test_data): Test for "inexact" exceptions.
31336         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31337         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31338         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31339         that test input.
31340         (lrint_downward_test_data): Test for "inexact" exceptions.
31341         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31342         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31343         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31344         test input.
31345         (lrint_upward_test_data): Test for "inexact" exceptions.
31346         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31347         test input.
31348         (llrint_test_data): Test for "inexact" exceptions.
31349         (llrint_test_data) [TEST_FLOAT]: Disable one test.
31350         (llrint_tonearest_test_data): Test for "inexact" exceptions.
31351         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31352         (llrint_towardzero_test_data): Test for "inexact" exceptions.
31353         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31354         (llrint_downward_test_data): Test for "inexact" exceptions.
31355         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31356         (llrint_upward_test_data): Test for "inexact" exceptions.
31357         (logb_test_data): Likewise.
31358         (logb_downward_test_data): Likewise.
31359         (nextafter_test_data): Likewise.
31360         (nexttoward_test_data): Likewise.
31361         (remainder_test_data): Likewise.
31362         (remquo_test_data): Likewise.
31363         (scalbn_test_data): Likewise.
31364         (scalbln_test_data): Likewise.
31365         (signbit_test_data): Likewise.
31366         (sqrt_test_data): Likewise.
31367         (significand_test_data): Likewise.
31369 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31371         [BZ #15424]
31372         * benchtests/bench-modf.c (struct args): Mark arg0 as
31373         volatile.
31374         * scripts/bench.pl: Mark members of struct args as volatile.
31376 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31378         [BZ # 15497]
31379         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31380         negative infinity on POWER6 or lower.
31381         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31383 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31385         [BZ #15442]
31386         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31387         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31388         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31389         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31390         (_FP_SETQNAN): New macro.
31391         (_FP_SETQNAN_SEMIRAW): Likewise.
31392         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31393         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31394         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31395         (FP_EXTEND): Use _FP_FRAC_SNANP.
31396         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31397         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31398         into account.
31399         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31400         New macro.
31401         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31402         Likewise.
31404 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31406         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31407         with DIVIDE_BY_ZERO_EXCEPTION.
31408         (gamma_test_data): Likewise.
31409         (lgamma_test_data): Likewise.
31410         (log_test_data): Likewise.
31411         (log10_test_data): Likewise.
31412         (log2_test_data): Likewise.
31413         (tgamma_test_data): Likewise.
31415         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31416         (acos_test_tonearest): Likewise.
31417         (acos_test_towardzero): Likewise.
31418         (acos_test_downward): Likewise.
31419         (acos_test_upward): Likewise.
31420         (acosh_test): Likewise.
31421         (asin_test): Likewise.
31422         (asin_test_tonearest): Likewise.
31423         (asin_test_towardzero): Likewise.
31424         (asin_test_downward): Likewise.
31425         (asin_test_upward): Likewise.
31426         (asinh_test): Likewise.
31427         (atan_test): Likewise.
31428         (atanh_test): Likewise.
31429         (atan2_test): Likewise.
31430         (cabs_test): Likewise.
31431         (cacos_test): Likewise.
31432         (cacosh_test): Likewise.
31433         (casin_test): Likewise.
31434         (casinh_test): Likewise.
31435         (catan_test): Likewise.
31436         (catanh_test): Likewise.
31437         (cbrt_test): Likewise.
31438         (ccos_test): Likewise.
31439         (ccosh_test): Likewise.
31440         (cexp_test): Likewise.
31441         (clog_test): Likewise.
31442         (clog10_test): Likewise.
31443         (cos_test): Likewise.
31444         (cos_test_tonearest): Likewise.
31445         (cos_test_towardzero): Likewise.
31446         (cos_test_downward): Likewise.
31447         (cos_test_upward): Likewise.
31448         (cosh_test): Likewise.
31449         (cosh_test_tonearest): Likewise.
31450         (cosh_test_towardzero): Likewise.
31451         (cosh_test_downward): Likewise.
31452         (cosh_test_upward): Likewise.
31453         (cpow_test): Likewise.
31454         (csin_test): Likewise.
31455         (csinh_test): Likewise.
31456         (csqrt_test): Likewise.
31457         (ctan_test): Likewise.
31458         (ctan_test_tonearest): Likewise.
31459         (ctan_test_towardzero): Likewise.
31460         (ctan_test_downward): Likewise.
31461         (ctan_test_upward): Likewise.
31462         (ctanh_test): Likewise.
31463         (ctanh_test_tonearest): Likewise.
31464         (ctanh_test_towardzero): Likewise.
31465         (ctanh_test_downward): Likewise.
31466         (ctanh_test_upward): Likewise.
31467         (erf_test): Likewise.
31468         (erfc_test): Likewise.
31469         (exp_test): Likewise.
31470         (exp_test_tonearest): Likewise.
31471         (exp_test_towardzero): Likewise.
31472         (exp_test_downward): Likewise.
31473         (exp_test_upward): Likewise.
31474         (exp10_test): Likewise.
31475         (exp2_test): Likewise.
31476         (expm1_test): Likewise.
31477         (fmod_test): Likewise.
31478         (gamma_test): Likewise.
31479         (hypot_test): Likewise.
31480         (j0_test): Likewise.
31481         (j1_test): Likewise.
31482         (jn_test): Likewise.
31483         (lgamma_test): Likewise.
31484         (log_test): Likewise.
31485         (log10_test): Likewise.
31486         (log1p_test): Likewise.
31487         (log2_test): Likewise.
31488         (logb_test_downward): Likewise.
31489         (pow_test): Likewise.
31490         (pow_test_tonearest): Likewise.
31491         (pow_test_towardzero): Likewise.
31492         (pow_test_downward): Likewise.
31493         (pow_test_upward): Likewise.
31494         (remainder_test): Likewise.
31495         (remquo_test): Likewise.
31496         (sin_test): Likewise.
31497         (sin_test_tonearest): Likewise.
31498         (sin_test_towardzero): Likewise.
31499         (sin_test_downward): Likewise.
31500         (sin_test_upward): Likewise.
31501         (sincos_test): Likewise.
31502         (sinh_test): Likewise.
31503         (sinh_test_tonearest): Likewise.
31504         (sinh_test_towardzero): Likewise.
31505         (sinh_test_downward): Likewise.
31506         (sinh_test_upward): Likewise.
31507         (sqrt_test): Likewise.
31508         (tan_test): Likewise.
31509         (tan_test_tonearest): Likewise.
31510         (tan_test_towardzero): Likewise.
31511         (tan_test_downward): Likewise.
31512         (tan_test_upward): Likewise.
31513         (tanh_test): Likewise.
31514         (tgamma_test): Likewise.
31515         (y0_test): Likewise.
31516         (y1_test): Likewise.
31517         (yn_test): Likewise.
31519         * math/gen-libm-test.pl (adjust_arg): Remove function.
31520         (special_function): Remove argument $in_func.  Only handle
31521         generating output for tables of tests, not inside functions.
31522         (parse_args): Likewise.
31523         (generate_testfile): Remove variable $in_func.  Update call to
31524         parse_args.
31525         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31526         (MINUS_ZERO_INIT): Rename macro to minus_zero.
31527         (PLUS_INFTY_INIT): Rename macro to plus_infty.
31528         (MINUS_INFTY_INIT): Rename macro to minus_infty.
31529         (QNAN_VALUE_INIT): Rename macro to qnan_value.
31530         (MAX_VALUE_INIT): Rename macro to max_value.
31531         (MIN_VALUE_INIT): Rename macro to min_value.
31532         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31533         (plus_zero): Remove variable.
31534         (minus_zero): Likewise.
31535         (plus_infty): Likewise.
31536         (minus_infty): Likewise.
31537         (qnan_value): Likewise.
31538         (max_value): Likewise.
31539         (min_value): Likewise.
31540         (min_subnorm_value): Likewise.
31542 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31544         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31545         uint64_t or uint32_t usage.
31546         * crypt/sha256-block.c: Likewise.
31547         * crypt/sha256-crypt.c: Likewise.
31548         * crypt/sha256.c: Likewise.
31549         * crypt/sha512-block.c: Likewise.
31550         * crypt/sha512-crypt.c: Likewise.
31551         * crypt/sha512.c: Likewise.
31552         * debug/backtrace-tst.c: Likewise.
31553         * debug/pcprofiledump.c: Likewise.
31554         * elf/cache.c: Likewise.
31555         * elf/dl-cache.c: Likewise.
31556         * elf/dl-misc.c: Likewise.
31557         * elf/dl-profile.c: Likewise.
31558         * elf/dl-support.c: Likewise.
31559         * elf/ldconfig.c: Likewise.
31560         * elf/sprof.c: Likewise.
31561         * iconv/dummy-repertoire.c: Likewise.
31562         * iconv/iconv_charmap.c: Likewise.
31563         * iconv/skeleton.c: Likewise.
31564         * iconvdata/8bit-generic.c: Likewise.
31565         * iconvdata/cp737.h: Likewise.
31566         * iconvdata/cp775.h: Likewise.
31567         * iconvdata/ibm1008.h: Likewise.
31568         * iconvdata/ibm1025.h: Likewise.
31569         * iconvdata/ibm1046.h: Likewise.
31570         * iconvdata/ibm1097.h: Likewise.
31571         * iconvdata/ibm1112.h: Likewise.
31572         * iconvdata/ibm1122.h: Likewise.
31573         * iconvdata/ibm1123.h: Likewise.
31574         * iconvdata/ibm1124.h: Likewise.
31575         * iconvdata/ibm1129.h: Likewise.
31576         * iconvdata/ibm1130.h: Likewise.
31577         * iconvdata/ibm1132.h: Likewise.
31578         * iconvdata/ibm1133.h: Likewise.
31579         * iconvdata/ibm1137.h: Likewise.
31580         * iconvdata/ibm1140.h: Likewise.
31581         * iconvdata/ibm1141.h: Likewise.
31582         * iconvdata/ibm1142.h: Likewise.
31583         * iconvdata/ibm1143.h: Likewise.
31584         * iconvdata/ibm1144.h: Likewise.
31585         * iconvdata/ibm1145.h: Likewise.
31586         * iconvdata/ibm1146.h: Likewise.
31587         * iconvdata/ibm1147.h: Likewise.
31588         * iconvdata/ibm1148.h: Likewise.
31589         * iconvdata/ibm1149.h: Likewise.
31590         * iconvdata/ibm1153.h: Likewise.
31591         * iconvdata/ibm1154.h: Likewise.
31592         * iconvdata/ibm1155.h: Likewise.
31593         * iconvdata/ibm1156.h: Likewise.
31594         * iconvdata/ibm1157.h: Likewise.
31595         * iconvdata/ibm1158.h: Likewise.
31596         * iconvdata/ibm1160.h: Likewise.
31597         * iconvdata/ibm1161.h: Likewise.
31598         * iconvdata/ibm1162.h: Likewise.
31599         * iconvdata/ibm1163.h: Likewise.
31600         * iconvdata/ibm1164.h: Likewise.
31601         * iconvdata/ibm1166.h: Likewise.
31602         * iconvdata/ibm1167.h: Likewise.
31603         * iconvdata/ibm12712.h: Likewise.
31604         * iconvdata/ibm1390.h: Likewise.
31605         * iconvdata/ibm1399.h: Likewise.
31606         * iconvdata/ibm16804.h: Likewise.
31607         * iconvdata/ibm4517.h: Likewise.
31608         * iconvdata/ibm4899.h: Likewise.
31609         * iconvdata/ibm4909.h: Likewise.
31610         * iconvdata/ibm4971.h: Likewise.
31611         * iconvdata/ibm5347.h: Likewise.
31612         * iconvdata/ibm803.h: Likewise.
31613         * iconvdata/ibm856.h: Likewise.
31614         * iconvdata/ibm901.h: Likewise.
31615         * iconvdata/ibm902.h: Likewise.
31616         * iconvdata/ibm9030.h: Likewise.
31617         * iconvdata/ibm9066.h: Likewise.
31618         * iconvdata/ibm921.h: Likewise.
31619         * iconvdata/ibm922.h: Likewise.
31620         * iconvdata/ibm9448.h: Likewise.
31621         * iconvdata/isiri-3342.h: Likewise.
31622         * iconvdata/jis0201.h: Likewise.
31623         * include/link.h: Likewise.
31624         * include/netdb.h: Likewise.
31625         * inet/check_native.c: Likewise.
31626         * inet/check_pf.c: Likewise.
31627         * inet/getipv4sourcefilter.c: Likewise.
31628         * inet/getnameinfo.c: Likewise.
31629         * inet/getsourcefilter.c: Likewise.
31630         * inet/htonl.c: Likewise.
31631         * inet/setipv4sourcefilter.c: Likewise.
31632         * inet/setsourcefilter.c: Likewise.
31633         * inet/test-inet6_opt.c: Likewise.
31634         * inet/tst-network.c: Likewise.
31635         * locale/C-collate.c: Likewise.
31636         * locale/C-ctype.c: Likewise.
31637         * locale/C-time.c: Likewise.
31638         * locale/C-translit.h: Likewise.
31639         * locale/loadarchive.c: Likewise.
31640         * locale/programs/3level.h: Likewise.
31641         * locale/programs/charmap.c: Likewise.
31642         * locale/programs/charmap.h: Likewise.
31643         * locale/programs/ld-address.c: Likewise.
31644         * locale/programs/ld-collate.c: Likewise.
31645         * locale/programs/ld-ctype.c: Likewise.
31646         * locale/programs/ld-identification.c: Likewise.
31647         * locale/programs/ld-measurement.c: Likewise.
31648         * locale/programs/ld-messages.c: Likewise.
31649         * locale/programs/ld-monetary.c: Likewise.
31650         * locale/programs/ld-name.c: Likewise.
31651         * locale/programs/ld-numeric.c: Likewise.
31652         * locale/programs/ld-paper.c: Likewise.
31653         * locale/programs/ld-telephone.c: Likewise.
31654         * locale/programs/ld-time.c: Likewise.
31655         * locale/programs/linereader.c: Likewise.
31656         * locale/programs/locale.c: Likewise.
31657         * locale/programs/locarchive.c: Likewise.
31658         * locale/programs/locfile.h: Likewise.
31659         * locale/programs/repertoire.c: Likewise.
31660         * locale/programs/simple-hash.c: Likewise.
31661         * locale/programs/simple-hash.h: Likewise.
31662         * malloc/memusage.c: Likewise.
31663         * malloc/memusagestat.c: Likewise.
31664         * nis/nis_defaults.c: Likewise.
31665         * nis/nis_hash.c: Likewise.
31666         * nis/nis_print.c: Likewise.
31667         * nis/nis_xdr.c: Likewise.
31668         * nscd/connections.c: Likewise.
31669         * nscd/hstcache.c: Likewise.
31670         * nscd/nscd_gethst_r.c: Likewise.
31671         * nscd/nscd_getserv_r.c: Likewise.
31672         * nscd/nscd_helper.c: Likewise.
31673         * nscd/servicescache.c: Likewise.
31674         * nss/makedb.c: Likewise.
31675         * nss/nss_db/db-XXX.c: Likewise.
31676         * nss/nss_db/db-initgroups.c: Likewise.
31677         * nss/nss_db/db-netgrp.c: Likewise.
31678         * nss/nss_files/files-network.c: Likewise.
31679         * nss/nss_files/files-parse.c: Likewise.
31680         * posix/bug-regex5.c: Likewise.
31681         * posix/fnmatch_loop.c: Likewise.
31682         * posix/regcomp.c: Likewise.
31683         * posix/regexec.c: Likewise.
31684         * posix/tst-rfc3484-2.c: Likewise.
31685         * posix/tst-rfc3484-3.c: Likewise.
31686         * posix/tst-rfc3484.c: Likewise.
31687         * resolv/nss_dns/dns-canon.c: Likewise.
31688         * resolv/nss_dns/dns-network.c: Likewise.
31689         * resolv/res_init.c: Likewise.
31690         * resolv/res_mkquery.c: Likewise.
31691         * resolv/tst-aton.c: Likewise.
31692         * stdlib/cxa_atexit.c: Likewise.
31693         * stdlib/cxa_finalize.c: Likewise.
31694         * stdlib/gen-fpioconst.c: Likewise.
31695         * stdlib/strtol_l.c: Likewise.
31696         * string/tst-endian.c: Likewise.
31697         * sunrpc/auth_des.c: Likewise.
31698         * sunrpc/clnt_udp.c: Likewise.
31699         * sunrpc/rtime.c: Likewise.
31700         * sunrpc/svcauth_des.c: Likewise.
31701         * sunrpc/xdr.c: Likewise.
31702         * sunrpc/xdr_intXX_t.c: Likewise.
31703         * sunrpc/xdr_rec.c: Likewise.
31704         * sysdeps/generic/ldconfig.h: Likewise.
31705         * sysdeps/generic/ldsodefs.h: Likewise.
31706         * sysdeps/generic/memusage.h: Likewise.
31707         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31708         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31709         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31710         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31711         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31712         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31713         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31714         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31715         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31716         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31717         * sysdeps/posix/getaddrinfo.c: Likewise.
31718         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31719         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31720         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31721         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31722         * sysdeps/powerpc/test-gettimebase.c: Likewise.
31723         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31724         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31725         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31726         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31727         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31728         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31729         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31730         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31731         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31732         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31733         * sysdeps/x86_64/dl-tls.h: Likewise.
31734         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31735         * time/alt_digit.c: Likewise.
31736         * time/era.c: Likewise.
31737         * wcsmbs/tst-c16c32-1.c: Likewise.
31739 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31741         * math/libm-test.inc (struct test_sincos_data): New type.
31742         (RUN_TEST_LOOP_sincos): New macro.
31743         (sincos_test_data): New variable.
31744         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31746 2013-05-16  Richard Henderson  <rth@redhat.com>
31748         * math/atest-exp2.c (LIMB64): New macro.
31749         (CONSTSZ): New macro.
31750         (mp_exp1, mp_exp_m1, mp_log2): New variables.
31751         (hexdig): Move ...
31752         (print_mpn_fp): ... to function scope.
31753         (read_mpn_hex): Remove.
31754         (get_log2): Remove.
31755         (exp2_mpn): Use mp_log2.
31756         (main): Use mp_exp1.
31758 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31760         * math/libm-test.inc: Remove comment about not testing "inexact"
31761         exceptions.
31762         (INEXACT_EXCEPTION): New macro.
31763         (NO_INEXACT_EXCEPTION): Likewise.
31764         (INVALID_EXCEPTION_OK): Update value.
31765         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31766         (OVERFLOW_EXCEPTION_OK): Likewise.
31767         (UNDERFLOW_EXCEPTION_OK): Likewise.
31768         (IGNORE_ZERO_INF_SIGN): Likewise.
31769         (ERRNO_UNCHANGED): Likewise.
31770         (ERRNO_EDOM): Likewise.
31771         (ERRNO_ERANGE): Likewise.
31772         (test_exceptions): Handle testing "inexact" exceptions.
31773         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31774         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31775         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31776         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31777         INEXACT_EXCEPTION.
31778         (rint_towardzero_test_data): Likewise.
31779         (rint_downward_test_data): Likewise.
31780         (rint_upward_test_data): Likewise.
31782         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31783         with OVERFLOW_EXCEPTION.
31784         (exp10_test_data): Likewise.
31785         (exp2_test_data): Likewise.
31786         (expm1_test_data): Likewise.
31787         (lgamma_test_data): Likewise.
31788         (pow_test_data): Likewise.
31789         (tgamma_test_data): Likewise.
31790         (yn_test_data): Remove duplicate test of overflow.
31792         * math/libm-test.inc (struct test_cc_c_data): New type.
31793         (RUN_TEST_LOOP_cc_c): New macro.
31794         (cpow_test_data): New variable.
31795         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31797         * math/libm-test.inc (struct test_f_L_data): New type.
31798         (RUN_TEST_LOOP_f_L): New macro.
31799         (llrint_test_data): New variable.
31800         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31801         (llrint_tonearest_test_data): New variable.
31802         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31803         (llrint_towardzero_test_data): New variable.
31804         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31805         (llrint_downward_test_data): New variable.
31806         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31807         (llrint_upward_test_data): New variable.
31808         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31809         (llround_test_data): New variable.
31810         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31812 2013-05-13  Peter Collingbourne  <pcc@google.com>
31814         * math/atest-exp2.c (get_log2): Remove const attribute.
31816 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31818         * math/libm-test.inc (struct test_f_l_data): New type.
31819         (RUN_TEST_LOOP_f_l): New macro.
31820         (lrint_test_data): New variable.
31821         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31822         (lrint_tonearest_test_data): New variable.
31823         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31824         (lrint_towardzero_test_data): New variable.
31825         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31826         (lrint_downward_test_data): New variable.
31827         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31828         (lrint_upward_test_data): New variable.
31829         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31830         (lround_test_data): New variable.
31831         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31833 2013-05-15  Peter Collingbourne  <pcc@google.com>
31835         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31836         (EXTRACT_WORDS64) Use where appropriate.
31837         (INSERT_WORDS64) Likewise.
31839         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31840         constraints with x constraints.
31841         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31843         * malloc/obstack.c (_obstack_compat): Add initializer.
31845 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31847         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31848         si_trapno and add si_addr_lsb to _sifields.sigfault.
31849         (si_trapno): Remove macro.
31850         (si_addr_lsb): Define new macro.
31851         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31853 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31855         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31856         instead of TEST_f_l.
31857         (llrint_test_tonearest): Likewise.
31858         (llrint_test_towardzero): Likewise.
31859         (llrint_test_downward): Likewise.
31860         (llrint_test_upward): Likewise.
31861         (llround_test): Likewise.
31863         * math/libm-test.inc (struct test_f_i_data): Add comment.
31864         (RUN_TEST_LOOP_f_b): New macro.
31865         (RUN_TEST_LOOP_f_b_tg): Likewise.
31866         (finite_test_data): New variable.
31867         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31868         (isfinite_test_data): New variable.
31869         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31870         (isinf_test_data): New variable.
31871         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31872         (isnan_test_data): New variable.
31873         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31874         (isnormal_test_data): New variable.
31875         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31876         (issignaling_test_data): New variable.
31877         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31878         (signbit_test_data): New variable.
31879         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31881         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31882         with INVALID_EXCEPTION.
31883         (acosh_test_data): Likewise.
31884         (asin_test_data): Likewise.
31885         (atanh_test_data): Likewise.
31886         (fmod_test_data): Likewise.
31887         (log_test_data): Likewise.
31888         (log10_test_data): Likewise.
31889         (log2_test_data): Likewise.
31890         (pow_test_data): Likewise.
31891         (sqrt_test_data): Likewise.
31892         (y0_test_data): Likewise.
31893         (y1_test_data): Likewise.
31894         (yn_test_data): Likewise.
31896         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31897         function contents.
31899         * math/libm-test.inc (struct test_ff_i_data): New type.
31900         (RUN_TEST_LOOP_ff_i_tg): New macro.
31901         (isgreater_test_data): New variable.
31902         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31903         (isgreaterequal_test_data): New variable.
31904         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31905         (isless_test_data): New variable.
31906         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31907         (islessequal_test_data): New variable.
31908         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31909         (islessgreater_test_data): New variable.
31910         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31911         (isunordered_test_data): New variable.
31912         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31914 2013-05-14  David S. Miller  <davem@davemloft.net>
31916         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31918 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
31920         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31922         * math/libm-test.inc (struct test_fF_f1_data): Change type of
31923         extra_test to int.
31924         (struct test_f_i_data): Change type of max_ulp to int.
31926         * math/libm-test.inc (test_ffI_f1_data): New type.
31927         (RUN_TEST_LOOP_ffI_f1): New macro.
31928         (remquo_test_data): New variable.
31929         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31931         * setjmp/tst-setjmp-fp.c: New file.
31932         * setjmp/Makefile (tests): Add tst-setjmp-fp.
31933         (link-libm): New variable.
31934         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31936         * math/libm-test.inc (struct test_f_i_data): New type.
31937         (RUN_TEST_LOOP_f_i): New macro.
31938         (RUN_TEST_LOOP_f_i_tg): Likewise.
31939         (fpclassify_test_data): New variable.
31940         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31941         (ilogb_test_data): New variable.
31942         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31944         * math/libm-test.inc (scalbln_test): Correct function name in END
31945         call.
31947         * math/libm-test.inc (struct test_f_f1_data): Add comment.
31948         (RUN_TEST_LOOP_fI_f1): New macro.
31949         (frexp_test_data): New variable.
31950         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31952         * math/libm-test.inc (struct test_fF_f1_data): New type.
31953         (RUN_TEST_LOOP_fF_f1): New macro.
31954         (modf_test_data): New variable.
31955         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31957         * math/libm-test.inc (struct test_f_f1_data): New type.
31958         (RUN_TEST_LOOP_f_f1): New macro.
31959         (gamma_test_data): New variable.
31960         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31961         (lgamma_test_data): New variable.
31962         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31964 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
31966         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31967         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31968         (main): Comment "tls" pseudo-hwcap.
31970 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
31972         * math/libm-test.inc (struct test_fl_f_data): New type.
31973         (RUN_TEST_LOOP_fl_f): New variable.
31974         (scalbln_test_data): New variable.
31975         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31977         * math/libm-test.inc (struct test_fi_f_data): New type.
31978         (RUN_TEST_LOOP_fi_f): New macro.
31979         (ldexp_test_data): New variable.
31980         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31981         (scalbn_test_data): New variable.
31982         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31984         * math/libm-test.inc (struct test_c_f_data): New type.
31985         (RUN_TEST_LOOP_c_f): New macro.
31986         (cabs_test_data): New variable.
31987         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31988         (carg_test_data): New variable.
31989         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31990         (cimag_test_data): New variable.
31991         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31992         (creal_test_data): New variable.
31993         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31995         * math/libm-test.inc (struct test_if_f_data): New type.
31996         (RUN_TEST_LOOP_if_f): New macro.
31997         (jn_test_data): New variable.
31998         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31999         (yn_test_data): New variable.
32000         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
32002         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
32004 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32006         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
32007         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
32009 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32011         * benchtests/Makefile (CPPFLAGS-nonlib): Add
32012         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
32013         (bench-deps): Add bench-timing.h.
32014         * benchtests-bench-skeleton.c: Include bench-timing.h.
32015         (main): Use TIMING_* macros instead of clock_gettime.
32016         * benchtests/bench-timing.h: New file.
32018         [BZ #14582]
32019         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
32020         Renamed from _LIB_VERSION.
32021         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
32023 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
32025         * math/libm-test.inc (struct test_fff_f_data): New type.
32026         (RUN_TEST_LOOP_fff_f): New macro.
32027         (fma_test_data): New variable.
32028         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
32029         (fma_towardzero_test_data): New variable.
32030         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
32031         (fma_downward_test_data): New variable.
32032         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
32033         (fma_upward_test_data): New variable.
32034         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
32036         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
32037         (struct test_c_c_data): New type.
32038         (RUN_TEST_LOOP_c_c): New macro.
32039         (cacos_test_data): New variable.
32040         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
32041         (cacosh_test_data): New variable.
32042         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
32043         (casin_test_data): New variable.
32044         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
32045         (casinh_test_data): New variable.
32046         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
32047         (catan_test_data): New variable.
32048         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
32049         (catanh_test_data): New variable.
32050         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
32051         (ccos_test_data): New variable.
32052         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
32053         (ccosh_test_data): New variable.
32054         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
32055         (cexp_test_data): New variable.
32056         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
32057         (clog_test_data): New variable.
32058         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
32059         (clog10_test_data): New variable.
32060         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
32061         (conj_test_data): New variable.
32062         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
32063         (cproj_test_data): New variable.
32064         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
32065         (csin_test_data): New variable.
32066         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
32067         (csinh_test_data): New variable.
32068         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
32069         (csqrt_test_data): New variable.
32070         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
32071         (ctan_test_data): New variable.
32072         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
32073         (ctan_tonearest_test_data): New variable.
32074         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32075         (ctan_towardzero_test_data): New variable.
32076         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32077         (ctan_downward_test_data): New variable.
32078         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32079         (ctan_upward_test_data): New variable.
32080         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32081         (ctanh_test_data): New variable.
32082         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
32083         (ctanh_tonearest_test_data): New variable.
32084         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
32085         (ctanh_towardzero_test_data): New variable.
32086         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
32087         (ctanh_downward_test_data): New variable.
32088         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
32089         (ctanh_upward_test_data): New variable.
32090         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
32091         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
32092         of BUILD_COMPLEX.
32094         * math/libm-test.inc (struct test_ff_f_data): New type.
32095         (struct test_ff_f_data_nexttoward): Likewise.
32096         (RUN_TEST_LOOP_2_f): New macro.
32097         (RUN_TEST_LOOP_ff_f): Likewise.
32098         (atan2_test_data): New variable.
32099         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
32100         (copysign_test_data): New variable.
32101         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
32102         (fdim_test_data): New variable.
32103         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
32104         (fmax_test_data): New variable.
32105         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
32106         (fmin_test_data): New variable.
32107         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
32108         (fmod_test_data): New variable.
32109         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
32110         (hypot_test_data): New variable.
32111         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
32112         (nextafter_test_data): New variable.
32113         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
32114         (nexttoward_test_data): New variable.
32115         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
32116         (pow_test_data): New variable.
32117         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
32118         (pow_tonearest_test_data): New variable.
32119         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
32120         (pow_towardzero_test_data): New variable.
32121         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
32122         (pow_downward_test_data): New variable.
32123         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
32124         (pow_upward_test_data): New variable.
32125         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
32126         (remainder_test_data): New variable.
32127         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
32128         (scalb_test_data): New variable.
32129         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
32130         * sysdeps/i386/fpu/libm-test-ulps: Update.
32132 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
32134         * math/libm-test.inc (fma_test): Use max_value instead of local
32135         variable fltmax.
32136         (nextafter_test): Likewise.
32138         * math/libm-test.inc (acos_towardzero_test_data): New variable.
32139         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32140         (acos_downward_test_data): New variable.
32141         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32142         (acos_upward_test_data): New variable.
32143         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32144         (acosh_test_data): New variable.
32145         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32146         (asin_test_data): New variable.
32147         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32148         (asin_tonearest_test_data): New variable.
32149         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32150         (asin_towardzero_test_data): New variable.
32151         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32152         (asin_downward_test_data): New variable.
32153         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32154         (asin_upward_test_data): New variable.
32155         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32156         (asinh_test_data): New variable.
32157         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32158         (atan_test_data): New variable.
32159         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32160         (atanh_test_data): New variable.
32161         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32162         (cbrt_test_data): New variable.
32163         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32164         (ceil_test_data): New variable.
32165         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32166         (cos_test_data): New variable.
32167         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32168         (cos_tonearest_test_data): New variable.
32169         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32170         (cos_towardzero_test_data): New variable.
32171         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32172         (cos_downward_test_data): New variable.
32173         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32174         (cos_upward_test_data): New variable.
32175         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32176         (cosh_test_data): New variable.
32177         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32178         (cosh_tonearest_test_data): New variable.
32179         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32180         (cosh_towardzero_test_data): New variable.
32181         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32182         (cosh_downward_test_data): New variable.
32183         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32184         (cosh_upward_test_data): New variable.
32185         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32186         (erf_test_data): New variable.
32187         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32188         (erfc_test_data): New variable.
32189         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32190         (exp_test_data): New variable.
32191         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32192         (exp_tonearest_test_data): New variable.
32193         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32194         (exp_towardzero_test_data): New variable.
32195         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32196         (exp_downward_test_data): New variable.
32197         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32198         (exp_upward_test_data): New variable.
32199         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32200         (exp10_test_data): New variable.
32201         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32202         (exp2_test_data): New variable.
32203         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32204         (expm1_test_data): New variable.
32205         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32206         (fabs_test_data): New variable.
32207         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32208         (floor_test_data): New variable.
32209         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32210         (j0_test_data): New variable.
32211         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32212         (j1_test_data): New variable.
32213         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32214         (log_test_data): New variable.
32215         (log_test): Run tests with RUN_TEST_LOOP_f_f.
32216         (log10_test_data): New variable.
32217         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32218         (log1p_test_data): New variable.
32219         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32220         (log2_test_data): New variable.
32221         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32222         (logb_test_data): New variable.
32223         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32224         (logb_downward_test_data): New variable.
32225         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32226         (nearbyint_test_data): New variable.
32227         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32228         (rint_test_data): New variable.
32229         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32230         (rint_tonearest_test_data): New variable.
32231         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32232         (rint_towardzero_test_data): New variable.
32233         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32234         (rint_downward_test_data): New variable.
32235         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32236         (rint_upward_test_data): New variable.
32237         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32238         (round_test_data): New variable.
32239         (round_test): Run tests with RUN_TEST_LOOP_f_f.
32240         (sin_test_data): New variable.
32241         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32242         (sin_tonearest_test_data): New variable.
32243         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32244         (sin_towardzero_test_data): New variable.
32245         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32246         (sin_downward_test_data): New variable.
32247         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32248         (sin_upward_test_data): New variable.
32249         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32250         (sinh_test_data): New variable.
32251         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32252         (sinh_tonearest_test_data): New variable.
32253         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32254         (sinh_towardzero_test_data): New variable.
32255         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32256         (sinh_downward_test_data): New variable.
32257         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32258         (sinh_upward_test_data): New variable.
32259         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32260         (sqrt_test_data): New variable.
32261         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32262         (tan_test_data): New variable.
32263         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32264         (tan_tonearest_test_data): New variable.
32265         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32266         (tan_towardzero_test_data): New variable.
32267         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32268         (tan_downward_test_data): New variable.
32269         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32270         (tan_upward_test_data): New variable.
32271         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32272         (tanh_test_data): New variable.
32273         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32274         (tgamma_test_data): New variable.
32275         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32276         (trunc_test_data): New variable.
32277         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32278         (y0_test_data): New variable.
32279         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32280         (y1_test_data): New variable.
32281         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32282         (significand_test_data): New variable.
32283         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32285 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
32287         [BZ #12387]
32288         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32290 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32292         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32294 2013-05-10  Andreas Jaeger  <aj@suse.de>
32296         [BZ #15448]
32297         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32298         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32300 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32302         * math/gen-libm-test.pl (adjust_arg): New function.
32303         (special_functions): Handle generating output in both functions
32304         and arrays.
32305         (parse_args): Likewise.
32306         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
32307         $in_func argument to parse_args.
32308         * math/libm-test.inc (struct test_f_f_data): New type.
32309         (IF_ROUND_INIT_): New macro.
32310         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32311         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32312         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32313         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32314         (ROUND_RESTORE_): Likewise.
32315         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32316         (ROUND_RESTORE_FE_TONEAREST): Likewise.
32317         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32318         (ROUND_RESTORE_FE_UPWARD): Likewise.
32319         (RUN_TEST_LOOP_f_f): New macro.
32320         (acos_test_data): New variable.
32321         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32322         (acos_tonearest_test_data): New variable.
32323         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32325 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32327         * benchtests/bench-skeleton.c (startup): Fix coding style.
32329 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32331         [BZ #6809]
32332         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32333         negative infinity argument.
32334         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32335         negative infinity argument.
32336         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32337         negative infinity argument.
32338         * math/libm-test.inc (tgamma_test): Expect errno to be set for
32339         domain errors.
32341 2013-05-10  Florian Weimer  <fweimer@redhat.com>
32343         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32344         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32345         * iconv/iconv_prog.c (main): Likewise.
32346         * locale/programs/charmap-dir.c (charmap_readdir)
32347         (fopen_uncompressed): Likewise.
32348         * locale/programs/locfile.c (siblings_uncached)
32349         (write_locale_data): Use lstat64 instead of lstat.
32350         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32351         stat.
32353 2013-05-10  Andreas Jaeger  <aj@suse.de>
32355         [BZ #15395]
32356         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32357         localization.
32358         Include <locale.h>.
32360 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
32362         * elf/dl-close.c (_dl_close_worker): Add comments.
32364 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
32366         [BZ #15359]
32367         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32368         high part of pi/2.
32369         (__ieee754_rem_pio2l): Update comments.
32371         [BZ #15429]
32372         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32373         high part of pi/2.
32374         (__ieee754_rem_pio2l): Update comments.
32376         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32377         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32379         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32380         M_PI_4l.
32382         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32383         (M_PI_34_LOG10El): Likewise.
32384         (M_PI2_LOG10El): Likewise.
32385         (M_PI4_LOG10El): Likewise.
32386         (M_PI_LOG10El): Likewise.
32388 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32392 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
32394         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32395         (MINUS_ZERO_INIT): Likewise.
32396         (PLUS_INFTY_INIT): Likewise.
32397         (MINUS_INFTY_INIT): Likewise.
32398         (QNAN_VALUE_INIT): Likewise.
32399         (MAX_VALUE_INIT): Likewise.
32400         (MIN_VALUE_INIT): Likewise.
32401         (MIN_SUBNORM_VALUE_INIT): Likewise.
32402         (plus_zero): Initialize with PLUS_ZERO_INIT.
32403         (minus_zero): Initialize with MINUS_ZERO_INIT.
32404         (plus_infty): Initialize with PLUS_INFTY_INIT.
32405         (minus_infty): Initialize with MINUS_INFTY_INIT.
32406         (qnan_value): Initialize with QNAN_VALUE_INIT.
32407         (max_value): Initialize with MAX_VALUE_INIT.
32408         (min_value): Initialize with MIN_VALUE_INIT.
32409         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32411         * math/libm-test.inc (RUN_TEST_if_f): New macro.
32412         (jn_test): Use TEST_if_f instead of TEST_ff_f.
32413         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32414         (yn_test): Use TEST_if_f instead of TEST_ff_f.
32416         * math/libm-test.inc (RUN_TEST_f_f): New macro.
32417         (RUN_TEST_2_f): Likewise.
32418         (RUN_TEST_ff_f): Likewise.
32419         (RUN_TEST_fi_f): Likewise.
32420         (RUN_TEST_fl_f): Likewise.
32421         (RUN_TEST_fff_f): Likewise.
32422         (RUN_TEST_c_f): Likewise.
32423         (RUN_TEST_f_f1): Likewise.
32424         (RUN_TEST_fF_f1): Likewise.
32425         (RUN_TEST_fI_f1): Likewise.
32426         (RUN_TEST_ffI_f1): Likewise.
32427         (RUN_TEST_c_c): Likewise.
32428         (RUN_TEST_cc_c): Likewise.
32429         (RUN_TEST_f_i): Likewise.
32430         (RUN_TEST_f_i_tg): Likewise.
32431         (RUN_TEST_ff_i_tg): Likewise.
32432         (RUN_TEST_f_b): Likewise.
32433         (RUN_TEST_f_b_tg): Likewise.
32434         (RUN_TEST_f_l): Likewise.
32435         (RUN_TEST_f_L): Likewise.
32436         (RUN_TEST_sincos): Likewise.
32437         * math/gen-libm-test.pl (new_test): Take new argument to indicate
32438         whether to show exceptions.  Do not include ");\n" in return
32439         value.
32440         (special_functions): Output call to RUN_TEST_sincos instead of
32441         check_float calls.  Update calls to new_test.
32442         (parse_args): Output call to single RUN_TEST_* macro instead of
32443         check_* calls and other assignments.  Update calls to new_test.
32445         [BZ #2546]
32446         [BZ #2560]
32447         [BZ #5159]
32448         [BZ #15426]
32449         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32450         input to result for tgamma overflow.
32451         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32452         (gamma_coeff): New variable.
32453         (NCOEFF): New macro.
32454         (gamma_positive): New function.
32455         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32456         underflow here.  Use gamma_positive instead of exp (lgamma) for
32457         other arguments.
32458         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32459         (gamma_coeff): New variable.
32460         (NCOEFF): New macro.
32461         (gammaf_positive): New function.
32462         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32463         underflow here.  Use gamma_positive instead of exp (lgamma) for
32464         other arguments.
32465         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32466         (gamma_coeff): New variable.
32467         (NCOEFF): New macro.
32468         (gammal_positive): New function.
32469         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32470         underflow here.  Use gamma_positive instead of exp (lgamma) for
32471         other arguments.
32472         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32473         (gamma_coeff): New variable.
32474         (NCOEFF): New macro.
32475         (gammal_positive): New function.
32476         (__ieee754_gammal_r): Handle positive infinity, overflow and
32477         underflow here.  Handle NaN the same as positive infinity.  Remove
32478         check x < 0xffffffff for negative integers.  Use gamma_positive
32479         instead of exp (lgamma) for other arguments.
32480         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32481         (gamma_coeff): New variable.
32482         (NCOEFF): New macro.
32483         (gammal_positive): New function.
32484         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32485         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32486         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32487         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32488         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32489         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32490         * sysdeps/generic/math_private.h (__gamma_productf): New
32491         prototype.
32492         (__gamma_product): Likewise.
32493         (__gamma_productl): Likewise.
32494         * math/Makefile (libm-calls): Add gamma_product.
32495         * math/libm-test.inc (tgamma_test): Add more tests.
32496         * sysdeps/i386/fpu/libm-test-ulps: Update.
32497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32499 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
32501         * benchtests/bench-skeleton.c (main): Preheat CPU.
32503 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
32505         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32507 2013-05-07  Roland McGrath  <roland@hack.frob.com>
32509         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32510         and _dl_skip_args_internal.
32512 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
32514         * manual/message.texi (Message Translation): Talk about users.
32515         Message to key mapping impacts design.
32517 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32519         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32521         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32523         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32524         * sysdeps/wordsize-64/glob64.c: ... here.
32526         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32527         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32528         New macros.
32530         * debug/getlogin_r_chk.c: Moved to ...
32531         * login/getlogin_r_chk.c: ... here.
32532         * debug/Makefile (routines): Move getlogin_r_chk to ...
32533         * login/Makefile (routines): ... here.
32534         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32535         * login/Versions (libc: GLIBC_2.4): ... here.
32537         * io/poll.c (__poll): Renamed from poll.
32538         Add libc_hidden_def.
32539         (poll): Define as weak alias.
32541         * debug/ptsname_r_chk.c: Moved to ...
32542         * login/ptsname_r_chk.c: ... here.
32543         * debug/Makefile (routines): Move ptsname_r_chk to ...
32544         * login/Makefile (routines): ... here.
32545         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32546         * login/Versions (libc: GLIBC_2.4): ... here.
32548         * posix/getlogin.c: Moved to ...
32549         * login/getlogin.c: ... here.
32550         * posix/getlogin_r.c: Moved to ...
32551         * login/getlogin_r.c: ... here.
32552         * posix/getlogin_r.c: Moved to ...
32553         * login/getlogin_r.c: ... here.
32554         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32555         * login/Makefile (routines): ... here.
32556         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32557         * login/Versions (libc: GLIBC_2.0): ... here.
32559         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32560         (setrlimit): Define as weak alias.
32562         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32563         Call __ names for open, ftruncate, and close.
32564         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32565         (truncate): Define as weak alias.
32567 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
32569         * math/gen-libm-test.pl (parse_args): Initialize x before each
32570         test of frexp, modf and remquo.
32572         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32573         test signgam value.
32575 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32577         [BZ #15418]
32578         [BZ #15419]
32579         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32580         internal tests.
32581         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32583 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32585         * elf/dl-writev.h: New file.
32586         * elf/dl-misc.c: Include it.
32587         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32588         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32590 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
32592         * math/libm-test.inc (noXFails): Remove variable.
32593         (noXPasses): Likewise.
32594         (BUILD_COMPLEX_INT): Remove macro.
32595         (print_screen): Remove xfail argument.
32596         (print_screen_max_error): Likewise.
32597         (update_stats): Likewise.
32598         (print_max_error): Likewise.  Update calls to other affected
32599         functions.
32600         (print_complex_max_error): Likewise.
32601         (test_single_exception): Update calls to print_screen.
32602         (test_single_errno): Likewise.
32603         (check_float_internal): Remove xfail argument.  Update calls to
32604         other affected functions.
32605         (check_float): Likewise.
32606         (check_complex): Likewise.
32607         (check_int): Likewise.
32608         (check_long): Likewise.
32609         (check_bool): Likewise.
32610         (check_longlong): Likewise.
32611         (main): Don't print noXFails and noXPasses.
32612         * math/gen-libm-test.pl (top level): Don't mention expected
32613         failure handling in comment.
32614         (new_test): Don't handle expected failures.
32615         (parse_args): Don't mention expected failure handling in comment.
32616         (generate_testfile): Don't handle expected failures.
32617         (parse_ulps): Likewise.
32618         (print_ulps_file): Likewise.
32619         (get_failure): Remove function.
32620         (output_test): Don't handle expected failures.
32621         * make/README.libm-test: Don't mention expected failure handling.
32623         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
32624         (minus_zero): Likewise.
32625         (plus_infty): Likewise.
32626         (minus_infty): Likewise.
32627         (qnan_value): Likewise.
32628         (max_value): Likewise.
32629         (min_value): Likewise.
32630         (min_subnorm_value): Likewise.
32631         (initialize): Do not initialize those variables dynamically.
32633 2013-05-03  Roland McGrath  <roland@hack.frob.com>
32635         * io/open.c (__open_2): Moved to ...
32636         * io/open_2.c: ... this new file.
32637         * io/open64.c (__open64_2): Moved to ...
32638         * io/open64_2.c: ... this new file.
32639         * io/openat.c (__openat_2): Moved to ...
32640         * io/openat_2.c: ... this new file.
32641         * io/openat64.c (__openat64_2): Moved to ...
32642         * io/openat64_2.c: ... this new file.
32643         * io/Makefile (routines): Add them.
32644         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32645         * sysdeps/unix/sysv/linux/open_2.c: File removed.
32646         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32647         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32648         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32649         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32650         (__openat64): Add hidden_ver.
32651         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32652         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32654         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32655         Separately conditionalize setting of GLRO(dl_sysinfo) so
32656         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32657         as well, but the actual setting is only under [NEED_DL_SYSINFO].
32659 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32661         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32662         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32663         definition.
32664         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32665         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32666         (_libc_vdso_platform_setup): Add __vdso_time initialization.
32667         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32668         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32670 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
32672         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32673         test signgam value.
32675         * math/libm-test.inc (hypot_test): Do not use
32676         IGNORE_ZERO_INF_SIGN.
32678 2013-05-03  Andreas Jaeger  <aj@suse.de>
32680         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32681         Linux 3.9.
32682         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32683         (PF_MAX): Adjust for VSOCK change.
32685 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32687         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32689 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
32691         [BZ #15264]
32692         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32693         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32694         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32696 2013-05-02  David S. Miller  <davem@davemloft.net>
32698         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32700 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
32702         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32704 2013-05-01  Roland McGrath  <roland@hack.frob.com>
32706         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32708 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
32710         [BZ #14952]
32711         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32712         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32713         Use __attribute__ ((__gnu_inline__)).
32714         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32715         Don't use __attribute__ ((__gnu_inline__)).
32717 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
32719         [BZ #15423]
32720         * math/s_catan.c (__catan): Handle small real or imaginary part of
32721         input specially to avoid spurious underflow.
32722         * math/s_catanf.c (__catanf): Likewise.
32723         * math/s_catanh.c (__catanh): Likewise.
32724         * math/s_catanhf.c (__catanhf): Likewise.
32725         * math/s_catanhl.c (__catanhl): Likewise.
32726         * math/s_catanl.c (__catanl): Likewise.
32727         * math/libm-test.inc (catan_test): Add more tests.
32728         (catanh_test): Likewise.
32729         * sysdeps/i386/fpu/libm-test-ulps: Update.
32730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32732 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32734         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32736 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
32738         [BZ #15416]
32739         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32740         accurately for denominator in atan2.
32741         * math/s_catanf.c (__catanf): Likewise.
32742         * math/s_catanh.c (__catanh): Likewise.
32743         * math/s_catanhf.c (__catanhf): Likewise.
32744         * math/s_catanhl.c (__catanhl): Likewise.
32745         * math/s_catanl.c (__catanl): Likewise.
32746         * math/libm-test.inc (catan_test): Add more tests.
32747         (catanh_test): Likewise.
32748         * sysdeps/i386/fpu/libm-test-ulps: Update.
32749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32751 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32753         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32755         * benchtests/Makefile (bench): Remove slow benchmarks.
32756         * benchtests/atan-inputs: Add slow benchmark inputs.
32757         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32758         (BENCH_FUNC): Accept variant offset.
32759         (VARIANT): Define.
32760         * benchtests/bench-skeleton.c (main): Run benchmark for each
32761         variant.
32762         * benchtests/cos-inputs: Add slow benchmark inputs.
32763         * benchtests/exp-inputs: Likewise.
32764         * benchtests/pow-inputs: Likewise.
32765         * benchtests/sin-inputs: Likewise.
32766         * benchtests/slowatan-inputs: Remove.
32767         * benchtests/slowatan.c: Remove.
32768         * benchtests/slowcos-inputs: Remove.
32769         * benchtests/slowcos.c: Remove.
32770         * benchtests/slowexp-inputs: Remove.
32771         * benchtests/slowexp.c: Remove.
32772         * benchtests/slowpow-inputs: Remove.
32773         * benchtests/slowpow.c: Remove.
32774         * benchtests/slowsin-inputs: Remove.
32775         * benchtests/slowsin.c: Remove.
32776         * benchtests/slowtan-inputs: Remove.
32777         * benchtests/slowtan.c: Remove.
32778         * benchtests/tan-inputs: Add slow benchmark inputs.
32779         * scripts/bench.pl: Parse comments and directives.
32781         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
32782         in CPPFLAGS.
32783         ($(objpfx)bench-%.c): Remove *-ITER.
32784         * benchtests/bench-modf.c: Remove definition of ITER.
32785         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32786         (main): Loop for DURATION seconds instead of fixed number of
32787         iterations.
32788         * scripts/bench.pl: Don't expect iterations in parameters.
32790 2013-04-29  Roland McGrath  <roland@hack.frob.com>
32792         * io/fchdir.c (__fchdir): Renamed from fchdir.
32793         (fchdir): Define as weak alias.
32795 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32797         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32798         (ERRNO_EDOM): Likewise.
32799         (ERRNO_ERANGE): Likewise.
32800         (noErrnoTests): New variable.
32801         (init_max_error): Set errno to 0.
32802         (test_single_errno): New function.
32803         (test_errno): Likewise.
32804         (check_float_internal): Call test_errno.  Set errno to 0.
32805         (check_complex): Refer to errno tests in comment.
32806         (check_int): Call test_errno.  Set errno to 0.
32807         (check_long): Likewise.
32808         (check_bool): Likewise.
32809         (check_longlong): Likewise.
32810         (cos_test): Use ERRNO_* flags for errno tests instead of
32811         check_int.
32812         (expm1_test): Likewise.
32813         (fmod_test): Likewise.
32814         (ilogb_test): Likewise.
32815         (lgamma_test): Likewise.
32816         (pow_test): Likewise.
32817         (remainder_test): Likewise.
32818         (sin_test): Likewise.
32819         (tan_test): Likewise.
32820         (yn_test): Likewise.
32821         (initialize): Set errno to 0.
32822         (main): Print number of errno tests.
32823         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32825 2013-04-29  Andreas Jaeger  <aj@suse.de>
32827         [BZ #15084]
32828         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32829         and RES_USEVC.
32831         [BZ #15085]
32832         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32833         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32834         unimplemented.
32836         [BZ #15380]
32837         * stdlib/random.c (__initstate): Return NULL if
32838         __initstate fails.
32840         [BZ #15086]
32841         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32842         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32843         RES_SNGLKUPREOP.
32845 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32849 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32851         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32852         of individual tests.
32853         (casin_test): Likewise.
32854         (casinh_test): Likewise.
32856 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
32858         [BZ #15409]
32859         * math/s_catan.c (__catan): Handle arguments with large real or
32860         imaginary part separately without squaring.
32861         * math/s_catanf.c (__catanf): Likewise.
32862         * math/s_catanh.c (__catanh): Likewise.
32863         * math/s_catanhf.c (__catanhf): Likewise.
32864         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32865         and redefine.
32866         (__catanhl): Handle arguments with large real or imaginary part
32867         separately without squaring.
32868         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32869         and redefine.
32870         (__catanl): Handle arguments with large real or imaginary part
32871         separately without squaring.
32872         * math/libm-test.inc (catan_test): Add more tests.
32873         (catanh_test): Likewise.
32874         * sysdeps/i386/fpu/libm-test-ulps: Update.
32875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32877 2013-04-27  Andreas Jaeger  <aj@suse.de>
32879         [BZ #15007]
32880         * stdlib/stdlib.h: Update guards for qecvt.
32881         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32882         <stdlib.h>.
32884 2013-04-27  Allan McRae  <allan@archlinux.org>
32886         * sysdeps/i386/fpu/libm-test-ulps: Update.
32888 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
32890         [BZ #15406]
32891         * math/s_catan.c: Include <float.h>.
32892         (__catan): Ensure underflow exception occurs for underflowed
32893         result.
32894         * math/s_catanf.c: Include <float.h>.
32895         (__catanf): Ensure underflow exception occurs for underflowed
32896         result.
32897         * math/s_catanh.c: Include <float.h>.
32898         (__catanh): Ensure underflow exception occurs for underflowed
32899         result.
32900         * math/s_catanhf.c: Include <float.h>.
32901         (__catanhf): Ensure underflow exception occurs for underflowed
32902         result.
32903         * math/s_catanhl.c: Include <float.h>.
32904         (__catanhl): Ensure underflow exception occurs for underflowed
32905         result.
32906         * math/s_catanl.c: Include <float.h>.
32907         (__catanl): Ensure underflow exception occurs for underflowed
32908         result.
32909         * math/libm-test.inc (catan_test): Add more tests.
32910         (catanh_test): Likewise.
32912         [BZ #15405]
32913         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32914         underflowed result.
32915         * math/s_ccoshf.c (__ccoshf): Likewise.
32916         * math/s_ccoshl.c (__ccoshl): Likewise.
32917         * math/s_csin.c (__csin): Likewise.
32918         * math/s_csinf.c (__csinf): Likewise.
32919         * math/s_csinh.c (__csinh): Likewise.
32920         * math/s_csinhf.c (__csinhf): Likewise.
32921         * math/s_csinhl.c (__csinhl): Likewise.
32922         * math/s_csinl.c (__csinl): Likewise.
32923         * math/libm-test.inc (ccos_test): Add more tests.
32924         (ccosh_test): Likewise.
32925         (csin_test): Likewise.
32926         (csinh_test): Likewise.
32928 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32930         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32931         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32932         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32933         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32934         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32935         powerpc/power5+/fpu folders.
32936         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32939 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32941         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32943 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
32945         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32946         additions to variable.
32947         [$(config-machine) = x86_64] (modules-names): Likewise.
32948         ($(objpfx)tst-audit3): Remove dependency.
32949         ($(objpfx)tst-audit3.out): Likewise.
32950         ($(objpfx)tst-audit4): Likewise.
32951         ($(objpfx)tst-audit4.out): Likewise.
32952         ($(objpfx)tst-audit5): Likewise.
32953         ($(objpfx)tst-audit5.out): Likewise.
32954         ($(objpfx)tst-audit6): Likewise.
32955         ($(objpfx)tst-audit6.out): Likewise.
32956         ($(objpfx)tst-audit7): Likewise.
32957         ($(objpfx)tst-audit7.out): Likewise.
32958         (tst-audit3-ENV): Remove variable.
32959         (tst-audit4-ENV): Likewise.
32960         (tst-audit5-ENV): Likewise.
32961         (tst-audit6-ENV): Likewise.
32962         (tst-audit7-ENV): Likewise.
32963         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32964         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32965         addition to variable.
32966         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32967         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32968         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32969         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32970         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32971         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32972         tst-audit3, tst-audit4 and tst-audit5.
32973         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32974         tst-audit6 and tst-audit7.
32975         [$(subdir) = elf] (modules-names): Add audit modules for those
32976         tests.
32977         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32978         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32979         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32980         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32981         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32982         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32983         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32984         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32985         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32986         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32987         [$(subdir) = elf] (tst-audit3-ENV): New variable.
32988         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32989         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32990         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32991         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32992         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32993         Likewise.
32994         [$(subdir) = elf && $(config-cflags-avx) = yes]
32995         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32996         [$(subdir) = elf && $(config-cflags-avx) = yes]
32997         (CFLAGS-tst-auditmod4a.c): Likewise.
32998         [$(subdir) = elf && $(config-cflags-avx) = yes]
32999         (CFLAGS-tst-auditmod4b.c): Likewise.
33000         [$(subdir) = elf && $(config-cflags-avx) = yes]
33001         (CFLAGS-tst-auditmod6b.c): Likewise.
33002         [$(subdir) = elf && $(config-cflags-avx) = yes]
33003         (CFLAGS-tst-auditmod6c.c): Likewise.
33004         [$(subdir) = elf && $(config-cflags-avx) = yes]
33005         (CFLAGS-tst-auditmod7b.c): Likewise.
33006         * elf/tst-audit3.c: Move to ...
33007         * sysdeps/x86_64/tst-audit3.c: ... here.
33008         * elf/tst-audit4.c: Move to ...
33009         * sysdeps/x86_64/tst-audit4.c: ... here.
33010         * elf/tst-audit5.c: Move to ...
33011         * sysdeps/x86_64/tst-audit5.c: ... here.
33012         * elf/tst-audit6.c: Move to ...
33013         * sysdeps/x86_64/tst-audit6.c: ... here.
33014         * elf/tst-audit7.c: Move to ...
33015         * sysdeps/x86_64/tst-audit7.c: ... here.
33016         * elf/tst-auditmod3a.c: Move to ...
33017         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
33018         * elf/tst-auditmod3b.c: Move to ...
33019         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
33020         * elf/tst-auditmod4a.c: Move to ...
33021         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
33022         * elf/tst-auditmod4b.c: Move to ...
33023         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
33024         * elf/tst-auditmod5a.c: Move to ...
33025         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
33026         * elf/tst-auditmod5b.c: Move to ...
33027         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
33028         * elf/tst-auditmod6a.c: Move to ...
33029         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
33030         * elf/tst-auditmod6b.c: Move to ...
33031         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
33032         * elf/tst-auditmod6c.c: Move to ...
33033         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
33034         * elf/tst-auditmod7a.c: Move to ...
33035         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
33036         * elf/tst-auditmod7b.c: Move to ...
33037         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
33039 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
33041         [BZ #15366]
33042         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
33043         define unconditionally.
33044         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
33045         define unconditionally.
33046         (INT8_C, INT16_C, etc.): Likewise.
33048 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
33050         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
33051         __ehdr_start with hidden visibility.
33053         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
33055 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
33057         * math/libm-test.inc (cos_test): Use accurate hex constants.
33058         (sincost_test): Likewise.
33060 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
33062         * math/libm-test.inc (catan_test): Add more tests.
33063         (catanh_test): Likewise.
33065         * math/s_catanf.c (__catanf): Use suffixed floating-point
33066         constants.
33067         * math/s_catanhf.c (__catanhf): Likewise.
33068         * math/s_catanhl.c (__catanhl): Likewise.
33069         * math/s_catanl.c (__catanl): Likewise.
33071         [BZ #15394]
33072         * math/s_catan.c (__catan): Calculate imaginary part of result
33073         with log1p not log unless computing log of number close to 0.
33074         * math/s_catanf.c (__catanf): Likewise.
33075         * math/s_catanl.c (__catanl): Likewise.
33076         * math/s_catanh.c (__catanh): Calculate real part of result with
33077         log1p not log unless computing log of number close to 0.
33078         * math/s_catanhf.c (__catanhf): Likewise.
33079         * math/s_catanhl.c (__catanhl): Likewise.
33080         * math/libm-test.inc (catan_test): Add more tests.
33081         (catanh_test): Likewise.
33082         * sysdeps/i386/fpu/libm-test-ulps: Update.
33083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33085 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33087         * benchtests/Makefile: Mention files in which fast and slow
33088         paths of math functions are implemented.
33090 2013-04-23  Roland McGrath  <roland@hack.frob.com>
33092         * sysdeps/posix/timespec_get.c: New file.
33094 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33096         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
33097         POWER.
33098         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
33099         for POWER.
33100         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
33101         powerpc/power5/fpu folders.
33102         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
33103         * benchtests/Makefile: Add modf testcase.
33104         * benchtests/bench-modf.c: New file: Benchmark test for mo
33106 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33108         [BZ #14888]
33109         * time/Makefile (tests): Add tst-strptime-whitespace.
33110         * time/strptime_l.c (get_number): Use ISSPACE.
33111         (__strptime_internal): Likewise.
33112         * time/tst-strptime-whitespace.c: New test case.
33114 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
33116         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
33117         member.
33118         (_nss_files_init): Set it here.
33120 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
33122         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
33123         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
33124         unsigned.
33126 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
33128         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
33130 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33132         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
33133         size just once.
33135 2013-04-21  David S. Miller  <davem@davemloft.net>
33137         * po/ru.po: Update Russion translation from translation project.
33139 2013-04-17  Adam Conrad  <adconrad@0c3.net>
33141         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33142         and setfsgid.
33144 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
33146         * configure.in: Remove i386 configure warning. Remove i386 case.
33147         * configure: Regenerate.
33148         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33149         Add example to error message.
33150         * sysdeps/i386/configure: Regenerate.
33152 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33154         * benchtests/Makefile (bench): Add cos, tan, slowcos and
33155         slowtan.
33156         * benchtests/cos-inputs: New file.
33157         * benchtests/slowcos-inputs: New file.
33158         * benchtests/slowcos.c: New file.
33159         * benchtests/slowtan-inputs: New file.
33160         * benchtests/slowtan.c: New file.
33161         * benchtests/tan-inputs: New file.
33163 2013-04-16  Roland McGrath  <roland@hack.frob.com>
33165         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33166         considered kosher.
33168 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33170         * benchtests/Makefile: Include cppflags-iterator.mk to add
33171         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33173         * Makefile.in (bench-clean): New target.
33174         * benchtests/Makefile (bench-clean): Likewise.
33176 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
33178         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33180 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
33182         * stdio-common/tstdiomisc.c: Fix coding-style violation.
33184 2013-04-15  Andreas Schwab  <schwab@suse.de>
33186         * nscd/grpcache.c (cache_addgr): Properly check for short write.
33187         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33188         * nscd/pwdcache.c (cache_addpw): Likewise.
33189         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
33190         more than recsize.
33192 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33194         * benchtests/Makefile (bench): Write all output to
33195         bench-out.tmp together.
33197 2013-04-15  Andreas Schwab  <schwab@suse.de>
33199         * nscd/nscd.c (main): Don't fork again after closing files.
33201 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33203         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33205         * benchtests/Rules (bench-deps): Collect dependencies into a
33206         single variable.  Add Makefile to dependencies.
33207         ($(objpfx)bench-%.c): Depend on bench-deps.
33209 2013-04-12  Roland McGrath  <roland@hack.frob.com>
33210             Xavier Roche  <roche+kml2@exalead.com>
33212         [BZ #15361]
33213         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33214         just that it's a file descriptor.
33215         * manual/llio.texi (Synchronizing AIO Operations): Update description
33216         for EBADF error from aio_fsync.
33218 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33220         * Rules (bench): Move target definition...
33221         * benchtests/Makefile: ... here.
33223 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
33225         * math/libm-test.inc (cos_test): Fix PI/2 test.
33226         (sincos_test): Likewise.
33227         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33228         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33230 2013-04-11  Andreas Schwab  <schwab@suse.de>
33232         [BZ #13988]
33233         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33234         accept exponent character only when digits were seen.
33235         * stdio-common/Makefile (tests): Add bug26.
33236         * stdio-common/bug26.c: New file.
33238         [BZ #14293]
33239         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33240         non-freeable.
33242 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33244         * Makeconfig (rtld-prefix): Define built linker prefix.
33245         * Rules (run-bench): Use it.
33246         * math/Makefile (run-regen-ulps): Likewise.
33248         * Rules (bench): Remove eval.
33250 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33251             Roland McGrath  <roland@hack.frob.com>
33252             Ondrej Bilka  <neleai@seznam.cz>
33254         [BZ #15346]
33255         * time/getdate.c: Include ctype.h and alloca.h.
33256         (__getdate_r): Trim leading and trailing spaces of input.
33257         * time/tst-getdate.c (tests): Add tests with leading and
33258         trailing spaces.
33260 2013-04-08  Roland McGrath  <roland@hack.frob.com>
33262         [BZ #14280]
33263         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33264         when computing value.
33266 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33268         * math/README.libm-test (How can I generate "libm-test-ulps"?):
33269         Use testrun.sh to run libm tests.
33271         [BZ #15309]
33272         * elf/dl-open.c (dl_open_worker): memset all of seen array.
33274 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
33276         [BZ #15264]
33277         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33279 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33281         * Makefile.in (regen-ulps): New target.
33282         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33283         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33284         [ifneq (no,$(PERL)] (regen-ulps): New target.
33285         [ifeq (no,$(PERL)] (regen-ulps): New target.
33286         * math/libm-test.inc (ulps_file_name): Define.
33287         (output_dir): New variable.
33288         (options): Add "output-dir" option.
33289         (parse_opt): Handle 'o' case.
33290         (main): If output_dir is non-NULL use it as a prefix
33291         otherwise use "".
33292         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33294 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33296         [BZ #10060, #10062]
33297         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33298         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33299         fail configure if __sync_val_compare_and_swap is not inlined.
33300         * sysdeps/i386/configure: Regenerate.
33301         * configure.in: Build for i686 when configured for i386.
33302         * configure: Regenerate.
33303         * README: Remove i386 reference.
33305 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33307         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33308         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33310 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33312         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33313         (lmsnanval): New variables.
33314         (F): Add conversion tests.
33315         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33316         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33318         * stdio-common/tstdiomisc.c (F): Properly collect individual
33319         tests' results.
33321         [BZ #14686, #15336]
33322         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33323         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33324         Instead, use input NaN values or generate a qNaN by arithmetic
33325         operation.  Also fix bugs to comply with the standard.
33326         * math/libm-test.inc (remainder_test): Add more tests.
33328         [BZ #15335, #15342]
33329         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33330         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33331         input NaN values or generate a qNaN by arithmetic operation.
33333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33334         unreachable code.
33336         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33337         definitions.
33339 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
33341         [BZ #14478]
33342         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33343         underflowed result.
33344         * math/s_cexpf.c (__cexpf): Likewise.
33345         * math/s_cexpl.c (__cexpl): Likewise.
33346         * math/libm-test.inc (cexp_test): Add more tests.
33348 2013-04-03  Andreas Schwab  <schwab@suse.de>
33350         [BZ #15330]
33351         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33352         order arrays from heap if bigger than alloca cutoff.
33354 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
33356         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33357         (SNAN_TESTS_double): Refer to GCC PR56831.
33358         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33359         GCC PR56828.
33361 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33363         * Rules (bench): Move bench.out after the run is complete.
33365         * Rules (bench): Echo currently running benchmark.
33367         * benchtests/Makefile (bench): Add atan and slowatan.
33368         * benchtests/atan-inputs: New file.
33369         * benchtests/slowatan-inputs: New file.
33370         * benchtests/slowatan.c: New file.
33372         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33373         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33374         its value.
33376         [BZ #15305]
33377         * sysdeps/unix/sysv/linux/kernel-features.h
33378         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33379         __ASSUME_XFS_RESTRICTED_CHOWN.
33380         * sysdeps/unix/sysv/linux/pathconf.c
33381         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33382         Save and restore errno.
33384 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
33386         [BZ #15327]
33387         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33388         arguments using __kernel_casinh.
33389         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33390         arguments using __kernel_casinhf.
33391         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33392         arguments using __kernel_casinhl.
33393         * math/libm-test.inc (cacosh_test): Add more tests.
33394         * sysdeps/i386/fpu/libm-test-ulps: Update.
33395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33397 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33399         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33400         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33402         * bench/Makefile (bench): Add sin and slowsin.
33403         * benchtests/sin-inputs: New file.
33404         * benchtests/slowsin-inputs: New file.
33405         * benchtests/slowsin.c: New file.
33407         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33408         (bench): Add slowexp and slowpow.
33409         (exp-ITER): Increase iterations.
33410         (pow-ITER): Likewise.
33411         * benchtests/exp-inputs: Change input.
33412         * benchtests/pow-inputs: Likewise.
33413         * benchtests/slowexp-inputs: New file.
33414         * benchtests/slowexp.c: New file.
33415         * benchtests/slowpow-inputs: New file.
33416         * benchtests/slowpow.c: New file.
33418 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33420         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33421         instructions.
33422         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33423         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33424         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33425         * benchtests/Makefile: Add rint benchtest.
33426         * benchtests/rint-inputs: Input for rint benchtest.
33428 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33430         * Versions.def (libm): Add GLIBC_2.18.
33431         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33432         hidden libm prototypes.
33433         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33434         * math/Makefile (libm-calls): Add s_issignaling.
33435         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33436         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
33437         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33438         declaration.
33439         * math/math.h [__USE_GNU] (issignaling): New macro.
33440         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33441         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33442         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33443         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33444         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33445         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33446         * manual/arith.texi (issignaling): New section.
33447         * manual/libm-err-tab.pl (@all_functions): Update comment.
33448         * math/gen-libm-test.pl (parse_args): Apply special handling for
33449         issignaling.
33450         * math/libm-test.inc (print_float, issignaling_test): New
33451         functions.
33452         (check_float_internal): Add issignaling checks.
33453         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33454         default definition.
33455         * sysdeps/powerpc/math-tests.h: New file.
33456         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33457         tests.
33458         * math/test-snan.c (TEST_FUNC): Likewise.
33460 2013-03-30  David S. Miller  <davem@davemloft.net>
33462         * po/de.po: Update from translation team.
33464 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
33466         [BZ #10357]
33467         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33468         imaginary part less than 1.0 and real part less than 0.5
33469         specially.
33470         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33471         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33472         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33473         (cacos_test): Add more tests.
33474         (casin_test): Likewise.
33475         (casinh_test): Likewise.
33476         * sysdeps/i386/fpu/libm-test-ulps: Update.
33477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33479 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33481         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33482         ONE with its value.
33484         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33485         (__pow_mp): Replace ONE and MONE with their values.
33486         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33487         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33488         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33489         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33490         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33491         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33493         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33495         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33496         (__pow_mp): Replace ZERO and MZERO with their values.
33497         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33498         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33499         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33500         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33501         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33502         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33503         (__sqr): Likewise.
33505         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33507         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33509 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33511         * include/stdlib.h [!SHARED] (__call_tls_dtors):
33512         Declare with __attribute__ ((weak)).
33513         * stdlib/exit.c (__libc_atexit) [!SHARED]:
33514         Call __call_tls_dtors only if it's not NULL.
33516 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33518         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33519         didn't do it already, then set _dl_phdr and _dl_phnum based on the
33520         magic __ehdr_start linker symbol if it's defined.
33521         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33522         them up here if it was already done.
33524         * elf/dl-support.c (_dl_phdr): Make pointer to const.
33525         (_dl_aux_init): Use const in cast when setting it.
33526         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33527         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33528         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33530         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33531         Declare them here.
33532         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33533         * csu/libc-tls.c: Nor here.
33534         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33536         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33537         (__libc_message): Never call vsyslog.
33539 2013-03-28  Alan Modra  <amodra@gmail.com>
33541         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33542         Define as empty.
33543         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33544         Likewise.
33546 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33548         [BZ #15214]
33549         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33550         underflow.
33551         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33553 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33555         [BZ #15304]
33556         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33557         Don't add gid passed as argument.
33559         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33561 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
33563         [BZ #15307]
33564         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33565         imaginary part between 1.0 and 1.5 and real part less than 0.5
33566         specially.
33567         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33568         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33569         * math/libm-test.inc (cacos_test): Add more tests.
33570         (casin_test): Likewise.
33571         (casinh_test): Likewise.
33572         * sysdeps/i386/fpu/libm-test-ulps: Update.
33573         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33575 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33577         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33578         constants.
33579         (norm): Likewise.
33580         (denorm): Likewise.
33581         (__dbl_mp): Likewise.
33582         (add_magnitudes): Likewise.
33583         (sub_magnitudes): Likewise.
33584         (__add): Likewise.
33585         (__sub): Likewise.
33586         (__mul): Likewise.
33587         (__sqr): Likewise.
33588         (__inv): Likewise.
33589         (__dvd): Likewise.
33591         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33592         commented code.
33593         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33594         (__dubcos): Likewise.
33595         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33596         (__ieee754_acos): Likewise.
33597         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33598         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33599         (__exp1): Likewise.
33600         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33601         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33602         (log1): Likewise.
33603         (my_log2): Likewise.
33604         (checkint): Likewise.
33605         * sysdeps/ieee754/dbl-64/e_remainder.c
33606         (__ieee754_remainder): Likewise.
33607         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33608         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33609         (bsloww): Likewise.
33610         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33612         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33613         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33614         MANTISSA_STORE_T to store computations on mantissa.  Use
33615         macros for rounding and division.
33616         (denorm): Likewise.
33617         (__dbl_mp): Likewise.
33618         (add_magnitudes): Likewise.
33619         (sub_magnitudes): Likewise.
33620         (__mul): Likewise.
33621         (__sqr): Likewise.
33622         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33623         powers of two in terms of TWOPOW macro.
33624         (mp_no): Make type of mantissa as MANTISSA_T.
33625         [!RADIXI]: Define RADIXI.
33626         [!TWO52]: Define TWO52.
33627         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33629 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33631         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33632         llroundl symbol when building for PPC32.
33634 2013-03-24  Mark H Weaver  <mhw@netris.org>
33636         * manual/arith.texi (Normalization Functions): Fix prototypes for
33637         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33639 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33641         [BZ #13889]
33642         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33643         high value to check if expl overflow.
33644         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33645         to check for underflow and overflow.
33646         * math/libm-test.inc: Add exp test.
33648 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
33650         [BZ #11120]
33651         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33652         with NOT_IN_libc.
33654 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33656         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33657         symbol.
33659 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33661         * math/gen-libm-test.pl (parse_args, special_functions): Properly
33662         wrap blocks consisting of several statements.
33664         * sysdeps/generic/math-tests.h: New file.
33665         * sysdeps/i386/fpu/math-tests.h: Likewise.
33666         * math/test-snan.c: Include it.
33667         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33669 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33671         [BZ #15285]
33672         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33673         (__ieee754_j0l): Do not improve calculations using cos of twice
33674         input for inputs above LDBL_MAX / 2.0L.
33675         (__ieee754_y0l): Likewise.
33676         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33677         (__ieee754_j1l): Do not improve calculations using cos of twice
33678         input for inputs above LDBL_MAX / 2.0L.
33679         (__ieee754_y1l): Likewise.
33680         * math/libm-test.inc (j0_test): Add another test.
33681         (j1_test): Likewise.
33682         (y0_test): Likewise.
33683         (y1_test): Likewise.
33684         * sysdeps/i386/fpu/libm-test-ulps: Update.
33686 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33688         * Rules ($(objpfx)bench-%.c): Include code from a C source
33689         file.
33691 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33693         [BZ #15287]
33694         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33695         imaginary part 1.0 and real part less than 0.5 specially.
33696         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33697         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33698         * math/libm-test.inc (cacos_test): Add more tests.
33699         (casin_test): Likewise.
33700         (casinh_test): Likewise.
33701         * sysdeps/i386/fpu/libm-test-ulps: Update.
33702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33704 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33706         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33707         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33709 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
33711         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33712         * config.make.in (config-cflags-sse4): Remove variable.
33713         (config-cflags-avx): Likewise.
33714         (config-cflags-sse2avx): Likewise.
33715         (config-cflags-novzeroupper): Likewise.
33716         (config-asflags-i686): Likewise.
33717         (have-mfma4): Likewise.
33718         (have-as-vis3): Likewise.
33719         (MIG): Likewise.
33720         * configure.in (MIG): Do not AC_SUBST.
33721         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33722         (libc_cv_cc_sse4): Do not AC_SUBST.
33723         (libc_cv_cc_avx): Likewise.
33724         (libc_cv_cc_sse2avx): Likewise.
33725         (libc_cv_cc_novzeroupper): Likewise.
33726         (libc_cv_cc_fma4): Likewise.
33727         (libc_cv_as_i686): Likewise.
33728         (libc_cv_sparc_as_vis3): Likewise.
33729         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33730         LIBC_CONFIG_VAR.
33731         (config-asflags-i686): Likewise.
33732         (config-cflags-avx): Likewise.
33733         (config-cflags-sse2avx): Likewise.
33734         (have-mfma4): Likewise.
33735         (config-cflags-novzeroupper): Likewise.
33736         * sysdeps/mach/configure.in (MIG): Likewise.
33737         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33738         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33739         LIBC_CONFIG_VAR.
33740         (config-cflags-avx): Likewise.
33741         (config-cflags-sse2avx): Likewise.
33742         (have-mfma4): Likewise.
33743         (config-cflags-novzeroupper): Likewise.
33744         * configure: Regenerated.
33745         * sysdeps/i386/configure: Likewise.
33746         * sysdeps/mach/configure: Likewise.
33747         * sysdeps/sparc/configure: Likewise.
33748         * sysdeps/x86_64/configure: Likewise.
33750 2013-03-20  Roland McGrath  <roland@hack.frob.com>
33752         [BZ #14812]
33753         * locale/programs/localedef.c (options): Put N_ translation marker
33754         on argument names, not just descriptions.
33756 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33758         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33760 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
33762         [BZ #14176]
33763         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33765 2013-03-19  Roland McGrath  <roland@hack.frob.com>
33767         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33768         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33769         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33770         [!BEFORE_ABORT] (before_abort): New function.
33771         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33772         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33773         (writev_for_fatal): New function.
33774         (WRITEV_FOR_FATAL): New macro; call that.
33775         (backtrace_and_maps): New function.
33776         (BEFORE_ABORT): New macro; call that.
33777         (struct str_list): Type removed.
33778         (__libc_message, __libc_fatal): Functions removed.
33779         Include <sysdeps/posix/libc_fatal.c> instead.
33781 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
33783         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33784         constants.
33785         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33786         double constants.
33788 2013-03-19  Andreas Schwab  <schwab@suse.de>
33790         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33791         * sysdeps/gnu/configure: Regenerate.
33793         * configure.in: Substitute libc_cv_rtlddir.
33794         * configure: Regenerate.
33795         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33796         * Makeconfig (rtlddir, inst_rtlddir): New variables.
33797         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33798         * elf/Makefile (install-others, CFLAGS-interp.c)
33799         (ldso_install, common-ldd-rewrite): Likewise.
33800         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33801         $(inst_slibdir)/$(rtld-installed-name).
33802         * scripts/rellns-sh: Add -p option.
33803         * Makerules (make-shlib-link): Use rellns-sh to get relative name
33804         for source.
33806 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33808         * manual/nptl.texi: Renamed to ...
33809         * manual/threads.texi: ... this.
33810         * manual/Makefile (chapters): Update.
33812 2013-03-18  Roland McGrath  <roland@hack.frob.com>
33814         [BZ #14812]
33815         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33816         on argument names, not just descriptions.
33817         * malloc/memusagestat.c (options): Likewise.
33818         * nss/getent.c (options): Likewise.
33820 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
33822         [BZ #14812]
33823         * iconv/iconv_prog.c (options): Put N_ translation marker
33824         on argument names, not just descriptions.
33825         * iconv/iconvconfig.c (options): Likewise.
33827 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
33829         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33830         implementation which is faster on all x86_64 architectures.
33831         Tested on AMD, Intel Nehalem, SNB, IVB.
33832         * sysdeps/x86_64/strnlen.S: Likewise.
33834         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33835         Remove all multiarch strlen and strnlen versions.
33836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33837         Remove strlen and strnlen related parts.
33839         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33840         Inline strlen part.
33841         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33843         * sysdeps/x86_64/multiarch/strlen.S: Remove.
33844         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33845         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33846         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33847         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33848         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33850 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
33852         * manual/memory.texi (Malloc Tunable Parameters):
33853         Sort parameters alphabetically. Add comments for missing entries.
33855 2013-03-17  David S. Miller  <davem@davemloft.net>
33857         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33859 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
33861         [BZ #15283]
33862         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33863         for arguments at most half maximum finite value.
33864         * math/libm-test.inc (j0_test): Add more tests.
33865         (j1_test): Likewise.
33866         (y0_test): Likewise.
33867         (y1_test): Likewise.
33868         * sysdeps/i386/fpu/libm-test-ulps: Update.
33869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33871         [BZ #14155]
33872         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33873         1 / x and functions P and Q for arguments above 0x1p256L.
33874         (__ieee754_y0l): Likewise.
33875         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33876         (__ieee754_y1l): Likewise.
33877         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33878         (j1_test): Likewise.
33879         (y0_test): Likewise.
33880         (y1_test): Likewise.
33882 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
33884         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33885         variable.
33887 2013-03-15  Roland McGrath  <roland@hack.frob.com>
33889         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33890         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33891         zero since it's initialized to EXEC_PAGESIZE.
33893         * sysdeps/unix/sysv/linux/ldsodefs.h
33894         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33895         * sysdeps/generic/ldsodefs.h: ... here.
33897 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
33899         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33901         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33902         math/test-snan.c.
33903         * math/test-snan.c: Renamed from
33904         sysdeps/powerpc/fpu/test-powerpc-snan.c.
33905         * math/Makefile (tests): Add test-snan.
33906         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33907         test-powerpc-snan.
33909         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33910         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
33911         functions.
33912         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
33913         __builtin_nan family of functions.
33914         * math/libm-test.inc (initialize): Initialize qnan_value with
33915         __builtin_nan family of functions.
33916         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33917         Remove variables.
33918         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33919         Remove functions.
33920         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
33921         storage class.  Initialize qNaN_var and sNaN_var with
33922         __builtin_nan and __builtin_nans families of functions,
33923         respectively.
33925         * math/libm-test.inc (acosh_test): Also test with qNaN input.
33926         (sqrt_test): Remove duplicate test with qNaN input.
33927         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33928         (round_test, signbit_test, significand_test): Note missing +/-Inf
33929         as well as qNaN tests.
33931         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33932         qNaN_var.  Fix a few strings, too.
33933         * math/libm-test.inc (nan_value): Rename to qnan_value.
33934         * math/gen-libm-test.pl (%beautify): Adjust to that.
33935         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33936         * math/test-misc.c (main): Likewise.
33937         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33938         to __qnan_bytes, and __qnan_union, respectively.
33939         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33940         Likewise.
33941         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33942         and lqnanval, respectively.
33943         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33944         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33945         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33946         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33948         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33949         * math/test-misc.c (main) [__x86_64__]: Enable test for long
33950         doubles.
33952         * math/test-misc.c (main): Fix copy'n'pastos.
33953         * misc/tst-efgcvt.c (special): Likewise.
33955         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33956         Remove declarations.
33958 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33960         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33961         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33962         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33963         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33965 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33967         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33968         macro to return vdso values correctly in IFUNC implementations.
33969         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33970         Optimization by using IFUNC.
33972 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33973             Richard Henderson  <rth@redhat.com>
33974             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33976         * Makefile.in (bench): New target.
33977         * NEWS: Mention the benchmark framework.
33978         * Rules (bench): Likewise.
33979         (binaries-bench): Generate binaries for functions to
33980         benchmark.
33981         * benchtests/Makefile: New makefile for benchmark tests.
33982         * benchtests/bench-skeleton.c: New skeleton file for benchmark
33983         programs.
33984         * benchtests/exp-inputs: New input file for EXP function.
33985         * benchtests/pow-inputs: New input file for POW function.
33986         * scripts/bench.pl: New script to generate source files for
33987         benchmark programs.
33989 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33991         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33992         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33993         computations on mantissa.  Use macros for rounding and
33994         division.
33995         (denorm): Likewise.
33996         (__dbl_mp): Likewise.
33997         (add_magnitudes): Likewise.
33998         (sub_magnitudes): Likewise.
33999         (__mul): Likewise.
34000         (__sqr): Likewise.
34001         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
34002         powers of two in terms of TWOPOW macro.
34003         (mp_no): Make type of mantissa as MANTISSA_T.
34004         [!RADIXI]: Define RADIXI.
34005         [!TWO52]: Define TWO52.
34006         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
34008         * manual/nptl.texi (cindex): Modify threads to pthreads.
34010 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
34012         * sysdeps/x86_64/preconfigure: Regenerated.
34014 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
34016         [BZ #14155]
34017         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
34018         0x1p28 and above.
34019         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
34020         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
34021         0x1p28 and above.
34022         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
34023         * math/libm-test.inc (j0_test): Do not allow one spurious
34024         underflow exception.
34025         (y1_test): Likewise.
34027 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
34029         * manual/Makefile (chapters): Add nptl.
34030         * manual/debug.texi (Debugging Support): Add link to Threads
34031         chapter.
34032         * manual/nptl.texi: New file.
34034         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
34036 2013-03-14  Petr Baudis  <pasky@ucw.cz>
34038         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
34039         for non-NULL pointer before the memory validity test. Pointed
34040         out by Holger Brunck <holger.brunck@keymile.com>.
34042 2013-03-13  Andreas Schwab  <schwab@suse.de>
34044         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
34045         instead of .os.
34047 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
34049         * timezone/zic.c: Update from tzcode 2013b.
34051 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
34053         * manual/install.texi (Configuring and compiling):
34054         Mention i686 and i586.
34055         * INSTALL: Regenerate.
34057 2013-03-12  Roland McGrath  <roland@hack.frob.com>
34059         * sysdeps/init_array/elf-init.c: New file.
34060         * csu/elf-init.c
34061         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
34062         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
34064         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
34065         __gmon_start__ as global, but as static with a .preinit_array pointer.
34066         * sysdeps/init_array/gmon-start.c: New file.  Use that.
34067         * sysdeps/init_array/crti.S: New file, empty except for comments.
34068         * sysdeps/init_array/crtn.S: Likewise.
34070 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
34072         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
34073         definining bcopy.
34074         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34075         Remove Prefer_SSE_for_memop.
34076         * sysdeps/x86_64/multiarch/init-arch.h: Remove
34077         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
34078         HAS_PREFER_SSE_FOR_MEMOP.
34079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
34080         memset-x86-64.
34081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34082         Remove bzero, memset ifunc support.
34083         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
34084         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
34085         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34086         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34088 2013-03-11  Andreas Schwab  <schwab@suse.de>
34090         [BZ #15234]
34091         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
34092         by SHLIB_COMPAT.
34093         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
34094         (GLIBC_2.16): Remove pthread_atfork.
34096 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
34098         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
34099         (ptestcases.h): Likewise.
34101 2013-03-08  Roland McGrath  <roland@hack.frob.com>
34103         * Makeconfig ($(common-objpfx)config.status): Depend on
34104         sysdeps/*/preconfigure{,.in} too.
34106 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
34108         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
34109         (__free_hook): Use void * instead of __malloc_ptr_t.
34110         (__malloc_hook): Likewise.
34111         (__realloc_hook): Likewise.
34112         (__memalign_hook): Likewise.
34113         (__after_morecore_hook): Likewise.
34114         * malloc/arena.c (save_malloc_hook): Likewise.
34115         (save_free_hook): Likewise.
34116         * malloc/hooks.c (malloc_hook_ini): Likewise.
34117         (realloc_hook_ini): Likewise.
34118         (memalign_hook_ini): Likewise.
34119         * malloc/malloc.c (malloc_hook_ini): Likewise.
34120         (realloc_hook_ini): Likewise.
34121         (memalign_hook_ini): Likewise.
34122         (__free_hook): Likewise.
34123         (__malloc_hook): Likewise.
34124         (__realloc_hook): Likewise.
34125         (__memalign_hook): Likewise.
34126         (__libc_malloc): Likewise.
34127         (__libc_free): Likewise.
34128         (__libc_realloc): Likewise.
34129         (__libc_memalign): Likewise.
34130         (__libc_valloc): Likewise.
34131         (__libc_pvalloc): Likewise.
34132         (__libc_calloc): Likewise.
34133         (__posix_memalign): Likewise.
34134         * malloc/morecore.c (__sbrk): Likewise.
34135         (__default_morecore): Likewise.
34137         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34139         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34140         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34141         __malloc_ptrdiff_t.
34143         * malloc/malloc.h (__malloc_size_t): Remove macro.
34144         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34145         __malloc_size_t.
34146         (old_memalign_hook): Likewise.
34147         (old_realloc_hook): Likewise.
34148         (struct hdr): Likewise.
34149         (flood): Likewise.
34150         (mallochook): Likewise.
34151         (memalignhook): Likewise.
34152         (reallochook): Likewise.
34153         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34154         (tr_old_realloc_hook): Likewise.
34155         (tr_old_memalign_hook): Likewise.
34156         (tr_mallochook): Likewise.
34157         (tr_reallochook): Likewise.
34158         (tr_memalignhook): Likewise.
34160 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34162         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34163         default_ldbl_pack and using as default implementation.
34164         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34165         implementation.
34166         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34167         redundant definition.
34168         (ldbl_insert_mantissa): Likewise.
34169         (ldbl_canonicalize): Likewise.
34170         (ldbl_nearbyint): Likewise.
34171         (ldbl_pack): Rename to ldbl_pack_ppc.
34172         (ldbl_unpack): Rename to ldbl_unpack_ppc.
34173         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34174         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34176 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34178         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34179         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34180         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34181         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34182         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34183         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34184         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34185         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34187 2013-03-07  Andreas Jaeger  <aj@suse.de>
34189         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34190         bits/mman-linux.h.
34192 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34194         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34195         Include mpa.h and declare __MPEXP.
34196         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34197         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34198         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34199         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34200         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34201         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34202         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34204         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34205         (__slowpow): Use long double EXPL and LOGL functions to
34206         compute POW.
34207         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34208         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34209         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34210         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34211         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34212         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34214         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34215         intermediate variable to calculate exponent.
34216         (__sqr): Likewise.
34217         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34218         Likewise.
34219         (__sqr): Likewise.
34221         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34222         [!NO__SQR]: Define __sqr.
34223         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34224         and NO__SQR.  Remove all code except __mul and __sqr.  Include
34225         sysdeps/ieee754/dbl-64/mpa.c.
34226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34228         [BZ #12723]
34229         * posix/Makefile (tests): Add tst-pathconf.
34230         * posix/tst-pathconf.c: New test case.
34231         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34232         _PC_PIPE_BUF.
34233         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34235 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
34237         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34239 2013-03-06  Andreas Jaeger  <aj@suse.de>
34241         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34242         definition via __MAP_ANONYMOUS.
34244         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34245         it's not part of Linux headers.
34247         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34248         (MAP_HUGE_MASK): Define.
34250         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34251         Define.
34252         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34253         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34254         Define.
34255         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34256         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34257         Define.
34258         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34259         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34260         Define.
34261         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34263         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34264         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34265         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34266         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34267         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34268         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34270         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34271         Handle f2fs.
34273         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34274         Handle f2fs and efivarfs.
34276         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34277         f2fs.
34279         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34280         (EFIVARFS_MAGIC): Add.
34281         (F2FS_LINK_MAX): Add.
34283 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34285         * stdio-common/vfprintf.c: Replace __builtin_expect with
34286         __glibc_unlikely.
34288 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
34290         [BZ #13550]
34291         * sysdeps/generic/bp-sym.h: Remove file.
34292         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34293         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34294         <bp-sym.h> and <bp-asm.h>.
34295         (__longjmp): Don't use BP_SYM.
34296         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34297         and <bp-asm.h>.
34298         (memcpy): Don't use BP_SYM.
34299         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34300         <bp-sym.h> and <bp-asm.h>.
34301         (memcpy): Don't use BP_SYM.
34302         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34303         <bp-asm.h>.
34304         (memcpy): Don't use BP_SYM.
34305         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34306         <bp-asm.h>.
34307         (memset): Don't use BP_SYM.
34308         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34309         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34310         (__bzero): Don't use BP_SYM.
34311         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34312         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34313         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34314         <bp-sym.h> and <bp-asm.h>.
34315         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34316         pointers.
34317         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34318         <bp-sym.h> and <bp-asm.h>.
34319         (memcpy): Don't use BP_SYM.
34320         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34321         <bp-sym.h> and <bp-asm.h>.
34322         (memset): Don't use BP_SYM.
34323         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34324         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34325         (__bzero): Don't use BP_SYM.
34326         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34327         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34328         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34329         <bp-sym.h> and <bp-asm.h>.
34330         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34331         pointers.
34332         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34333         <bp-sym.h> and <bp-asm.h>.
34334         (memcpy): Don't use BP_SYM.
34335         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34336         <bp-sym.h> and <bp-asm.h>.
34337         (memset): Don't use BP_SYM.
34338         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34339         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34340         (__bzero): Don't use BP_SYM.
34341         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34342         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34343         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34344         <bp-sym.h> and <bp-asm.h>.
34345         (__memchr): Don't use BP_SYM.
34346         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34347         <bp-sym.h> and <bp-asm.h>.
34348         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34349         pointers.
34350         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34351         <bp-sym.h> and <bp-asm.h>.
34352         (memcpy): Don't use BP_SYM.
34353         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34354         <bp-sym.h> and <bp-asm.h>.
34355         (__mempcpy): Don't use BP_SYM.
34356         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34357         <bp-sym.h> and <bp-asm.h>.
34358         (__memrchr): Don't use BP_SYM.
34359         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34360         <bp-sym.h> and <bp-asm.h>.
34361         (memset): Don't use BP_SYM.
34362         (__bzero): Likewise.
34363         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34364         <bp-sym.h> and <bp-asm.h>.
34365         (__rawmemchr): Don't use BP_SYM.
34366         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34367         <bp-sym.h> and <bp-asm.h>.
34368         (__STRCMP): Don't use BP_SYM.
34369         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34370         <bp-sym.h> and <bp-asm.h>.
34371         (strchr): Don't use BP_SYM.
34372         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34373         <bp-sym.h> and <bp-asm.h>.
34374         (__strchrnul): Don't use BP_SYM.
34375         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34376         <bp-sym.h> and <bp-asm.h>.
34377         (strlen): Don't use BP_SYM.
34378         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34379         <bp-sym.h> and <bp-asm.h>.
34380         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34381         pointers.
34382         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34383         <bp-sym.h> and <bp-asm.h>.
34384         (__strnlen): Don't use BP_SYM.
34385         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34386         <bp-sym.h> and <bp-asm.h>.
34387         (__GI__setjmp): Don't use BP_SYM.
34388         (_setjmp): Likewise.
34389         (__sigsetjmp): Likewise.
34390         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34391         (L(start_addresses)): Don't use BP_SYM.
34392         (_start): Likewise.
34393         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34394         <bp-asm.h>.
34395         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34396         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34397         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34398         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34399         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34400         <bp-asm.h>.
34401         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34402         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
34403         about bounded pointers.
34404         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34405         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34406         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34407         <bp-asm.h>.
34408         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34409         about bounded pointers.  Remove GKM FIXME comments.
34410         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34411         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34412         <bp-asm.h>.
34413         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34414         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
34415         Remove GKM FIXME comments.
34416         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34417         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34418         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34419         <bp-asm.h>.
34420         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34421         about bounded pointers.  Remove GKM FIXME comment.
34422         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34423         and <bp-asm.h>.
34424         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34425         pointers.
34426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34427         <bp-sym.h> and <bp-asm.h>.
34428         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34430         <bp-sym.h> and <bp-asm.h>.
34431         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34432         comment.
34434 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34436         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34437         call free(NULL).
34439 2013-03-05  David S. Miller  <davem@davemloft.net>
34441         * po/es.po: Update from translation team.
34443 2013-03-05  Andreas Jaeger  <aj@suse.de>
34445         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34446         <bits/mman-linux.h>.
34447         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34448         is fine.
34449         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34450         <bits/mman-linux.h> to end of file.
34451         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34452         is fine.
34453         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34454         <bits/mman-linux.h> to end of file.
34455         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34456         is fine.
34457         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34458         <bits/mman-linux.h> to end of file.
34460         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34461         (MCL_CURRENT, MCL_FUTURE): Define here.
34463 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34465         [BZ #15232]
34466         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34467         attribute_hidden.
34468         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34470 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34472         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34473         fourth parameter needed for rt_sigprocmask syscall.
34474         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34475         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34476         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34477         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34478         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34479         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34481 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
34483         [BZ #13550]
34484         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34485         comment about bounded pointers.
34486         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34487         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34489 2013-03-04  Andreas Jaeger  <aj@suse.de>
34491         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34492         common definitions.
34494         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34495         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34496         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34497         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34498         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34499         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34501 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34503         [BZ #15055]
34504         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34505         __ieee754_sqrl instead of __sqrl.
34507 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
34509         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34510         * sysdeps/powerpc/fpu_control.h: ... here.
34511         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34512         * sysdeps/powerpc/bits/fenvinline.h: ... here.
34513         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34514         * sysdeps/powerpc/bits/mathinline.h: ... here.
34516 2013-03-01  Roland McGrath  <roland@hack.frob.com>
34518         * elf/dl-hwcaps.c (_dl_important_hwcaps):
34519         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34520         to just [NEED_DL_SYSINFO_DSO].
34521         * elf/dl-support.c: Likewise.
34522         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34523         * elf/rtld.c (dl_main): Likewise.
34524         * elf/setup-vdso.h (setup_vdso): Likewise.
34525         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34526         * sysdeps/unix/sysv/linux/dl-sysdep.c
34527         (_dl_discover_osversion): Likewise.
34529 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
34531         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34532         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34534 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34536         * NEWS: Mention libm performance improvements and non-x86 PI
34537         futex support.
34539         * csu/libc-start.c (__pthread_initialize_minimal): Change
34540         function arguments.
34541         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34543 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
34545         [BZ #13550]
34546         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34547         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34548         <bp-sym.h> and <bp-asm.h>.
34549         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34550         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34551         and <bp-asm.h>.
34552         (memcpy): Don't use BP_SYM.
34553         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34554         <bp-asm.h>.
34555         (__mpn_add_n): Don't use BP_SYM.
34556         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34557         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34558         and <bp-asm.h>.
34559         (__mpn_addmul_1): Don't use BP_SYM.
34560         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34561         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34562         <bp-sym.h>.
34563         (_setjmp): Don't use BP_SYM.
34564         (__novmx_setjmp): Likewise.
34565         (__GI__setjmp): Likewise.
34566         (__vmx_setjmp): Likewise.
34567         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34568         <bp-sym.h>.
34569         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34570         (__bzero): Don't use BP_SYM.
34571         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34572         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34573         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34574         <bp-sym.h> and <bp-asm.h>.
34575         (memcpy): Don't use BP_SYM.
34576         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34577         <bp-sym.h> and <bp-asm.h>.
34578         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34579         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34580         <bp-sym.h> and <bp-asm.h>.
34581         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34582         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34583         <bp-asm.h>.
34584         (__mpn_lshift): Don't use BP_SYM.
34585         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34586         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34587         <bp-asm.h>.
34588         (memset): Don't use BP_SYM.
34589         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34590         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34591         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34592         <bp-asm.h>.
34593         (__mpn_mul_1): Don't use BP_SYM.
34594         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34595         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34596         <bp-sym.h> and <bp-asm.h>.
34597         (memcmp): Don't use BP_SYM.
34598         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34599         <bp-sym.h> and <bp-asm.h>.
34600         (memcpy): Don't use BP_SYM.
34601         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34602         <bp-sym.h> and <bp-asm.h>.
34603         (memset): Don't use BP_SYM.
34604         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34605         <bp-sym.h> and <bp-asm.h>.
34606         (strncmp): Don't use BP_SYM.
34607         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34608         <bp-sym.h> and <bp-asm.h>.
34609         (memcpy): Don't use BP_SYM.
34610         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34611         <bp-sym.h> and <bp-asm.h>.
34612         (memset): Don't use BP_SYM.
34613         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34614         <bp-sym.h> and <bp-asm.h>.
34615         (__memchr): Don't use BP_SYM.
34616         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34617         <bp-sym.h> and <bp-asm.h>.
34618         (memcmp): Don't use BP_SYM.
34619         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34620         <bp-sym.h> and <bp-asm.h>.
34621         (memcpy): Don't use BP_SYM.
34622         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34623         <bp-sym.h> and <bp-asm.h>.
34624         (__mempcpy): Don't use BP_SYM.
34625         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34626         <bp-sym.h> and <bp-asm.h>.
34627         (__memrchr): Don't use BP_SYM.
34628         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34629         <bp-sym.h> and <bp-asm.h>.
34630         (memset): Don't use BP_SYM.
34631         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34632         <bp-sym.h> and <bp-asm.h>.
34633         (__rawmemchr): Don't use BP_SYM.
34634         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34635         <bp-sym.h> and <bp-asm.h>.
34636         (__STRCMP): Don't use BP_SYM.
34637         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34638         <bp-sym.h> and <bp-asm.h>.
34639         (strchr): Don't use BP_SYM.
34640         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34641         <bp-sym.h> and <bp-asm.h>.
34642         (__strchrnul): Don't use BP_SYM.
34643         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34644         <bp-sym.h> and <bp-asm.h>.
34645         (strlen): Don't use BP_SYM.
34646         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34647         <bp-sym.h> and <bp-asm.h>.
34648         (strncmp): Don't use BP_SYM.
34649         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34650         <bp-sym.h> and <bp-asm.h>.
34651         (__strnlen): Don't use BP_SYM.
34652         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34653         <bp-asm.h>.
34654         (__mpn_rshift): Don't use BP_SYM.
34655         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34656         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34657         <bp-sym.h> and <bp-asm.h>.
34658         (__sigsetjmp): Don't use BP_SYM.
34659         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34660         (L(start_addresses)): Don't use BP_SYM.
34661         (_start): Likewise.
34662         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34663         <bp-asm.h>.
34664         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34665         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34666         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34667         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34668         <bp-asm.h>.
34669         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34670         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34671         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34672         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34673         <bp-asm.h>.
34674         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34675         comments.
34676         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34677         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34678         <bp-asm.h>.
34679         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
34680         FIXME comments.
34681         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34682         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34683         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34684         <bp-asm.h>.
34685         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34686         comment.
34687         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34688         and <bp-asm.h>.
34689         (strncmp): Don't use BP_SYM,
34690         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34691         <bp-asm.h>.
34692         (__mpn_sub_n): Don't use BP_SYM.
34693         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34694         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34695         and <bp-asm.h>.
34696         (__mpn_submul_1): Don't use BP_SYM.
34697         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34699         <bp-sym.h> and <bp-asm.h>.
34700         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34702         <bp-sym.h> and <bp-asm.h>.
34703         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34704         comment.
34706 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34708         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34709         Use ZK to minimize writes to Z.
34710         (sub_magnitudes): Simplify code a bit.
34711         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34712         Use ZK to minimize writes to Z.
34713         (sub_magnitudes): Simplify code a bit.
34715 2013-02-27  Roland McGrath  <roland@hack.frob.com>
34717         * csu/gmon-start.c: Add special exception to license text.
34719 2013-02-27  Richard Henderson  <rth@redhat.com>
34721         * scripts/config.guess: Update from config.git.
34722         * scripts/config.sub: Likewise.
34724 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34726         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34728         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34730         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34732         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34734         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34736 2013-02-26  Roland McGrath  <roland@hack.frob.com>
34738         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34739         [$(build-shared = yes].
34741 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34743         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34744         (__mul): Reduce iterations for calculating mantissa.
34746         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34747         MPTWO.
34748         (__mpranred): Likewise.
34750         [BZ #15160]
34751         * malloc/memusagestat.c (main): Draw graphs for heap and stack
34752         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34754 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
34756         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34757         Define __attribute__.
34759 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34761         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34762         unused.
34763         * posix/regex_internal.h (__attribute): Remove.
34764         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34765         (re_string_context_at): Likewise.
34766         (bitset_not): Use __attribute__ and mark function as possibly
34767         unused.
34768         (bitset_merge): Likewise.
34769         (bitset_mask): Likewise.
34770         (re_string_char_size_at): Likewise.
34771         (re_string_wchar_at): Likewise.
34772         (re_string_elem_size_at): Likewise.
34774 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34776         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34777         code.
34778         (cc32): Likewise.
34780         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34781         (__acr): Likewise.
34782         (__cpy): Likewise.
34783         (norm): Likewise.
34784         (denorm): Likewise.
34785         (__dbl_mp): Likewise.
34786         (add_magnitudes): Likewise.
34787         (sub_magnitudes): Likewise.
34788         (__mul): Likewise.
34789         (__inv): Likewise.
34791         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34792         style.
34794         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34795         style.
34797         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34798         code.
34800         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34801         up changes with default code.
34802         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34803         Likewise.
34805 2013-02-24  Allan McRae  <allan@archlinux.org>
34807         * manual/socket.texi (The Internet Namespace): Order menu items
34808         to match that in the file.
34810         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34811         node listing of the info page menu.
34813 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
34815         [BZ #13550]
34816         * sysdeps/i386/bp-asm.h: Remove file.
34817         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34818         (PARMS): Do not use macros from bp-asm.h.
34819         (S1): Likewise.
34820         (S2): Likewise.
34821         (SIZE): Likewise.
34822         (__mpn_add_n): Do not use BP_SYM
34823         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34824         "bp-asm.h".
34825         (PARMS): Do not use macros from bp-asm.h.
34826         (S1): Likewise.
34827         (SIZE): Likewise.
34828         (__mpn_addmul_1): Do not use BP_SYM
34829         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34830         "bp-asm.h".
34831         (PARMS): Do not use macros from bp-asm.h.
34832         (SIGMSK): Likewise.
34833         (_setjmp): Likewise.  Do not use BP_SYM.
34834         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34835         "bp-asm.h".
34836         (PARMS): Do not use macros from bp-asm.h.
34837         (SIGMSK): Likewise.
34838         (setjmp): Likewise.  Do not use BP_SYM.
34839         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34840         "bp-asm.h".
34841         (PARMS): Do not use macros from bp-asm.h.
34842         (__frexp): Do not use BP_SYM.
34843         (frexp): Likewise.
34844         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34845         "bp-asm.h".
34846         (PARMS): Do not use macros from bp-asm.h.
34847         (__frexpf): Do not use BP_SYM.
34848         (frexpf): Likewise.
34849         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34850         "bp-asm.h".
34851         (PARMS): Do not use macros from bp-asm.h.
34852         (__frexpl): Do not use BP_SYM.
34853         (frexpl): Likewise.
34854         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34855         "bp-asm.h".
34856         (PARMS): Do not use macros from bp-asm.h.
34857         (__remquo): Do not use BP_SYM.
34858         (remquo): Likewise.
34859         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34860         "bp-asm.h".
34861         (PARMS): Do not use macros from bp-asm.h.
34862         (__remquof): Do not use BP_SYM.
34863         (remquof): Likewise.
34864         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34865         "bp-asm.h".
34866         (PARMS): Do not use macros from bp-asm.h.
34867         (__remquol): Do not use BP_SYM.
34868         (remquol): Likewise.
34869         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34870         "bp-asm.h".
34871         (PARMS): Do not use macros from bp-asm.h.
34872         (DEST): Likewise.
34873         (SRC): Likewise.
34874         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
34875         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34876         "bp-asm.h".
34877         (PARMS): Do not use macros from bp-asm.h.
34878         (strlen): Do not use BP_SYM.
34879         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34880         "bp-asm.h".
34881         (PARMS): Do not use macros from bp-asm.h.
34882         (S1): Likewise.
34883         (S2): Likewise.
34884         (SIZE): Likewise.
34885         (__mpn_add_n): Do not use BP_SYM.
34886         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34887         "bp-asm.h".
34888         (PARMS): Do not use macros from bp-asm.h.
34889         (S1): Likewise.
34890         (SIZE): Likewise.
34891         (__mpn_addmul_1): Do not use BP_SYM.
34892         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34893         weak_alias.
34894         (bzero): Likewise.
34895         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34896         "bp-asm.h".
34897         (PARMS): Do not use macros from bp-asm.h.
34898         (S): Likewise.
34899         (SIZE): Likewise.
34900         (__mpn_lshift): Do not use BP_SYM.
34901         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34902         "bp-asm.h".
34903         (PARMS): Do not use macros from bp-asm.h.
34904         (DEST): Likewise.
34905         (SRC): Likewise.
34906         (LEN): Likewise.
34907         (memcpy): Likewise.  Do not use BP_SYM.
34908         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34909         libc_hidden_def and weak_alias.
34910         (mempcpy): Do not use BP_SYM in weak_alias.
34911         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34912         "bp-asm.h".
34913         (PARMS): Do not use macros from bp-asm.h.
34914         (DEST): Likewise.
34915         (LEN): Likewise.
34916         [!BZERO_P] (CHR): Likewise.
34917         (memset): Likewise.  Do not use BP_SYM.
34918         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34919         "bp-asm.h".
34920         (PARMS): Do not use macros from bp-asm.h.
34921         (S1): Likewise.
34922         (SIZE): Likewise.
34923         (__mpn_mul_1): Do not use BP_SYM.
34924         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34925         "bp-asm.h".
34926         (PARMS): Do not use macros from bp-asm.h.
34927         (S): Likewise.
34928         (SIZE): Likewise.
34929         (__mpn_rshift): Do not use BP_SYM.
34930         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34931         "bp-asm.h".
34932         (PARMS): Do not use macros from bp-asm.h.
34933         (STR): Likewise.
34934         (CHR): Likewise.
34935         (strchr): Likewise.  Do not use BP_SYM.
34936         (index): Do not use BP_SYM in weak_alias.
34937         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34938         "bp-asm.h".
34939         (PARMS): Do not use macros from bp-asm.h.
34940         (DEST): Likewise.
34941         (SRC): Likewise.
34942         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
34943         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34944         "bp-asm.h".
34945         (PARMS): Do not use macros from bp-asm.h.
34946         (strlen): Do not use BP_SYM.
34947         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34948         "bp-asm.h".
34949         (PARMS): Do not use macros from bp-asm.h.
34950         (S1): Likewise.
34951         (S2): Likewise.
34952         (SIZE): Likewise.
34953         (__mpn_sub_n): Do not use BP_SYM.
34954         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34955         "bp-asm.h".
34956         (PARMS): Do not use macros from bp-asm.h.
34957         (S1): Likewise.
34958         (SIZE): Likewise.
34959         (__mpn_submul_1): Do not use BP_SYM.
34960         * sysdeps/i386/i686/add_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_add_n): Do not use BP_SYM.
34967         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34968         weak_alias.
34969         (bzero): Likewise.
34970         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34971         "bp-asm.h".
34972         (PARMS): Do not use macros from bp-asm.h.
34973         (BLK2): Likewise.
34974         (LEN): Likewise.
34975         (memcmp): Do not use BP_SYM.
34976         (bcmp): Do not use BP_SYM in weak_alias.
34977         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34978         "bp-asm.h".
34979         (PARMS): Do not use macros from bp-asm.h.
34980         (DEST): Likewise.
34981         (SRC): Likewise.
34982         (LEN): Likewise.
34983         (memcpy): Likewise.  Do not use BP_SYM.
34984         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34985         "bp-asm.h".
34986         (PARMS): Do not use macros from bp-asm.h.
34987         (DEST): Likewise.
34988         (SRC): Likewise.
34989         (LEN): Likewise.
34990         (memmove): Likewise.  Do not use BP_SYM.
34991         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34992         "bp-asm.h".
34993         (PARMS): Do not use macros from bp-asm.h.
34994         (DEST): Likewise.
34995         (SRC): Likewise.
34996         (LEN): Likewise.
34997         (__mempcpy): Likewise.  Do not use BP_SYM.
34998         (mempcpy): Do not use BP_SYM in weak_alias.
34999         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
35000         "bp-asm.h".
35001         (PARMS): Do not use macros from bp-asm.h.
35002         (DEST): Likewise.
35003         (LEN): Likewise.
35004         [!BZERO_P] (CHR): Likewise.
35005         (memset): Likewise.  Do not use BP_SYM.
35006         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
35007         "bp-asm.h".
35008         (PARMS): Do not use macros from bp-asm.h.
35009         (STR2): Likewise.
35010         (strcmp): Do not use BP_SYM.
35011         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
35012         "bp-asm.h".
35013         (PARMS): Do not use macros from bp-asm.h.
35014         (STR): Likewise.
35015         (DELIM): Likewise.
35016         [USE_AS_STRTOK_R] (SAVE): Likewise.
35017         (FUNCTION): Likewise.  Do not use BP_SYM.
35018         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
35019         aliases.
35020         (strtok_r): Likewise.
35021         (__GI___strtok_r): Likewise.
35022         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35023         (PARMS): Do not use macros from bp-asm.h.
35024         (S): Likewise.
35025         (SIZE): Likewise.
35026         (__mpn_lshift): Do not use BP_SYM.
35027         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35028         (PARMS): Do not use macros from bp-asm.h.
35029         (STR): Likewise.
35030         (CHR): Likewise.
35031         (__memchr): Do not use BP_SYM.
35032         (memchr): Do not use BP_SYM in weak_alias.
35033         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35034         (PARMS): Do not use macros from bp-asm.h.
35035         (BLK2): Likewise.
35036         (LEN): Likewise.
35037         (memcmp): Do not use BP_SYM.
35038         (bcmp): Do not use BP_SYM in weak_alias.
35039         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
35040         (PARMS): Do not use macros from bp-asm.h.
35041         (S1): Likewise.
35042         (SIZE): Likewise.
35043         (__mpn_mul_1): Do not use BP_SYM.
35044         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
35045         "bp-asm.h".
35046         (PARMS): Do not use macros from bp-asm.h.
35047         (STR): Likewise.
35048         (CHR): Likewise.
35049         (__rawmemchr): Do not use BP_SYM.
35050         (rawmemchr): Do not use BP_SYM in weak_alias.
35051         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
35052         (PARMS): Do not use macros from bp-asm.h.
35053         (S): Likewise.
35054         (SIZE): Likewise.
35055         (__mpn_rshift): Do not use BP_SYM.
35056         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
35057         (PARMS): Do not use macros from bp-asm.h.
35058         (SIGMSK): Likewise.
35059         (__sigsetjmp): Likewise.  Do not use BP_SYM.
35060         * sysdeps/i386/start.S: Do not include "bp-sym.h".
35061         (_start): Do not use BP_SYM.
35062         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
35063         (PARMS): Do not use macros from bp-asm.h.
35064         (DEST): Likewise.
35065         (SRC): Likewise.
35066         (__stpcpy): Likewise.  Do not use BP_SYM.
35067         (stpcpy): Do not use BP_SYM in weak_alias.
35068         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
35069         "bp-asm.h".
35070         (PARMS): Do not use macros from bp-asm.h.
35071         (DEST): Likewise.
35072         (SRC): Likewise.
35073         (LEN): Likewise.
35074         (__stpncpy): Likewise.  Do not use BP_SYM.
35075         (stpncpy): Do not use BP_SYM in weak_alias.
35076         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
35077         (PARMS): Do not use macros from bp-asm.h.
35078         (STR): Likewise.
35079         (CHR): Likewise.
35080         (strchr): Likewise.  Do not use BP_SYM.
35081         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
35082         "bp-asm.h".
35083         (PARMS): Do not use macros from bp-asm.h.
35084         (STR): Likewise.
35085         (CHR): Likewise.
35086         (__strchrnul): Likewise.  Do not use BP_SYM.
35087         (strchrnul): Do not use BP_SYM in weak_alias.
35088         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
35089         "bp-asm.h".
35090         (PARMS): Do not use macros from bp-asm.h.
35091         (STOP): Likewise.
35092         (strcspn): Do not use BP_SYM.
35093         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
35094         "bp-asm.h".
35095         (PARMS): Do not use macros from bp-asm.h.
35096         (STR): Likewise.
35097         (STOP): Likewise.
35098         (strpbrk): Likewise.  Do not use BP_SYM.
35099         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
35100         "bp-asm.h".
35101         (PARMS): Do not use macros from bp-asm.h.
35102         (STR): Likewise.
35103         (CHR): Likewise.
35104         (strrchr): Likewise.  Do not use BP_SYM.
35105         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
35106         (PARMS): Do not use macros from bp-asm.h.
35107         (SKIP): Likewise.
35108         (strspn): Do not use BP_SYM.
35109         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
35110         (PARMS): Do not use macros from bp-asm.h.
35111         (STR): Likewise.
35112         (DELIM): Likewise.
35113         (SAVE): Likewise.
35114         (FUNCTION): Likewise.  Do not use BP_SYM.
35115         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
35116         aliases.
35117         (strtok_r): Likewise.
35118         (__GI___strtok_r): Likewise.
35119         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
35120         (PARMS): Do not use macros from bp-asm.h.
35121         (S1): Likewise.
35122         (S2): Likewise.
35123         (SIZE): Likewise.
35124         (__mpn_sub_n): Do not use BP_SYM.
35125         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
35126         "bp-asm.h".
35127         (PARMS): Do not use macros from bp-asm.h.
35128         (S1): Likewise.
35129         (SIZE): Likewise.
35130         (__mpn_submul_1): Do not use BP_SYM.
35131         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
35132         <bp-sym.h>.
35133         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
35134         and <bp-asm.h>.
35135         (PARMS): Do not use macros from bp-asm.h.
35136         (FLAGS): Likewise.
35137         (PTID): Likewise.
35138         (TLS): Likewise.
35139         (CTID): Likewise.
35140         (__clone): Do not use BP_SYM.
35141         (clone): Do not use BP_SYM in weak_alias.
35142         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35143         and <bp-asm.h>.
35144         (PARMS): Do not use macros from bp-asm.h.
35145         (LEN): Likewise.
35146         (__mmap64): Do not use BP_SYM.
35147         (mmap64): Do not use BP_SYM in weak_alias.
35148         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35149         <bp-sym.h> and <bp-asm.h>.
35150         (PARMS): Do not use macros from bp-asm.h.
35151         (__posix_fadvise64_l64): Do not use BP_SYM.
35152         * sysdeps/unix/sysv/linux/i386/semtimedop.S
35153         (PARMS): Do not use macros from bp-asm.h.
35154         (NSOPS): Likewise.
35155         (semtimedop): Do not use BP_SYM.
35156         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35157         and <bp-asm.h>.
35159 2013-02-21  Allan McRae  <allan@archlinux.org>
35161         * manual/message.texi (Charset conversion in gettext):
35162         Move @end statement to beginning of line.
35164 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35166         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35167         static.
35168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35169         Likewise.
35171         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35172         (denorm): Likewise.
35173         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35174         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35176 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35178         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35179         tail-call to the resolved function if pltexit isn't needed.
35181 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35183         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35184         or Y being zero as being unlikely.
35185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35186         Likewise.
35188 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
35190         * manual/nss.texi (System Databases and Name Service Switch):
35191         Remove frobnicate @pxref.
35193 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35195         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35196         __attribute__ ((unused)) to __attribute__ ((__unused__)).
35198 2013-02-20  Petr Machata  <pmachata@redhat.com>
35200         * elf/elf.h (R_ARM_TARGET1): New macro.
35201         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35202         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35203         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35204         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35205         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35206         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35207         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35208         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35209         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35210         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35211         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35212         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35213         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35214         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35215         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35216         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35217         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35218         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35219         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35220         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35221         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35222         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35223         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35224         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35225         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35226         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35227         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35228         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35229         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35230         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35231         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35232         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35233         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35234         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35235         (R_ARM_THM_GOT_BREL12): Likewise.
35236         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35237         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35238         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35239         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35240         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35241         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35242         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35243         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35244         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35246 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35248         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35249         __attribute_used__ to __attribute__ ((unused)).
35251 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35253         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35254         powerpc mpa.c.
35255         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35256         comment formatting.
35257         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35259 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
35261         [BZ #13550]
35262         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35263         Remove macro.
35264         (ENTER): Remove both macro definitions.
35265         (LEAVE): Likewise.
35266         (CHECK_BOUNDS_LOW): Likewise.
35267         (CHECK_BOUNDS_HIGH): Likewise.
35268         (CHECK_BOUNDS_BOTH): Likewise.
35269         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35270         (RETURN_BOUNDED_POINTER): Likewise.
35271         (RETURN_NULL_BOUNDED_POINTER): Likewise.
35272         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35273         (POP_ERRNO_LOCATION_RETURN): Likewise.
35274         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35275         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35276         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35277         macros.
35278         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35279         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35280         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35281         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35282         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35283         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35284         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35285         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35286         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35287         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35288         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35289         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35290         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35291         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35292         removed macros.
35293         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35294         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35295         macros.
35296         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35297         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35298         * sysdeps/i386/i586/memset.S (memset): Likewise.
35299         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35300         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35301         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35302         macros.
35303         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35304         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35305         Change uses of L(2) to L(out).
35306         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35307         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35308         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35309         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35310         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35311         removed macros.
35312         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35313         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35314         macros.
35315         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35316         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35317         (RETURN): Do not use macro LEAVE.
35318         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35319         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35320         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35321         * sysdeps/i386/i686/memset.S (memset): Likewise.
35322         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35323         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35324         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35325         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35326         Likewise.
35327         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35328         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
35329         L(1_2) and L(1_3) into L(1).
35330         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35331         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35332         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35333         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35334         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35335         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35336         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35337         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35338         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35339         macros.
35340         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35341         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35342         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35343         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35344         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35345         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35346         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35347         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35348         * sysdeps/i386/strcspn.S (strcspn): Likewise.
35349         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35350         * sysdeps/i386/strrchr.S (strrchr): Likewise.
35351         * sysdeps/i386/strspn.S (strspn): Likewise.
35352         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35353         conditional code.
35354         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35355         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35356         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35357         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
35358         L(1_3) into L(1_1).
35359         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35360         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35361         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35362         macros.
35363         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35365 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
35367         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35368         macro.
35370 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35372         * math/atest-exp.c (exp_mpn): Remove ROUND.
35373         * math/atest-exp2.c (exp_mpn): Likewise.
35374         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35376         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35377         * stdlib/tst-tls-atexit-lib.c: Likewise.
35378         * stdlib/tst-tls-atexit.c: Likewise.
35380 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35382         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35383         and __attribute_alloc_size__.
35385 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35387         * include/programs/xmalloc.h: Change __attribute_alloc_size to
35388         __attribute_alloc_size__.
35389         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35390         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35392 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35394         * include/programs/xmalloc.h: New file.
35395         * catgets/gencat.c: Include it.
35396         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35397         * elf/pldd.c: Likewise.
35398         * iconv/iconv_charmap.c: Likewise.
35399         * iconv/iconvconfig.c: Likewise.
35400         * iconv/strtab.c: Likewise.
35401         * locale/programs/locale.c: Likewise.
35402         * locale/programs/localedef.h: Likewise.
35403         * locale/programs/simple-hash.c: Likewise.
35404         * nscd/nscd.h: Likewise.
35405         * nss/makedb.c: Likewise.
35406         * sysdeps/generic/ldconfig.h: Likewise.
35408 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35410         * Versions.def: Add GLIBC_2.18.
35411         * include/link.h (struct link_map): New member l_tls_dtor_count.
35412         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35413         (__call_tls_dtors): Likewise.
35414         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35415         __cxa_thread_atexit_impl.
35416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35417         Likewise.
35418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35419         Likewise.
35420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35421         Likewise.
35422         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35423         Likewise.
35424         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35425         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35426         Likewise.
35427         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35428         Likewise.
35429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35430         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35431         Likewise.
35432         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35433         (tests): Add test case tst-tls-atexit.
35434         (modules-names): Add shared library for tst-tls-atexit.
35435         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35436         (GLIBC_PRIVATE): Add __call_tls_dtors.
35437         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35438         for libstdc++.
35439         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35440         * stdlib/tst-tls-atexit.c: New test case.
35441         * stdlib/tst-tls-atexit-lib.c: New test case.
35443         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35445         * elf/Versions (ld): Add _dl_find_dso_for_object.
35446         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35447         * elf/dl-open.c (_dl_find_dso_for_object): New function.
35448         (dl_open_worker): Use _dl_find_dso_for_object.
35449         * elf/dl-sym.c (do_sym): Likewise.
35450         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35452 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35454         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35455         Syntactic changes only.
35456         (_dl_runtime_profile): Do a tail-call to the resolved function.
35458 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
35460         [BZ #13550]
35461         * sysdeps/x86_64/bp-asm.h: Remove file.
35462         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35463         <bp-sym.h> and <bp-asm.h>.
35464         (__clone): Do not use BP_SYM.
35465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35466         <bp-sym.h> and <bp-asm.h>.
35467         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35468         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35469         "bp-asm.h".
35470         (_setjmp): Do not use BP_SYM.
35471         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35472         "bp-asm.h".
35473         (setjmp): Do not use BP_SYM.
35474         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35475         libc_hidden_def.
35476         (mempcpy): Do not use BP_SYM in weak_alias.
35477         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35478         "bp-asm.h".
35479         (strchr): Do not use BP_SYM.
35480         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35481         "bp-asm.h".
35482         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35483         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35484         (_start): Do not use BP_SYM.
35485         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35486         "bp-asm.h".
35487         (strcat): Do not use BP_SYM.
35488         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35489         "bp-asm.h".
35490         (STRCMP): Do not use BP_SYM.
35491         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35492         "bp-asm.h".
35493         (STRCPY): Do not use BP_SYM.
35494         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35495         "bp-asm.h".
35496         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35497         "bp-asm.h".
35498         (FUNCTION): Do not use BP_SYM.
35499         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35500         weak_alias.
35501         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35503 2013-02-17  Andreas Jaeger  <aj@suse.de>
35505         * time/Versions: Sort entries.
35506         * string/Versions: Likewise.
35507         * resolv/Versions: Likewise.
35508         * posix/Versions: Likewise.
35509         * iconv/Versions: Likewise.
35510         * elf/Versions: Likewise.
35511         * wcsmbs/Versions: Likewise.
35513 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35515         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35516         loop termination condition.
35518         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35519         variable to calculate EZ.
35520         (__sqr): Likewise.
35522         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35523         the lower precision input.
35525 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
35527         [BZ #13550]
35528         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35529         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35530         (run-via-rtld-prefix): Do not handle %-bp tests.
35531         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35532         (all-object-suffixes): Remove .ob.
35533         (bppfx): Remove variable.
35534         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35535         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35536         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35537         [$(build-bounded) = yes] (libtype.ob): Likewise.
35538         * Makerules (elide-routines.ob): Remove variable.
35539         (do-tests-clean): Do not handle *-bp.out.
35540         (common-mostlyclean): Do not handle *-bp and *-bp.out.
35541         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35542         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35543         (tests): Do not include $(tests-bp.out).
35544         (xtests): Do not include $(xtests-bp.out).
35545         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35546         [$(build-bounded) = yes] ($(addprefix
35547         $(objpfx),$(binaries-bounded))): Remove rule.
35548         ($(objpfx)%-bp.out): Remove rule.
35549         * config.make.in (build-bounded): Remove variable.
35550         * crypt/Makefile [$(build-bounded) = yes]
35551         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35552         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35553         append to variable.
35554         [$(build-bounded) = yes] (install-lib): Likewise.
35555         [$(build-bounded) = yes] (generated): Likewise.
35556         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35557         Remove rule.
35558         * intl/Makefile [$(build-bounded) = yes]
35559         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35560         * math/Makefile [$(build-bounded) = yes]
35561         ($(tests:%=$(objpfx)%-bp): Likewise.
35562         * misc/Makefile [$(build-bounded) = yes]
35563         ($(objpfx)tst-tsearch-bp): Likewise.
35564         * nptl/Makeconfig (bounded-thread-library): Remove variable.
35565         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35566         Remove dependency.
35567         * string/Makefile (o-objects.ob): Remove variable.
35568         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35569         (CFLAGS-.ob): Remove variable.
35570         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35571         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35572         both definitions of variable.
35573         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35574         (ASFLAGS-.ob): Remove variable.
35576 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
35578         [BZ #13550]
35579         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35580         Remove __BOUNDED_POINTERS__ from condition.
35581         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35582         * string/bits/string2.h [!__NO_STRING_INLINES &&
35583         !__BOUNDED_POINTERS__]: Likewise.
35584         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35585         Likewise.
35586         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35587         Remove conditional code.
35588         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35589         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35590         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35591         condition.
35593         [BZ #13550]
35594         * csu/libc-start.c: Do not include <bp-sym.h>.
35595         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35596         * elf/dl-open.c: Do not include <bp-sym.h>.
35597         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35598         * math/fegetenv.c: Do not include <bp-sym.h>.
35599         (fegetenv): Do not use BP_SYM in versioned symbols.
35600         * nptl/sysdeps/pthread/bits/libc-lockP.h
35601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35602         <bp-sym.h>.
35603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35604         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35606         (__pthread_mutex_destroy): Likewise.
35607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35608         (__pthread_mutex_lock): Likewise.
35609         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35610         (__pthread_mutex_trylock): Likewise.
35611         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35612         (__pthread_mutex_unlock): Likewise.
35613         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35614         (__pthread_mutexattr_init): Likewise.
35615         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35616         (__pthread_mutexattr_destroy): Likewise.
35617         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35618         (__pthread_mutexattr_settype): Likewise.
35619         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35620         (__pthread_rwlock_init): Likewise.
35621         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35622         (__pthread_rwlock_destroy): Likewise.
35623         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35624         (__pthread_rwlock_rdlock): Likewise.
35625         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35626         (__pthread_rwlock_tryrdlock): Likewise.
35627         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35628         (__pthread_rwlock_wrlock): Likewise.
35629         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35630         (__pthread_rwlock_trywrlock): Likewise.
35631         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35632         (__pthread_rwlock_unlock): Likewise.
35633         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35634         (__pthread_key_create): Likewise.
35635         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35636         (__pthread_setspecific): Likewise.
35637         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35638         (__pthread_getspecific): Likewise.
35639         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35640         Likewise.
35641         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35642         (_pthread_cleanup_push_defer): Likewise.
35643         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35644         (_pthread_cleanup_pop_restore): Likewise.
35645         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35646         (pthread_setcancelstate): Likewise.
35647         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35648         <bp-sym.h>.
35649         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35650         (memchr): Do not use BP_SYM in weak_alias.
35651         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35652         (fegetenv): Do not use BP_SYM in versioned symbols.
35653         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35654         (fesetenv): Do not use BP_SYM in versioned symbols.
35655         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35656         (feupdateenv): Do not use BP_SYM in versioned symbols.
35657         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35658         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35659         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35660         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35661         (open64): Do not use BP_SYM in weak_alias.
35662         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35663         (fegetenv): Do not use BP_SYM in versioned symbols.
35664         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35665         (fesetenv): Do not use BP_SYM in versioned symbols.
35666         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35667         (feupdateenv): Do not use BP_SYM in versioned symbols.
35668         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35669         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35670         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35671         (feraiseexcept): Do not use BP_SYM in versioned symbols.
35672         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35673         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35674         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35675         <bp-sym.h>.
35676         (__libc_start_main): Do not use BP_SYM.
35678 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35681         redundant return line.
35682         (norm): Likewise.
35683         (denorm): Likewise.
35684         (dbl_mp): Likewise.
35685         (sub_magnitudes): Likewise.
35686         (__add): Likewise.
35687         (__sub): Likewise.
35688         (__mul): Likewise.
35689         (__inv): Likewise.
35690         (__dvd): Likewise.
35691         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35692         (norm): Likewise.
35693         (denorm): Likewise.
35694         (dbl_mp): Likewise.
35695         (sub_magnitudes): Likewise.
35696         (__add): Likewise.
35697         (__sub): Likewise.
35698         (__mul): Likewise.
35699         (__inv): Likewise.
35700         (__dvd): Likewise.
35702         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35703         instead of __mul.
35704         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35705         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35706         (cc32): Likewise.
35708         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35709         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35710         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35711         of __mul for squares.
35712         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35713         function
35714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35715         Likewise.
35716         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35717         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35719 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
35721         [BZ #13550]
35722         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35723         code.
35724         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35725         prototype or function definition.  Rename ubp_* variables and
35726         parameters.  Remove argv definitions conditional on
35727         [__BOUNDED_POINTERS__].
35728         * debug/backtrace.c (__backtrace): Do not use __unbounded.
35729         * elf/dl-runtime.c (_dl_fixup): Likewise.
35730         * include/set-hooks.h (RUN_HOOK): Likewise.
35731         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35732         definition.
35733         * string/strcpy.c (strcpy): Do not use __unbounded.
35734         * sysdeps/generic/frame.h (struct layout): Likewise.
35735         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35736         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35737         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35738         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35739         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35740         (__backtrace): Likewise.
35741         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35742         use __ptrvalue.
35743         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35744         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35745         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35746         Likewise.
35747         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35748         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35749         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35750         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35751         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35752         Do not use __unbounded.
35753         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35754         Rename __unboundedrlimits parameter to rlimits in prototype.
35755         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35756         Do not use __unbounded.
35757         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35758         not use __ptrvalue.
35759         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35760         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35761         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35762         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35763         __ptrvalue or __unbounded.
35764         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35765         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35766         use __unbounded.
35767         (__new_msgctl): Do not use __ptrvalue.
35768         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35769         __unbounded.
35770         (__libc_msgrcv): Do not use __ptrvalue.
35771         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35772         startup_info): Do not use __unbounded.
35773         (__libc_start_main): Likewise.  Rename ubp_* variables and
35774         parameters.  Remove argv definitions conditional on
35775         [__BOUNDED_POINTERS__].
35776         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35777         __ptrvalue.
35778         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35779         use __unbounded.
35780         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35781         or __ptrvalue.
35782         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35783         use __unbounded.
35784         (__new_shmctl): Do not use __ptrvalue.
35785         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35786         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35787         Likewise.
35788         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35789         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35790         (__libc_sigaction): Likewise.
35791         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35792         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35793         Likewise.
35794         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35796 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
35798         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35800         * string/mempcpy.c: Implement by calling memcpy.
35802 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35804         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35806         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35807         evaluation.
35809         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35810         values in the mantissa.
35812         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35813         minimize writes to Z.
35814         (sub_magnitudes): Simplify code a bit.
35816 2013-02-12  Roland McGrath  <roland@hack.frob.com>
35818         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35819         from the message.  The linker prefixes all warnings with that already.
35821 2013-02-12  Andreas Schwab  <schwab@suse.de>
35823         [BZ #15078]
35824         * posix/regexec.c (extend_buffers): Add parameter min_len.
35825         (check_matching): Pass minimum needed length.
35826         (clean_state_log_if_needed): Likewise.
35827         (get_subexp): Likewise.
35828         * posix/Makefile (tests): Add bug-regex34.
35829         (bug-regex34-ENV): Define.
35830         * posix/bug-regex34.c: New file.
35832         [BZ #11561]
35833         * posix/regcomp.c (parse_bracket_exp): When looking up collating
35834         elements compare against the byte sequence of it, not its name.
35835         * posix/Makefile (tests): Add bug-regex35.
35836         (bug-regex35-ENV): Define.
35837         * posix/bug-regex35.c: New file.
35839 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35841         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
35842         comment.
35843         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35844         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35845         (CHECK_EOL): Add undef.
35847 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
35849         * bits/stdlib-bsearch.h: New file.
35850         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35851         * stdlib/stdlib.h: Likewise.
35853 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35855         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35856         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35857         declaration.
35858         * manual/search.texi (Array Search Function): Add missing const in
35859         lfind prototype.
35860         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35861         declaration to use rlim_t.
35862         (Basic Scheduling Functions): Remove erroneous const from
35863         sched_getparam prototype.  Remove erroneous * from
35864         sched_get_priority_max and sched_get_priority_min prototypes.
35865         (Resource Usage): Fix summary @comment on vtimes to refer to
35866         sys/vtimes.h rather than vtimes.h.
35867         Add missing *s in vtimes prototype.
35868         (Limits on Resources): Fix ulimit prototype to return long int.
35869         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35870         prototypes to use long int rather than double.
35871         (BSD Random): Fix initstate and setstate to use char *, not void *.
35872         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35873         prototype to make second argument 'struct aiocb64 *const[]'.
35874         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35875         (Status of AIO Operations): Remove erroneous const in aio_return and
35876         aio_return64 prototypes.
35877         (Synchronizing I/O): Fix sync prototype to return void.
35878         * manual/startup.texi (Suboptions): Remove an erroneous const in
35879         getsubopt prototype.
35880         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35881         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35882         use size_t rather than int.
35883         (Scanning All Users): Likewise for getpwent_r.
35884         (Setting Groups): Add missing const to setgroups prototype.
35885         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35886         * manual/socket.texi (Host Names): Fix gethostbyaddr and
35887         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35888         'const void *' rather than 'const char *'.
35889         (Host Address Functions): Likewise for inet_ntop.
35890         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35891         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35892         ssize_t for return value.
35893         (Sending Data): Likewise for send, sendto, sendmsg.
35894         (Socket Option Functions): Add a missing const in setsockopt prototype.
35895         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35896         use wchar_t for the argument.
35897         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35898         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35899         take no arguments.
35900         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35901         double/float/long double for second argument.
35902         Fix return types of significand, significandf, significandl.
35903         * manual/filesys.texi (Setting Permissions): Use mode_t for second
35904         argument in fchmod prototype.
35905         (File Owner): Use uid_t and gid_t in fchown prototype.
35906         (File Times): Add const to utimes, futimes, and lutimes prototypes.
35907         (Making Special Files): Use mode_t and dev_t in mknod prototype.
35908         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35909         use 'const struct dirent **' as argument types to CMP function pointer
35910         argument.
35911         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35912         (File Times): Fix summary magic @comment for struct utimbuf and utime
35913         to refer to utime.h, not time.h.
35914         * manual/string.texi (Argz Functions): Add missing const in
35915         argz_extract and argz_next prototypes.
35916         (Finding Tokens in a String): Likewise for basename.
35917         (String/Array Comparison): Fix typo in wcscasecmp prototype.
35918         (Copying and Concatenation): Fix typo in wmemmove prototype.
35919         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35920         (Signal Stack): Remove erroneous const in sigstack prototype.
35921         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35922         prototype.
35923         (Simple Calendar Time): Likewise for stime.
35924         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35925         prototype.
35926         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35927         say sys/sysctl.h instead.
35928         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35929         and vsyslog prototypes.
35931 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35933         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35934         Remove.
35936 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35938         * misc/sys/mman.h: Fix typo in mremap comment.
35940 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35942         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35943         the '\0' terminator.
35945 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35947         [BZ #13550]
35948         * debug/segfault.c: Don't include <bp-checks.h>.
35949         * sysdeps/generic/bp-checks.h: Remove file.
35950         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35951         (__GETDENTS): Don't use CHECK_N.
35952         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35953         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35954         (__getgroups): Don't use CHECK_N.
35955         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35956         (setgroups): Don't use CHECK_N.
35957         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35958         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35959         (__libc_msgrcv): Don't use CHECK_N.
35960         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35961         (__libc_msgsnd): Don't use CHECK_N.
35962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35963         <bp-checks.h>.
35964         (__libc_pread): Don't use CHECK_N.
35965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35966         include <bp-checks.h>.
35967         (__libc_pread64): Don't use CHECK_N.
35968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35969         include <bp-checks.h>.
35970         (__libc_pwrite): Don't use CHECK_N.
35971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35972         include <bp-checks.h>.
35973         (__libc_pwrite64): Don't use CHECK_N.
35974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35975         <bp-checks.h>.
35976         (__libc_pread): Don't use CHECK_N.
35977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35978         include <bp-checks.h>.
35979         (__libc_pread64): Don't use CHECK_N.
35980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35981         include <bp-checks.h>.
35982         (__libc_pwrite): Don't use CHECK_N.
35983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35984         include <bp-checks.h>.
35985         (__libc_pwrite64): Don't use CHECK_N.
35986         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35987         (do_pread): Don't use CHECK_N.
35988         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35989         (do_pread64): Don't use CHECK_N.
35990         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35991         (do_pwrite): Don't use CHECK_N.
35992         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35993         (do_pwrite64): Don't use CHECK_N.
35994         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35995         (__libc_readv): Don't use CHECK_N.
35996         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35997         (semop): Don't use CHECK_N.
35998         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35999         <bp-checks.h>.
36000         (semtimedop): Don't use CHECK_N.
36001         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
36002         (__libc_pread): Don't use CHECK_N.
36003         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
36004         <bp-checks.h>.
36005         (__libc_pread64): Don't use CHECK_N.
36006         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
36007         <bp-checks.h>.
36008         (__libc_pwrite): Don't use CHECK_N.
36009         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
36010         <bp-checks.h>.
36011         (__libc_pwrite64): Don't use CHECK_N.
36012         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
36013         <bp-checks.h>.
36014         (__libc_msgrcv): Don't use CHECK_N.
36015         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
36016         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
36017         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
36018         (__libc_writev): Don't use CHECK_N.
36020 2013-02-08  Roland McGrath  <roland@hack.frob.com>
36022         * string/strcpy.c: Removed unused variable.
36024         * Makeconfig (+sysdep-includes): Define with := rather than =.
36025         Use an existing include/ subdir of each sysdeps dir before it.
36027 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36029         * nscd/connection.c (register_traced_file): Comment function.
36030         [HAVE_INOTIFY] (union __inev): Define.
36031         [HAVE_INOTIFY] (inotify_check_files): New function.
36032         [HAVE_INOTIFY] (clear_db_cache): Likewise.
36033         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
36034         clear_db_cache.
36035         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
36037 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36039         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
36040         loaded if not already and that a failure is permanent.
36042 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
36044         [BZ #15006]
36045         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
36046         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
36048 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
36050         [BZ #13550]
36051         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
36052         (CHECK_1_NULL_OK): Likewise.
36053         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
36054         (__fxstat): Do not use CHECK_1.
36055         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
36056         <bp-checks.h>.
36057         (___fxstat64): Do not use CHECK_1.
36058         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
36059         <bp-checks.h>.
36060         (__fxstatat): Do not use CHECK_1.
36061         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
36062         <bp-checks.h>.
36063         (__fxstatat64): Do not use CHECK_1.
36064         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
36065         <bp-checks.h>.
36066         (__fxstat): Do not use CHECK_1.
36067         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
36068         <bp-checks.h>.
36069         (__fxstatat): Do not use CHECK_1.
36070         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
36071         <bp-checks.h>.
36072         (__getresgid): Do not use CHECK_1.
36073         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
36074         <bp-checks.h>.
36075         (__getresuid): Do not use CHECK_1.
36076         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
36077         <bp-checks.h>.
36078         (__lxstat): Do not use CHECK_1.
36079         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
36080         <bp-checks.h>.
36081         (__old_msgctl): Do not use CHECK_1.
36082         (__new_msgctl): Likewise.
36083         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
36084         <bp-checks.h>.
36085         (__new_setrlimit): Do not use CHECK_1.
36086         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
36087         <bp-checks.h>.
36088         (__old_shmctl): Do not use CHECK_1.
36089         (__new_shmctl): Likewise.
36090         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
36091         <bp-checks.h>.
36092         (__xstat): Do not use CHECK_1.
36093         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
36094         (__lxstat): Do not use CHECK_1.
36095         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
36096         <bp-checks.h>.
36097         (___lxstat64): Do not use CHECK_1.
36098         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
36099         (__old_msgctl): Do not use CHECK_1.
36100         (__new_msgctl): Likewise.
36101         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
36102         <bp-checks.h>.
36103         (__gettimeofday): Do not use CHECK_1.
36104         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
36105         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
36106         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
36107         <bp-checks.h>.
36108         (__gettimeofday): Do not use CHECK_1.
36109         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
36110         (__old_shmctl): Do not use CHECK_1_NULL_OK.
36111         (__new_shmctl): Do not use CHECK_1.
36112         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
36113         <bp-checks.h>.
36114         (do_sigtimedwait): Do not use CHECK_1.
36115         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
36116         <bp-checks.h>.
36117         (do_sigwaitinfo): Do not use CHECK_1.
36118         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
36119         <bp-checks.h>.
36120         (msgctl): Do not use CHECK_1.
36121         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
36122         <bp-checks.h>.
36123         (shmctl): Do not use CHECK_1.
36124         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
36125         (ustat): Do not use CHECK_1.
36126         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
36127         <bp-checks.h>.
36128         (__fxstat): Do not use CHECK_1.
36129         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
36130         <bp-checks.h>.
36131         (__fxstatat): Do not use CHECK_1.
36132         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
36133         <bp-checks.h>.
36134         (__lxstat): Do not use CHECK_1.
36135         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36136         <bp-checks.h>.
36137         (__xstat): Do not use CHECK_1.
36138         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36139         (__xstat): Do not use CHECK_1.
36140         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36141         (___xstat64): Do not use CHECK_1.
36143         [BZ #13550]
36144         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36145         definitions.
36146         (CHECK_BOUNDS_HIGH): Likewise.
36147         * string/strcpy.c: Do not include <bp-checks.h>.
36148         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36150 2013-02-07  Roland McGrath  <roland@hack.frob.com>
36152         * nscd/nscd-client.h (__nscd_drop_map_ref):
36153         Add __attribute__ ((unused)).
36154         * nis/nss-nisplus.h (niserr2nss): Likewise.
36156         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36157         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36159         * csu/libc-tls.c (init_static_tls, init_slotinfo):
36160         Remove inline keyword.
36161         * include/rounding-mode.h (round_away): Likewise.
36162         * libio/wfileops.c (adjust_wide_data): Likewise.
36163         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36164         (__m128i_strloadu_tolower): Likewise.
36165         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36166         (__m128i_strloadu_tolower): Likewise.
36167         * time/mktime.c (ydhms_diff): Likewise.
36168         * locale/elem-hash.h (elem_hash): Likewise.
36169         * locale/setlocale.c (setdata): Likewise.
36170         * posix/regex_internal.h (re_string_char_size_at): Likewise.
36171         (re_string_wchar_at): Likewise.
36172         (bitset_not, bitset_merge, bitset_mask): Likewise.
36173         [!(__GNUC__ > 3)] (inline): Remove macro.
36174         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36175         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36176         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36177         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36178         * string/memcmp.c (memcmp_bytes): Likewise.
36179         * locale/programs/locarchive.c (compute_hashval): Likewise.
36180         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36181         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36182         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36183         * nss/getent.c (print_rpc, print_protocols): Likewise.
36184         (print_passwd, print_group, print_aliases): Likewise.
36185         * nis/nss-nisplus.h (niserr2nss): Likewise.
36186         * nscd/connections.c (restart_p): Likewise.
36187         Change return type to bool.
36189 2013-02-05  Roland McGrath  <roland@hack.frob.com>
36191         * Makeconfig (all-Depend-files): Add existing
36192         $(sorted-subdirs:=/Depend) files.
36193         (all-subdirs): Remove nss.
36194         * sysdeps/unix/inet/Subdirs: Add it here instead.
36195         * hesiod/Depend: New file.
36197         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36198         instead of calling alloca.
36200         * io/lseek.c (__lseek): Rename to __libc_lseek.
36201         Define __lseek as an alias.
36203         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36205 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
36207         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36208         else clause and remove check for non-standard endianness.
36210 2013-02-04  David S. Miller  <davem@davemloft.net>
36212         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36214 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
36216         [BZ #13550]
36217         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36218         (__ubp_memchr): Remove prototype.
36219         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36220         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36221         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36222         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36223         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36224         Remove alias.
36225         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36226         (__ubp_memchr): Likewise.
36227         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36228         (__ubp_memchr): Likewise.
36229         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36230         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36231         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36232         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36233         CHECK_STRING.
36234         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36235         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36236         (__getcwd): Do not use CHECK_STRING.
36237         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36238         <bp-checks.h>.
36239         (__real_chown): Do not use CHECK_STRING.
36240         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36241         <bp-checks.h>.
36242         (fchownat): Do not use CHECK_STRING.
36243         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36244         CHECK_STRING.
36245         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36246         <bp-checks.h>.
36247         (__lchown): Do not use CHECK_STRING.
36248         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36249         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36250         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36251         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36253         include <bp-checks.h>.
36254         (truncate64): Do not use CHECK_STRING.
36255         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36256         <bp-checks.h>.
36257         (__real_chown): Do not use CHECK_STRING.
36258         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36259         <bp-checks.h>.
36260         (__lchown): Do not use CHECK_STRING.
36261         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36262         <bp-checks.h>.
36263         (__chown): Do not use CHECK_STRING.
36264         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36265         <bp-checks.h>.
36266         (truncate64): Do not use CHECK_STRING.
36267         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36268         Likewise.
36269         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36270         (__xmknod): Do not use CHECK_STRING.
36271         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36272         <bp-checks.h>.
36273         (__xmknodat): Do not use CHECK_STRING.
36274         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36275         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36277 2013-02-04  Andreas Schwab  <schwab@suse.de>
36279         [BZ #14142]
36280         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36281         * include/netdb.h: Likewise for h_errno.
36282         * elf/tst-stackguard1.c: Include <tls.h>.
36284 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
36286         * elf/link.h (struct link_map): Extend the l_addr comment.
36287         * include/link.h (struct link_map): Likewise.
36289 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
36291         [BZ #13550]
36292         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36293         (BOUNDED_1): Remove macro.
36294         * debug/backtrace.c: Don't include <bp-checks.h>.
36295         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36296         (__backtrace): Likewise.
36297         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36298         <bp-checks.h>.
36299         (__backtrace): Don't use BOUNDED_1.
36300         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36301         <bp-checks.h>.
36302         (__backtrace): Don't use BOUNDED_1.
36303         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36304         (__backtrace): Don't use BOUNDED_1.
36305         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36306         (shmat): Don't use BOUNDED_N.
36308 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
36310         [BZ #13550]
36311         * sysdeps/generic/bp-start.h: Remove file.
36312         * csu/libc-start.c: Don't include <bp-start.h>.
36313         (LIBC_START_MAIN): Set up __environ directly instead of using
36314         INIT_ARGV_and_ENVIRON.
36315         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36316         <bp-start.h>.
36318         [BZ #13550]
36319         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36320         definitions.
36321         (CHECK_FCNTL): Likewise.
36322         (CHECK_N_PAGES): Likewise.
36324         [BZ #13550]
36325         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36326         definitions.
36327         (CHECK_SIGSET_NULL_OK): Likewise.
36328         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36329         <bp-checks.h>.
36330         (sigpending): Don't use CHECK_SIGSET.
36331         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36332         <bp-checks.h>.
36333         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36334         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36335         <bp-checks.h>.
36336         (do_sigsuspend): Don't use CHECK_SIGSET.
36337         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36338         use CHECK_SIGSET.
36339         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36340         (do_sigwait): Don't use CHECK_SIGSET.
36341         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36342         use CHECK_SIGSET.
36343         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36344         include <bp-checks.h>.
36345         (sigpending): Don't use CHECK_SIGSET.
36346         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36347         include <bp-checks.h>.
36348         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36349         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36350         <bp-checks.h>.
36351         (sigpending): Don't use CHECK_SIGSET.
36352         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36353         <bp-checks.h>.
36354         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36356         [BZ #13550]
36357         * sysdeps/generic/bp-semctl.h: Remove file.
36358         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36359         <bp-checks.h> and <bp-semctl.h>.
36360         (__old_semctl): Don't use CHECK_SEMCTL.
36361         (__new_semctl): Likewise.
36362         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36363         and <bp-semctl.h>.
36364         (__old_semctl): Don't use CHECK_SEMCTL.
36365         (__new_semctl): Likewise.
36366         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36367         <bp-checks.h> and <bp-semctl.h>.
36368         (__old_semctl): Don't use CHECK_SEMCTL.
36369         (__new_semctl): Likewise.
36370         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36371         <bp-checks.h> and <bp-semctl.h>.
36372         (semctl): Don't use CHECK_SEMCTL.
36374         [BZ #13550]
36375         * Makerules (elide-bp-thunks): Remove variable.
36376         (elide-routines.oS): Don't use $(elide-bp-thunks).
36377         (elide-routines.os): Likewise.
36378         (elide-routines.o): Likewise.
36379         (elide-routines.op): Likewise.
36380         (elide-routines.og): Likewise.
36381         (objects): Don't use $(bp-thunks).
36382         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36383         include.
36384         (common-generated): Do not add s-proto-bp.d.
36385         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36386         (int): Likewise.
36387         (typ): Likewise.
36388         Do not generate makefile rules for bounded-pointer thunks.
36389         * sysdeps/generic/bp-thunks.h: Remove file.
36390         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36391         * sysdeps/unix/s-proto-bp.S: Likewise.
36393         [BZ #15062]
36394         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36395         parts of result separately when argument is not close to line from
36396         -i to i and one part of argument is small.
36397         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36398         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36399         * math/libm-test.inc (cacos_test): Add more tests.
36400         (casin_test): Likewise.
36401         (casinh_test): Likewise.
36402         * sysdeps/i386/fpu/libm-test-ulps: Update.
36403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36405 2013-01-31  David S. Miller  <davem@davemloft.net>
36407         * po/de.po: Update from translation team.
36409 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
36411         * time/tzfile.c: Include stdint.h for SIZE_MAX.
36413 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
36415         * configure.in (_AC_PROG_CC_C89): New definition.
36416         * configure: Regenerate.
36418         * configure.in (AC_PROG_CPP): New definition.
36419         * configure: Regenerate.
36421 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36423         * debug/tst-backtrace.h: New file.
36424         * debug/tst-backtrace2.c: Include tst-backtrace.h.
36425         (ret): Remove variable.
36426         (x): Likewise.
36427         (FAIL): Remove macro.
36428         (NO_INLINE): Likewise.
36429         (fn1): Use match function instead of strstr.
36430         * debug/tst-backtrace3.c: Include tst-backtrace.h.
36431         (ret): Remove variable.
36432         (x): Likewise.
36433         (FAIL): Remove macro.
36434         (NO_INLINE): Likewise.
36435         (fn): Use match function instead of strstr.
36436         * debug/tst-backtrace4.c: Include tst-backtrace.h.
36437         (ret): Remove variable.
36438         (x): Likewise.
36439         (FAIL): Remove macro.
36440         (NO_INLINE): Likewise.
36441         (handle_signal): Use match function instead of strstr.
36442         * debug/tst-backtrace5.c: Include tst-backtrace.h.
36443         (ret): Remove variable.
36444         (x): Likewise.
36445         (FAIL): Remove macro.
36446         (NO_INLINE): Likewise.
36447         (handle_signal): Use match function instead of strstr.
36449 2013-01-23  Roland McGrath  <roland@hack.frob.com>
36451         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36453 2013-01-23  David S. Miller  <davem@davemloft.net>
36455         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36456         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36457         argument of CAS if possible.
36458         * sysdeps/sparc/sparc64/bits/atomic.h
36459         (__arch_compare_and_exchange_val_32_acq): Likewise.
36460         (__arch_compare_and_exchange_val_64_acq): Likewise.
36462 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
36464         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36465         * sysdeps/posix/ulimit.c: ... this.
36466         Include <limits.h>.
36467         * sysdeps/unix/bsd/ulimit.c: Remove file.
36469 2013-01-23  Adam Conrad  <adconrad@0c3.net>
36471         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36472         (LDFLAGS-tst-array5): Likewise.
36474 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36476         [BZ #15036]
36477         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36478         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36479         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36480         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36482 2013-01-21  David S. Miller  <davem@davemloft.net>
36484         * sysdeps/sparc/backtrace.c: New file.
36485         * sysdeps/sparc/sparc32/backtrace.h: New file.
36486         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36487         * sysdeps/sparc/sparc64/backtrace.h: New file.
36488         * sysdeps/sparc/sparc64/backtrace.c: Delete.
36489         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36490         -funwind-tables.
36492 2013-01-21  Andreas Schwab  <schwab@suse.de>
36494         [BZ #15020]
36495         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36496         closed its stdout.
36498 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
36500         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36501         "mpa2.h".
36502         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36504 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
36505             Mark Mitchell  <mark@codesourcery.com>
36506             Tom de Vries  <tom@codesourcery.com>
36507             Paul Pluzhnikov  <ppluzhnikov@google.com>
36509         * debug/tst-backtrace2.c: New file.
36510         * debug/tst-backtrace3.c: Likewise.
36511         * debug/tst-backtrace4.c: Likewise.
36512         * debug/tst-backtrace5.c: Likewise.
36513         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36514         (CFLAGS-tst-backtrace3.c): Likewise.
36515         (CFLAGS-tst-backtrace4.c): Likewise.
36516         (CFLAGS-tst-backtrace5.c): Likewise.
36517         (LDFLAGS-tst-backtrace2): Likewise.
36518         (LDFLAGS-tst-backtrace3): Likewise.
36519         (LDFLAGS-tst-backtrace4): Likewise.
36520         (LDFLAGS-tst-backtrace5): Likewise.
36521         (tests): Add new tests tst-backtrace2, tst-backtrace3,
36522         tst-backtrace4 and tst-backtrace5.
36524 2013-01-18  Anton Blanchard  <anton@samba.org>
36525             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36527         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36528         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36529         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36530         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36532         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36533         "+r" and remove output regs list as redundant.  Add explicit inline
36534         asm to specify register of return val to work around compiler codegen
36535         bug.  Remove (int) cast on return value.  Add return type parameter to
36536         use in macro so that this macro does not truncate return value for
36537         64-bit values.
36538         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36539         pass to INTERNAL_VSYSCALL_NCS.
36540         (INLINE_VSYSCALL): Add 'long int' as return type to
36541         INTERNAL_VSYSCALL_NCS macro invocation.
36542         (INTERNAL_VSYSCALL): Add 'long int' as return type to
36543         INTERNAL_VSYSCALL_NCS macro invocation.
36544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36546 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36548         [BZ #14496]
36549         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36550         Fix application of SIMD FP exception mask.
36552         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36553         mp_no from a power of two.
36554         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36555         __mpexp_twomm1.  Use __pow_mp.
36557         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36558         multiplication.
36560 2013-01-17  David S. Miller  <davem@davemloft.net>
36562         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36564 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36566         [BZ #15023]
36567         * include/complex.h: Condition contents on [!_COMPLEX_H].
36568         (__kernel_casinhf): New prototype.
36569         (__kernel_casinh): Likewise.
36570         (__kernel_casinhl): Likewise.
36571         * math/Makefile (libm_calls): Add k_casinh.
36572         * math/k_casinh.c: New file.
36573         * math/k_casinhf.c: Likewise.
36574         * math/k_casinhl.c: Likewise.
36575         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36576         finite nonzero arguments.
36577         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36578         finite nonzero arguments.
36579         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36580         finite nonzero arguments.
36581         * math/s_casinh.c: Do not include <float.h>.
36582         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36583         * math/s_casinhf.c: Do not include <float.h>.
36584         (__casinhf): Move code for finite nonzero arguments to
36585         k_casinhf.c.
36586         * math/s_casinhl.c: Do not include <float.h>.
36587         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36588         redefine.
36589         (__casinhl): Move code for finite nonzero arguments to
36590         k_casinhl.c.
36591         * math/libm-test.inc (cacos_test): Add more tests.
36592         * sysdeps/i386/fpu/libm-test-ulps: Update.
36593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36595 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
36597         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36598         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36599         [!HAVE_MREMAP]: Remove [defined linux] case.
36600         * malloc/arena.c: Do not include <malloc-sysdep.h>.
36602 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36604         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36606 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
36608         * elf/elf.h (R_386_SIZE32): New relocation.
36609         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36610         R_386_SIZE32.
36611         (elf_machine_rela): Likewise.
36612         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36613         R_X86_64_SIZE64 and R_X86_64_SIZE32.
36615 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36617         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36618         (FP_FAST_FMA): Do not define.
36619         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36620         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36621         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36622         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36623         !_SOFT_FLOAT]: Likewise.
36624         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36625         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36626         value.
36627         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36628         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36629         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36630         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36631         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36632         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36633         file.
36635 2013-01-16  Andreas Schwab  <schwab@suse.de>
36637         [BZ #14327]
36638         * include/stdlib.h (__mktemp): Add declaration.
36639         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36640         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36642 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36644         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36645         definitions.
36646         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36647         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36648         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36649         definitions here.
36650         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36651         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36652         definitions.
36653         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36654         and ONE.
36655         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36656         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36657         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36658         definitions.
36659         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36660         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36661         definitions.
36662         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36664         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36666 2013-01-15  David S. Miller  <davem@davemloft.net>
36668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36669         trunc{,f} to libm-sysdep_routes.
36670         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36672         file.
36673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36675         file.
36676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36677         file.
36678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36680         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36681         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36682         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36683         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36684         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36685         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36687         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36688         nearbyint{,f} to libm-sysdep_routes.
36689         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36690         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36691         New file.
36692         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36693         file.
36694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36695         New file.
36696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36697         file.
36698         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36699         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36700         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36701         file.
36702         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36703         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36704         file.
36705         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36706         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36707         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36709         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36710         libc_feholdexcept and libc_fesetenv.
36712 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
36714         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36716 2013-01-14  David S. Miller  <davem@davemloft.net>
36718         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36719         (SPARC_ASM_VIS2_IFUNC): Likewise.
36720         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36722         use of 'siam' instruction.
36723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36724         Likewise.
36725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36726         Likewise.
36727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36728         Likewise.
36729         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36730         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36731         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36732         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36734         file.
36735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36736         file.
36737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36738         file.
36739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36740         file.
36741         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36742         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36744         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36746         new VIS2 routines.
36747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36750         Likewise.
36751         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36752         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36753         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36754         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36756         routines to libm-sysdep_routines.
36757         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36760         fdim/fdimf to libm-sysdep_routines.
36761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36762         file.
36763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36765         file.
36766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36767         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36769         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36770         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36771         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36772         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36774 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36776         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36777         to optimize copies.
36779         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36781         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36783         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36784         local variable MPTWO.
36785         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36786         Likewise.
36788 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36790         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36791         GLOB_NOESCAPE.
36793 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36795         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36797 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36799         * manual/pattern.texi (glob_t): Document gl_flags.
36800         (glob64_t): Likewise.
36802 2013-01-11  David S. Miller  <davem@davemloft.net>
36804         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36805         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36806         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
36807         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36808         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36809         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36810         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36811         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36812         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36813         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36814         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36815         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36816         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36818         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36819         sparc V9 rather than using V8 code.
36820         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36821         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36823         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36824         Move to...
36825         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36826         Here.
36828 2013-01-11  Roland McGrath  <roland@hack.frob.com>
36830         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36831         not in the main loop.
36832         * configure: Regenerated.
36834 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
36836         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36837         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36838         to just #else.
36839         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
36840         [!__GLIBC_HAVE_LONG_LONG] case.
36841         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36842         condition to just #else.
36843         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36844         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36845         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36846         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36847         unconditional.
36848         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36849         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36850         #elif condition to just #else.
36851         * sysdeps/unix/sysv/linux/sys/sysmacros.h
36852         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36853         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36854         #elif condition to just #else.
36856 2013-01-11  Steve Ellcey  <sellcey@mips.com>
36858         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36859         (EF_MIPS_ARCH_64): Fix value.
36860         (EF_MIPS_ARCH_32R2): New.
36861         (EF_MIPS_ARCH_64R2): New.
36863 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
36865         * Makeconfig (+link-pie-before-libc): New.
36866         (+link-pie-after-libc): Likewise.
36867         (+link-pie-tests): Likewise.
36868         (+link-pie): Rewritten.
36869         (link-before-libc): Remove $(config-LDFLAGS).
36870         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36871         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36872         (config-LDFLAGS): Renamed to ...
36873         (rtld-LDFLAGS): This.
36874         (rtld-tests-LDFLAGS): New macro.
36875         (link-libc-rpath-link): Likewise.
36876         (link-libc-tests-rpath-link): Likewise.
36877         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36878         (link-libc): Prepand $(link-libc-rpath-link).
36879         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36880         (test-program-prefix): New macro.
36881         (test-via-rtld-prefix): Likewise.
36882         (test-program-cmd): Likewise.
36883         (host-test-program-cmd): Likewise.
36884         * Makefile ($(common-objpfx)testrun.sh): Replace
36885         $(run-program-prefix) with $(test-program-prefix).
36886         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36887         $(rtld-LDFLAGS).
36888         ($(common-objpfx)shlib.lds): Likewise.
36889         (build-module-helper): Likewise.
36890         ($(common-objpfx)format.lds): Likewise.
36891         * Rules (binaries-pie-tests): New.
36892         (binaries-pie-notests): Likewise.
36893         (binaries-pie): Rewritten.
36894         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36895         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36896         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36897         (make-test-out): Replace $(host-built-program-cmd) with
36898         $(host-test-program-cmd).
36899         * config.make.in (build-hardcoded-path-in-tests): New variable.
36900         * configure.in (--enable-hardcoded-path-in-tests): New configure
36901         option.
36902         (hardcoded_path_in_tests): New AC_SUBST.
36903         * configure: Regenerated.
36904         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36905         $(built-program-cmd) with $(test-program-cmd).
36906         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36907         (test_program_cmd): This.
36908         * elf/Makefile ($(objpfx)order.out): Run test with
36909         $(test-program-prefix).
36910         ($(objpfx)order2.out): Likewise.
36911         ($(objpfx)tst-initorder.out): Likewise.
36912         ($(objpfx)tst-initorder2.out): Likewise.
36913         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36914         $(test-program-cmd).
36915         ($(objpfx)tst-array1-static.out): Likewise.
36916         ($(objpfx)tst-array2.out): Likewise.
36917         ($(objpfx)tst-array3.out): Likewise.
36918         ($(objpfx)tst-array4.out): Likewise.
36919         ($(objpfx)tst-array5.out): Likewise.
36920         ($(objpfx)tst-array5-static.out): Likewise.
36921         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36922         $(test-program-cmd).
36923         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36924         $(run-program-prefix) with $(test-program-prefix).
36925         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36926         (test_program_prefix): This.
36927         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36928         $(run-program-prefix) with $(test-program-prefix).
36929         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36930         (test_program_prefix): This.
36931         * iconvdata/tst-tables.sh: Likewise.
36932         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36933         $(run-program-prefix) with $(test-program-prefix).
36934         ($(objpfx)tst-translit.out): Likewise.
36935         ($(objpfx)tst-gettext2.out): Likewise.
36936         ($(objpfx)tst-gettext4.out): Likewise.
36937         ($(objpfx)tst-gettext6.out): Likewise.
36938         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36939         (test_program_prefix): This.
36940         * intl/tst-gettext2.sh: Likewise.
36941         * intl/tst-gettext4.sh  Likewise.
36942         * intl/tst-gettext6.sh: Likewise.
36943         * intl/tst-translit.sh: Likewise.
36944         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36945         with $(test-program-cmd).
36946         * libio/Makefile ($(objpfx)test-freopen.out): Replace
36947         $(run-program-prefix) with $(test-program-prefix).
36948         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36949         (test_program_prefix): This.
36950         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36951         $(run-program-prefix) with $(test-program-prefix).
36952         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36953         (test_program_prefix): This.
36954         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36955         * posix/Makefile ($(objpfx)globtest.out): Replace
36956         $(run-via-rtld-prefix) and $(test-wrapper) with
36957         $(test-program-prefix) and $(test-via-rtld-prefix).
36958         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36959         $(test-program-prefix).
36960         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36961         $(host-test-program-cmd).
36962         (tst-spawn-ARGS): Likewise.
36963         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36964         $(test-program-prefix).
36965         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36966         (test_via_rtld_prefix): This.
36967         (test_wrapper): Renamed to ...
36968         (test_program_prefix): This.
36969         (run_program_prefix): Replaced by test_program_prefix.
36970         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36971         (test_program_prefix): This.
36972         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36973         with $(host-test-program-cmd).
36974         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36975         $(run-program-prefix) with $(test-program-prefix).
36976         ($(objpfx)tst-printf.out): Likewise.
36977         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36978         $(test-program-cmd).
36979         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36980         (test_program_prefix): This.
36981         * stdio-common/tst-unbputc.sh: Likewise.
36982         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36983         $(run-program-prefix) with $(test-program-prefix).
36984         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36985         (test_program_prefix): This.
36986         * string/Makefile ($(objpfx)tst-svc.out):  Replace
36987         $(built-program-cmd) with $(test-program-cmd).
36989 2013-01-11  Andreas Jaeger  <aj@suse.de>
36991         [BZ #15003]
36992         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36993         value. Sync with Linux 3.7.
36995 2013-01-10  David S. Miller  <davem@davemloft.net>
36997         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36998         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36999         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
37001 2013-01-10  Roland McGrath  <roland@hack.frob.com>
37003         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
37004         never set.
37005         * configure: Regenerated.
37007 2013-01-10  David S. Miller  <davem@davemloft.net>
37009         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
37010         sparc V9 rather than using V8 code.
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         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
37017         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
37018         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
37019         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
37020         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
37021         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
37022         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
37023         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
37024         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
37025         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
37026         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
37027         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
37028         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
37029         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
37030         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
37031         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
37032         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
37033         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
37034         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
37035         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
37036         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
37037         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
37038         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
37039         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
37040         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
37041         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
37042         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
37044 2013-01-10  David S. Miller  <davem@davemloft.net>
37046         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37048 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37050         * posix/Makefile (tests-static): New variable.
37051         (tests): Add $(tests-static).
37052         (tst-exec-static-ARGS): New variable.
37053         (tst-spawn-static-ARGS): Likewise.
37054         * posix/tst-exec-static.c: New file.
37055         * posix/tst-spawn-static.c: Likewise.
37056         * posix/tst-exec.c: Support run directly.
37057         * posix/tst-spawn.c: Likewise.
37059 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
37061         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
37062         long.
37063         * math/bits/mathcalls.h (llrint): Likewise.
37064         (llround): Likewise.
37065         * stdlib/stdlib.h (struct drand48_data): Likewise.
37066         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
37067         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
37068         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
37069         Likewise.
37070         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
37071         Likewise.
37072         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
37073         (elf_greg_t): Likewise.
37074         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
37075         (__jmp_buf): Likewise.
37076         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
37077         definitions.
37078         (llrint): Likewise, for all definitions.
37079         (llrintl): Likewise.
37081         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
37082         Remove [__GNUC__] condition.
37083         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
37084         condition to just [__USE_ISOC99].
37085         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
37087 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
37089         [BZ #14200]
37090         * sysdeps/unix/sysv/linux/x86/bits/environments.h
37091         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
37092         defined.
37093         (_POSIX_V6_ILP32_OFF32): Likewise.
37094         (_XBS5_ILP32_OFF32): Likewise.
37095         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
37096         (__ILP32_OFFBIG_LDFLAGS): Likewise.
37098 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37100         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
37102         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
37103         doubles __mpexp_twomm1.  Adjust usage.
37104         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
37105         Remove.
37107 2013-01-10  Andreas Schwab  <schwab@suse.de>
37109         [BZ #14964]
37110         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
37111         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
37113 2013-01-09  David S. Miller  <davem@davemloft.net>
37115         [BZ #15003]
37116         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
37117         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
37118         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
37119         (TCP_FASTOPEN): Define.
37120         (tcp_repair_opt): New structure.
37121         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
37122         enum values.
37123         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
37124         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
37125         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
37126         (tcp_cookie_transactions): New structure.
37128 2013-01-09  Anton Blanchard  <anton@samba.org>
37130         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
37131         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
37132         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
37133         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37135 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
37137         * include/features.h (__USE_ANSI): Remove.
37139 2013-01-09  Roland McGrath  <roland@hack.frob.com>
37141         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37143         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37145 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37147         * sysdeps/s390/fpu/libm-test-ulps: Update.
37149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37151         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37152         (__acr): Likewise.
37153         (__cpy): Likewise.
37154         (norm): Likewise.
37155         (denorm): Likewise.
37156         (__mp_dbl): Likewise.
37157         (__dbl_mp): Likewise.
37158         (add_magnitudes): Likewise.
37159         (sub_magnitudes): Likewise.
37160         (__add): Likewise.
37161         (__sub): Likewise.
37162         (__mul): Likewise.
37163         (__inv): Likewise.
37164         (__dvd): Likewise.
37165         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37166         (__acr): Likewise.
37167         (__cpy): Likewise.
37168         (norm): Likewise.
37169         (denorm): Likewise.
37170         (__mp_dbl): Likewise.
37171         (__dbl_mp): Likewise.
37172         (add_magnitudes): Likewise.
37173         (sub_magnitudes): Likewise.
37174         (__add): Likewise.
37175         (__sub): Likewise.
37176         (__mul): Likewise.
37177         (__inv): Likewise.
37178         (__dvd): Likewise.
37179         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37180         (__acr): Likewise.
37181         (__cpy): Likewise.
37182         (norm): Likewise.
37183         (denorm): Likewise.
37184         (__mp_dbl): Likewise.
37185         (__dbl_mp): Likewise.
37186         (add_magnitudes): Likewise.
37187         (sub_magnitudes): Likewise.
37188         (__add): Likewise.
37189         (__sub): Likewise.
37190         (__mul): Likewise.
37191         (__inv): Likewise.
37192         (__dvd): Likewise.
37194 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
37196         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37197         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37198         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37199         2 && __USE_EXTERN_INLINES]: Likewise.
37201 2013-01-08  Andreas Jaeger  <aj@suse.de>
37203         [BZ# 14985]
37204         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37205         Remove.
37206         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37207         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37209 2013-01-07  Anton Blanchard  <anton@samba.org>
37211         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37212         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37213         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37214         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37215         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37216         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37217         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37218         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37219         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37220         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37221         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37222         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37223         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37224         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37225         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37226         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37227         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37228         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37229         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37230         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37231         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37232         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37233         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37234         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37235         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37236         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37237         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37238         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37239         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37240         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37241         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37242         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37243         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37244         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37245         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37246         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37247         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37248         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37249         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37250         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37251         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37252         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37253         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37255 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
37257         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37258         (__MALLOC_PMT): Likewise.
37259         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37260         [__GNUC__], only on [_LIBC].
37261         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37262         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37263         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37264         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37265         forward declaration.
37266         (realloc_hook_ini): Likewise.
37267         (memalign_hook_ini): Likewise.
37268         (__libc_memalign): Do not use __MALLOC_PMT in variable
37269         declaration.
37270         (__libc_valloc): Likewise.
37271         (__libc_pvalloc): Likewise.
37272         (__libc_calloc): Likewise.
37273         (__posix_memalign): Likewise.
37275         [BZ #14996]
37276         * math/s_casinh.c: Include <float.h>.
37277         (__casinh): Do not do computation with squaring and square root
37278         for large arguments.
37279         * math/s_casinhf.c: Include <float.h>.
37280         (__casinhf): Do not do computation with squaring and square root
37281         for large arguments.
37282         * math/s_casinhl.c: Include <float.h>.
37283         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37284         (__casinhl): Do not do computation with squaring and square root
37285         for large arguments.
37286         * math/libm-test.inc (casin_test): Add more tests.
37287         (casinh_test): Likewise.
37288         * sysdeps/i386/fpu/libm-test-ulps: Update.
37289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37291 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
37293         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37294         (__x86_64_raw_data_cache_size): Likewise.
37295         (__x86_64_data_cache_size_half): Likewise.
37296         (__x86_64_raw_data_cache_size_half): Likewise.
37297         (__x86_64_shared_cache_size): Likewise.
37298         (__x86_64_raw_shared_cache_size): Likewise.
37299         (__x86_64_shared_cache_size_half): Likewise.
37300         (__x86_64_raw_shared_cache_size_half): Likewise.
37301         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37302         to ...
37303         (__x86_data_cache_size): This.
37304         (__x86_64_raw_data_cache_size): Renamed to ...
37305         (__x86_raw_data_cache_size): This.
37306         (__x86_64_data_cache_size_half): Renamed to ...
37307         (__x86_data_cache_size_half): This.
37308         (__x86_64_raw_data_cache_size_half): Renamed to ...
37309         (__x86_raw_data_cache_size_half): This.
37310         (__x86_64_shared_cache_size): Renamed to ...
37311         (__x86_shared_cache_size): This.
37312         (__x86_64_raw_shared_cache_size): Renamed to ...
37313         (__x86_raw_shared_cache_size): This.
37314         (__x86_64_shared_cache_size_half): Renamed to ...
37315         (__x86_shared_cache_size_half): This.
37316         (__x86_64_raw_shared_cache_size_half): Renamed to ...
37317         (__x86_raw_shared_cache_size_half): This.
37318         * sysdeps/x86_64/memcpy.S: Updated.
37319         * sysdeps/x86_64/memset.S: Likewise.
37320         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37321         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37322         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37324 2013-01-04  David S. Miller  <davem@davemloft.net>
37326         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37328 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
37330         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37331         1 to avoid redefinition warning.
37332         (__USE_GNU): Don't define.
37333         (init_signaling_nan): Protoize.
37335         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37337 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37339         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37340         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37341         (__cpymn): Likewise.
37342         (norm): Remove commented code.
37343         (denorm): Likewise.
37344         (__mp_dbl): Likewise.
37345         (__inv): Likewise.
37346         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37347         (__cpymn): Likewise.
37348         (norm): Remove commented code.
37349         (denorm): Likewise.
37350         (__mp_dbl): Likewise.
37351         (__inv): Likewise.
37353         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37354         mp_no value for 1.0 and 2.0.
37355         (norm): Use RADIXI instead of radixi.d.
37356         (denorm): Likewise.
37357         (__mul): Use 0.0 instead of zero.d.
37358         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37359         mp_no value for 1.0 and 2.0.
37360         (norm): Use RADIXI instead of radixi.d.
37361         (denorm): Likewise.
37362         (__mul): Use 0.0 instead of zero.d.
37364 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
37366         [BZ #14994]
37367         * math/s_casinh.c (__casinh): Reduce finite argument to first
37368         quadrant then set signs of results at the end.
37369         * math/s_casinhf.c (__casinhf): Likewise.
37370         * math/s_casinhl.c (__casinhl): Likewise.
37371         * math/libm-test.inc (casin_test): Add more tests.
37372         (casinh_test): Likewise.
37373         * sysdeps/i386/fpu/libm-test-ulps: Update.
37374         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37376 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37378         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37380         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37382         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37383         declarations.
37384         (denorm): Likewise.
37385         (__mp_dbl): Likewise.
37386         (__inv): Likewise.
37388         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37389         and adjust the header comment.
37391         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37392         variable name from declaration.
37394 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
37396         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37397         Initialize COMMON_CPUID_INDEX_7 element.
37398         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37399         (CPUID_RTM): Likewise.
37400         (HAS_RTM): Likewise.
37401         (COMMON_CPUID_INDEX_7): New enum.
37403 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
37405         [BZ #14981]
37406         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37407         size is zero, record memory as freed.
37409 2013-01-03  Andreas Jaeger  <aj@suse.de>
37411         * po/ia.po: Add new Interlingua translation.
37413 2012-01-03  Allan McRae  <allan@archlinux.org>
37415         * locale/programs/localedef.c: Fix description of '--posix' flag.
37417 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
37419         * NEWS: Update dates in second copyright notice.
37420         * README: Update copyright dates in example.
37421         * manual/libc.texinfo: Update copyright dates.
37422         * scripts/test-installation.pl: Update copyright date in --version
37423         output.
37425         * hurd/ctty-input.c: Fix copyright notice formatting.
37426         * hurd/ctty-output.c: Likewise.
37427         * hurd/dtable.c: Likewise.
37428         * hurd/hurd-raise.c: Likewise.
37429         * hurd/hurdprio.c: Likewise.
37430         * hurd/msgportdemux.c: Likewise.
37431         * misc/sys/file.h: Likewise.
37432         * misc/sys/ioctl.h: Likewise.
37433         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37434         * sysdeps/mach/hurd/chdir.c: Likewise.
37435         * sysdeps/mach/hurd/fchdir.c: Likewise.
37436         * sysdeps/mach/hurd/rename.c: Likewise.
37437         * sysdeps/mach/hurd/rmdir.c: Likewise.
37438         * sysdeps/mach/hurd/seekdir.c: Likewise.
37439         * sysdeps/mach/hurd/setsid.c: Likewise.
37440         * sysdeps/posix/wait3.c: Likewise.
37442         * All files with FSF copyright notices: Update copyright dates
37443         using scripts/update-copyrights.
37444         * intl/plural.c: Regenerated.
37445         * locale/programs/charmap-kw.h: Likewise.
37446         * locale/programs/locfile-kw.h: Likewise.
37448 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37450         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37451         four values.
37453         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37454         calculation loop and add branch prediction.
37456         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37457         check access beyond bounds of m1np.
37459         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37460         MPTWO.
37461         (__inv): Remove local variable MPTWO to use the global
37462         constant.
37463         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37464         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37465         variable MPTWO.
37466         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37467         MP3HALFS static const.
37469 2013-01-01  David S. Miller  <davem@davemloft.net>
37471         * po/ca.po: Update from translation team.
37473 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
37475         * scripts/update-copyrights: New file.
37476         * Makeconfig: Reformat copyright notice.
37477         * ctype/ctype.h: Likewise.
37478         * debug/swprintf_chk.c: Likewise.
37479         * elf/dl-cache.c: Likewise.
37480         * elf/dl-debug.c: Likewise.
37481         * elf/dl-object.c: Likewise.
37482         * grp/initgroups.c: Likewise.
37483         * hurd/Makefile: Likewise.
37484         * hurd/hurd/signal.h: Likewise.
37485         * hurd/hurdfault.c: Likewise.
37486         * hurd/hurdioctl.c: Likewise.
37487         * hurd/hurdlookup.c: Likewise.
37488         * hurd/intr-msg.c: Likewise.
37489         * iconv/gconv_open.c: Likewise.
37490         * libio/swprintf.c: Likewise.
37491         * locale/lc-ctype.c: Likewise.
37492         * locale/nl_langinfo.c: Likewise.
37493         * mach/Machrules: Likewise.
37494         * mach/Makefile: Likewise.
37495         * malloc/obstack.h: Likewise.
37496         * manual/Makefile: Likewise.
37497         * manual/tsort.awk: Likewise.
37498         * misc/bits/stab.def: Likewise.
37499         * nis/nis_print_group_entry.c: Likewise.
37500         * nis/nis_table.c: Likewise.
37501         * nis/nss_compat/compat-pwd.c: Likewise.
37502         * nis/nss_compat/compat-spwd.c: Likewise.
37503         * po/Makefile: Likewise.
37504         * posix/fnmatch.c: Likewise.
37505         * posix/regex.h: Likewise.
37506         * resolv/Makefile: Likewise.
37507         * resolv/nss_dns/dns-network.c: Likewise.
37508         * resolv/res_hconf.c: Likewise.
37509         * scripts/gen-sorted.awk: Likewise.
37510         * soft-fp/soft-fp.h: Likewise.
37511         * stdio-common/printf.h: Likewise.
37512         * stdlib/monetary.h: Likewise.
37513         * stdlib/random.c: Likewise.
37514         * stdlib/random_r.c: Likewise.
37515         * sysdeps/generic/Makefile: Likewise.
37516         * sysdeps/gnu/Makefile: Likewise.
37517         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37518         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37519         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37520         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37521         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37522         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37523         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37524         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37525         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37526         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37527         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37528         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37529         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37530         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37531         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37532         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37533         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37534         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37535         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37536         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37537         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37538         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37539         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37540         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37541         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37542         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37543         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37544         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37545         * sysdeps/mach/hurd/errnos.awk: Likewise.
37546         * sysdeps/mach/hurd/fork.c: Likewise.
37547         * sysdeps/mach/hurd/getcwd.c: Likewise.
37548         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37549         * sysdeps/mach/hurd/mmap.c: Likewise.
37550         * sysdeps/mach/hurd/utimes.c: Likewise.
37551         * sysdeps/mach/hurd/xmknod.c: Likewise.
37552         * sysdeps/posix/profil.c: Likewise.
37553         * sysdeps/posix/readdir_r.c: Likewise.
37554         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37555         * sysdeps/powerpc/bits/setjmp.h: Likewise.
37556         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37557         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37559         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37560         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37561         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37562         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37563         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37564         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37565         * sysdeps/pthread/lio_listio.c: Likewise.
37566         * sysdeps/sparc/dl-procinfo.h: Likewise.
37567         * sysdeps/unix/i386/sysdep.S: Likewise.
37568         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37569         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37570         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37571         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37573         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37574         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37575         * sysdeps/unix/sysv/linux/speed.c: Likewise.
37576         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37577         * sysdeps/wordsize-32/divdi3.c: Likewise.
37578         * time/sys/time.h: Likewise.
37579         * wcsmbs/Makefile: Likewise.
37581 2013-01-01  David S. Miller  <davem@davemloft.net>
37583         * po/fr.po: Update from translation team.
37585         * catgets/gencat.c: Update copyright year.
37586         * csu/version.c: Likewise.
37587         * debug/catchsegv.sh: Likewise.
37588         * debug/pcprofiledump.c: Likewise.
37589         * debug/xtrace.sh: Likewise.
37590         * elf/ldconfig.c: Likewise.
37591         * elf/ldd.bash.in: Likewise.
37592         * elf/pldd.c: Likewise.
37593         * elf/sotruss.ksh: Likewise.
37594         * elf/sprof.c: Likewise.
37595         * iconv/iconv_prog.c: Likewise.
37596         * iconv/iconvconfig.c: Likewise.
37597         * locale/programs/locale.c: Likewise.
37598         * locale/programs/localedef.c: Likewise.
37599         * login/programs/pt_chown.c: Likewise.
37600         * malloc/memusage.sh: Likewise.
37601         * malloc/memusagestat.c: Likewise.
37602         * malloc/mtrace.pl: Likewise.
37603         * nscd/nscd.c: Likewise.
37604         * nss/getent.c: Likewise.
37605         * nss/makedb.c: Likewise.
37606         * posix/getconf.c: Likewise.
37608 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37610         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37611         numbers.
37613 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
37615         * math/bits/mathcalls.h (modf): Use __nonnull.
37617 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37619         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37620         (split): Use macro CN instead of the bare value.
37621         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37622         could be used.
37623         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37624         instead of the bare value.
37625         (power1): Likewise.
37627 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37629         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37630         __ATAN_TWOM.
37631         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37633         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37634         their values.
37635         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37636         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37637         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37638         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37640 2012-12-28  Andreas Jaeger  <aj@suse.de>
37642         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
37643         values are from Linux 3.7.
37645         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37646         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
37648 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37650         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37651         TRUE case.
37653         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37654         (norm): Likewise.
37655         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37656         variables with preprocessor constants.
37657         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37658         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37659         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37661 2012-12-27  Bruno Haible  <bruno@clisp.org>
37663         [BZ #14317]
37664         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37665         only if needed.
37667 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37669         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37670         and use variable directly.
37671         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37673         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37674         MPONE.
37675         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37676         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37677         variable MPONE.
37678         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37679         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37680         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37681         include directive.  Remove local variable MPONE.
37682         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37683         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37684         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37686 2012-12-25  David S. Miller  <davem@davemloft.net>
37688         * version.h (RELEASE): Set to "development".
37689         (VERSION): Set to "2.17.90".
37690         * NEWS: Add 2.18 section.
37692 2012-12-21  David S. Miller  <davem@davemloft.net>
37694         * po/hr.po: Update from translation team.
37696 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37698         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37700 2012-12-19  Steve Ellcey  <sellcey@mips.com>
37702         * NEWS:  Mention new memcpy for MIPS.
37704 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37706         * manual/contrib.texi (Contributors): Spelling correction.
37708 2012-12-15  David S. Miller  <davem@davemloft.net>
37710         * po/ru.po: Update from translation team.
37712 2012-12-13  David S. Miller  <davem@davemloft.net>
37714         * NEWS: Mention IFUNC testsuite enhancements.
37716         * po/pl.po: Update from translation team.
37717         * po/bg.po: Likewise.
37719         * manual/contrib.texi (Contributors): Update entries for Hongjiu
37720         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
37722 2012-12-11  David S. Miller  <davem@davemloft.net>
37724         * po/sv.po: Update from translation team.
37726         * po/vi.po: Update from translation team.
37728         * po/cs.po: Update from translation team.
37730         * po/de.po: Update from translation team.
37731         * po/eo.po: Likewise.
37732         * po/nl.po: Likewise.
37734 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37736         [BZ #14246]
37737         * manual/argp.texi (Argp Helper Functions): Move node to follow
37738         Argp Parsing State.
37740         [BZ #14872]
37741         * manual/conf.texi (Limits on File System Capacity): Mention if
37742         terminating null is included in the max size.
37744 2012-12-10  Andreas Jaeger  <aj@suse.de>
37746         * po/cs.po: Update from translation team.
37748 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37750         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37751         void pointer and cast to uintptr_t.
37752         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37753         path.
37754         * sysdeps/s390/s390-64/memcpy.S: Likewise.
37755         * sysdeps/s390/s390-64/memset.S: Likewise.
37757 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
37759         [BZ #14833]
37760         * menual/message.texi (Message Translation): Fix typos.
37761         (Helper programs for gettext): Likewise.
37763 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
37765         [BZ #14898]
37766         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37767         Change to -1.
37769 2012-12-07  David S. Miller  <davem@davemloft.net>
37771         * po/libc.pot: Update.
37773 2012-12-07  Richard Henderson  <rth@redhat.com>
37775         [BZ #10114]
37776         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37777         normal/normal case to before the switch.
37778         (_FP_DIV): Likewise.
37780 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
37781             Mike Frysinger  <vapier@gentoo.org>
37783         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37784         check for __NR_fadvise64_64.
37786 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
37788         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37789         0, not just to plain "0" as a statement.
37790         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37791         with cw.
37793 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
37795         * NEWS: Use sourceware.org in Bugzilla URL.
37797 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37800         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37802         * stdio-common/tst-put-error.c (do_test): Add newline to the
37803         padded test to ensure flush.
37805 2012-12-05  Jeff Law  <law@redhat.com>
37807         * sunrpc/etc.rpc (fedfs_admin): Add entry.
37809 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
37811         * README: Don't refer to ports add-on as distributed separately.
37812         Mention AArch64 in list of systems supported in the ports add-on.
37814         * LICENSES: Add more non-FSF copyright and license notices.
37816         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37817         ((unused)).
37819         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37821         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37822         10000 as width of padded output.
37824 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37826         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37828         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37829         variable LX with __attribute__ ((unused)).
37830         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37831         Likewise.
37832         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37833         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37834         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37835         with __attribute__ ((unused)).
37837 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
37839         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37841 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37843         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37844         (CFLAGS-nldbl-acos.c): New variable.
37845         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37846         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37847         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37848         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37849         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37850         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37851         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37852         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37853         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37854         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37855         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37856         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37857         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37858         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37859         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37860         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37861         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37862         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37863         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37864         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37865         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37866         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37867         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37868         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37869         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37870         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37871         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37872         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37873         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37874         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37875         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37876         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37877         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37878         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37879         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37880         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37881         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37882         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37883         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37884         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37885         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37886         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37887         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37888         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37889         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37890         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37891         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37892         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37893         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37894         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37895         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37896         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37897         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37898         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37899         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37900         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37901         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37902         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37903         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37904         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37905         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37906         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37907         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37908         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37909         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37910         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37911         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37912         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37913         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37914         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37915         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37916         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37917         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37918         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37919         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37920         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37921         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37922         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37923         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37924         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37925         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37926         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37927         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37928         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37929         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37930         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37931         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37932         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37933         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37934         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37935         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37936         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37937         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37938         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37939         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37940         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37941         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37944         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37946         [BZ #14914]
37947         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37948         whole low double instead of just low 47 bits when splitting values
37949         into two parts.
37951 2012-12-03  Allan McRae  <allan@archlinux.org>
37953         * manual/stdio.texi (Predefined Printf Handlers): Remove
37954         @hsep and @vsep usage.
37956 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
37958         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37959         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37961 2012-12-03  Jeff Law  <law@redhat.com>
37963         * time/sys/time.h (settimeofday): Do not mark TV argument
37964         as __nonnull.
37966 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
37968         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37969         when currently writing and seek to current position when not.
37970         * libio/Makefile (tests): Remove bug-fclose1.
37971         * libio/bug-fclose1.c: Delete.
37973 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
37975         * manual/arith.texi (feenableexcept): Fix typo.
37976         (fedisableexcept): Likewise.
37978 2012-11-30  Roland McGrath  <roland@hack.frob.com>
37980         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37981         second, differently-typed declaration, rather than a cast.
37983 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37985         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37986         * include/rpc/svc.h: ... here.
37988 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
37990         [BZ #13013]
37991         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37992         depending n and resplen2 to catch cases where answer
37993         equals answerp2.
37995 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
37997         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37998         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
38000 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
38002         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
38004 2012-11-29  Roland McGrath  <roland@hack.frob.com>
38006         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
38008 2012-11-28  Jeff Law  <law@redhat.com>
38010         [BZ #13761]
38011         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
38012         dataset_temporary.  Track alloca usage into alloca_used.
38013         If dataset is large allocate and release it via malloc/free.
38015 2012-06-04  Florian Weimer  <fweimer@redhat.com>
38017         [BZ #14197]
38018         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
38020 2012-11-28  David S. Miller  <davem@davemloft.net>
38022         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38024 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38026         [BZ #14803]
38027         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
38028         of pi/2 rounded to nearest to 64 bits.
38029         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
38030         nearest to 64 bits.
38031         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
38032         bits.
38034 2012-11-28  Jeff Law <law@redhat.com>
38035             Martin Osvald <mosvald@redhat.com>
38037         [BZ #14889]
38038         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
38039         * sunrpc/svc.c: Include time.h.
38040         (__svc_accept_failed): New function.
38041         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
38042         any reason other than EINTR, call __svc_accept_failed.
38043         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
38044         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
38046 2012-11-28  Andreas Schwab  <schwab@suse.de>
38048         * scripts/abilist.awk: Also handle indirect functions in .opd
38049         section.
38051 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
38053         [BZ #13881]
38054         * sysdeps/x86/fpu/powl_helper.c: New file.
38055         * sysdeps/x86/fpu/Makefile: Likewise.
38056         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
38057         (p3): New object.
38058         (__ieee754_powl): Use __powl_helper for finite arguments except
38059         integer exponents below 8.
38060         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
38061         (p3): New object.
38062         (__ieee754_powl): Use __powl_helper for finite arguments except
38063         integer exponents below 8.
38064         * math/libm-test.inc (pow_test): Add more tests and enable some
38065         previously disabled tests.
38066         * sysdeps/i386/fpu/libm-test-ulps: Update.
38067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38069 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38070             Carlos O'Donell  <carlos_odonell@mentor.com>
38072         * nss/makedb.c (is_prime): Assert that input is odd and greater
38073         than 4.  Note that fact in a comment too.
38074         (next_prime): Add 4 to input.
38076 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
38078         [BZ #11741]
38079         * libio/Makefile (tests): Add test case tst-fwrite-error.
38080         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
38081         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
38082         * libio/tst-fwrite-error.c: New test case.
38084 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
38086         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
38087         before casting to void *.
38088         * include/libc-internal.h (__pointer_type): New macro.
38089         (__integer_if_pointer_type_sub): Likewise.
38090         (__integer_if_pointer_type): Likewise.
38091         (cast_to_integer): Likewise.
38092         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
38093         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
38094         before casting to atomic64_t.
38095         (atomic_exchange_acq): Likewise.
38096         (__arch_exchange_and_add_body): Likewise.
38097         (__arch_add_body): Likewise.
38098         (atomic_add_negative): Likewise.
38099         (atomic_add_zero): Likewise.
38101 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
38103         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
38104         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
38105         (add_fdes): Likewise.
38106         (linear_search_fdes): Likewise.
38107         (binary_search_unencoded_fdes): Likewise.
38109 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
38111         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
38113 2012-11-24  Adam Conrad  <adconrad@0c3.net>
38115         * configure.in: Autodetect C++ header directories.
38116         * configure: Regenerated.
38118 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
38120         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
38122 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
38124         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38126 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
38128         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
38129         LDBL_MANT_DIG == 106]: Disable some tests.
38130         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38131         Likewise.
38132         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
38133         Likewise.
38135         [BZ #14871]
38136         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38137         input for small inputs.  Return +/- pi/2 for large inputs.
38138         * math/libm-test.inc (atan_test): Add more tests.
38140         * sysdeps/generic/unwind-dw2-fde-glibc.c
38141         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38142         __attribute__ ((unused)).
38144         [BZ #14645]
38145         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38146         x * y if x and y are nonzero and z is zero.
38148         [BZ #14811]
38149         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38150         nonzero exponents with absolute value below 0x1p-117 to +/-
38151         0x1p-117.
38153         [BZ #14869]
38154         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38155         up arguments below 2**-450, not just those below 2**-500.
38156         * math/libm-test.inc (hypot_test): Add another test.
38158         [BZ #14868]
38159         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38160         Return a+b for ratio over 2**120, not 2**60.
38161         * math/libm-test.inc (hypot_test): Add another test.
38163         * math/libm-test.inc (clog_test): Use
38164         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38165         (clog10_test): Likewise.
38167         [BZ #6778]
38168         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38170 2012-11-22  Andreas Schwab  <schwab@suse.de>
38172         * sysdeps/i386/fpu/libm-test-ulps: Update.
38174 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
38176         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38177         printf output with newline.
38179 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
38181         [BZ #14865]
38182         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38183         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38184         -z nodlopen, -z initfirst and -z execstack support.
38185         * configure: Regenerated.
38187         * elf/elf.h (DF_1_NODIRECT): New macro.
38188         (DF_1_IGNMULDEF): Likewise.
38189         (DF_1_NOKSYMS): Likewise.
38190         (DF_1_NOHDR): Likewise.
38191         (DF_1_EDITED): Likewise.
38192         (DF_1_NORELOC): Likewise.
38193         (DF_1_SYMINTPOSE): Likewise.
38194         (DF_1_GLOBAUDIT): Likewise.
38195         (DF_1_SINGLETON): Likewise.
38196         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38197         DT_1_SUPPORTED_MASK bits.
38198         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38200 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
38202         * sysdeps/unix/make-syscalls.sh: Document prefixes.
38204 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
38206         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38207         macro.
38209         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38210         (sendmmsg): Move declarations...
38211         * socket/sys/socket.h: ... here.
38212         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38213         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38214         include it from...
38215         * socket/recvmmsg.c: ... this new file.
38216         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38217         (sendmmsg): Rename to __sendmmsg, create weak alias and make
38218         definition of __sendmmsg hidden.
38219         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38220         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38221         Move ENOSYS stub into and include it from...
38222         * socket/sendmmsg.c: ... this new file.
38223         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38224         (sysdep_routines): Move recvmmsg and sendmmsg...
38225         * socket/Makefile (routines): ... here.
38226         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38227         (GLIBC_PRIVATE): Add __sendmmsg.
38228         * include/sys/socket.h (__sendmmsg): Add declarations.
38229         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38230         sendmmsg.
38232 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
38234         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38235         variable I1 with __attribute__ ((unused)).
38236         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38238 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38240         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38241         DUMMY variables with __attribute__ ((unused)).
38243         * bits/byteswap.h: Include <bits/types.h>.
38244         (__bswap_64): Use __uint64_t instead of unsigned long long int.
38246 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38248         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38249         string_t.  Do not manually set errno.
38250         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38251         length with __strnlen.  Make sure to both set errno and return it on
38252         failure.
38254 2012-11-19  David S. Miller  <davem@davemloft.net>
38256         With help from Joseph Myers.
38257         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38258         very large arguments properly.
38259         * math/libm-test.inc (atan_test): New tests.
38260         (atan2_test): New tests.
38261         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38262         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38264 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38266         [BZ #14856]
38267         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38268         Define to 3.
38270         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38271         [POSIX] (EADDRNOTAVAIL): Likewise.
38272         [POSIX] (EAFNOSUPPORT): Likewise.
38273         [POSIX] (EALREADY): Likewise.
38274         [POSIX] (ECONNABORTED): Likewise.
38275         [POSIX] (ECONNREFUSED): Likewise.
38276         [POSIX] (ECONNRESET): Likewise.
38277         [POSIX] (EDESTADDRREQ): Likewise.
38278         [POSIX] (EDQUOT): Likewise.
38279         [POSIX] (EHOSTUNREACH): Likewise.
38280         [POSIX] (EIDRM): Likewise.
38281         [POSIX] (EISCONN): Likewise.
38282         [POSIX] (ELOOP): Likewise.
38283         [POSIX] (EMULTIHOP): Likewise.
38284         [POSIX] (ENETDOWN): Likewise.
38285         [POSIX] (ENETUNREACH): Likewise.
38286         [POSIX] (ENOBUFS): Likewise.
38287         [POSIX] (ENODATA): Likewise.
38288         [POSIX] (ENOLINK): Likewise.
38289         [POSIX] (ENOMSG): Likewise.
38290         [POSIX] (ENOPROTOOPT): Likewise.
38291         [POSIX] (ENOSR): Likewise.
38292         [POSIX] (ENOSTR): Likewise.
38293         [POSIX] (ENOTCONN): Likewise.
38294         [POSIX] (ENOTSOCK): Likewise.
38295         [POSIX] (EOPNOTSUPP): Likewise.
38296         [POSIX] (EOVERFLOW): Likewise.
38297         [POSIX] (EPROTO): Likewise.
38298         [POSIX] (EPROTONOSUPPORT): Likewise.
38299         [POSIX] (EPROTOTYPE): Likewise.
38300         [POSIX] (ESTALE): Likewise.
38301         [POSIX] (ETIME): Likewise.
38302         [POSIX] (ETXTBSY): Likewise.
38303         [POSIX] (EWOULDBLOCK): Likewise.
38304         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38305         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38306         [POSIX] (SEEK_CUR): Likewise.
38307         [POSIX] (SEEK_END): Likewise.
38308         [POSIX || UNIX98] (mode_t): Do not require.
38309         [POSIX] (off_t): Likewise.
38310         [POSIX] (pid_t): Likewise.
38311         [POSIX] (sys/stat.h): Do not allow header.
38312         [POSIX] (unistd.h): Likewise.
38313         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38314         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38315         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38316         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38317         require.
38318         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38319         sigevent): Specify elements.
38320         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38321         entry.
38322         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38323         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38325         * conform/data/cpio.h-data [POSIX]: Disable whole file.
38326         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38327         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38328         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38329         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38330         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38331         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38332         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38333         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38334         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38335         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38336         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38337         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38338         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38339         Likewise.
38340         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38341         Likewise.
38342         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38343         Likewise.
38344         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38345         Likewise.
38346         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38347         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38348         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38349         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38350         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38351         Specify lower bound on value.
38352         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38353         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38354         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38355         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38356         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38357         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38358         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38359         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38360         value.
38361         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38362         as optional.
38363         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38364         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38365         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38366         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38367         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38368         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38369         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38370         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38371         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38372         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38373         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38374         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38375         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38376         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38377         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38378         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38379         entry.
38380         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38381         optional.
38382         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38383         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38384         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38385         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38386         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38387         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38388         Likewise.
38389         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38390         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38391         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38392         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38393         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
38394         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38395         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38396         as optional.
38397         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38398         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38399         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38400         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38401         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38402         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38403         specify as optional.
38404         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38405         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38406         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38407         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38408         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38409         [XPG3] (NL_LANGMAX): Likewise.
38410         [POSIX || XPG3] (NL_MSGMAX): Likewise.
38411         [POSIX || XPG3] (NL_NMAX): Likewise.
38412         [POSIX || XPG3] (NL_SETMAX): Likewise.
38413         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38414         [XPG3] (NZERO): Likewise.
38415         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38416         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38417         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38418         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38419         (REG_ERANGE): Expect.
38420         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38421         optional-constant.
38422         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38423         Use (void) in prototype.
38424         [POSIX] (*_t): Allow.
38425         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38426         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38427         (WRDE_BADVAL): Expect.
38429         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38430         expect.
38431         [XPG3 || XPG4] (O_RSYNC): Likewise.
38432         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38433         Likewise.
38434         [XPG3 || XPG4] (pthread_sigmask): Likewise.
38435         [XPG3 || XPG4] (sigqueue): Likewise.
38436         [XPG3 || XPG4] (sigtimedwait): Likewise.
38437         [XPG3 || XPG4] (sigwaitinfo): Likewise.
38438         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38439         [XPG3 || XPG4] (vsnprintf): Likewise.
38440         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38441         Likewise.
38442         [XPG3 || XPG4] (blksize_t): Likewise.
38443         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38444         Likewise.
38445         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38446         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38447         [XPG3 || XPG4] (struct itimerspec): Likewise.
38448         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38449         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38450         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38451         [XPG3 || XPG4] (clockid_t): Likewise.
38452         [XPG3 || XPG4] (timer_t): Likewise.
38453         [XPG3 || XPG4] (clock_getres): Likewise.
38454         [XPG3 || XPG4] (clock_gettime): Likewise.
38455         [XPG3 || XPG4] (clock_settime): Likewise.
38456         [XPG3 || XPG4] (nanosleep): Likewise.
38457         [XPG3 || XPG4] (timer_create): Likewise.
38458         [XPG3 || XPG4] (timer_delete): Likewise.
38459         [XPG3 || XPG4] (timer_gettime): Likewise.
38460         [XPG3 || XPG4] (timer_getoverrun): Likewise.
38461         [XPG3 || XPG4] (timer_settime): Likewise.
38462         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38463         [XPG3 || XPG4] (getlogin_r): Likewise.
38464         [XPG3 || XPG4] (pread): Likewise.
38465         [XPG3 || XPG4] (pthread_atfork): Likewise.
38466         [XPG3 || XPG4] (pwrite): Likewise.
38468         [BZ #14835]
38469         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38470         <bits/siginfo.h>.
38472 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38474         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38475         finalizing MALLSTREAM.
38477         * sysdeps/mach/hurd/syncfs.c: New file.
38479 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38481         [BZ #14719]
38482         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38483         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38484         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38485         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38486         (_nss_dns_gethostbyname4_r): Likewise.
38487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38488         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38490 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
38492         [BZ #13763]
38493         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38495 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
38497         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38498         * elf/cache.c (print_entry): Print ",AArch64" for
38499         FLAG_AARCH64_LIB64
38501         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38502         * elf/cache.c (print_entry): Print ",hard-float" for
38503         FLAG_ARM_LIBHF.
38505 2012-11-18  David S. Miller  <davem@davemloft.net>
38507         With help from Joseph Myers.
38508         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38509         cutoff to 2**-13.
38510         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38511         cutoff to 2**-25.
38512         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38513         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38514         small.
38515         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38516         * math/libm-test.inc (y0_test): New tests.
38517         (y1_test): New tests.
38518         * sysdeps/i386/fpu/libm-test-ulps: Update.
38519         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38520         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38522 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
38524         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38525         64-bit targets.
38526         * configure: Regenerated.
38528 2012-11-17  David S. Miller  <davem@davemloft.net>
38530         [BZ #14811]
38531         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38532         nonzero exponents with absolute value below 0x1p-128 to +/-
38533         0x1p-128.
38535 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
38537         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38539         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38541         * posix/getconf-speclist.c: New file.
38542         * posix/posix-envs.def: Likewise.
38543         * posix/confstr.c (START_ENV_GROUP): New macro.
38544         (END_ENV_GROUP): Likewise.
38545         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38546         (KNOWN_PRESENT_ENV_STRING): Likewise.
38547         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38548         (UNKNOWN_ENVIRONMENT): Likewise.
38549         (confstr): Include posix-envs.def instead of handling
38550         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38551         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38552         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38553         (END_ENV_GROUP): Likewise.
38554         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38555         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38556         (UNKNOWN_ENVIRONMENT): Likewise.
38557         (__sysconf): Include posix-envs.def instead of handling associated
38558         cases directly here.
38559         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38560         preprocessing getconf-speclist.c rather than running getconf or
38561         generating empty file.
38563 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
38565         * scripts/check-local-headers.sh: Ignore 'mach' headers.
38567 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
38569         [BZ #14672]
38570         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38572 2012-11-16  David S. Miller  <davem@davemloft.net>
38574         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38575         smaller than LDBL_EPSILON/2.0L, just return xm1.
38577 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
38579         * elf/tst-array1.c (init): Set constructor priority to 1000.
38580         (fini): Set destructor priority to 1000.
38581         * elf/tst-array2dep.c: Likewise.
38583 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38585         [BZ #11741]
38586         * libio/fileops.c (_IO_new_file_write): Correctly return error.
38587         (_IO_new_file_xsputn): Also return EOF if none of the input
38588         data was written when overflow failed.
38589         * libio/iopadn.c (_IO_padn): Likewise.
38590         * libio/iowpadn.c (_IO_wpadn): Likewise.
38591         * stdio-common/tst-put-error.c: Add copyright notice.
38592         (do_test): Add case for printing padded string.
38593         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38594         _IO_padn returned error.
38595         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38596         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38597         return EOF.
38599 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38601         * libio/libioP.h: Add comment note that the references to C++
38602         bits are now obsolete.
38604 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38606         * math/libm-test.inc (check_complex): Use asprintf.
38608 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
38610         * debug/pcprofiledump.c (print_version): Update copyright year.
38611         * malloc/memusagestat.c (print_version): Likewise.
38613 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
38615         [BZ #14831]
38616         * elf/Makefile (tests): Add tst-audit8.
38617         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38618         ($(objpfx)tst-audit8.out): New target.
38619         (tst-audit8-ENV): New variable.
38620         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38621         audit if l_reloc_result is NULL.
38622         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38623         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38624         * elf/tst-audit8.c: New file.
38626 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38628         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38629         * misc/Makefile (CFLAGS-select.c): Define.
38630         * posix/Makefile (CFLAGS-pause.c): Define.
38632 2012-11-13  David S. Miller  <davem@davemloft.net>
38634         * crypt/Makefile: Move test targets after toplevel Rules
38635         inclusion.  Grab any necessary sysdep routines when linking.
38636         * crypt/md5.c (md5_process_block): Remove define, we will always
38637         name it __md5_process_block.
38638         (md5_finish_ctx): Update md5_process_block call.
38639         (md5_stream): Likewise.
38640         (md5_process_bytes): Likewise.
38641         (md5_process_block): Rename to __md5_process_block and move to ...
38642         * crypt/md5-block.c: ... here.
38643         * crypt/sha256.c (sha256_process_block): Move to ...
38644         * crypt/sha256-block.c: ... here.
38645         * crypt/sha512.c (sha512_process_block): Move to ...
38646         * crypt/sha512-block.c: ... here.
38647         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38648         path.
38649         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38650         * sysdeps/sparc/sparc64/multiarch/Makefile
38651         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38652         crypt subdir.
38653         (localedef-aux): Add md5 crypto assembler when in locale subdir.
38654         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38655         multiarch changes.
38656         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38657         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38658         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38659         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38660         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38661         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38662         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38663         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38664         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38665         file.
38666         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38667         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38668         file.
38669         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38671 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
38673         * timezone/tzselect.ksh: Update from tzcode git revision
38674         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38675         * timezone/zdump.c: Likewise.
38676         * timezone/zic.c: Likewise.
38677         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38678         in TZVERSION setting, not $(PKGVERSION).
38679         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
38680         REPORT_BUGS_TO settings.
38682         [BZ #14838]
38683         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38684         macro.
38686 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38688         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38689         detection to immediately after _FP_ROUND().
38690         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38691         bits are 0.
38693 2012-11-11  David S. Miller  <davem@davemloft.net>
38695         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38696         inttypes.h
38697         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38698         __close rather than their public counterparts.
38700 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
38702         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38703         file.
38704         [UNIX98] (sem_timedwait): Do not expect.
38705         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38706         [XPG4 || UNIX98] (sockatmark): Do not expect.
38707         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38708         (clock_getcpuclockid): Do not expect.
38709         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38710         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38711         Do not expect.
38712         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38713         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38714         [UNIX98] (vwscanf): Likewise.
38715         [UNIX98] (vswscanf): Likewise.
38717 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
38719         * timezone/version.h: Remove file.
38720         * timezone/README: Do not refer to version.h.
38721         * timezone/Makefile ($(objpfx)zic.o): New dependency on
38722         $(objpfx)version.h.
38723         ($(objpfx)zdump.o): Likewise.
38724         ($(objpfx)version.h): New target.
38726         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38727         2012i.
38728         * timezone/README: Don't mention modification to tzselect.ksh.
38729         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38730         work on unmodified tzselect.ksh.  Substitute version numbers in
38731         tzselect.ksh.
38733         * Makefile (format-me): Remove.
38734         (INSTALL): Adjust indentation.  Use commands directly instead of
38735         using $(format-me).
38737         * aclocal.m4 (ACX_PKGVERSION): New macro.
38738         (ACX_BUGURL): Likewise.
38739         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38740         (PKGVERSION): New AC_DEFINE_UNQUOTED.
38741         (REPORT_BUGS_TO): Likewise.
38742         * configure: Regenerated.
38743         * config.h.in (PKGVERSION): New macro.
38744         (REPORT_BUGS_TO): Likewise.
38745         * config.make.in (PKGVERSION): New variable.
38746         (PKGVERSION_TEXI): Likewise.
38747         (REPORT_BUGS_TO): Likewise.
38748         (REPORT_BUGS_TEXI): Likewise.
38749         * Makefile (format-me): Use -I$(common-objpfx)manual.
38750         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38751         ($(common-objpfx)manual/%): New target.
38752         (manual/%): Remove target.
38753         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38754         (print_version): Use PKGVERSION.
38755         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38756         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38757         and REPORT_BUGS_TO.
38758         ($(objpfx)xtrace): Likewise.
38759         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38760         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38761         (print_version): Use PKGVERSION.
38762         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38763         (do_version): Use PKGVERSION.
38764         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38765         REPORT_BUGS_TO.
38766         (common-ldd-rewrite): Likewise.
38767         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38768         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38769         (print_version): Use PKGVERSION.
38770         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38771         * elf/pldd.c (argp_program_bug_address): Remove variable.
38772         (more_help): New function.
38773         (argp): Use more_help.
38774         (print_version): Use PKGVERSION.
38775         * elf/sln.c (main): Use PKGVERSION.
38776         (usage): Use REPORT_BUGS_TO.
38777         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38778         (top level): Use PKGVERSION.
38779         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38780         (print_version): Use PKGVERSION.
38781         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38782         (print_version): Use PKGVERSION.
38783         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38784         (print_version): Use PKGVERSION.
38785         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38786         (print_version): Use PKGVERSION.
38787         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38788         (print_version): Use PKGVERSION.
38789         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38790         (print_version): Use PKGVERSION.
38791         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38792         and BUGURL.
38793         ($(objpfx)memusage): Likewise.
38794         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38795         (do_version): Use PKGVERSION.
38796         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38797         (print_version): Use PKGVERSION.
38798         * malloc/mtrace.pl ($PACKAGE): Remove variable.
38799         ($PKGVERSION): New variable.
38800         ($REPORT_BUGS_TO): Likewise.
38801         (usage): Use $REPORT_BUGS_TO.
38802         (top level): Use $PKGVERSION.
38803         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38804         ($(objpfx)pkgvers.texi): New rule.
38805         ($(objpfx)stamp-pkgvers): Likewise.
38806         * manual/install.texi: Include pkgvers.texi.
38807         (--with-pkgversion): Document new configure option.
38808         (--with-bugurl): Likewise.
38809         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38810         than necessarily for this particular distribution.  Use
38811         REPORT_BUGS_TO for where to report bugs.
38812         * INSTALL: Regenerated.
38813         * manual/libc.texinfo: Include pkgvers.texi.
38814         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38815         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38816         (print_version): Use PKGVERSION.
38817         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38818         (print_version): Use PKGVERSION.
38819         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38820         (print_version): Use PKGVERSION.
38821         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38822         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38823         macro.
38824         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38825         (print_version): Use PKGVERSION.
38826         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38827         (print_version): Use PKGVERSION.
38828         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38829         and PKGVERSION.
38831         * timezone/checktab.awk: Update from tzcode 2012i.
38832         * timezone/ialloc.c: Likewise.
38833         * timezone/private.h: Likewise.
38834         * timezone/scheck.c: Likewise.
38835         * timezone/tzfile.h: Likewise.
38836         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38837         (TZVERSION): Hardcode tzcode version number.
38838         * timezone/zdump.c: Update from tzcode 2012i.
38839         * timezone/zic.c: Likewise.
38840         * timezone/version.h: New file.
38841         * timezone/README: Describe version.h.  Update upstream location.
38843         [BZ #14824]
38844         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38845         (mktemp): Enable declaration.
38846         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38847         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38848         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38849         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38850         Likewise.
38851         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38852         Likewise.
38853         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38854         Likewise.
38855         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38856         Likewise.
38857         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38858         Likewise.
38859         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38860         Likewise.
38862         [BZ #14821]
38863         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38864         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
38865         for copies of such integer values.
38866         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38867         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38869 2012-11-09  Andreas Jaeger  <aj@suse.de>
38871         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38872         definitions and declarations that are provided by
38873         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38875 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38877         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38878         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38879         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38880         definition.
38882 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38884         * elf/elf.h: Update comment before AArch64 relocations.
38886 2012-11-07  David S. Miller  <davem@davemloft.net>
38888         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38889         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38890         (__start_context): Declare.
38891         (__makecontext_ret): Delete.
38892         (__makecontext): Hook up __start_context instead of
38893         __makecontext_ret.
38894         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38895         (sysdep_routines): Add __start_context when in stdlib.
38897 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38899         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38900         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38901         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
38902         hardcoded "nm".
38903         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
38904         (READELF): New variable.  Use it instead of hardcoded "readelf".
38906 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38908         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38909         * sysdeps/x86/Makefile: Here.
38910         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38911         * sysdeps/x86/tst-xmmymm.sh: This.
38913 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38915         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38916         expectations.
38917         [UNIX98] (pthread_barrier_t): Do not expect.
38918         [UNIX98] (pthread_barrierattr_t): Likewise.
38919         [UNIX98] (pthread_spinlock_t): Likewise.
38920         [UNIX98] (pthread_barrier_destroy): Likewise.
38921         [UNIX98] (pthread_barrier_init): Likewise.
38922         [UNIX98] (pthread_barrier_wait): Likewise.
38923         [UNIX98] (pthread_barrierattr_destroy): Likewise.
38924         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38925         [UNIX98] (pthread_barrierattr_init): Likewise.
38926         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38927         [UNIX98] (pthread_getcpuclockid): Likewise.
38928         [UNIX98] (pthread_mutex_timedlock): Likewise.
38929         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38930         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38931         [UNIX98] (pthread_sigmask): Likewise.
38932         [UNIX98] (pthread_spin_destroy): Likewise.
38933         [UNIX98] (pthread_spin_init): Likewise.
38934         [UNIX98] (pthread_spin_lock): Likewise.
38935         [UNIX98] (pthread_spin_trylock): Likewise.
38936         [UNIX98] (pthread_spin_unlock): Likewise.
38937         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38938         Do not expect.
38939         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38940         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38941         [XPG3 || XPG4] (pthread_cond_t): Likewise.
38942         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38943         [XPG3 || XPG4] (pthread_key_t): Likewise.
38944         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38945         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38946         [XPG3 || XPG4] (pthread_once_t): Likewise.
38947         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38948         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38949         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38950         [XPG3 || XPG4] (pthread_t): Likewise.
38952         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38953         not expect.
38954         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38956         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38957         Change function return type to int.
38959         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38960         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38961         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38962         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38963         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38964         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38965         [!POSIX] (posix_madvise): Likewise.
38966         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38967         && !UNIX98].
38968         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38969         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38970         (mode_t): Likewise.
38971         (posix_mem_offset): Likewise.
38972         (posix_typed_mem_get_info): Likewise.
38973         (posix_typed_mem_open): Likewise.
38975         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38976         Change condition to [XOPEN2K8].
38978         * conform/conformtest.pl: Preprocess allow-header data with -x c
38979         instead of from stdin.
38980         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38981         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38982         [C99-based standards] (cerfc): Likewise.
38983         [C99-based standards] (cexp2): Likewise.
38984         [C99-based standards] (cexpm1): Likewise.
38985         [C99-based standards] (clog10): Likewise.
38986         [C99-based standards] (clog1p): Likewise.
38987         [C99-based standards] (clog2): Likewise.
38988         [C99-based standards] (clgamma): Likewise.
38989         [C99-based standards] (ctgamma): Likewise.
38990         [C99-based standards] (cerff): Likewise.
38991         [C99-based standards] (cerfcf): Likewise.
38992         [C99-based standards] (cexp2f): Likewise.
38993         [C99-based standards] (cexpm1f): Likewise.
38994         [C99-based standards] (clog10f): Likewise.
38995         [C99-based standards] (clog1pf): Likewise.
38996         [C99-based standards] (clog2f): Likewise.
38997         [C99-based standards] (clgammaf): Likewise.
38998         [C99-based standards] (ctgammaf): Likewise.
38999         [C99-based standards] (cerfl): Likewise.
39000         [C99-based standards] (cerfcl): Likewise.
39001         [C99-based standards] (cexp2l): Likewise.
39002         [C99-based standards] (cexpm1l): Likewise.
39003         [C99-based standards] (clog10l): Likewise.
39004         [C99-based standards] (clog1pl): Likewise.
39005         [C99-based standards] (clog2l): Likewise.
39006         [C99-based standards] (clgammal): Likewise.
39007         [C99-based standards] (ctgammal): Likewise.
39008         * conform/data/inttypes.h-data [C99-based standards]: Include
39009         stdint.h-data.  Remove all expectations for stdint.h contents.
39010         [C99-based standards] (PRI*): Do not allow.
39011         [C99-based standards] (SCN*): Likewise.
39012         [C99-based standards] (*_t): Likewise.
39013         [C99-based-standards] (PRId8): Expect macro.
39014         [C99-based-standards] (PRIi8): Likewise.
39015         [C99-based-standards] (PRIo8): Likewise.
39016         [C99-based-standards] (PRIu8): Likewise.
39017         [C99-based-standards] (PRIx8): Likewise.
39018         [C99-based-standards] (PRIX8): Likewise.
39019         [C99-based-standards] (SCNd8): Likewise.
39020         [C99-based-standards] (SCNi8): Likewise.
39021         [C99-based-standards] (SCNo8): Likewise.
39022         [C99-based-standards] (SCNu8): Likewise.
39023         [C99-based-standards] (SCNx8): Likewise.
39024         [C99-based-standards] (PRIdLEAST8): Likewise.
39025         [C99-based-standards] (PRIiLEAST8): Likewise.
39026         [C99-based-standards] (PRIoLEAST8): Likewise.
39027         [C99-based-standards] (PRIuLEAST8): Likewise.
39028         [C99-based-standards] (PRIxLEAST8): Likewise.
39029         [C99-based-standards] (PRIXLEAST8): Likewise.
39030         [C99-based-standards] (SCNdLEAST8): Likewise.
39031         [C99-based-standards] (SCNiLEAST8): Likewise.
39032         [C99-based-standards] (SCNoLEAST8): Likewise.
39033         [C99-based-standards] (SCNuLEAST8): Likewise.
39034         [C99-based-standards] (SCNxLEAST8): Likewise.
39035         [C99-based-standards] (PRIdFAST8): Likewise.
39036         [C99-based-standards] (PRIiFAST8): Likewise.
39037         [C99-based-standards] (PRIoFAST8): Likewise.
39038         [C99-based-standards] (PRIuFAST8): Likewise.
39039         [C99-based-standards] (PRIxFAST8): Likewise.
39040         [C99-based-standards] (PRIXFAST8): Likewise.
39041         [C99-based-standards] (SCNdFAST8): Likewise.
39042         [C99-based-standards] (SCNiFAST8): Likewise.
39043         [C99-based-standards] (SCNoFAST8): Likewise.
39044         [C99-based-standards] (SCNuFAST8): Likewise.
39045         [C99-based-standards] (SCNxFAST8): Likewise.
39046         [C99-based-standards] (PRId16): Likewise.
39047         [C99-based-standards] (PRIi16): Likewise.
39048         [C99-based-standards] (PRIo16): Likewise.
39049         [C99-based-standards] (PRIu16): Likewise.
39050         [C99-based-standards] (PRIx16): Likewise.
39051         [C99-based-standards] (PRIX16): Likewise.
39052         [C99-based-standards] (SCNd16): Likewise.
39053         [C99-based-standards] (SCNi16): Likewise.
39054         [C99-based-standards] (SCNo16): Likewise.
39055         [C99-based-standards] (SCNu16): Likewise.
39056         [C99-based-standards] (SCNx16): Likewise.
39057         [C99-based-standards] (PRIdLEAST16): Likewise.
39058         [C99-based-standards] (PRIiLEAST16): Likewise.
39059         [C99-based-standards] (PRIoLEAST16): Likewise.
39060         [C99-based-standards] (PRIuLEAST16): Likewise.
39061         [C99-based-standards] (PRIxLEAST16): Likewise.
39062         [C99-based-standards] (PRIXLEAST16): Likewise.
39063         [C99-based-standards] (SCNdLEAST16): Likewise.
39064         [C99-based-standards] (SCNiLEAST16): Likewise.
39065         [C99-based-standards] (SCNoLEAST16): Likewise.
39066         [C99-based-standards] (SCNuLEAST16): Likewise.
39067         [C99-based-standards] (SCNxLEAST16): Likewise.
39068         [C99-based-standards] (PRIdFAST16): Likewise.
39069         [C99-based-standards] (PRIiFAST16): Likewise.
39070         [C99-based-standards] (PRIoFAST16): Likewise.
39071         [C99-based-standards] (PRIuFAST16): Likewise.
39072         [C99-based-standards] (PRIxFAST16): Likewise.
39073         [C99-based-standards] (PRIXFAST16): Likewise.
39074         [C99-based-standards] (SCNdFAST16): Likewise.
39075         [C99-based-standards] (SCNiFAST16): Likewise.
39076         [C99-based-standards] (SCNoFAST16): Likewise.
39077         [C99-based-standards] (SCNuFAST16): Likewise.
39078         [C99-based-standards] (SCNxFAST16): Likewise.
39079         [C99-based-standards] (PRId32): Likewise.
39080         [C99-based-standards] (PRIi32): Likewise.
39081         [C99-based-standards] (PRIo32): Likewise.
39082         [C99-based-standards] (PRIu32): Likewise.
39083         [C99-based-standards] (PRIx32): Likewise.
39084         [C99-based-standards] (PRIX32): Likewise.
39085         [C99-based-standards] (SCNd32): Likewise.
39086         [C99-based-standards] (SCNi32): Likewise.
39087         [C99-based-standards] (SCNo32): Likewise.
39088         [C99-based-standards] (SCNu32): Likewise.
39089         [C99-based-standards] (SCNx32): Likewise.
39090         [C99-based-standards] (PRIdLEAST32): Likewise.
39091         [C99-based-standards] (PRIiLEAST32): Likewise.
39092         [C99-based-standards] (PRIoLEAST32): Likewise.
39093         [C99-based-standards] (PRIuLEAST32): Likewise.
39094         [C99-based-standards] (PRIxLEAST32): Likewise.
39095         [C99-based-standards] (PRIXLEAST32): Likewise.
39096         [C99-based-standards] (SCNdLEAST32): Likewise.
39097         [C99-based-standards] (SCNiLEAST32): Likewise.
39098         [C99-based-standards] (SCNoLEAST32): Likewise.
39099         [C99-based-standards] (SCNuLEAST32): Likewise.
39100         [C99-based-standards] (SCNxLEAST32): Likewise.
39101         [C99-based-standards] (PRIdFAST32): Likewise.
39102         [C99-based-standards] (PRIiFAST32): Likewise.
39103         [C99-based-standards] (PRIoFAST32): Likewise.
39104         [C99-based-standards] (PRIuFAST32): Likewise.
39105         [C99-based-standards] (PRIxFAST32): Likewise.
39106         [C99-based-standards] (PRIXFAST32): Likewise.
39107         [C99-based-standards] (SCNdFAST32): Likewise.
39108         [C99-based-standards] (SCNiFAST32): Likewise.
39109         [C99-based-standards] (SCNoFAST32): Likewise.
39110         [C99-based-standards] (SCNuFAST32): Likewise.
39111         [C99-based-standards] (SCNxFAST32): Likewise.
39112         [C99-based-standards] (PRId64): Likewise.
39113         [C99-based-standards] (PRIi64): Likewise.
39114         [C99-based-standards] (PRIo64): Likewise.
39115         [C99-based-standards] (PRIu64): Likewise.
39116         [C99-based-standards] (PRIx64): Likewise.
39117         [C99-based-standards] (PRIX64): Likewise.
39118         [C99-based-standards] (SCNd64): Likewise.
39119         [C99-based-standards] (SCNi64): Likewise.
39120         [C99-based-standards] (SCNo64): Likewise.
39121         [C99-based-standards] (SCNu64): Likewise.
39122         [C99-based-standards] (SCNx64): Likewise.
39123         [C99-based-standards] (PRIdLEAST64): Likewise.
39124         [C99-based-standards] (PRIiLEAST64): Likewise.
39125         [C99-based-standards] (PRIoLEAST64): Likewise.
39126         [C99-based-standards] (PRIuLEAST64): Likewise.
39127         [C99-based-standards] (PRIxLEAST64): Likewise.
39128         [C99-based-standards] (PRIXLEAST64): Likewise.
39129         [C99-based-standards] (SCNdLEAST64): Likewise.
39130         [C99-based-standards] (SCNiLEAST64): Likewise.
39131         [C99-based-standards] (SCNoLEAST64): Likewise.
39132         [C99-based-standards] (SCNuLEAST64): Likewise.
39133         [C99-based-standards] (SCNxLEAST64): Likewise.
39134         [C99-based-standards] (PRIdFAST64): Likewise.
39135         [C99-based-standards] (PRIiFAST64): Likewise.
39136         [C99-based-standards] (PRIoFAST64): Likewise.
39137         [C99-based-standards] (PRIuFAST64): Likewise.
39138         [C99-based-standards] (PRIxFAST64): Likewise.
39139         [C99-based-standards] (PRIXFAST64): Likewise.
39140         [C99-based-standards] (SCNdFAST64): Likewise.
39141         [C99-based-standards] (SCNiFAST64): Likewise.
39142         [C99-based-standards] (SCNoFAST64): Likewise.
39143         [C99-based-standards] (SCNuFAST64): Likewise.
39144         [C99-based-standards] (SCNxFAST64): Likewise.
39145         [C99-based-standards] (PRIdMAX): Likewise.
39146         [C99-based-standards] (PRIiMAX): Likewise.
39147         [C99-based-standards] (PRIoMAX): Likewise.
39148         [C99-based-standards] (PRIuMAX): Likewise.
39149         [C99-based-standards] (PRIxMAX): Likewise.
39150         [C99-based-standards] (PRIXMAX): Likewise.
39151         [C99-based-standards] (SCNdMAX): Likewise.
39152         [C99-based-standards] (SCNiMAX): Likewise.
39153         [C99-based-standards] (SCNoMAX): Likewise.
39154         [C99-based-standards] (SCNuMAX): Likewise.
39155         [C99-based-standards] (SCNxMAX): Likewise.
39156         [C99-based-standards] (PRIdPTR): Likewise.
39157         [C99-based-standards] (PRIiPTR): Likewise.
39158         [C99-based-standards] (PRIoPTR): Likewise.
39159         [C99-based-standards] (PRIuPTR): Likewise.
39160         [C99-based-standards] (PRIxPTR): Likewise.
39161         [C99-based-standards] (PRIXPTR): Likewise.
39162         [C99-based-standards] (SCNdPTR): Likewise.
39163         [C99-based-standards] (SCNiPTR): Likewise.
39164         [C99-based-standards] (SCNoPTR): Likewise.
39165         [C99-based-standards] (SCNuPTR): Likewise.
39166         [C99-based-standards] (SCNxPTR): Likewise.
39167         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39168         allow.
39169         * conform/data/stdint.h-data: Update comments to clarify
39170         requirements.
39171         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
39172         type.
39173         [C99-based standards] (INT8_MAX): Likewise.
39174         [C99-based standards] (INT16_MIN): Likewise.
39175         [C99-based standards] (INT16_MAX): Likewise.
39176         [C99-based standards] (INT32_MIN): Likewise.
39177         [C99-based standards] (INT32_MAX): Likewise.
39178         [C99-based standards] (INT64_MIN): Likewise.
39179         [C99-based standards] (INT64_MAX): Likewise.
39180         [C99-based standards] (UINT8_MAX): Likewise.
39181         [C99-based standards] (UINT16_MAX): Likewise.
39182         [C99-based standards] (UINT32_MAX): Likewise.
39183         [C99-based standards] (UINT64_MAX): Likewise.
39184         [C99-based standards] (INT_LEAST8_MIN): Likewise.
39185         [C99-based standards] (INT_LEAST8_MAX): Likewise.
39186         [C99-based standards] (INT_LEAST16_MIN): Likewise.
39187         [C99-based standards] (INT_LEAST16_MAX): Likewise.
39188         [C99-based standards] (INT_LEAST32_MIN): Likewise.
39189         [C99-based standards] (INT_LEAST32_MAX): Likewise.
39190         [C99-based standards] (INT_LEAST64_MIN): Likewise.
39191         [C99-based standards] (INT_LEAST64_MAX): Likewise.
39192         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39193         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39194         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39195         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39196         [C99-based standards] (INT_FAST8_MIN): Likewise.
39197         [C99-based standards] (INT_FAST8_MAX): Likewise.
39198         [C99-based standards] (INT_FAST16_MIN): Likewise.
39199         [C99-based standards] (INT_FAST16_MAX): Likewise.
39200         [C99-based standards] (INT_FAST32_MIN): Likewise.
39201         [C99-based standards] (INT_FAST32_MAX): Likewise.
39202         [C99-based standards] (INT_FAST64_MIN): Likewise.
39203         [C99-based standards] (INT_FAST64_MAX): Likewise.
39204         [C99-based standards] (UINT_FAST8_MAX): Likewise.
39205         [C99-based standards] (UINT_FAST16_MAX): Likewise.
39206         [C99-based standards] (UINT_FAST32_MAX): Likewise.
39207         [C99-based standards] (UINT_FAST64_MAX): Likewise.
39208         [C99-based standards] (INTPTR_MIN): Likewise.
39209         [C99-based standards] (INTPTR_MAX): Likewise.
39210         [C99-based standards] (UINTPTR_MAX): Likewise.
39211         [C99-based standards] (INTMAX_MIN): Likewise.
39212         [C99-based standards] (INTMAX_MAX): Likewise.
39213         [C99-based standards] (UINTMAX_MAX): Likewise.
39214         [C99-based standards] (PTRDIFF_MIN): Likewise.
39215         [C99-based standards] (PTRDIFF_MAX): Likewise.
39216         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39217         [C99-based standards] (SIZE_MAX): Likewise.
39218         [C99-based standards] (WCHAR_MAX): Likewise.
39219         [C99-based standards] (WINT_MAX): Likewise.
39220         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
39221         constraint on value.
39222         [C99-based standards] (WCHAR_MIN): Likewise.
39223         [C99-based standards] (WINT_MIN): Likewise.
39224         [C99-based standards] (*_t): Allow.
39225         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39226         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39227         Include math.h-data and complex.h-data.  Remove all expectations
39228         of math.h and complex.h contents.
39229         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39230         at end of line.
39231         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39232         (struct tm): Expect tag.
39233         [C99-based-standards] (wcstof): Expect function.
39234         [C99-based-standards] (wcstold): Likewise.
39235         [C99-based-standards] (wcstoll): Likewise.
39236         [C99-based-standards] (wcstoull): Likewise.
39237         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39238         macro-int-constant.  Specify type.
39239         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
39240         constraint on value.
39241         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39242         Specify type.
39243         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39244         Specify value.
39245         [ISO C standards]: Do not allow headers.
39246         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39247         wcs[abcdefghijklmnopqrstuvwxyz]*.
39248         [ISO C standards] (*_t): Do not allow.
39249         * conform/data/wctype.h-data [C99-based standards] (iswblank):
39250         Expect function.
39251         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39252         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39253         Specify type.
39254         [ISO C standards]: Do not allow headers.
39255         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39256         is[abcdefghijklmnopqrstuvwxyz]*.
39257         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39258         to[abcdefghijklmnopqrstuvwxyz]*.
39259         [ISO C standards] (*_t): Do not allow.
39260         * conform/data/stdalign.h-data: New file.
39261         * conform/data/stdbool.h-data: Likewise.
39262         * conform/data/stdnoreturn.h-data: Likewise.
39264 2012-11-07  Roland McGrath  <roland@hack.frob.com>
39266         [BZ #14815]
39267         * manual/filesys.texi (Directory Entries): Typo fix.
39268         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39270 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39272         * elf/elf.h (EM_AARCH64): New macro.
39273         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39274         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39275         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39276         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39277         (R_AARCH64_TLSDESC): Likewise.
39278         (NT_ARM_TLS): Likewise.
39279         (NT_ARM_HW_BREAK): Likewise.
39280         (NT_ARM_HW_WATCH): Likewise.
39282 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39284         [BZ #14811]
39285         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39286         (__ieee754_powl): Saturate nonzero exponents with absolute value
39287         below 0x1p-79 to +/- 0x1p-79.
39288         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39289         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39290         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39291         nonzero exponents with absolute value below 0x1p-32 to +/-
39292         0x1p-32.
39293         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39294         (__ieee754_powl): Saturate nonzero exponents with absolute value
39295         below 0x1p-79 to +/- 0x1p-79.
39296         * math/libm-test.inc (pow_test): Add more tests.
39298 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39300         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39301         _dl_s390_cap_flags with kernel. Increase string length.
39302         (_dl_s390_platforms): Add z196 and zEC12.
39304 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39306         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39307         Change XOPEN21K to XOPEN2K.
39309 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
39311         * string/memmove.c: Use memcpy when possible.
39313 2012-11-06  Andreas Jaeger  <aj@suse.de>
39315         * po/eo.po: Update from translation team.
39317 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
39319         [BZ #14793]
39320         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39321         exponent and small x and y exponents, scale x or y up.  Increase
39322         by 2 the exponent used in scaling up.
39323         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39324         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39325         * math/libm-test.inc (fma_test): Add more tests.
39326         (fma_test_towardzero): Likewise.
39327         (fma_test_downward): Likewise.
39328         (fma_test_upward): Likewise.
39330 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
39332         [BZ #14805]
39333         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39334         fenv_t *.
39336         [BZ #14801]
39337         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39338         namespace for names of struct fields.
39339         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39340         fenv_t fields.
39341         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39342         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39344 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39346         [BZ #3665]
39347         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39349 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39351         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39352         PTR_DEMANGLE.
39354         [BZ #5246]
39355         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39356         PTR_DEMANGLE.
39358 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
39360         [BZ #14797]
39361         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39362         definitely overflow as x * y not x * y + z.
39363         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39364         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39365         * math/libm-test.inc (fma_test): Add more tests.
39366         (fma_test_towardzero): Likewise.
39367         (fma_test_downward): Likewise.
39368         (fma_test_upward): Likewise.
39370 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39372         [BZ #157]
39374         * include/stub-tag.h: Remove file.
39375         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39376         '#include' of it.
39377         * manual/maint.texi (Porting): Don't reference it.
39378         * Makerules ($(objpfx)stubs): Likewise.
39379         * dirent/closedir.c: Don't include <stub-tag.h>.
39380         * dirent/dirfd.c: Likewise.
39381         * dirent/fdopendir.c: Likewise.
39382         * dirent/getdents.c: Likewise.
39383         * dirent/getdents64.c: Likewise.
39384         * dirent/opendir.c: Likewise.
39385         * dirent/readdir.c: Likewise.
39386         * dirent/readdir64.c: Likewise.
39387         * dirent/readdir64_r.c: Likewise.
39388         * dirent/readdir_r.c: Likewise.
39389         * dirent/rewinddir.c: Likewise.
39390         * dirent/seekdir.c: Likewise.
39391         * dirent/telldir.c: Likewise.
39392         * gmon/profil.c: Likewise.
39393         * grp/setgroups.c: Likewise.
39394         * inet/if_index.c: Likewise.
39395         * io/access.c: Likewise.
39396         * io/chdir.c: Likewise.
39397         * io/chmod.c: Likewise.
39398         * io/chown.c: Likewise.
39399         * io/close.c: Likewise.
39400         * io/dup.c: Likewise.
39401         * io/dup2.c: Likewise.
39402         * io/dup3.c: Likewise.
39403         * io/euidaccess.c: Likewise.
39404         * io/faccessat.c: Likewise.
39405         * io/fchdir.c: Likewise.
39406         * io/fchmod.c: Likewise.
39407         * io/fchmodat.c: Likewise.
39408         * io/fchown.c: Likewise.
39409         * io/fchownat.c: Likewise.
39410         * io/fcntl.c: Likewise.
39411         * io/flock.c: Likewise.
39412         * io/fstatfs.c: Likewise.
39413         * io/fstatfs64.c: Likewise.
39414         * io/fstatvfs.c: Likewise.
39415         * io/fstatvfs64.c: Likewise.
39416         * io/futimens.c: Likewise.
39417         * io/fxstat.c: Likewise.
39418         * io/fxstat64.c: Likewise.
39419         * io/fxstatat.c: Likewise.
39420         * io/fxstatat64.c: Likewise.
39421         * io/getcwd.c: Likewise.
39422         * io/isatty.c: Likewise.
39423         * io/lchmod.c: Likewise.
39424         * io/lchown.c: Likewise.
39425         * io/link.c: Likewise.
39426         * io/linkat.c: Likewise.
39427         * io/lseek.c: Likewise.
39428         * io/lseek64.c: Likewise.
39429         * io/lxstat64.c: Likewise.
39430         * io/mkdir.c: Likewise.
39431         * io/mkdirat.c: Likewise.
39432         * io/mkfifo.c: Likewise.
39433         * io/mkfifoat.c: Likewise.
39434         * io/open.c: Likewise.
39435         * io/open64.c: Likewise.
39436         * io/openat.c: Likewise.
39437         * io/openat64.c: Likewise.
39438         * io/pipe.c: Likewise.
39439         * io/pipe2.c: Likewise.
39440         * io/poll.c: Likewise.
39441         * io/posix_fadvise.c: Likewise.
39442         * io/posix_fadvise64.c: Likewise.
39443         * io/posix_fallocate.c: Likewise.
39444         * io/posix_fallocate64.c: Likewise.
39445         * io/read.c: Likewise.
39446         * io/readlink.c: Likewise.
39447         * io/readlinkat.c: Likewise.
39448         * io/rmdir.c: Likewise.
39449         * io/sendfile.c: Likewise.
39450         * io/sendfile64.c: Likewise.
39451         * io/statfs.c: Likewise.
39452         * io/statfs64.c: Likewise.
39453         * io/statvfs.c: Likewise.
39454         * io/statvfs64.c: Likewise.
39455         * io/symlink.c: Likewise.
39456         * io/symlinkat.c: Likewise.
39457         * io/ttyname.c: Likewise.
39458         * io/ttyname_r.c: Likewise.
39459         * io/umask.c: Likewise.
39460         * io/unlink.c: Likewise.
39461         * io/unlinkat.c: Likewise.
39462         * io/utime.c: Likewise.
39463         * io/utimensat.c: Likewise.
39464         * io/write.c: Likewise.
39465         * io/xmknod.c: Likewise.
39466         * io/xmknodat.c: Likewise.
39467         * io/xstat.c: Likewise.
39468         * io/xstat64.c: Likewise.
39469         * login/getpt.c: Likewise.
39470         * login/grantpt.c: Likewise.
39471         * login/unlockpt.c: Likewise.
39472         * math/e_acoshl.c: Likewise.
39473         * math/e_acosl.c: Likewise.
39474         * math/e_asinl.c: Likewise.
39475         * math/e_atan2l.c: Likewise.
39476         * math/e_atanhl.c: Likewise.
39477         * math/e_coshl.c: Likewise.
39478         * math/e_expl.c: Likewise.
39479         * math/e_fmodl.c: Likewise.
39480         * math/e_gammal_r.c: Likewise.
39481         * math/e_hypotl.c: Likewise.
39482         * math/e_j0l.c: Likewise.
39483         * math/e_j1l.c: Likewise.
39484         * math/e_jnl.c: Likewise.
39485         * math/e_lgammal_r.c: Likewise.
39486         * math/e_log10l.c: Likewise.
39487         * math/e_log2l.c: Likewise.
39488         * math/e_logl.c: Likewise.
39489         * math/e_powl.c: Likewise.
39490         * math/e_rem_pio2l.c: Likewise.
39491         * math/e_sinhl.c: Likewise.
39492         * math/e_sqrtl.c: Likewise.
39493         * math/fclrexcpt.c: Likewise.
39494         * math/fedisblxcpt.c: Likewise.
39495         * math/feenablxcpt.c: Likewise.
39496         * math/fegetenv.c: Likewise.
39497         * math/fegetexcept.c: Likewise.
39498         * math/fegetround.c: Likewise.
39499         * math/feholdexcpt.c: Likewise.
39500         * math/fesetenv.c: Likewise.
39501         * math/fesetround.c: Likewise.
39502         * math/feupdateenv.c: Likewise.
39503         * math/fgetexcptflg.c: Likewise.
39504         * math/fraiseexcpt.c: Likewise.
39505         * math/fsetexcptflg.c: Likewise.
39506         * math/ftestexcept.c: Likewise.
39507         * math/k_cosl.c: Likewise.
39508         * math/k_rem_pio2l.c: Likewise.
39509         * math/k_sinl.c: Likewise.
39510         * math/k_tanl.c: Likewise.
39511         * math/s_asinhl.c: Likewise.
39512         * math/s_atanl.c: Likewise.
39513         * math/s_cbrtl.c: Likewise.
39514         * math/s_erfl.c: Likewise.
39515         * math/s_expm1l.c: Likewise.
39516         * math/s_log1pl.c: Likewise.
39517         * math/s_tanhl.c: Likewise.
39518         * misc/acct.c: Likewise.
39519         * misc/brk.c: Likewise.
39520         * misc/chflags.c: Likewise.
39521         * misc/chroot.c: Likewise.
39522         * misc/fchflags.c: Likewise.
39523         * misc/fgetxattr.c: Likewise.
39524         * misc/flistxattr.c: Likewise.
39525         * misc/fremovexattr.c: Likewise.
39526         * misc/fsetxattr.c: Likewise.
39527         * misc/fsync.c: Likewise.
39528         * misc/ftruncate.c: Likewise.
39529         * misc/futimes.c: Likewise.
39530         * misc/futimesat.c: Likewise.
39531         * misc/getdomain.c: Likewise.
39532         * misc/getdtsz.c: Likewise.
39533         * misc/gethostid.c: Likewise.
39534         * misc/gethostname.c: Likewise.
39535         * misc/getloadavg.c: Likewise.
39536         * misc/getpagesize.c: Likewise.
39537         * misc/getsysstats.c: Likewise.
39538         * misc/getxattr.c: Likewise.
39539         * misc/gtty.c: Likewise.
39540         * misc/ioctl.c: Likewise.
39541         * misc/lgetxattr.c: Likewise.
39542         * misc/listxattr.c: Likewise.
39543         * misc/llistxattr.c: Likewise.
39544         * misc/lremovexattr.c: Likewise.
39545         * misc/lsetxattr.c: Likewise.
39546         * misc/lutimes.c: Likewise.
39547         * misc/madvise.c: Likewise.
39548         * misc/mincore.c: Likewise.
39549         * misc/mlock.c: Likewise.
39550         * misc/mlockall.c: Likewise.
39551         * misc/mmap.c: Likewise.
39552         * misc/mprotect.c: Likewise.
39553         * misc/msync.c: Likewise.
39554         * misc/munlock.c: Likewise.
39555         * misc/munlockall.c: Likewise.
39556         * misc/munmap.c: Likewise.
39557         * misc/preadv.c: Likewise.
39558         * misc/preadv64.c: Likewise.
39559         * misc/ptrace.c: Likewise.
39560         * misc/pwritev.c: Likewise.
39561         * misc/pwritev64.c: Likewise.
39562         * misc/readv.c: Likewise.
39563         * misc/reboot.c: Likewise.
39564         * misc/remap_file_pages.c: Likewise.
39565         * misc/removexattr.c: Likewise.
39566         * misc/revoke.c: Likewise.
39567         * misc/select.c: Likewise.
39568         * misc/setdomain.c: Likewise.
39569         * misc/setegid.c: Likewise.
39570         * misc/seteuid.c: Likewise.
39571         * misc/sethostid.c: Likewise.
39572         * misc/sethostname.c: Likewise.
39573         * misc/setregid.c: Likewise.
39574         * misc/setreuid.c: Likewise.
39575         * misc/setxattr.c: Likewise.
39576         * misc/sstk.c: Likewise.
39577         * misc/stty.c: Likewise.
39578         * misc/swapoff.c: Likewise.
39579         * misc/swapon.c: Likewise.
39580         * misc/sync.c: Likewise.
39581         * misc/syncfs.c: Likewise.
39582         * misc/syscall.c: Likewise.
39583         * misc/truncate.c: Likewise.
39584         * misc/ualarm.c: Likewise.
39585         * misc/usleep.c: Likewise.
39586         * misc/ustat.c: Likewise.
39587         * misc/utimes.c: Likewise.
39588         * misc/vhangup.c: Likewise.
39589         * misc/writev.c: Likewise.
39590         * posix/_exit.c: Likewise.
39591         * posix/alarm.c: Likewise.
39592         * posix/execve.c: Likewise.
39593         * posix/fexecve.c: Likewise.
39594         * posix/fork.c: Likewise.
39595         * posix/fpathconf.c: Likewise.
39596         * posix/getaddrinfo.c: Likewise.
39597         * posix/getegid.c: Likewise.
39598         * posix/geteuid.c: Likewise.
39599         * posix/getgid.c: Likewise.
39600         * posix/getgroups.c: Likewise.
39601         * posix/getlogin.c: Likewise.
39602         * posix/getlogin_r.c: Likewise.
39603         * posix/getpgid.c: Likewise.
39604         * posix/getpid.c: Likewise.
39605         * posix/getppid.c: Likewise.
39606         * posix/getresgid.c: Likewise.
39607         * posix/getresuid.c: Likewise.
39608         * posix/getsid.c: Likewise.
39609         * posix/getuid.c: Likewise.
39610         * posix/glob64.c: Likewise.
39611         * posix/nanosleep.c: Likewise.
39612         * posix/pathconf.c: Likewise.
39613         * posix/pause.c: Likewise.
39614         * posix/posix_madvise.c: Likewise.
39615         * posix/pread.c: Likewise.
39616         * posix/pread64.c: Likewise.
39617         * posix/pwrite.c: Likewise.
39618         * posix/pwrite64.c: Likewise.
39619         * posix/sched_getaffinity.c: Likewise.
39620         * posix/sched_getp.c: Likewise.
39621         * posix/sched_gets.c: Likewise.
39622         * posix/sched_primax.c: Likewise.
39623         * posix/sched_primin.c: Likewise.
39624         * posix/sched_rr_gi.c: Likewise.
39625         * posix/sched_setaffinity.c: Likewise.
39626         * posix/sched_setp.c: Likewise.
39627         * posix/sched_sets.c: Likewise.
39628         * posix/sched_yield.c: Likewise.
39629         * posix/setgid.c: Likewise.
39630         * posix/setlogin.c: Likewise.
39631         * posix/setpgid.c: Likewise.
39632         * posix/setresgid.c: Likewise.
39633         * posix/setresuid.c: Likewise.
39634         * posix/setsid.c: Likewise.
39635         * posix/setuid.c: Likewise.
39636         * posix/sleep.c: Likewise.
39637         * posix/spawni.c: Likewise.
39638         * posix/sysconf.c: Likewise.
39639         * posix/times.c: Likewise.
39640         * posix/wait.c: Likewise.
39641         * posix/wait3.c: Likewise.
39642         * posix/wait4.c: Likewise.
39643         * posix/waitpid.c: Likewise.
39644         * resolv/gai_sigqueue.c: Likewise.
39645         * resource/getpriority.c: Likewise.
39646         * resource/getrlimit.c: Likewise.
39647         * resource/getrusage.c: Likewise.
39648         * resource/nice.c: Likewise.
39649         * resource/setpriority.c: Likewise.
39650         * resource/setrlimit.c: Likewise.
39651         * resource/ulimit.c: Likewise.
39652         * rt/aio_cancel.c: Likewise.
39653         * rt/aio_fsync.c: Likewise.
39654         * rt/aio_read.c: Likewise.
39655         * rt/aio_sigqueue.c: Likewise.
39656         * rt/aio_suspend.c: Likewise.
39657         * rt/aio_write.c: Likewise.
39658         * rt/clock_getres.c: Likewise.
39659         * rt/clock_gettime.c: Likewise.
39660         * rt/clock_nanosleep.c: Likewise.
39661         * rt/clock_settime.c: Likewise.
39662         * rt/lio_listio.c: Likewise.
39663         * rt/mq_close.c: Likewise.
39664         * rt/mq_getattr.c: Likewise.
39665         * rt/mq_notify.c: Likewise.
39666         * rt/mq_open.c: Likewise.
39667         * rt/mq_receive.c: Likewise.
39668         * rt/mq_send.c: Likewise.
39669         * rt/mq_setattr.c: Likewise.
39670         * rt/mq_timedreceive.c: Likewise.
39671         * rt/mq_timedsend.c: Likewise.
39672         * rt/mq_unlink.c: Likewise.
39673         * rt/shm_open.c: Likewise.
39674         * rt/shm_unlink.c: Likewise.
39675         * rt/timer_create.c: Likewise.
39676         * rt/timer_delete.c: Likewise.
39677         * rt/timer_getoverr.c: Likewise.
39678         * rt/timer_gettime.c: Likewise.
39679         * rt/timer_settime.c: Likewise.
39680         * setjmp/__longjmp.c: Likewise.
39681         * setjmp/setjmp.c: Likewise.
39682         * signal/kill.c: Likewise.
39683         * signal/killpg.c: Likewise.
39684         * signal/raise.c: Likewise.
39685         * signal/sigaction.c: Likewise.
39686         * signal/sigaltstack.c: Likewise.
39687         * signal/sigblock.c: Likewise.
39688         * signal/sigignore.c: Likewise.
39689         * signal/sigintr.c: Likewise.
39690         * signal/signal.c: Likewise.
39691         * signal/sigpause.c: Likewise.
39692         * signal/sigpending.c: Likewise.
39693         * signal/sigqueue.c: Likewise.
39694         * signal/sigreturn.c: Likewise.
39695         * signal/sigset.c: Likewise.
39696         * signal/sigsetmask.c: Likewise.
39697         * signal/sigstack.c: Likewise.
39698         * signal/sigsuspend.c: Likewise.
39699         * signal/sigtimedwait.c: Likewise.
39700         * signal/sigvec.c: Likewise.
39701         * signal/sigwait.c: Likewise.
39702         * signal/sigwaitinfo.c: Likewise.
39703         * signal/sysv_signal.c: Likewise.
39704         * socket/accept.c: Likewise.
39705         * socket/accept4.c: Likewise.
39706         * socket/bind.c: Likewise.
39707         * socket/connect.c: Likewise.
39708         * socket/getpeername.c: Likewise.
39709         * socket/getsockname.c: Likewise.
39710         * socket/getsockopt.c: Likewise.
39711         * socket/isfdtype.c: Likewise.
39712         * socket/listen.c: Likewise.
39713         * socket/recv.c: Likewise.
39714         * socket/recvfrom.c: Likewise.
39715         * socket/recvmsg.c: Likewise.
39716         * socket/send.c: Likewise.
39717         * socket/sendmsg.c: Likewise.
39718         * socket/sendto.c: Likewise.
39719         * socket/setsockopt.c: Likewise.
39720         * socket/shutdown.c: Likewise.
39721         * socket/sockatmark.c: Likewise.
39722         * socket/socket.c: Likewise.
39723         * socket/socketpair.c: Likewise.
39724         * stdio-common/ctermid.c: Likewise.
39725         * stdio-common/cuserid.c: Likewise.
39726         * stdio-common/remove.c: Likewise.
39727         * stdio-common/rename.c: Likewise.
39728         * stdio-common/renameat.c: Likewise.
39729         * stdio-common/tempname.c: Likewise.
39730         * stdlib/getcontext.c: Likewise.
39731         * stdlib/makecontext.c: Likewise.
39732         * stdlib/setcontext.c: Likewise.
39733         * stdlib/swapcontext.c: Likewise.
39734         * stdlib/system.c: Likewise.
39735         * streams/fattach.c: Likewise.
39736         * streams/fdetach.c: Likewise.
39737         * streams/getmsg.c: Likewise.
39738         * streams/getpmsg.c: Likewise.
39739         * streams/putmsg.c: Likewise.
39740         * streams/putpmsg.c: Likewise.
39741         * sysdeps/unix/bsd/getpt.c: Likewise.
39742         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39743         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39744         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39746         Likewise.
39747         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39748         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39749         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39750         * sysvipc/msgctl.c: Likewise.
39751         * sysvipc/msgget.c: Likewise.
39752         * sysvipc/msgrcv.c: Likewise.
39753         * sysvipc/msgsnd.c: Likewise.
39754         * sysvipc/semctl.c: Likewise.
39755         * sysvipc/semget.c: Likewise.
39756         * sysvipc/semop.c: Likewise.
39757         * sysvipc/semtimedop.c: Likewise.
39758         * sysvipc/shmat.c: Likewise.
39759         * sysvipc/shmctl.c: Likewise.
39760         * sysvipc/shmdt.c: Likewise.
39761         * sysvipc/shmget.c: Likewise.
39762         * termios/tcdrain.c: Likewise.
39763         * termios/tcflow.c: Likewise.
39764         * termios/tcflush.c: Likewise.
39765         * termios/tcgetattr.c: Likewise.
39766         * termios/tcgetpgrp.c: Likewise.
39767         * termios/tcsendbrk.c: Likewise.
39768         * termios/tcsetattr.c: Likewise.
39769         * termios/tcsetpgrp.c: Likewise.
39770         * time/adjtime.c: Likewise.
39771         * time/clock.c: Likewise.
39772         * time/getitimer.c: Likewise.
39773         * time/gettimeofday.c: Likewise.
39774         * time/setitimer.c: Likewise.
39775         * time/settimeofday.c: Likewise.
39776         * time/stime.c: Likewise.
39777         * time/time.c: Likewise.
39779 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
39781         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39782         /usr/old/bin.
39784         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39785         instead of spaces.
39786         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39788 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
39790         [BZ #14796]
39791         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39792         FE_TONEAREST before applying Dekker multiplication and Knuth
39793         addition.  Clear inexact exceptions and check for exact zero
39794         results afterwards.
39795         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39796         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39797         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39798         * math/libm-test.inc (fma_test): Add more tests.
39799         (fma_test_towardzero): Likewise.
39800         (fma_test_downward): Likewise.
39801         (fma_test_upward): Likewise.
39802         * sysdeps/generic/math_private.h (default_libc_fesetround): New
39803         function.
39804         (libc_fesetround): New macro.
39805         (libc_fesetroundf): Likewise.
39806         (libc_fesetroundl): Likewise.
39807         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39808         function.
39809         (libc_fesetround_387): Likewise.
39810         (libc_fesetroundf): New macro.
39811         (libc_fesetround): Likewise.
39812         (libc_fesetroundl): Likewise.
39813         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39814         function.
39815         (libc_fesetroundf): New macro.
39816         (libc_fesetround): Likewise.
39817         (libc_fesetroundl): Likewise.
39818         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39819         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39820         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39821         libm_hidden_ver.
39822         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39823         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39824         libm_hidden_def.
39825         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39826         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39827         libm_hidden_ver.
39828         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39829         libm_hidden_def.
39831         [BZ #3439]
39832         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39833         integer constant usable in #if and use that to give value to enum
39834         constant.
39835         (FE_DIVBYZERO): Likewise.
39836         (FE_UNDERFLOW): Likewise.
39837         (FE_OVERFLOW): Likewise.
39838         (FE_INVALID): Likewise.
39839         (FE_INVALID_SNAN): Likewise.
39840         (FE_INVALID_ISI): Likewise.
39841         (FE_INVALID_IDI): Likewise.
39842         (FE_INVALID_ZDZ): Likewise.
39843         (FE_INVALID_IMZ): Likewise.
39844         (FE_INVALID_COMPARE): Likewise.
39845         (FE_INVALID_SOFTWARE): Likewise.
39846         (FE_INVALID_SQRT): Likewise.
39847         (FE_INVALID_INTEGER_CONVERSION): Likewise.
39848         (FE_TONEAREST): Likewise.
39849         (FE_TOWARDZERO): Likewise.
39850         (FE_UPWARD): Likewise.
39851         (FE_DOWNWARD): Likewise.
39852         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39853         (FE_DIVBYZERO): Likewise.
39854         (FE_OVERFLOW): Likewise.
39855         (FE_UNDERFLOW): Likewise.
39856         (FE_INEXACT): Likewise.
39857         (FE_TONEAREST): Likewise.
39858         (FE_DOWNWARD): Likewise.
39859         (FE_UPWARD): Likewise.
39860         (FE_TOWARDZERO): Likewise.
39861         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39862         (FE_UNDERFLOW): Likewise.
39863         (FE_OVERFLOW): Likewise.
39864         (FE_DIVBYZERO): Likewise.
39865         (FE_INVALID): Likewise.
39866         (FE_TONEAREST): Likewise.
39867         (FE_TOWARDZERO): Likewise.
39868         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39869         (FE_OVERFLOW): Likewise.
39870         (FE_UNDERFLOW): Likewise.
39871         (FE_DIVBYZERO): Likewise.
39872         (FE_INEXACT): Likewise.
39873         (FE_TONEAREST): Likewise.
39874         (FE_TOWARDZERO): Likewise.
39875         (FE_UPWARD): Likewise.
39876         (FE_DOWNWARD): Likewise.
39877         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39878         (FE_DIVBYZERO): Likewise.
39879         (FE_OVERFLOW): Likewise.
39880         (FE_UNDERFLOW): Likewise.
39881         (FE_INEXACT): Likewise.
39882         (FE_TONEAREST): Likewise.
39883         (FE_DOWNWARD): Likewise.
39884         (FE_UPWARD): Likewise.
39885         (FE_TOWARDZERO): Likewise.
39887 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
39889         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39891 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
39893         * scripts/cross-test-ssh.sh (command): Use newlines to separate
39894         commands.  Quote $PWD.
39895         (blacklist_exports): Don't use remove_newlines.  Replace "declare
39896         -x" by "export".
39897         (remove_newlines): Remove.
39899 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
39901         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39902         * stdlib/stdlib.h (atof): Moved to ...
39903         * include/bits/stdlib-float.h: Here.  New file.
39904         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39905         * stdlib/bits/stdlib-float.h: New file.
39906         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39907         -mno-sse -mno-mmx.
39908         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39909         <xmmintrin.h>.
39911 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39913         * conform/conformtest.pl (@headers): Add fenv.h.
39914         * conform/data/fenv.h-data: New file.
39915         * include/fenv.h [_ISOMAC]: Disable all contents of file except
39916         include of <math/fenv.h>.
39918         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39919         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39920         && !UNIX98].  Enables tests for XOPEN2K8.
39921         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39922         POSIX2008]: Likewise.
39924         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39925         (struct rusage): Do not expect type or its members.
39927         [BZ #3439]
39928         * math/math.h (FP_NAN): Define macro to integer constant usable in
39929         #if and use that to give value to enum constant.
39930         (FP_INFINITE): Likewise.
39931         (FP_ZERO): Likewise.
39932         (FP_SUBNORMAL): Likewise.
39933         (FP_NORMAL): Likewise.
39935 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
39937         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39938         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39939         arguments.
39941 2012-11-02  Roland McGrath  <roland@hack.frob.com>
39943         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39944         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39945         autoconf-time if not.
39946         * configure.in: Remove AC_PREREQ.
39948 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39950         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39951         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39952         of the internal implementation.
39954 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39956         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39957         except include of <misc/sys/syslog.h>.
39959 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39962         function returns with a NULL context exit with zero.
39964 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39966         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39968 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
39970         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39971         (run_program_cmd): This.
39972         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39973         (tst_langinfo): New variable.  Use it.
39975 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
39977         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39978         floating point opcodes.
39980 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39982         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39983         variable.
39985         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39987         * sysdeps/mach/hurd/powerpc: Remove directory.
39988         * sysdeps/mach/powerpc: Likewise.
39990 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39992         * scripts/check-local-headers.sh: Ignore c++ headers.
39994 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39996         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39997         __libc_cleanup_region_start argument.
39999 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
40001         [BZ #14784]
40002         [BZ #14785]
40003         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
40004         x * y using scaling, not as x * y + z.
40005         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40006         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40007         * math/libm-test.inc (fma_test): Add more tests.
40008         (fma_test_towardzero): Likewise.
40009         (fma_test_downward): Likewise.
40010         (fma_test_upward): Likewise.
40012 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
40014         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
40016 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40018         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
40019         New variable.
40021 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
40023         * rt/tst-shm.c (worker): Correct checking for mmap failure.
40025 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40028         Fix sort order.
40029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40030         Likewise.
40032 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40035         Fix the order of the list for glibc 2.17.
40036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40037         Likewise.
40039 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
40041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40043 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
40045         [BZ #14610]
40046         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
40047         for low part of x being zero before using __atanl (y).
40048         * math/libm-test.inc (atan2_test): Add another test.
40050         * manual/install.texi (Configuring and compiling): Document
40051         general use of test-wrapper and test-wrapper-env.
40052         * INSTALL: Regenerated.
40054         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
40055         (__fma): Do not extract and scale down low bits on after-rounding
40056         systems when result rounded to normal precision would have normal
40057         exponent.
40058         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
40059         (__fmal): Do not extract and scale down low bits on after-rounding
40060         systems when result rounded to normal precision would have normal
40061         exponent.
40062         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
40063         (__fmal): Do not extract and scale down low bits on after-rounding
40064         systems when result rounded to normal precision would have normal
40065         exponent.
40066         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
40067         macro.
40068         (fma_test): Add more tests.
40069         (fma_test_towardzero): Likewise.
40070         (fma_test_downward): Likewise.
40071         (fma_test_upward): Likewise.
40073 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
40075         * sysdeps/i386/tininess.h: Renamed to ...
40076         * sysdeps/x86/tininess.h: This.
40077         * sysdeps/x86_64/tininess.h: Removed.
40079 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40081         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
40082         input.  Use $(build-program-cmd).
40083         ($(objpfx)tst-array1-static.out): Likewise.
40084         ($(objpfx)tst-array2.out): Likewise.
40085         ($(objpfx)tst-array3.out): Likewise.
40086         ($(objpfx)tst-array4.out): Likewise.
40087         ($(objpfx)tst-array5.out): Likewise.
40088         ($(objpfx)tst-array5-static.out): Likewise.
40090 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
40092         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
40093         if defined.
40095         * nss/nsswitch.h (nss_interface_function): Provide new
40096         macro for use with NSS functions.
40097         * grp/initgroups.c: Use new macro.
40098         * nss/getXXbyYY.c: Likewise.
40099         * nss/getXXbyYY_r.c: Likewise.
40100         * nss/getXXent.c: Likewise.
40101         * nss/getXXent_r.c: Likewise.
40102         * sysdeps/posix/getaddrinfo.c: Likewise.
40104 2012-10-30  Andreas Jaeger  <aj@suse.de>
40106         * po/ru.po: Update Russion translation from translation project.
40108 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
40110         [BZ #14152]
40111         [BZ #14783]
40112         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
40113         result and shift together with sticky bit instead of replicating
40114         round-to-nearest rounding.
40115         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40116         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40117         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
40118         missing underflow exceptions.
40119         (fma_test_towardzero): Add more tests.
40120         (fma_test_downward): Likewise.
40121         (fma_test_upward): Likewise.
40123         [BZ #14047]
40124         * sysdeps/generic/tininess.h: New file.
40125         * sysdeps/i386/tininess.h: Likewise.
40126         * sysdeps/sh/tininess.h: Likewise.
40127         * sysdeps/x86_64/tininess.h: Likewise.
40128         * stdlib/tst-strtod-underflow.c: Likewise.
40129         * stdlib/tst-tininess.c: Likewise.
40130         * stdlib/strtod_l.c: Include <tininess.h>.
40131         (round_and_return): Do not set errno for exact underflow cases.
40132         Force an underflow exception when setting errno for underflow.
40133         Determine underflow based on rounding to normal precision if
40134         TININESS_AFTER_ROUNDING.
40135         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40136         ERANGE for exact underflow cases.
40137         * stdlib/Makefile (tests): Add tst-tininess and
40138         tst-strtod-underflow.
40139         ($(objpfx)tst-tininess): Use $(link-libm).
40140         ($(objpfx)tst-strtod-underflow): Likewise.
40142 2012-10-30  Andreas Jaeger  <aj@suse.de>
40144         [BZ#14767]
40145         * elf/Makefile (tests): Remove conditional for have-initfini-array
40146         since this is now always required and the variable does not exist
40147         anymore.
40148         (tests-static): Likewise.
40149         (modules-names): Likewise.
40151         * po/eo.po: Add Esperanto translation from translation project.
40153         * elf/tst-array1.c (fini_array): Make writeable so that it can be
40154         merged with constructor/destructor.
40155         (init_array): Likewise.
40156         * elf/tst-array2dep.c (fini_array): Likewise.
40157         (init_array): Likewise.
40159 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
40161         * manual/message.texi: Delete @cartouche tags.
40163 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
40165         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40166         EOPNOTSUPP.
40167         * sysdeps/mach/hurd/fsync.c: Likewise.
40169         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40170         [_POSIX_REALTIME_SIGNALS]: Change condition to
40171         [_POSIX_REALTIME_SIGNALS > 0].
40173 2012-10-27  Andreas Jaeger  <aj@suse.de>
40175         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40176         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40177         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40178         [__WORDSIZE != 64]: Likewise.
40180 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
40182         *  iconvdata/tst-table.sh: Remove ${SHELL}.
40183         *  iconvdata/tst-tables.sh: Likewise.
40185 2012-10-25  David S. Miller  <davem@davemloft.net>
40187         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40188         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40189         of strtoull.
40191         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40192         ifunc-impl-list.c
40193         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40194         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40195         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40196         file.
40198 2012-10-25  Roland McGrath  <roland@hack.frob.com>
40200         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40201         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40202         __getdirentries.
40204 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40205             Jim Blandy  <jimb@codesourcery.com>
40207         * scripts/cross-test-ssh.sh: New file.
40208         * manual/install.texi (Configuring and compiling): Document use of
40209         cross-test-ssh.sh.
40210         * INSTALL: Regenerated.
40212 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
40214         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40215         EOPNOTSUPP.
40217 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40219         * Makeconfig (run-program-prefix): Fix comment.
40221 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40222             Jim Blandy  <jimb@codesourcery.com>
40224         * Makeconfig (test-wrapper): New variable,
40225         (test-wrapper-env): Likewise.
40226         [$(cross-compiling) = yes && $(test-wrapper) != ""]
40227         (run-built-tests): Define to yes.
40228         (run-program-prefix): Use $(test-wrapper).
40229         (built-program-cmd): Likewise.
40230         * Rules (make-test-out): Use $(test-wrapper-env) and
40231         $(host-built-program-cmd).
40232         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40233         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40234         tst-pathopt.sh.
40235         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40236         $(test-wrapper-env) to tst-rtld-load-self.sh.
40237         ($(objpfx)order2.out): Use $(test-wrapper).
40238         ($(objpfx)tst-initorder.out): Likewise.
40239         ($(objpfx)tst-initorder2.out): Likewise.
40240         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40241         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40242         (test_wrapper_env): New variable.  Use it to run ld.so.
40243         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40244         Use it to run ld.so.
40245         (test_wrapper_env): Likewise.
40246         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40247         $(test-wrapper) to run-iconv-test.sh.
40248         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40249         (ICONV): Use $test_wrapper.
40250         * posix/Makefile ($(objpfx)globtest.out): Pass
40251         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40252         globtest.sh, not $(run-program-prefix).
40253         * posix/globtest.sh (run_via_rtld_prefix): New variable.
40254         (test_wrapper): Likewise.
40255         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
40256         set together with run_via_rtld_prefix.
40257         (run_program_prefix): Define in terms of test_wrapper and
40258         run_via_rtld_prefix.
40260 2012-10-24  Roland McGrath  <roland@hack.frob.com>
40262         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40263         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40264         Targets removed.
40266         [BZ #14743]
40267         * include/time.h: Remove librt_hidden_proto (clock_gettime).
40268         Declare __clock_getres, __clock_gettime, __clock_settime,
40269         __clock_nanosleep, and __clock_getcpuclockid.
40270         * rt/clock_gettime.c: Define __clock_gettime as an alias.
40271         Remove librt_hidden_def (clock_gettime).
40272         * sysdeps/unix/clock_gettime.c: Likewise.
40273         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40274         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40275         * rt/clock_getres.c: Define __clock_getres as an alias.
40276         * sysdeps/posix/clock_getres.c: Likewise.
40277         * rt/clock_settime.c: Define __clock_settime as an alias.
40278         * sysdeps/unix/clock_settime.c: Likewise.
40279         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40280         * sysdeps/unix/clock_nanosleep.c: Likewise.
40281         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40282         * rt/clock-compat.c: New file.
40283         * rt/Makefile (librt-routines): Add clock-compat and move
40284         $(clock-routines) to ...
40285         (routines): ... here, new variable.
40286         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40287         Don't add get_clockfreq here.
40288         * rt/Versions (libc: GLIBC_2.17): New version set.
40289         Add clock_* symbols here.
40290         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
40291         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40292         (GLIBC_2.17): Add clock_* symbols.
40293         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40295         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40297         Likewise.
40298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40299         Likewise.
40300         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40304         * NEWS: Mention the move.
40306         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40307         Use __open, __read, __close rather than their public counterparts.
40308         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40309         (__get_clockfreq_via_cpuinfo): Likewise.
40310         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40311         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40313         * config.h.in (HAVE_IFUNC): New #undef.
40314         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40315         was successful.
40316         * configure: Regenerated.
40318 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40320         * configure.in: Move READELF check to start of file.
40321         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40322         libc_cv_asm_gnu_indirect_function in the process.
40323         * configure: Regenerated.
40325 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40327         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40328         send the output to /dev/null.
40329         (libc_cv_cc_with_libunwind): Likewise.
40330         (libc_cv_as_noexecstack): Likewise.
40331         * configure: Regenerate.
40333 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40335         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40337         * posix/globtest.sh (TMPDIR): Do not set.
40338         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40339         (testout): Likewise.
40341 2012-10-24  Andreas Jaeger  <aj@suse.de>
40343         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40344         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40345         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40346         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40347         posix_fadvise64, posix_fallocate64.
40349         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40350         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40351         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40352         Likewise.
40353         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40354         Likewise.
40355         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40357         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40358         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40359         <bits/fcntl-linux.h>.
40360         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40362         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40363         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40364         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40365         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40366         [__WORDSIZE != 64]: Likewise.
40368 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40370         * Makeconfig (run-built-tests): New variable.
40371         * Rules [$(cross-compiling) = yes]: Change condition to
40372         [$(run-built-tests) = no].
40373         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40374         to [$(run-built-tests) = yes].
40375         * elf/Makefile [$(cross-compiling) = no]: Likewise
40376         * grp/Makefile [$(cross-compiling) = no]: Likewise.
40377         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40378         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40379         * intl/Makefile [$(cross-compiling) = no]: Likewise.
40380         * io/Makefile [$(cross-compiling) = no]: Likewise.
40381         * libio/Makefile [$(cross-compiling) = no]: Likewise.
40382         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40383         * misc/Makefile [$(cross-compiling) = no]: Likewise.
40384         * posix/Makefile [$(cross-compiling) = no]: Likewise.
40385         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40386         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40387         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40388         * string/Makefile [$(cross-compiling) = no]: Likewise.
40390         * posix/Makefile ($(objpfx)globtest.out): Pass
40391         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40392         $(rtld-installed-name).
40393         * posix/globtest.sh (elf_objpfx): Remove variable.
40394         (rtld_installed_name): Likewise.
40395         (library_path): Likewise.
40396         (run_program_prefix): New variable.  Use for running globtest
40397         binary.
40399 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
40400             Joseph Myers  <joseph@codesourcery.com>
40402         * Makeconfig (host-built-program-cmd): New variable.
40403         * elf/Makefile (tst-stackguard1-ARGS): Use
40404         $(host-built-program-cmd).
40405         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40406         (tst-spawn-ARGS): Likewise.
40407         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40409 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40410             Jim Blandy  <jimb@codesourcery.com>
40412         * Makeconfig (run-via-rtld-prefix): New variable.
40413         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40414         (built-program-cmd): Likewise.
40416 2012-10-22  Andreas Jaeger  <aj@suse.de>
40418         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40419         __O_RSYNC if it exists, otherwise to O_SYNC.
40421 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
40422             Joseph Myers  <joseph@codesourcery.com>
40424         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40425         /dev/null.
40426         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40427         from /dev/null
40428         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40429         /dev/null.
40431 2012-10-22  Andreas Jaeger  <aj@suse.de>
40433         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40434         Define always.
40435         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40437         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40438         bits/fcntl-linux.h.
40440         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40441         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40443         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40444         to __O_LARGEFILE.
40445         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40446         to __O_LARGEFILE.
40448 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
40449             Joseph Myers  <joseph@codesourcery.com>
40451         * config.make.in (NM): New variable.
40453 2012-10-21  Andreas Jaeger  <aj@suse.de>
40455         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40456         definitions and declarations that are provided by
40457         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40459 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40461         [BZ #14683]
40462         * elf/Makefile (tests-static): Add tst-leaks1-static.
40463         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40464         ($(objpfx)tst-leaks1-static): New rule.
40465         ($(objpfx)tst-leaks1-static-mem): Likewise.
40466         (tst-leaks1-static-ENV): New macro.
40467         * elf/dl-open.c (dl_open_worker): Check the main application
40468         only if SHARED is defined.
40469         * elf/tst-leaks1-static.c: New file.
40471 2012-10-20  Andreas Jaeger  <aj@suse.de>
40473         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40474         generic values for Linux.
40475         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40476         and declarations that are provided by <bits/fcntl-linux.h> and
40477         include <bits/fcntl-linux.h>.
40478         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40479         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40481 2012-10-20  Roland McGrath  <roland@hack.frob.com>
40483         * io/fcntl.h: Move include of <bits/types.h> to the top and
40484         include it unconditionally.
40486 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40488         * wcsmbs/Makefile (tests-ifunc): New variable.
40489         (tests): Add $(tests-ifunc).
40490         * wcsmbs/test-wcschr-ifunc.c: New file.
40491         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40492         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40493         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40494         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40495         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40497         * string/Makefile (tests-ifunc): New variable.
40498         (tests): Add $(tests-ifunc).
40499         * string/test-memccpy.c (TEST_NAME): New macro.
40500         * string/test-memchr.c (TEST_NAME): Likewise.
40501         * string/test-memcmp.c (TEST_NAME): Likewise.
40502         * string/test-memcpy.c (TEST_NAME): Likewise.
40503         * string/test-memmem.c (TEST_NAME): Likewise.
40504         * string/test-memmove.c (TEST_NAME): Likewise.
40505         * string/test-memset.c (TEST_NAME): Likewise.
40506         * string/test-rawmemchr.c (TEST_NAME): Likewise.
40507         * string/test-stpcpy.c (TEST_NAME): Likewise.
40508         * string/test-stpncpy.c (TEST_NAME): Likewise.
40509         * string/test-strcasecmp.c (TEST_NAME): Likewise.
40510         * string/test-strcasestr.c (TEST_NAME): Likewise.
40511         * string/test-strcat.c (TEST_NAME): Likewise.
40512         * string/test-strchr.c (TEST_NAME): Likewise.
40513         * string/test-strcmp.c(TEST_NAME): Likewise.
40514         * string/test-strcpy.c (TEST_NAME): Likewise.
40515         * string/test-strcspn.c (TEST_NAME): Likewise.
40516         * string/test-strlen.c (TEST_NAME): Likewise.
40517         * string/test-strncasecmp.c (TEST_NAME): Likewise.
40518         * string/test-strncmp.c (TEST_NAME): Likewise.
40519         * string/test-strncpy.c (TEST_NAME): Likewise.
40520         * string/test-strnlen.c (TEST_NAME): Likewise.
40521         * string/test-strpbrk.c (TEST_NAME): Likewise.
40522         * string/test-strrchr.c (TEST_NAME): Likewise.
40523         * string/test-strspn.c (TEST_NAME): Likewise.
40524         * string/test-strstr.c (TEST_NAME): Likewise.
40525         * string/test-bcopy-ifunc.c: New file.
40526         * string/test-bzero-ifunc.c: Likewise.
40527         * string/test-memccpy-ifunc.c: Likewise.
40528         * string/test-memchr-ifunc.c: Likewise.
40529         * string/test-memcmp-ifunc.c: Likewise.
40530         * string/test-memcpy-ifunc.c: Likewise.
40531         * string/test-memmem-ifunc.c: Likewise.
40532         * string/test-memmove-ifunc.c: Likewise.
40533         * string/test-mempcpy-ifunc.c: Likewise.
40534         * string/test-memset-ifunc.c: Likewise.
40535         * string/test-rawmemchr-ifunc.c: Likewise.
40536         * string/test-stpcpy-ifunc.c: Likewise.
40537         * string/test-stpncpy-ifunc.c: Likewise.
40538         * string/test-strcasecmp-ifunc.c: Likewise.
40539         * string/test-strcasestr-ifunc.c: Likewise.
40540         * string/test-strcat-ifunc.c: Likewise.
40541         * string/test-strchr-ifunc.c: Likewise.
40542         * string/test-strchrnul-ifunc.c: Likewise.
40543         * string/test-strcmp-ifunc.c: Likewise.
40544         * string/test-strcpy-ifunc.c: Likewise.
40545         * string/test-strcspn-ifunc.c: Likewise.
40546         * string/test-strlen-ifunc.c: Likewise.
40547         * string/test-strncasecmp-ifunc.c: Likewise.
40548         * string/test-strncat-ifunc.c: Likewise.
40549         * string/test-strncmp-ifunc.c: Likewise.
40550         * string/test-strncpy-ifunc.c: Likewise.
40551         * string/test-strnlen-ifunc.c: Likewise.
40552         * string/test-strpbrk-ifunc.c: Likewise.
40553         * string/test-strrchr-ifunc.c: Likewise.
40554         * string/test-strspn-ifunc.c: Likewise.
40555         * string/test-strstr-ifunc.c: Likewise.
40557         * debug/Makefile (tests-ifunc): New variable.
40558         (tests): Add $(tests-ifunc).
40559         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40560         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40561         * debug/test-stpcpy_chk-ifunc.c: New file.
40562         * debug/test-strcpy_chk-ifunc.c: Likewise.
40564 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40566         [BZ #13601]
40567         * elf/dl-load.c (open_verify): Retry read if the entire ELF
40568         header is not read in.
40570 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
40572         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
40573         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
40574         directly.  Pass built executable to script as
40575         $(built-program-cmd).
40576         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
40577         $testprogram without using LD_LIBRARY_PATH and $ldso.
40579         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40580         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40581         $(rtld-installed-name).
40582         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40583         (rtld_installed_name): Likewise.
40584         (library_path): Likewise.
40585         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
40586         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40587         $(run-program-prefix) to tst-tables.sh.
40588         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
40589         it to run tst-table-from and tst-table-to.
40590         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40591         Pass it to tst-table.sh.
40592         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40593         $(run-program-prefix) to tst-gettext.sh.
40594         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40595         tst-translit.sh.
40596         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40597         tst-gettext2.sh.
40598         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
40599         to run tst-gettext.
40600         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
40601         to run tst-gettext2.
40602         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
40603         to run tst-translit.
40604         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40605         $(run-program-prefix) to tst-mtrace.sh.
40606         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
40607         to run tst-mtrace.
40608         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40609         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40610         $(rtld-installed-name).
40611         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40612         (rtld_installed_name): Likewise.
40613         (run_program_prefix): New variable.  Use it to run wordexp-test.
40615         * Makeconfig (ARCH): Remove all definitions.
40616         (machine): Likewise.
40617         [ARCH]: Remove conditional code.
40618         [!objdir]: Give error.
40619         [!objdir] (objpfx): Remove.
40620         [!objdir] (common-objpfx): Likewise.
40621         [!objdir] (common-objdir): Likewise.
40622         * configure.in (config_makefile): Remove.  Hardcode Makefile in
40623         AC_CONFIG_FILES call.
40624         * configure: Regenerated.
40626         [BZ #13888]
40627         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40628         or TMPDIR.
40629         (testout): Likewise.
40631         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40632         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40633         $(rtld-installed-name).
40634         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40635         (rtld_installed_name): Likwise.
40636         (runit): Remove function.
40637         (run_getconf): New variable,  Use it for running getconf binary.
40639 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
40641         [BZ #14716]
40642         * string/test-memmem.c (check_result): New function.
40643         (do_one_test): Use it.
40644         (check1): New function.
40645         (test_main): Use it.
40647 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
40649         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40651 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
40653         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40654         (_G_LSEEK64): Likewise.
40655         (_G_MMAP64): Likewise.
40656         (_G_FSTAT64): Likewise.
40657         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40658         (_G_LSEEK64): Likewise.
40659         (_G_MMAP64): Likewise.
40660         (_G_FSTAT64): Likewise.
40661         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40662         unconditional.  Call __mmap64 directly.
40663         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40664         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
40665         __lseek64 directly.
40666         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40667         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
40668         __mmap64 directly.
40669         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40670         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40671         __lseek64 directly.
40672         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40673         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40674         __lseek64 directly.
40675         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40676         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
40677         __lseek64 directly.
40678         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40679         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
40680         __fxstat64 directly.
40681         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40682         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40683         unconditional.
40684         (freopen64) [!_G_OPEN64]: Remove conditional code.
40685         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40686         unconditional.
40687         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40688         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40689         unconditional.
40690         (ftello64) [!_G_LSEEK64]: Remove conditional code.
40691         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40692         unconditional.
40693         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40694         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40695         unconditional.
40696         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40697         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40698         unconditional.
40699         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40700         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40701         unconditional.
40702         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40703         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40704         unconditional.
40705         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40707 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40709         [BZ #12140]
40710         * manual/memory.texi (Malloc Tunable Parameters): Add note
40711         about free list pointers overwriting some perturb bytes.
40712         Wording suggested by Roland McGrath.
40714 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
40716         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40717         (lgamma_test): Likewise.
40718         (tgamma_test): Likewise.
40720 2012-10-16  Florian Weimer  <fweimer@redhat.com>
40722         [BZ #14700]
40723         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40724         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40726 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
40728         * NEWS: Mention BZ #14716.
40729         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40730         when removing AVAILABLE1_USES_J macro.
40732 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
40734         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40735         (__bswap_64): __uint64_t for unsigned 64-bit int.
40737 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
40739         * include/string.h (memmem): Declare libc hidden alias.
40740         * string/memmem.c (memmem): Define libc hidden alias.
40741         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40742         __read, __close instead of open, read, close.
40744 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
40746         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40747         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40748         global and hidden.
40749         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40750         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40751         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40752         Likewise.
40753         (__rawmemchr_sse2): Likewise.
40754         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40755         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40756         (__strchr_sse2): Likewise.
40757         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40758         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40759         (__strcasecmp_sse2): Likewise.
40760         (__strncasecmp_sse2): Likewise.
40761         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40762         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40763         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40764         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40765         (__strrchr_sse2): Likewise.
40766         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40767         ifunc-impl-list.c.
40768         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40769         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40770         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40771         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40772         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40773         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40774         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40775         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40776         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40777         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40778         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40779         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40780         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40781         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40782         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40783         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40784         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40785         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40786         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40787         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40788         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40789         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40790         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40791         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40792         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40793         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40794         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40795         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40796         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40797         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40799         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40800         global and hidden.
40801         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40802         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40803         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40804         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40805         Likewise.
40806         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40807         Likewise.
40808         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40809         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40810         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40811         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40812         ifunc-impl-list.c.
40813         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40814         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40815         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40816         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40817         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40818         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40819         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40820         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40821         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40822         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40823         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40824         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40825         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40826         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40827         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40828         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40829         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40830         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40831         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40832         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40833         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40834         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40835         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40836         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40837         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40838         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40839         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40840         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40841         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40842         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40843         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40844         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40845         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40846         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40847         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40848         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40849         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40850         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40851         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40852         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40853         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40855         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40856         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40857         * include/ifunc-impl-list.h: New file.
40858         * misc/ifunc-impl-list.c: Likewise.
40859         * misc/Makefile (routines): Add ifunc-impl-list.
40860         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40861         * string/test-string.h: Include <ifunc-impl-list.h>.
40862         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40863         TEST_NAME]: New variables.
40864         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40865         are defined.
40866         (test_init): Call __libc_ifunc_impl_list to initialize
40867         func_list if TEST_IFUNC and TEST_NAME are defined.
40869         * string/Makefile (strop-tests): Add bcopy and bzero.
40870         * string/test-bcopy.c: New file.
40871         * string/test-bzero.c: Likewise.
40872         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40873         defined.
40874         * string/test-memset.c: Support bzero test if TEST_BZERO is
40875         defined.
40876         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40877         __libc_memmove.
40878         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40879         __libc_memset.
40880         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40881         of memset.
40883 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
40885         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40886         * configure: Regenerated.
40888         * Makeconfig (+link-static-before-libc): Don't include
40889         $(link-static-libc).
40891         * libio/libio.h (_IO_pos_t): Remove.
40893 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40895         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
40896         McGrath.
40898 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40900         * crypt/crypt-entry.c: Include fips-private.h.
40901         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40902         * crypt/md5c-test.c (main): Tolerate disabled MD5.
40903         * sysdeps/unix/sysv/linux/fips-private.h: New file.
40904         * sysdeps/generic/fips-private.h: New file, dummy fallback.
40906 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40908         * crypt/crypt-private.h: Include stdbool.h.
40909         (_ufc_setup_salt_r): Return bool.
40910         * crypt/crypt-entry.c: Include errno.h.
40911         (__crypt_r): Return NULL with EINVAL for bad salt.
40912         * crypt/crypt_util.c (bad_for_salt): New.
40913         (_ufc_setup_salt_r): Check that salt is long enough and within
40914         the specified alphabet.
40915         * crypt/badsalttest.c: New file.
40916         * crypt/Makefile (tests): Add it.
40917         ($(objpfx)badsalttest): New.
40919 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
40921         * NEWS: Add entry for BZ #14602.
40923 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40925         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40926         type-generic.
40927         * math/libm-test.inc: Update comment listing what functions and
40928         macros are tested.
40929         (isgreater_test): New function.
40930         (isgreaterequal_test): Likewise.
40931         (isless_test): Likewise.
40932         (islessequal_test): Likewise.
40933         (islessgreater_test): Likewise.
40934         (isunordered_test): Likewise.
40935         (main): Call the new functions.
40937 2012-10-09  Roland McGrath  <roland@hack.frob.com>
40939         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40940         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40941         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40942         * sysdeps/i386/configure: Regenerated.
40943         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40944         * sysdeps/mach/configure: Regenerated.
40945         * sysdeps/mach/hurd/configure: Regenerated.
40946         * sysdeps/powerpc/configure: Regenerated.
40947         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40948         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40949         * sysdeps/s390/s390-32/configure: Regenerated.
40950         * sysdeps/s390/s390-64/configure: Regenerated.
40951         * sysdeps/sh/configure: Regenerated.
40952         * sysdeps/sparc/configure: Regenerated.
40953         * sysdeps/unix/sysv/linux/configure: Regenerated.
40954         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40955         * sysdeps/x86_64/configure: Regenerated.
40957         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40958         defined.  Don't check if MAP is NULL.
40960 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40962         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40963         (_G_stat64): Likewise.
40964         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40965         (_G_stat64): Likewise.
40966         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40967         instead of struct _G_stat64.
40968         * libio/fileops.c (mmap_remap_check): Likewise.
40969         (decide_maybe_mmap): Likewise.
40970         (_IO_new_file_seekoff): Likewise.
40971         (_IO_file_stat): Likewise.
40972         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40973         _G_off64_t.
40974         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40975         instead of struct _G_stat64.
40976         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40978 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
40980         [BZ #14602]
40981         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40982         Replace with ...
40983         (CHECK_EOL): New macro.
40984         (two_way_short_needle): Check beginning of haystack for EOL.  Use
40985         CHECK_EOL.
40986         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40987         Replace with CHECK_EOL.
40988         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40989         Replace with CHECK_EOL.
40991 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
40993         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40994         type-generic.
40995         * math/libm-test.inc: Update comment listing what functions and
40996         macros are tested.
40997         (finite_test): New function.
40998         (isinf_test): Likewise.
40999         (isnan_test): Likewise.
41000         (fpclassify_test): Test subnormal input.
41001         (isfinite_test): Likewise.
41002         (isnormal_test): Likewise.
41003         (main): Call the new functions.
41005 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
41007         [BZ #14660]
41008         * Makerules (%.dynsym): Force C locale when running
41009         $(OBJDUMP) --dynamic-syms.
41011 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
41013         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
41014         <stdint.h>.
41016 2012-10-06  David S. Miller  <davem@davemloft.net>
41018         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
41019         upper 32-bits of the length value in %o2 since we use branch-on-register
41020         tests which consider the entire 64-bit register.
41022 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
41024         * string/test-strstr.c (check2): Add a test for page boundary.
41026 2012-10-05  David S. Miller  <davem@davemloft.net>
41028         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
41029         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
41030         file.
41031         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41032         sysdep_routines.
41033         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41034         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
41035         and bzero when HWCAP_SPARC_CRYPTO is present.
41037 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
41039         [BZ #14602]
41040         * string/test-strstr.c (check2): New function.
41041         (test_main): Call check2.
41043         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
41044         and bug-strchr1.
41045         * string/bug-strcasestr1.c (do_test): Moved to ...
41046         * string/test-strcasestr.c (check1): Here.  New function.
41047         (do_one_test): Break out result checking code into ...
41048         (check_result): This.  New function.
41049         (do_one_test): Call check_result.
41050         (test_main): Call check1.
41051         * string/bug-strchr1.c (do_test): Moved to ...
41052         * string/test-strchr.c (check1): Here.  New function.
41053         (do_one_test): Break out result checking code into ...
41054         (check_result): This.  New function.
41055         (do_one_test): Call check_result.
41056         (test_main): Call check1.
41057         * string/bug-strstr1.c (main): Moved to ...
41058         * string/test-strstr.c (check1): Here.  New function.
41059         (do_one_test): Break out result checking code into ...
41060         (check_result): This.  New function.
41061         (do_one_test): Call check_result.
41062         (test_main): Call check1.
41063         * string/bug-strcasestr1.c: Removed.
41064         * string/bug-strchr1.c: Likewise.
41065         * string/bug-strstr1.c: Likewise.
41067         * elf/Makefile (dl-routines): Add hwcaps.
41068         * elf/dl-support.c (_dl_important_hwcaps): Removed.
41069         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
41070         (_dl_important_hwcaps): Moved to ...
41071         * elf/dl-hwcaps.c: Here.  New file.
41072         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
41074         [BZ #14557]
41075         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
41076         if IS_IN_rtld isn't defined.
41078         * elf/dl-support.c (_dl_sysinfo_map): New.
41079         Include "get-dynamic-info.h" and "setup-vdso.h".
41080         (_dl_non_dynamic_init): Call setup_vdso.
41081         * elf/dynamic-link.h: Don't include <assert.h>.
41082         (elf_get_dynamic_info): Moved to ...
41083         * elf/get-dynamic-info.h: Here.  New file.
41084         * elf/dynamic-link.h: Include "get-dynamic-info.h".
41085         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
41086         * elf/setup-vdso.h: Here.  New file.
41087         * elf/rtld.c: Include "setup-vdso.h".
41088         (dl_main): Call setup_vdso.
41090 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
41092         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
41093         creal in comment listing functions tested.  List finite, isinf,
41094         isnan, isless, islessequal, isgreater, isgreaterequal,
41095         islessgreater, isunordered, lgamma_r and pow10 as functions and
41096         macros not tested.  Mention which functions not tested are aliases
41097         for other functions.  Fix typo.  Note that signs of NaNs are not
41098         tested.
41100         * scripts/config.guess: Update from config.git.
41101         * scripts/config.sub: Likewise.
41103 2012-10-04  Roland McGrath  <roland@hack.frob.com>
41105         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
41106         * misc/madvise.c (madvise): Renamed to __madvise.
41107         Make madvise a weak alias.
41108         * include/sys/mman.h: Declare __madvise.
41109         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
41110         * sysdeps/unix/syscalls.list
41111         (madvise): Make __madvise the strong name, and madvise a weak alias.
41112         * sysdeps/unix/sysv/linux/syscalls.list
41113         (madvise, mmap): Remove redundant entries.
41114         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
41115         * malloc/malloc.c (mtrim): Likewise.
41116         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
41118 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41120         * sysdeps/mach/hurd/dl-cache.c: File removed.
41121         * config.h.in (USE_LDCONFIG): New #undef.
41122         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
41123         * configure: Regenerated.
41124         * elf/Makefile (dl-routines): Add dl-cache only under
41125         [$(use-ldconfig) = yes].
41126         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
41127         cache on [USE_LDCONFIG].
41128         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
41129         [USE_LDCONFIG].
41130         * elf/rtld.c (dl_main): Likewise.
41132 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
41134         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41135         _SC_LEVEL4_CACHE_LINESIZE.
41137 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41139         * sysdeps/unix/bsd/confstr.h: File removed.
41141 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
41143         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41144         sys/sdt-config.h.
41146 2012-10-02  Roland McGrath  <roland@hack.frob.com>
41148         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41149         Make 'mapoff' field ElfW(Off) rather than off_t.
41151 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
41153         * nscd/Makefile: Remove nscd-cflags and all its users.
41154         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41155         (CFLAGS-nonlib): Add compiler flags for nscd modules.
41157         [BZ #10631]
41158         * malloc.c (malloc_printerr): Clarify error message.
41160 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
41162         [BZ #14648]
41163         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41164         Set bit_FMA_Usable if FMA is supported.
41165         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41166         macro.
41167         (bit_FMA4_Usable): Updated.
41168         (index_FMA_Usable): New macro.
41169         (CPUID_FMA): Likewise
41170         (HAS_FMA): Defined with bit_FMA_Usable.
41172 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41174         * bits/types.h (__swblk_t): Type removed.
41175         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41176         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41177         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41178         (__SWBLK_T_TYPE): Likewise.
41179         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41180         (__SWBLK_T_TYPE): Likewise.
41181         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41182         (__SWBLK_T_TYPE): Likewise.
41183         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41184         (__SWBLK_T_TYPE): Likewise.
41186 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
41187             Honza Horak <hhorak@redhat.com>
41189         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41190         (xdr_mapname): Use YPMAXMAP as maxsize.
41191         (xdr_peername): Use YPMAXPEER as maxsize.
41192         (xdr_keydat): Use YPAXRECORD as maxsize.
41193         (xdr_valdat): Use YPMAXRECORD as maxsize.
41195 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41197         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41199         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41200         * csu/init-first.c: ... here.
41201         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41202         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41203         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41204         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41205         * sysdeps/i386/init-first.c: File removed.
41206         * sysdeps/sh/init-first.c: File removed.
41208 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
41210         [BZ #14645]
41211         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41212         if x * y might underflow to zero and z is zero.
41213         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41214         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41215         * math/libm-test.inc (min_subnorm_value): New variable.
41216         (fma_test): Add more tests.
41217         (fma_test_towardzero): Likewise.
41218         (fma_test_downward): Likewise
41219         (fma_test_upward): Likewise.
41220         (initialize): Set min_subnorm_value.
41222 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
41224         [BZ #14638]
41225         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41226         0 + 0.
41227         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41228         mode for addition resulting in exact zero.
41229         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41230         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41231         exact 0 + 0.
41232         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41233         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41234         * math/libm-test.inc (fma_test): Add more tests.
41235         (fma_test_towardzero): New function.
41236         (fma_test_downward): Likewise.
41237         (fma_test_upward): Likewise.
41238         (main): Call the new functions.
41240 2012-09-28  David S. Miller  <davem@davemloft.net>
41242         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41244 2012-09-28  Roland McGrath  <roland@hack.frob.com>
41246         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41247         instead of SIGALRM.
41249         * sysdeps/gnu/_G_config.h: Moved to ...
41250         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41251         * sysdeps/mach/hurd/_G_config.h: Moved to ...
41252         * sysdeps/generic/_G_config.h: ... here.
41254         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
41256         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41258         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41259         Conditionalize target on [libnss_test1.so-version].
41261         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41263         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41264         (elfobjdir): Move out of conditionals.
41266         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41267         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41268         (__nss_lookup_function): Conditionalize label remove_from_tree on
41269         [!DO_STATIC_NSS || SHARED], matching its only use.
41271 2012-09-28  David S. Miller  <davem@davemloft.net>
41273         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41274         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41275         file.
41276         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41277         sysdep_routines.
41278         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41279         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41280         when HWCAP_SPARC_CRYPTO is present.
41282 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41284         * io/tst-mknodat.c: Create a FIFO instead of a socket.
41286 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
41288         [BZ #6530]
41289         * stdio-common/vfprintf.c (process_string_arg): Revert
41290         2000-07-22 change.
41292 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
41294         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41295         for testcase.
41296         * stdio-common/tst-sprintf.c: Include <locale.h>
41297         (main): Test sprintf's handling of incomplete multibyte
41298         characters.
41300 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
41302         * elf/dl-runtime.c (VERSYMIDX): Removed.
41303         * elf/dl-version.c (VERSYMIDX): Likewise.
41304         * elf/do-rel.h (VERSYMIDX): Likewise.
41305         (VALIDX): Likewise.
41306         * elf/dynamic-link.h (VERSYMIDX): Likewise.
41307         * elf/rtld.c (VALIDX): Likewise.
41308         (ADDRIDX): Likewise.
41309         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41310         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41311         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41312         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41313         (VALIDX): Likewise.
41314         (ADDRIDX): Likewise.
41316 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41318         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41320 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
41322         [BZ #11438]
41323         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41324         to global scope.
41325         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41326         addresses are in the same scope as 192.0.2/24.
41327         * posix/gai.conf: Document new scope table defaults.
41329 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41331         [BZ #5298]
41332         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41333         for ftell.  Compute offsets from write pointers instead.
41334         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41336 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41338         [BZ #14543]
41339         * libio/Makefile (tests): New test case tst-fseek.
41340         * libio/tst-fseek.c: New test case to verify that fseek/ftell
41341         combination works in wide mode.
41342         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41343         state when the external buffer state changes.
41345 2012-09-27  David S. Miller  <davem@davemloft.net>
41347         [BZ #14376]
41348         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41349         pass reloc->r_addend in as the 'high' argument to
41350         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41352         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41354 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41356         * rt/tst-aio2.c: Include <pthread.h>.
41357         * rt/tst-aio3.c: Likewise.
41359 2012-09-27  Steve Ellcey  <sellcey@mips.com>
41361         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41363 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
41365         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41366         contents on [SHARED].
41368 2012-09-26  Marek Polacek  <polacek@redhat.com>
41370         [BZ #14530]
41371         [BZ #13741]
41372         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41373         for C++ and GCC <4.3 as well as for non GCC compilers.
41375 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41377         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41379 2012-09-25  Roland McGrath  <roland@hack.frob.com>
41381         * Makefile.in (all, install): Declare with .PHONY.
41382         Reported by Michael Hope <michael.hope@linaro.org>.
41384 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41386         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41387         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41388         system header.
41389         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41390         Likewise.
41391         (sydep_routines): Add the new and the internal functions.
41392         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41393         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41395         (GLIBC_2.17): Add the new function.
41396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41397         (GLIBC_2.17): Likewise.
41398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41399         (GLIBC_2.17): Likewise.
41400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41401         (GLIBC_2.17): Likewise.
41402         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41404 2012-09-25  Alan Modra  <amodra@gmail.com>
41406         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41407         Add release barrier before setting once_control to say
41408         initialisation is done.  Add hints on lwarx.  Use macro in
41409         place of isync.
41410         (clear_once_control): Add release barrier.
41412 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41414         [BZ #13629]
41415         * math/s_clog.c (__clog): Handle more values close to |z| = 1
41416         specially.
41417         * math/s_clog10.c (__clog10): Likewise.
41418         * math/s_clog10f.c (__clog10f): Likewise.
41419         * math/s_clog10l.c (__clog10l): Likewise.
41420         * math/s_clogf.c (__clogf): Likewise.
41421         * math/s_clogl.c (__clogl): Likewise.
41422         * math/Makefile (libm-calls): Add x2y2m1.
41423         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41424         (__x2y2m1): Likewise.
41425         (__x2y2m1l): Likewise.
41426         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41427         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41428         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41429         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41430         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41431         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41432         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41433         * sysdeps/i386/fpu/libm-test-ulps: Update.
41434         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41436         [BZ #14621]
41437         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41438         int as type of variable DEPTH.
41439         (glob): Use size_t instead of int as type of variables NEWCOUNT
41440         and OLD_PATHC.
41442 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41444         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41445         Add s_sincosf-sse2.
41446         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41447         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41448         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41449         macros for using routine as __sincosf_ia32.
41450         Use macro for function declaration and weak_alias.
41451         * sysdeps/i386/fpu/libm-test-ulps: Update.
41453         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41454         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41456         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41457         subnormal argument.
41458         * math/s_cexpf.c (__cexpf): Likewise.
41459         * math/s_csinf.c (__csinf): Likewise.
41460         * math/s_csinhf.c (__csinhf): Likewise.
41461         * math/s_ctanf.c (__ctanf): Likewise.
41462         * math/s_ctanhf.c (__ctanhf): Likewise.
41463         * math/s_ccosh.c (__ccoshf): Likewise.
41464         * math/s_cexp.c (__cexpl): Likewise.
41465         * math/s_csin.c (__csin): Likewise.
41466         * math/s_csinh.c (__csinh): Likewise.
41467         * math/s_ctan.c (__ctan): Likewise.
41468         * math/s_ctanh.c (ctanh): Likewise.
41469         * math/s_ccoshl.c (__ccoshl): Likewise.
41470         * math/s_cexpl.c (__cexpl): Likewise.
41471         * math/s_csinl.c (__csinl): Likewise.
41472         * math/s_csinhl.c (__csinhl): Likewise.
41473         * math/s_ctanl.c (__ctanl): Likewise.
41474         * math/s_ctanhl.c (__ctanhl): Likewise.
41476 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41478         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41479         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41480         (_IO_off_t): Define to __off_t, not _G_off_t.
41481         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41482         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41483         (_IO_wint_t): Define to wint_t, not _G_wint_t.
41484         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41485         type of __dummy and __dummy2 fields.
41486         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41487         (_G_ssize_t): Likewise.
41488         (_G_off_t): Likewise.
41489         (_G_pid_t): Likewise.
41490         (_G_uid_t): Likewise.
41491         (_G_wchar_t): Likewise.
41492         (_G_wint_t): Likewise.
41493         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41494         (_G_ssize_t): Likewise.
41495         (_G_off_t): Likewise.
41496         (_G_pid_t): Likewise.
41497         (_G_uid_t): Likewise.
41498         (_G_wchar_t): Likewise.
41499         (_G_wint_t): Likewise.
41500         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41501         (_G_ssize_t): Likewise.
41502         (_G_off_t): Likewise.
41503         (_G_pid_t): Likewise.
41504         (_G_uid_t): Likewise.
41505         (_G_wchar_t): Likewise.
41506         (_G_wint_t): Likewise.
41508 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41510         * malloc/arena.c: Include malloc-sysdep.h.
41511         (shrink_heap): Use check_may_shrink_heap to decide if madvise
41512         is sufficient to shrink the heap or an unmap is needed.
41513         * sysdeps/generic/malloc-sysdep.h: New file.  Define
41514         new function check_may_shrink_heap.
41515         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
41516         new function check_may_shrink_heap.
41518 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41520         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41521         comments.
41523 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
41525         * catgets/test-gencat.sh: Add "set -e".
41526         * elf/tst-pathopt.sh: Likewise.
41527         * grp/tst_fgetgrent.sh: Likewise.
41528         * iconvdata/run-iconv-test.sh: Likewise.
41529         * intl/tst-gettext.sh: Likewise.
41530         * intl/tst-gettext2.sh: Likewise.
41531         * intl/tst-gettext4.sh: Likewise.
41532         * intl/tst-gettext6.sh: Likewise.
41533         * intl/tst-translit.sh: Likewise.
41534         * io/ftwtest-sh: Likewise.
41535         * libio/test-freopen.sh: Likewise.
41536         * malloc/tst-mtrace.sh: Likewise.
41537         * posix/globtest.sh: Likewise.
41538         * posix/tst-getconf.sh: Likewise.
41539         * posix/wordexp-tst.sh: Likewise.
41540         * stdio-common/tst-printf.sh: Likewise.
41541         * stdio-common/tst-unbputc.sh: Likewise.
41542         * stdlib/tst-fmtmsg.sh: Likewise.
41543         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41544         * catgets/Makefile: Do not specify -e option when running
41545         testsuite shell scripts.
41546         * elf/Makefile: Likewise.
41547         * grp/Makefile: Likewise.
41548         * iconvdata/Makefile: Likewise.
41549         * intl/Makefile: Likewise.
41550         * io/Makefile: Likewise.
41551         * libio/Makefile: Likewise.
41552         * malloc/Makefile: Likewise.
41553         * posix/Makefile: Likewise.
41554         * stdio-common/Makefile: Likewise.
41555         * stdlib/Makefile: Likewise.
41556         * sysdeps/x86_64/Makefile: Likewise.
41558         * io/ftwtest-sh: Add copyright header.
41559         * posix/globtest.sh: Likewise.
41560         * posix/tst-getconf.sh: Likewise.
41561         * posix/wordexp-tst.sh: Likewise.
41562         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41564 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
41566         [BZ #13679]
41567         * Makeconfig (+link): Defined as $(+link-static) if
41568         $(build-shared) isn't yes.
41569         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41570         isn't yes.
41571         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41573         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41575         [BZ #14562]
41576         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41577         new chunk size with MALLOC_ALIGN_MASK.
41579 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
41581         [BZ #5044]
41582         * stdio-common/printf_fphex.c: Include <stdbool.h> and
41583         <rounding-mode.h>.
41584         (__printf_fphex): Determine rounding using get_rounding_mode and
41585         round_away.
41586         * stdio-common/tst-printf-round.c (struct hex_test): New
41587         structure.
41588         (hex_tests): New variable.
41589         (test_hex_in_one_mode): New function.
41590         (do_test): Also run tests for hex float output.
41592 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
41594         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41595         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41596         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41597         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41598         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41599         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41600         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41601         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41603 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
41605         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41606         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41607         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41608         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41610 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
41612         [BZ #14579]
41613         * elf/rtld.c (dl_main): Limit the check for self loading to normal
41614         mode only.
41615         * elf/tst-rtld-load-self.sh: New test.
41616         * elf/Makefile: Run it.
41618 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
41620         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41621         (tst-writev-ENV): Remove.
41622         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41624 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
41626         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41628 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
41630         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41631         unconditional.
41632         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41633         Likewise.
41634         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41635         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41636         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41637         Likewise.
41639 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
41641         [BZ #14587]
41642         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41643         * config.make.in (have-cpp-asm-debuginfo): Removed.
41644         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41645         * configure: Regenerated.
41647 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
41649         [BZ #5044]
41650         * stdio-common/printf_fp.c: Include <stdbool.h> and
41651         <rounding-mode.h>.
41652         (___printf_fp): Determine rounding using get_rounding_mode and
41653         round_away.
41654         * stdio-common/tst-printf-round.c: New file.
41655         * stdio-common/Makefile (tests): Add tst-printf-round.
41656         (link-libm): New variable.
41657         ($(objpfx)tst-printf-round): Depend in $(link-libm).
41659 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
41661         [BZ #14576]
41662         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41663         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41664         Likewise.
41665         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41666         Likewise.
41668 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
41670         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41671         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41672         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41673         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41675 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
41677         [BZ #14518]
41678         * include/rounding-mode.h: New file.
41679         * sysdeps/generic/get-rounding-mode.h: Likewise.
41680         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41681         * stdlib/strtod_l.c: Include <rounding-mode.h>.
41682         (MAX_VALUE): New macro.
41683         (MIN_VALUE): Likewise.
41684         (overflow_value): New function.
41685         (underflow_value): Likewise.
41686         (round_and_return): Use overflow_value and underflow_value to
41687         determine return values in overflow and underflow cases.  Use
41688         round_away to determine rounding depending on rounding mode.
41689         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41690         determine return values in overflow and underflow cases.
41691         * stdlib/tst-strtod-round.c: Include <fenv.h>.
41692         (struct test_results): New structure.
41693         (struct test): Use struct test_results to store expected results
41694         for all rounding modes.
41695         (TEST): Include expected results for all rounding modes.
41696         (test_in_one_mode): New function.
41697         (do_test): Use test_in_one_mode to compute and check results.
41698         Check results for all rounding modes.
41699         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41700         $(link-libm).
41702 2012-12-09  Allan McRae  <allan@archlinux.org>
41704         * sysdeps/i386/fpu/libm-test-ulps: Update
41706 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
41708         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41709         (_G_int32_t): Likewise.
41710         (_G_uint16_t): Likewise.
41711         (_G_uint32_t): Likewise.
41712         (_G_HAVE_BOOL): Likewise.
41713         (_G_HAVE_ATEXIT): Likewise.
41714         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41715         (_G_HAVE_IO_FILE_OPEN): Likewise.
41716         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41717         (_G_int32_t): Likewise.
41718         (_G_uint16_t): Likewise.
41719         (_G_uint32_t): Likewise.
41720         (_G_HAVE_BOOL): Likewise.
41721         (_G_HAVE_ATEXIT): Likewise.
41722         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41723         (_G_HAVE_IO_FILE_OPEN): Likewise.
41724         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41725         (_G_int32_t): Likewise.
41726         (_G_uint16_t): Likewise.
41727         (_G_uint32_t): Likewise.
41728         (_G_HAVE_BOOL): Likewise.
41729         (_G_HAVE_ATEXIT): Likewise.
41730         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41731         (_G_HAVE_IO_FILE_OPEN): Likewise.
41733 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
41735         * csu/libc-tls.c: Update copyright years.
41737 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
41739         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41740         [!_G_USING_THUNKS]: Remove conditional code.
41741         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41742         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41744         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41745         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41746         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41747         (_G_VTABLE_LABEL_PREFIX): Likewise.
41748         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41749         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41750         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41751         (_G_VTABLE_LABEL_PREFIX): Likewise.
41752         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41753         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41754         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41755         (_G_VTABLE_LABEL_PREFIX): Likewise.
41756         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41758 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
41760         * libio/Makefile: Include ../Makeconfig before tests.
41761         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41762         only if $(build-shared) is yes.
41764         * iconv/gconv_db.c: Update copyright years.
41766 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41768         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41769         unwind info if defined PIC. Fix special cases description.
41770         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41772         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41773         DP_HI_MASK entry.
41774         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41776 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
41778         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41780         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41781         is NULL.
41783         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41784         (LDLIBS-tst-chk4): This.
41785         (LDFLAGS-tst-chk5): Renamed to ...
41786         (LDLIBS-tst-chk5): This.
41787         (LDFLAGS-tst-chk6): Renamed to ...
41788         (LDLIBS-tst-chk6): This.
41789         (LDFLAGS-tst-lfschk4): Renamed to ...
41790         (LDLIBS-tst-lfschk4): This.
41791         (LDFLAGS-tst-lfschk5): Renamed to ...
41792         (LDLIBS-tst-lfschk5): This.
41793         (LDFLAGS-tst-lfschk6): Renamed to ...
41794         (LDLIBS-tst-lfschk6): This.
41796         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41797         on $(common-objpfx)soversions.mk.
41799 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
41801         [BZ #10014]
41802         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41803         example host name.
41805 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41807         * malloc/arena.c (arena_get_retry): New function that gets
41808         another arena for the caller to try its request on.
41809         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41810         current arena cannot fulfill the request.
41811         (__libc_memalign): Likewise.
41812         (__libc_memalign): Likewise.
41813         (__libc_pvalloc): Likewise.
41814         (__libc_calloc): Likewise.
41816 2012-09-05  John Tobey  <john.tobey@gmail.com>
41818         [BZ #13542]
41819         * manual/arith.texi (Operations on Complex): Fix description
41820         of carg branch cut.
41822 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41824         [BZ #10014]
41825         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41826         host name.
41828         [BZ #10038]
41829         * manual/memory.texi (Memory): Make order of menu items match
41830         order of sections.
41832 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41834         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41835         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
41836         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41838 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41840         * csu/libc-tls.c (static_dtv): Renamed to ...
41841         (_dl_static_dtv): This.  Make it global.
41842         (_dl_initial_dtv): Removed.
41843         (__libc_setup_tls): Updated.
41844         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41845         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41846         DL_INITIAL_DTV.
41848 2012-09-06  Petr Machata  <pmachata@redhat.com>
41850         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41851         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41852         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41853         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41855 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41857         [BZ #14545]
41858         * csu/libc-tls.c (_dl_initial_dtv): New variable.
41859         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41860         freeing dtv[-1].
41862 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41864         [BZ #14544]
41865         * Makeconfig (link-static-before-libc): Replace $(+prector)
41866         with $(+prectorT).
41867         (link-static-after-libc): Replace $(+postctor) with
41868         $(+postctorT).
41869         (link-bounded): Replace $(+prector)/$(+postctor) with
41870         $(+prectorT)/$(+postctorT).
41871         (+prectorT): New macro.
41872         (+postctorT): Likewise.
41874 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41876         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41877         (round_str): Handle values above the maximum for IBM long double
41878         as inexact.
41879         * stdlib/tst-strtod-round.c (tests): Regenerated.
41881 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41883         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41884         assembler flag.
41885         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41886         zarch_nohighgprs around the zarch optimized routines.
41887         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41888         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41889         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41890         for zarch.
41892 2012-09-05  David S. Miller  <davem@davemloft.net>
41894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41896         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41897         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41898         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41899         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41900         entries.
41902 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41904         * malloc/arena.c: Fold copyright years.
41905         * malloc/mcheck.c, malloc/memusage.c: Likewise.
41907 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41909         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41911 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41913         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
41915 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41917         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41918         change internal state upon failure.
41920 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41922         * malloc/mcheck.c (mcheck_check_all): Fix typo.
41923         * malloc/memusage.c (mmap): Likewise.
41924         (mmap64, mremap): Likewise.  Adjust name in comment.
41926 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41928         * libio/fileops.c: Fix typos in comments.
41929         * libio/oldfileops.c: Likewise.
41930         * libio/wfileops.c: Likewise.
41932 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41934         [BZ #1349]
41935         * malloc/Makefile (tests): Add tst-malloc-usable test case.
41936         (tst-malloc-usable-ENV): Set environment for test case.
41937         * malloc/hooks.c (malloc_check_get_size): New function to get
41938         requested size.
41939         * malloc/malloc.c (musable): Use malloc_check_get_size.
41940         * malloc/tst-malloc-usable.c: New test case.
41942 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41944         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41946 2012-09-05  Allan McRae  <allan@archlinux.org>
41948         [BZ #13966]
41949         * configure.in (CXX_SYSINCLUDES): Use compiler output to
41950         determine header location.
41951         * configure: Regenerated.
41953 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41955         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41956         float format.
41957         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41958         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41959         format.
41960         (test): Regenerate.
41962 2012-09-04  David S. Miller  <davem@davemloft.net>
41964         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41965         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41966         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41968 2012-09-04  Florian Weimer  <fweimer@redhat.com>
41970         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41971         failures.
41973         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41975 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
41977         [BZ #9914]
41978         * libio/iogetdelim.c: Include <limits.h>.
41979         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41980         + len + 1 would overflow.
41982 2012-09-03  Andreas Jaeger  <aj@suse.de>
41984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41985         * sysdeps/i386/fpu/libm-test-ulps: Update.
41987 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41989         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41990         Add s_sinf-sse2, s_conf-sse2.
41992         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41993         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41994         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41995         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41997         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41998         for using routine as __sinf_ia32.
41999         Use macro for function declaration and weak_alias.
42000         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
42001         for using routine as __cosf_ia32.
42002         Use macro for function declaration and weak_alias.
42004         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
42005         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
42007         * sysdeps/x86_64/fpu/s_sinf.S: New file.
42008         * sysdeps/x86_64/fpu/s_cosf.S: New file.
42009         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42011         * math/libm-test.inc (cos_test): Add more test cases.
42012         (sin_test): Likewise.
42013         (sincos_test): Likewise.
42015 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42017         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
42018         (IFUNC_RESOLVE): Make pointers to the specialized implementations
42019         hidden.
42020         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42022 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
42024         [BZ #14538]
42025         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
42026         first element of the GOT.
42027         (elf_machine_load_address): Return the difference between
42028         the runtime address of _DYNAMIC and elf_machine_dynamic ().
42030 2012-09-01  Allan McRae  <allan@archlinux.org>
42032         [BZ #13412]
42033         * configure.in (AWK): Require gawk version 3.0 or later.
42034         * configure: Regenerated.
42036 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
42038         * sysdeps/unix/sysv/linux/kernel-features.h
42039         (__ASSUME_POSIX_CPU_TIMERS): Remove.
42040         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42041         [__NR_clock_getres]: Make code unconditional.
42042         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
42043         (clock_getcpuclockid): Remove code left unreachable by removal of
42044         conditionals.
42045         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
42046         code unconditional.
42047         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42048         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42049         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
42050         Make code unconditional.
42051         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
42052         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42053         * sysdeps/unix/sysv/linux/clock_settime.c
42054         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
42055         conditional code.
42056         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
42057         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
42059 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
42061         [BZ #14476]
42062         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
42063         scripts/test-installation.pl.
42065         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
42066         and $ld_so_version if it is set.
42068 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
42070         [BZ #14516]
42071         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
42072         failure if reading from procfs failed.
42073         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
42075 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42077         * sysdeps/unix/sysv/linux/kernel-features.h
42078         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
42079         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42080         Remove conditional code.
42081         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42082         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
42083         Remove conditional code.
42084         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42085         * sysdeps/unix/sysv/linux/i386/fxstat.c
42086         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42087         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42088         * sysdeps/unix/sysv/linux/i386/fxstatat.c
42089         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42090         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42091         * sysdeps/unix/sysv/linux/i386/lxstat.c
42092         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
42093         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42094         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
42095         Remove conditional code.
42096         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42097         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
42098         Remove conditional code.
42099         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42100         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
42101         <kernel-features.h>.
42102         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
42103         Remove.
42104         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
42105         Remove conditional code.
42106         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
42107         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
42108         Remove conditional.
42110 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
42112         [BZ #5400]
42113         * NEWS: Add fixed bug number.
42115 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
42117         [BZ #14519]
42118         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
42119         underflowing exponent in case of negative sign.
42120         * stdlib/tst-strtod-round-data: Add more tests.
42121         * stdlib/tst-strtod-round.c (tests): Regenerated.
42123         [BZ #3479]
42124         * stdlib/strtod_l.c (NDIG): Remove.
42125         (HEXNDIG): Likewise.
42126         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
42127         smallest representable value.
42128         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
42129         lie within an exact representation of 1/2 ulp of the result.
42130         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
42131         unconditionally.
42132         (TENS_P9_IDX): Define unconditionally.
42133         (TENS_P9_SIZE): Likewise.
42134         (TENS_P10_IDX): Likewise.
42135         (TENS_P10_SIZE): Likewise.
42136         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42137         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42138         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42139         entries for 10^2^13 and 10^2^14.
42140         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42141         (TENS_P13_IDX): Define.
42142         (TENS_P13_SIZE): Likewise.
42143         (TENS_P14_IDX): Likewise.
42144         (TENS_P14_SIZE): Likewise.
42145         (_fpioconst_pow10): Change array size to
42146         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
42147         unconditional.
42148         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42149         1024]: Add entries for 10^2^13 and 10^2^14.
42150         [LAST_POW10 > _LAST_POW10]: Remove #error.
42151         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42152         (_fpioconst_pow10): Change array size to
42153         FPIOCONST_POW10_ARRAY_SIZE.
42154         * stdlib/gen-fpioconst.c: New file.
42155         * stdlib/gen-tst-strtod-round.c: Likewise.
42156         * stdlib/tst-strtod-round-data: Likewise.
42157         * stdlib/tst-strtod-round.c: Likewise.
42158         * stdlib/Makefile (tests): Add tst-strtod-round.
42160         [BZ #14459]
42161         * stdlib/strtod_l.c: Include <stdint.h>.
42162         (NDEBUG): Do not define.
42163         (round_and_return): Change EXPONENT parameter to type intmax_t.
42164         Rearrange calculations to avoid internal overflow possibilities.
42165         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42166         Rearrange calculations to avoid internal overflow possibilities.
42167         Assert that number fits inside MPNSIZE limbs.
42168         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42169         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
42170         calculations and add assertions to avoid internal overflow
42171         possibilities.  Add casts to avoid signed/unsigned operations.
42172         * stdlib/tst-strtod-overflow.c: New file.
42173         * stdlib/Makefile (tests): Add tst-strtod-overflow.
42175 2012-08-25  Marek Polacek  <polacek@redhat.com>
42177         * time/time.h: Fix some typos in comments.
42179 2012-08-23  Roland McGrath  <roland@hack.frob.com>
42181         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42182         * posix/tst-rfc3484-2.c: Likewise.
42183         * posix/tst-rfc3484-3.c: Likewise.
42185 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
42187         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42188         (EF_ARM_ABI_FLOAT_HARD): Likewise.
42190 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
42192         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42193         #include of fxstatat64.c.
42195 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42197         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42198         * shadow/getspent_r.c: Likewise.
42199         * shadow/getspnam.c: Likewise.
42200         * shadow/getspnam_r.c: Likewise.
42201         * gshadow/getsgent.c: Likewise.
42202         * gshadow/getsgent_r.c: Likewise.
42203         * gshadow/getsgnam.c: Likewise.
42204         * gshadow/getsgnam_r.c: Likewise.
42205         * inet/getnetbyad.c: Likewise.
42206         * inet/getnetbyad_r.c: Likewise.
42207         * inet/getnetbynm.c: Likewise.
42208         * inet/getnetbynm_r.c: Likewise.
42209         * inet/getnetent.c: Likewise.
42210         * inet/getnetent_r.c: Likewise.
42211         * inet/getproto.c: Likewise.
42212         * inet/getproto_r.c: Likewise.
42213         * inet/getprtent.c: Likewise.
42214         * inet/getprtent_r.c: Likewise.
42215         * inet/getprtname.c: Likewise.
42216         * inet/getprtname_r.c: Likewise.
42217         * inet/getrpcbyname.c: Likewise.
42218         * inet/getrpcbyname_r.c: Likewise.
42219         * inet/getrpcbynumber.c: Likewise.
42220         * inet/getrpcbynumber_r.c: Likewise.
42221         * inet/getrpcent.c: Likewise.
42222         * inet/getrpcent_r.c: Likewise.
42223         * inet/getaliasent.c: Likewise.
42224         * inet/getaliasent_r.c: Likewise.
42225         * inet/getaliasname.c: Likewise.
42226         * inet/getaliasname_r.c: Likewise.
42227         * nscd/getgrgid_r.c: Likewise.
42228         * nscd/getgrnam_r.c: Likewise.
42229         * nscd/gethstbyad_r.c: Likewise.
42230         * nscd/gethstbynm3_r.c: Likewise.
42231         * nscd/getpwnam_r.c: Likewise.
42232         * nscd/getpwuid_r.c: Likewise.
42233         * nscd/getsrvbynm_r.c: Likewise.
42234         * nscd/getsrvbypt_r.c: Likewise.
42235         * nscd/gai.c: Likewise.
42237         * configure.in (build_nscd): New substituted variable, set
42238         by --disable-build-nscd and defaults to $use_nscd.
42239         * configure: Regenerated.
42240         * config.make.in (build-nscd): New substituted variable.
42241         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42242         Change conditional to require [$(build-nscd) = yes] as well.
42243         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42245         [BZ# 13696]
42246         * configure.in (use_nscd): New substituted variable, set by
42247         --disable-nscd.  If enabled, define USE_NSCD.
42248         * configure: Regenerated.
42249         * config.h.in: Add USE_NSCD.
42250         * config.make.in (use-nscd): New substituted variable.
42251         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42252         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42253         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42254         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42255         (CFLAGS-getgrnam_r.c): Likewise.
42256         (CFLAGS-initgroups.c): Likewise.
42257         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42258         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42259         Variables removed.
42260         * inet/getnetgrent_r.c
42261         (nscd_setnetgrent): New function, broken out of ...
42262         (setnetgrent): ... here.  Call it.
42263         (innetgr): Conditionalize nscd bits on [USE_NSCD].
42264         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42265         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42266         * nscd/Makefile (routines, aux): Move definitions after include of
42267         Makeconfig.  Conditionalize on [$(use-nscd) != no].
42268         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42269         Conditionalize on [USE_NSCD].
42270         (is_nscd, nscd_init_cb): Likewise.
42271         (nss_load_library): Conditionalize init callback on [USE_NSCD].
42272         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42273         * nss/nss_db/db-init.c: Likewise.
42274         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42275         [USE_NSCD].
42276         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42277         (make_request): Use it.
42278         (cache_valid_p): New function.
42279         (__check_pf): Use it.
42280         * NEWS: Add item for --disable-nscd.
42282 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
42284         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42285         to support sed >= 4.2.1-20-ga9bf076.
42286         * configure: Regenerated.
42288 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42290         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42291         Conditionalize whole body on [IREL].
42293 2012-08-22  Jeff Law <law@redhat.com>
42295         [BZ #14505]
42296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42297         if the family is PF_UNSPEC.
42299 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
42301         * Makerules (lib-version): Rename from V.
42302         (install-lib-nosubdir): Change V to lib-version.
42304 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
42306         [BZ #14252]
42307         * powerpc32/power6/wcschr.c: New file.
42308         * powerpc32/power6/wcscpy.c: New file.
42309         * powerpc32/power6/wcsrchr.c: New file.
42310         * powerpc64/power6/wcschr.c: New file.
42311         * powerpc64/power6/wcscpy.c: New file.
42312         * powerpc64/power6/wcsrchr.c: New file.
42314 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42316         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42317         (two_way_short_needle): Use it.
42318         * string/strstr.c (AVAILABLE1_USES_J): Define.
42319         * string/strcasestr.c: Likewise.
42321         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42322         array references.
42323         * string/strcasestr.c (TOLOWER): Make side-effect safe.
42325         [BZ #11607]
42326         * NEWS: Add an entry.
42327         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42328         define their defaults.
42329         (two_way_short_needle): Detect end-of-string on-the-fly.
42330         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42331         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42332         * string/bug-strcasestr1.c: New test.
42333         * string/Makefile: Run it.
42335 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42337         [BZ #11607]
42338         * string/str-two-way.h (two_way_short_needle): Optimize matching of
42339         the first character.
42341 2012-08-21  Roland McGrath  <roland@hack.frob.com>
42343         * csu/elf-init.c (__libc_csu_irel): Function removed.
42344         * csu/libc-start.c (apply_irel): New function.
42345         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42347 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
42349         * sysdeps/unix/sysv/linux/kernel-features.h
42350         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42351         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42352         <kernel-features.h>.
42353         [__NR_fadvise64_64]: Make code unconditional.
42354         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42355         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42356         !__NR_fadvise64_64)]: Likewise.
42357         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42358         !__NR_fadvise64_64))]: Likewise.
42359         [__NR_fadvise64]: Make code unconditional.
42360         [!__NR_fadvise64]: Remove conditional code.
42361         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42362         <kernel-features.h>.
42363         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42364         unconditional.
42365         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42366         conditional code.
42367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42368         not include <kernel-features.h>.
42369         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42370         unconditional.
42371         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42372         conditional code.
42373         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42374         include <kernel-features.h>.
42375         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42376         unconditional.
42377         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42378         conditional code.
42380 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42382         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42383         slight instruction rearrangements per scrollpipe analysis.
42384         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42386 2012-08-20  Roland McGrath  <roland@hack.frob.com>
42388         * manual/syslog.texi (syslog; vsyslog, closelog):
42389         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42390         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42392         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42393         DSOCAPS to match condition on defining it.
42395 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
42397         * sysdeps/unix/sysv/linux/kernel-features.h
42398         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42400         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42401         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42403         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42404         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42406         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42407         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42409         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42410         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42412         * sysdeps/unix/sysv/linux/kernel-features.h
42413         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42414         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42415         unconditional.
42416         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42417         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42418         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42419         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42420         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42421         Make code unconditional.
42422         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42423         (__mmap64) [!__NR_mmap2]: Likewise.
42424         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42425         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42426         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42427         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42428         [__NR_mmap2]: Make code unconditional.
42429         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42430         (__mmap64) [!__NR_mmap2]: Likewise.
42432 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42434         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42436 2012-08-18  Andreas Jaeger  <aj@suse.de>
42438         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42440 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42442         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42443         * include/unistd.h (__have_sock_cloexec): Likewise.
42444         (__have_pipe2): Likewise.
42445         (__have_dup3): Likewise.
42447 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42449         [BZ #9685]
42450         * include/unistd.h (__have_pipe2): Change define into an extern int.
42451         (__have_dup3): Likewise.
42452         * socket/have_sock_cloexec.c: Include fcntl.h.
42453         (__have_pipe2): New variable.
42454         (__have_dup3): Likewise.
42456 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
42458         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42460 2012-08-17  Marek Polacek  <polacek@redhat.com>
42462         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42463         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42465 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42467         * configure.in: Add AC_SUBST for sysheaders.
42468         * configure: Regenerated.
42469         * config.make.in (sysheaders): New substituted variable.
42471         * sysdeps/unix/mkfifo.c: Moved ...
42472         * sysdeps/posix/mkfifo.c: ... here.
42473         * sysdeps/unix/mkfifoat.c: Moved ...
42474         * sysdeps/posix/mkfifoat.c: ... here.
42476         * sysdeps/unix/utime.c: Moved ...
42477         * sysdeps/posix/utime.c: ... here.
42479         * sysdeps/unix/time.c: Moved ...
42480         * sysdeps/posix/time.c: ... here.
42481         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42482         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42484         * sysdeps/unix/nice.c: Moved ...
42485         * sysdeps/posix/nice.c: ... here.
42487         * sysdeps/unix/alarm.c: Moved ...
42488         * sysdeps/posix/alarm.c: ... here.
42490         * intl/Makefile ($(codeset_mo)): Depend on the input file.
42492 2012-08-17  Jeff Law <law@redhat.com>
42494         * intl/Makefile (codeset_mo): New variable.
42495         ($(codeset_mo)): New target.
42496         (tst-codeset.out): Depend on that.  Remove explicit rule.
42497         (tst-gettext3.out, tst-gettext5.out): Likewise.
42498         (LOCPATH-ENV, tst-codeset-ENV): New variables.
42499         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42500         * intl/tst-codeset.sh: Remove.
42501         * intl/tst-gettext3.sh: Likewise.
42502         * intl/tst-gettext5.sh: Likewise.
42504 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42506         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
42507         * sysdeps/unix/syscalls.list: ... here.
42509         * sysdeps/posix/getaddrinfo.c
42510         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42511         (gaiconf_init, gaiconf_reload): Use them.
42512         [!_STATBUF_ST_NSEC]
42513         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42514         Define using time_t rather than struct timespec.
42516         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42517         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42518         Macros removed.
42519         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42520         [!NO_THREADS].
42521         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42522         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42523         Likewise.
42525         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42526         __libc_cleanup_push argument.
42528         * bits/param.h: New file.
42529         * misc/sys/param.h: New file.
42530         * include/sys/param.h: New file.
42531         * misc/Makefile (headers): Add bits/param.h.
42532         * sysdeps/generic/sys/param.h: File removed.
42533         * sysdeps/unix/sysv/linux/bits/param.h: New file.
42534         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42535         * sysdeps/mach/hurd/bits/param.h: New file.
42536         * sysdeps/mach/hurd/sys/param.h: File removed.
42538         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42539         last change.
42541         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42542         [_IO_MTSAFE_IO].
42543         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42544         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42545         New macros.
42547         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42548         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42549         rather than -D_IO_MTSAFE_IO conditionally.
42550         * stdio-common/Makefile (CPPFLAGS): Likewise.
42551         * wcsmbs/Makefile (CPPFLAGS): Likewise.
42552         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42553         Use $(libio-mtsafe).
42554         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42555         of -D_IO_MTSAFE_IO.
42556         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42557         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42558         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42559         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42560         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42561         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42562         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42563         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42564         (CFLAGS-fread_u_chk.c): Likewise.
42565         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42566         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42567         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42568         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42569         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42570         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42571         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42572         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42573         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42575         * libio/Makefile: Test [$(libc-reentrant) = yes]
42576         instead of [$(filter %REENTRANT, $(defines)) nonempty].
42578         * Makeconfig
42579         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42580         * sysdeps/pthread/configure: File removed.
42581         * sysdeps/pthread/Makeconfig: New file.
42582         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42583         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42585 2012-08-16  Gary Benson  <gbenson@redhat.com>
42587         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42588         unmapping the first object in a namespace.
42590 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42592         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42593         (__internal_setnetgrent): ... this.  Add internal_function to
42594         definition.  Add libc_hidden_def.
42595         (setnetgrent): Update caller.
42596         (internal_endnetgrent): Renamed to ...
42597         (__internal_endnetgrent): ... this.  Add internal_function to
42598         definition.  Add libc_hidden_def.
42599         (endnetgrent): Update caller.
42600         (internal_getnetgrent_r): Renamed to ...
42601         (__internal_getnetgrent_r): ... this.  Add internal_function to
42602         definition.  Add libc_hidden_def.
42603         (__getnetgrent_r): Update caller.
42604         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
42606 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42608         * stdlib/longlong.h: Update from GCC.
42610 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42612         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42613         on _QL, which is set by umul_ppmm but never used.
42614         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42615         variables, which are set by GMP macros but never used.
42616         * stdio-common/_itowa.c (_itowa): Likewise.
42617         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42618         * stdlib/mod_1.c (mpn_mod_1): Likewise.
42620 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
42622         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42623         struct La_sh_regs is not constant.
42624         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42625         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42626         and struct La_sparc64_regs are not constant.
42628 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42630         * sysdeps/unix/sysv/linux/kernel-features.h
42631         (__ASSUME_POSIX_TIMERS): Remove.
42632         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42633         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42634         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42635         Make code unconditional.
42636         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42637         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42638         Make code unconditional.
42639         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42640         * sysdeps/unix/sysv/linux/clock_nanosleep.c
42641         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42642         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42643         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42644         Make code unconditional.
42645         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42646         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42647         (__libc_missing_posix_timers): Remove.
42649 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42651         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42652         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42654         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42656         * elf/dl-sym.c: Include <stdlib.h>.
42658         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42659         constants, which avoids warnings in 32-bit builds.
42661         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42662         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42664         * misc/lseek.c: File moved to ...
42665         * io/lseek.c: ... here.
42667         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42669         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42670         shifting LEN more than 31 bits at once.
42672 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42674         [BZ #14195]
42675         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42676         segmentation fault for a case of two empty input strings.
42677         * string/test-strncasecmp.c (check1): Renamed to...
42678         (bz12205): ...this.
42679         (bz14195): Add new testcase for two empty input strings and N > 0.
42680         (test_main): Call new testcase, adapt for renamed function.
42682 2012-08-15  Andreas Jaeger  <aj@suse.de>
42684         [BZ #14090]
42685         * crypt/md5test2.c: New test, based on test supplied by Serge
42686         Belyshev <belyshev@depni.sinp.msu.ru>.
42687         * crypt/Makefile (xtests): Add md5test-giant..
42688         * crypt/Makefile ($(objpfx)md5test-giant): Add.
42690 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
42692         [BZ #14090]
42693         * crypt/md5.c (md5_process_block): Don't assume the buffer
42694         length is less than 2**32.
42695         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42696         length is less than 2**64.
42698 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42700         * string/str-two-way.h: Include <sys/param.h>.
42701         (MAX): Macro removed.
42703         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42704         Move #define and #undef of memmove to just before and after
42705         including <string.h>.
42707         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42708         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42709         and after including <string.h>.  Move declarations of
42710         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42711         to before #include "string/memmove.c".
42713         * include/dirent.h: Declare __getdirentries.
42715         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42716         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42718 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
42720         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42721         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42722         * sysdeps/i386/configure: Regenerated.
42723         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42724         STABS_CURRENT_FILE, and STABS_FUN.
42725         (END): Remove call to STABS_FUN_END.
42726         (STABS_CURRENT_FILE1): Delete.
42727         (STABS_CURRENT_FILE): Likewise.
42728         (STABS_FUN): Likewise.
42729         (STABS_FUN_END): Likewise.
42730         (STABS_FUN2): Likewise.
42731         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42732         * sysdeps/x86_64/configure: Regenerated.
42734 2012-08-14  Roland McGrath  <roland@hack.frob.com>
42736         * elf/dl-open.c: Include <atomic.h>.
42737         * elf/dl-lookup.c: Likewise.
42739 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
42741         * sysdeps/unix/sysv/linux/kernel-features.h
42742         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42743         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42744         unconditionally.
42745         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42746         unconditionally.
42747         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42748         condition on __ASSUME_CLONE_THREAD_FLAGS.
42750 2012-08-14  Andreas Jaeger  <aj@suse.de>
42752         * sysdeps/i386/fpu/libm-test-ulps: Update.
42754 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
42756         * include/atomic.h (atomic_exchange_and_add): Split into ...
42757         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42758         New atomic macros.
42760 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
42762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42764 2012-08-13  Jeff Law <law@redhat.com>
42766         * manual/stdio.texi (snprintf): Clarify handling of the trailing
42767         null byte in the output string.
42769 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
42771         * sysdeps/unix/sysv/linux/kernel-features.h
42772         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42773         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42774         (__ASSUME_ARG_MAX_STACK_BASED): Define.
42775         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42776         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42777         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
42778         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42780 2012-08-09  Jeff Law <law@redhat.com>
42782         [BZ #13939]
42783         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42784         When avoid_arena is set, don't retry in the that arena.  Pick the
42785         next one, whatever it might be.
42786         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42787         (arena_lock): Pass in new parameter to arena_get2.
42788         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42789         arena_get2.
42790         (__libc_malloc): Unify retrying after main arena failure with
42791         __libc_memalign version.
42792         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42794 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
42796         [BZ #14166]
42797         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42798         to __redirect_strstr.
42799         (__strstr_sse42): Use typeof __redirect_strstr.
42800         (__strstr_ia32): Likewise.
42801         (__libc_strstr): New prototype.
42802         (strstr): Renamed to ...
42803         (__libc_strstr): This.
42804         (strstr): New strong alias of __libc_strstr.
42805         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42806         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42807         __redirect_time.
42808         Include <time.h>.
42809         (__libc_time): New prototype.
42810         (time_ifunc): Replace time with __libc_time.
42811         (time): New strong alias and hidden definition of __libc_time.
42812         (__GI_time): Remove strong alias.
42813         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42814         Include <stddef.h>.
42815         (memmove): Redefined to __redirect_memmove.
42816         (__memmove_sse2): Use typeof __redirect_memmove.
42817         (__memmove_ssse3): Likewise.
42818         (__memmove_ssse3_back): Likewise.
42819         (__libc_memmove): New prototype.
42820         (memmove): Renamed to ...
42821         (__libc_memmove): This.
42822         (memmove): New strong alias of __libc_memmove.
42824 2012-08-08  Mark Salter  <msalter@redhat.com>
42826         * elf/elf.h
42827         (R_MN10300_TLS_GD): Define.
42828         (R_MN10300_TLS_LD): Likewise.
42829         (R_MN10300_TLS_LDO): Likewise.
42830         (R_MN10300_TLS_GOTIE): Likewise.
42831         (R_MN10300_TLS_IE): Likewise.
42832         (R_MN10300_TLS_LE): Likewise.
42833         (R_MN10300_TLS_DTPMOD): Likewise.
42834         (R_MN10300_TLS_DTPOFF): Likewise.
42835         (R_MN10300_TLS_TPOFF): Likewise.
42836         (R_MN10300_SYM_DIFF): Likewise.
42837         (R_MN10300_ALIGN): Likewise.
42838         (R_MN10300_NUM): Update.
42840 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
42842         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42843         Remove.
42845 2012-08-08  Roland McGrath  <roland@hack.frob.com>
42847         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42849         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42850         sysdeps/unix -> sysdeps/posix move.
42851         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42853 2012-08-07      Allan McRae     <allan@archlinux.org>
42855         [BZ #14303]
42856         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42857         (SUNOS_CPP): Likewise.
42858         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42859         not found.
42860         (open_input): Call CPP using execvp.
42862 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42864         * sysdeps/unix/sysv/linux/kernel-features.h
42865         (__ASSUME_PROT_GROWSUPDOWN): Remove.
42866         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42867         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42868         (__ASSUME_WAITID_SYSCALL): Likewise.
42869         * sysdeps/unix/sysv/linux/dl-execstack.c
42870         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42871         code unconditional.
42872         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42873         conditional code.
42874         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42875         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42876         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42877         code.
42878         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42879         unconditional.
42880         [__ASSUME_WAITID_SYSCALL]: Likewise.
42881         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42883 2012-08-07  Roland McGrath  <roland@hack.frob.com>
42885         * sysdeps/unix/closedir.c: Renamed to ...
42886         * sysdeps/posix/closedir.c: ... here.
42887         * sysdeps/unix/dirfd.c: Renamed to ...
42888         * sysdeps/posix/dirfd.c: ... here.
42889         * sysdeps/unix/dirstream.h: Renamed to ...
42890         * sysdeps/posix/dirstream.h: ... here.
42891         * sysdeps/unix/fdopendir.c: Renamed to ...
42892         * sysdeps/posix/fdopendir.c: ... here.
42893         * sysdeps/unix/opendir.c: Renamed to ...
42894         * sysdeps/posix/opendir.c: ... here.
42895         * sysdeps/unix/readdir.c: Renamed to ...
42896         * sysdeps/posix/readdir.c: ... here.
42897         * sysdeps/unix/readdir_r.c: Renamed to ...
42898         * sysdeps/posix/readdir_r.c: ... here.
42899         * sysdeps/unix/rewinddir.c: Renamed to ...
42900         * sysdeps/posix/rewinddir.c: ... here.
42901         * sysdeps/unix/seekdir.c: Renamed to ...
42902         * sysdeps/posix/seekdir.c: ... here.
42903         * sysdeps/unix/telldir.c: Renamed to ...
42904         * sysdeps/posix/telldir.c: ... here.
42905         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42906         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42907         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42908         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42910         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42911         * bits/fcntl.h: ... here.
42913         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42914         not 0.
42915         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42916         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42917         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42918         (struct flock): Move l_start, l_len to the beginning.
42919         Use __pid_t for l_pid.
42920         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42921         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42922         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42923         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42924         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42925         [__USE_LARGEFILE64] (struct flock64): New type.
42926         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42928         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42929         * bits/dirent.h: ... here.
42931         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42932         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42934 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42936         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42937         Change from 2.6.0 to 2.6.16.
42938         * sysdeps/unix/sysv/linux/configure: Regenerated.
42939         * sysdeps/unix/sysv/linux/kernel-features.h
42940         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42941         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42942         version.
42943         (__ASSUME_UTIMES): Likewise.
42944         (__ASSUME_CLONE_STOPPED): Remove.
42945         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42946         architectures, not kernel version.
42947         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42948         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42949         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42950         (__ASSUME_WAITID_SYSCALL): Likewise.
42951         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42952         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42953         * README: State 2.6.16 as minimum Linux kernel version.  Do not
42954         refer to older versions.
42956 2012-08-06  Roland McGrath  <roland@hack.frob.com>
42958         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42959         Define alphasort64 as an alias.
42960         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42961         Define versionsort64 as an alias.
42962         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42963         Define scandir64 as an alias.
42964         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42965         Define scandirat64 as an alias.
42966         * dirent/alphasort64.c (alphasort64):
42967         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42968         * dirent/versionsort64.c: Likewise.
42969         * dirent/scandir64.c: Likewise.
42970         * dirent/scandirat64.c: Likewise.
42971         * sysdeps/wordsize-64/alphasort.c: File removed.
42972         * sysdeps/wordsize-64/alphasort64.c: File removed.
42973         * sysdeps/wordsize-64/scandir.c: File removed.
42974         * sysdeps/wordsize-64/scandir64.c: File removed.
42975         * sysdeps/wordsize-64/scandirat.c: File removed.
42976         * sysdeps/wordsize-64/scandirat64.c: File removed.
42977         * sysdeps/wordsize-64/versionsort.c: File removed.
42978         * sysdeps/wordsize-64/versionsort64.c: File removed.
42979         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42980         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42981         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42982         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42983         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42984         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42985         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42986         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42988         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42989         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42990         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42991         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42992         [defined __arch64__ || defined __sparcv9]
42993         (__INO_T_MATCHES_INO64_T): New macro.
42994         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42995         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42996         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42997         * sysdeps/unix/sysv/linux/bits/dirent.h
42998         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42999         (_DIRENT_MATCHES_DIRENT64): New macro.
43001         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
43002         Define lockf64 as an alias.
43003         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
43004         Define fseeko64 as an alias.
43005         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
43006         Define ftello64 as an alias.
43007         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
43008         Define _IO_fgetpos64 and fgetpos64 as aliases.
43009         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
43010         Define _IO_fsetpos64 and fsetpos64 as aliases.
43011         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
43012         Conditionalize body on this.
43013         * libio/fseeko64.c: Likewise.
43014         * libio/ftello64.c: Likewise.
43015         * libio/iofgetpos64.c: Likewise.
43016         * libio/iofsetpos64.c: Likewise.
43017         * sysdeps/wordsize-64/lockf.c: File removed.
43018         * sysdeps/wordsize-64/lockf64.c: File removed.
43019         * sysdeps/wordsize-64/fseeko.c: File removed.
43020         * sysdeps/wordsize-64/fseeko64.c: File removed.
43021         * sysdeps/wordsize-64/ftello.c: File removed.
43022         * sysdeps/wordsize-64/ftello64.c: File removed.
43023         * sysdeps/wordsize-64/iofgetpos.c: File removed.
43024         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
43025         * sysdeps/wordsize-64/iofsetpos.c: File removed.
43026         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
43027         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
43028         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
43029         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
43030         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
43031         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
43032         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
43033         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
43034         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
43035         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
43036         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
43038         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43039         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
43040         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
43041         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43042         [defined __arch64__ || defined __sparcv9]
43043         (__OFF_T_MATCHES_OFF64_T): New macro.
43044         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
43045         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
43046         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43047         (__OFF_T_MATCHES_OFF64_T): New macro.
43049 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43051         * stdlib/secure-getenv.c (__secure_getenv): Replace
43052         GLIBC_2_16 with GLIBC_2_17.
43054 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
43056         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
43057         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
43059 2012-08-03  David S. Miller  <davem@davemloft.net>
43061         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43063 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43065         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
43066         Remove.
43067         (__ASSUME_CORRECT_SI_PID): Likewise.
43068         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
43069         (__ASSUME_TMPFS_NAME): Likewise.
43070         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
43071         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
43072         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
43073         (HAVE_AUX_SECURE): Make definition unconditional.
43074         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
43075         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
43077 2012-08-03  Roland McGrath  <roland@hack.frob.com>
43079         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
43080         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
43081         * sysdeps/mach/hurd/eloop-threshold.h: New file.
43082         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43083         __eloop_threshold instead of SYMLOOP_MAX.
43085         * sysdeps/generic/eloop-threshold.h: New file.
43086         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
43087         of MAXSYMLINKS.
43088         * elf/chroot_canon.c (chroot_canon): Likewise.
43090 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
43092         [BZ #13717]
43093         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43094         Change to 2.6.0 everywhere.
43095         * sysdeps/unix/sysv/linux/configure: Regenerated.
43096         * sysdeps/unix/sysv/linux/kernel-features.h
43097         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
43098         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
43099         kernel versions.
43100         (__ASSUME_POSIX_TIMERS): Define unconditionally.
43101         (__ASSUME_FUTEX_REQUEUE): Remove.
43102         (__ASSUME_STATFS64): Define unconditionally.
43103         (__ASSUME_AT_SECURE): Likewise.
43104         (__ASSUME_CORRECT_SI_PID): Likewise.
43105         (__ASSUME_TGKILL): Define without depending on kernel version for
43106         i386.
43107         (__ASSUME_UTIMES): Likewise.
43108         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
43109         kernel version.
43110         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
43111         (__ASSUME_TMPFS_NAME): Likewise.
43112         * README: Update reference to Linux kernel versions.
43114 2012-08-02  Marek Polacek  <polacek@redhat.com>
43116         [BZ# 14150]
43117         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
43118         libc_cv_asm_type_prefix with %.
43119         * configure: Regenerated.
43120         * include/libc-symbols.h: Remove comment about
43121         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43122         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
43123         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
43124         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
43125         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
43126         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
43127         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
43128         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
43129         * elf/tst-unique2mod1.c: Likewise.
43130         * elf/tst-unique1mod2.c: Likewise.
43131         * elf/tst-unique1mod1.c: Likewise.
43132         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
43133         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
43134         Replace ASM_TYPE_DIRECTIVE with .type.
43135         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43136         * sysdeps/i386/sysdep.h: Likewise.
43137         * sysdeps/x86_64/sysdep.h: Likewise.
43138         * sysdeps/sh/sysdep.h: Likewise.
43139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43140         Do not define ASM_TYPE_DIRECTIVE.
43141         * sysdeps/powerpc/sysdep.h: Likewise.
43142         * sysdeps/powerpc/powerpc32/sysdep.h:
43143         Replace ASM_TYPE_DIRECTIVE with .type.
43144         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43145         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43146         * sysdeps/i386/fpu/e_powf.S: Likewise.
43147         * sysdeps/i386/fpu/e_expl.S: Likewise.
43148         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43149         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43150         * sysdeps/i386/fpu/e_pow.S: Likewise.
43151         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43152         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43153         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43154         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43155         * sysdeps/i386/fpu/e_log2.S: Likewise.
43156         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43157         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43158         * sysdeps/i386/fpu/e_powl.S: Likewise.
43159         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43160         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43161         * sysdeps/i386/fpu/e_logl.S: Likewise.
43162         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43163         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43164         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43165         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43166         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43167         * sysdeps/i386/fpu/e_log.S: Likewise.
43168         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43169         * sysdeps/i386/fpu/e_logf.S: Likewise.
43170         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43171         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43172         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43173         * sysdeps/i386/fpu/e_log10.S: Likewise.
43174         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43175         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43176         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43177         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43178         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43179         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43180         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43181         * sysdeps/i386/i686/strtok.S: Likewise.
43182         * sysdeps/i386/i386-mcount.S: Likewise.
43183         * sysdeps/i386/strtok.S: Likewise.
43184         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43185         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43186         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43187         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43188         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43189         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43190         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43191         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43192         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43193         * sysdeps/x86_64/_mcount.S: Likewise.
43194         * sysdeps/x86_64/strtok.S: Likewise.
43195         * sysdeps/sh/_mcount.S: Likewise.
43197 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43199         * libio/iofopen.c: Include <fcntl.h>.
43200         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43201         (_IO_fopen64, fopen64): Define as aliases.
43202         * libio/iofopen64.c: Include <fcntl.h>.
43203         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43204         Conditionalize body on this.
43205         * sysdeps/wordsize-64/iofopen.c: File removed.
43206         * sysdeps/wordsize-64/iofopen64.c: File removed.
43208 2012-08-01  Marek Polacek  <polacek@redhat.com>
43210         * libc/Makeconfig: Use elf in place of binfmt-subdir.
43211         Use dlfcn directly instead of a variable.
43212         (binfmt-subdir): Do not define.
43213         (dlfcn): Likewise.
43215 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
43217         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43218         Remove all definitions.
43219         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43220         <kernel-features.h>.
43221         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43222         (miss_F_GETOWN_EX): Remove all definitions.
43223         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43224         macro definition.
43225         [!__ASSUME_FCNTL64]: Remove conditional code.
43226         [__ASSUME_FCNTL64]: Make code unconditional.
43227         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43228         <kernel-features.h>.
43229         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43230         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43231         (lockf64) [__NR_fcntl64]: Make code unconditional.
43232         (lockf64) [__ASSUME_FCNTL64]: Likewise.
43234         * sysdeps/unix/sysv/linux/kernel-features.h
43235         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43236         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43237         Make code unconditional.
43238         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43239         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43241         [__NR_vfork]: Make code unconditional.
43242         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43243         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43245         [__NR_vfork]: Make code unconditional.
43246         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43247         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43249 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43251         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43252         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43254         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43255         Define mkstemp64 as an alias.
43256         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43257         Define mkstemps64 as an alias.
43258         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43259         Define mkostemp64 as an alias.
43260         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43261         Define mkostemps64 as an alias.
43262         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43263         Conditionalize body on this.
43264         * misc/mkostemp64.c: Likewise.
43265         * misc/mkostemps64.c: Likewise.
43266         * misc/mkstemps64.c: Likewise.
43267         * sysdeps/wordsize-64/mkstemp64.c: File removed.
43268         * sysdeps/wordsize-64/mkostemp64.c: File removed.
43269         * sysdeps/wordsize-64/mkostemp.c: File removed.
43270         * sysdeps/wordsize-64/mkstemp.c: File removed.
43271         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43272         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43273         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43274         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43276         [BZ #14138]
43277         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43278         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43279         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43280         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43282         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43283         compat_symbol macros from <shlib-compat.h> rather than the underlying
43284         default_symbol_version and symbol_version macros, so that DEFAULT
43285         lines in shlib-versions are respected.
43286         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43288 2012-08-01  Florian Weimer  <fweimer@redhat.com>
43290         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43291         Declare with warn_unused_result.
43292         (setgid, setregid, setegid, setresgid): Likewise.
43293         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43294         Likewise.
43295         * WUR-REPORT: Remove set*id functions.
43297 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
43299         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43301 2012-07-31  Roland McGrath  <roland@hack.frob.com>
43303         [BZ #10191]
43304         * include/sys/socket.h (__libc_accept, __libc_accept4):
43305         Add attribute_hidden.
43306         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43308         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43309         use of PTR_MANGLE.
43310         * inet/getnetgrent_r.c (setup): Likewise.
43312         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43314 2012-07-31  David S. Miller  <davem@davemloft.net>
43316         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43318 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
43320         [BZ #13629]
43321         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43322         value between 1.0 and 2.0 and smaller part has absolute value less
43323         than 1.0.
43324         * math/s_clog10.c (__clog10): Likewise.
43325         * math/s_clog10f.c (__clog10f): Likewise.
43326         * math/s_clog10l.c (__clog10l): Likewise.
43327         * math/s_clogf.c (__clogf): Likewise.
43328         * math/s_clogl.c (__clogl): Likewise.
43329         * math/libm-test.inc (clog_test): Add more tests.
43330         (clog10_test): Likewise.
43331         * sysdeps/i386/fpu/libm-test-ulps: Update.
43332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43334 2012-07-31  Florian Weimer  <fweimer@redhat.com>
43336         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43337         Exit with zero in case no suitable GID is found, and write a
43338         message to standard error.
43340 2012-07-30  Roland McGrath  <roland@hack.frob.com>
43342         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43343         rather than to 1.
43344         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43345         (MAXPATHLEN): Removed.
43346         (NOGROUP, NODEV): New macros.
43347         (setbit, clrbit, isset, isclr): New macros.
43348         (howmany, roundup, powerof2): New macros.
43349         (DEV_BSIZE): New macro.
43351         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43352         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43354         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43355         definition on [!__NO_LONG_DOUBLE_MATH].
43357         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43358         PTR_MANGLE and PTR_DEMANGLE.
43360         * socket/accept4.c (accept4): Rename to __libc_accept4.
43361         Define accept4 as a weak alias.
43363         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43364         on [_DIRENT_HAVE_D_TYPE].
43365         * io/ftw.c (ftw_dir): Likewise.
43367         * io/xmknod.c (__xmknod): Don't check PATH for being null.
43369         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43371         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43372         Use the BSD numbers rather than the arbitrary ones we had.
43373         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43374         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43375         (SIGXCPU, SIGXFSZ): New macros.
43376         (_NSIG): Now 32.
43378         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43379         initializer on [_LIBC_REENTRANT].
43381         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43382         definitions inside [_POSIX_MAPPED_FILES].
43384         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43386         * dirent/opendir.c: Include <fcntl.h>.
43388         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43389         (__libc_getspecific): Likewise.
43390         (__libc_key_create): Likewise.
43392         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43393         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43394         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43395         (tmpfile64): Define as alias.
43396         * sysdeps/wordsize-64/tmpfile.c: File removed.
43397         * sysdeps/wordsize-64/tmpfile64.c: File removed.
43398         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43399         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43401         * stdio-common/vfscanf.c: Include <stdbool.h>.
43402         * nss/makedb.c: Likewise.
43403         * stdio-common/_i18n_number.h: Likewise.
43404         * argp/argp-help.c: Likewise.
43405         * posix/wordexp.c: Likewise.
43406         * sysdeps/posix/spawni.c: Likewise.
43407         * nss/nss_files/files-initgroups.c: Likewise.
43408         * stdio-common/reg-modifier.c: Include <stdlib.h>.
43409         * nss/nss_files/files-initgroups.c: Likewise.
43410         * nss/nss_db/db-netgrp.c: Likewise.
43411         * nss/nss_db/db-initgroups.c: Likewise.
43412         * io/fchmodat.c: Include <sys/stat.h>.
43414         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43415         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43417         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43418         [HAVE_MMAP].
43420         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43421         Add multiple inclusion protection.
43423 2012-07-27  David S. Miller  <davem@davemloft.net>
43425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43427 2012-07-27  Gary Benson  <gbenson@redhat.com>
43429         [BZ #14298]
43430         * elf/rtld.c: Include <stap-probe.h>.
43431         (dl_main): Added static probes "init_start" and "init_complete".
43432         * elf/dl-load.c: Include <stap-probe.h>.
43433         (lose): Take new parameter "nsid".
43434         Added static probe "map_failed".
43435         (_dl_map_object_from_fd): Pass namespace id to lose.
43436         Added static probe "map_start".
43437         (open_verify): Pass namespace id to lose.
43438         * elf/dl-open.c: Include <stap-probe.h>.
43439         (dl_open_worker) Added static probes "map_complete", "reloc_start"
43440         and "reloc_complete".
43441         * elf/dl-close.c: Include <stap-probe.h>.
43442         (_dl_close_worker): Added static probes "unmap_start" and
43443         "unmap_complete".
43444         * elf/rtld-debugger-interface.txt: New file documenting the above.
43446 2012-07-26  Roland McGrath  <roland@hack.frob.com>
43448         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43449         rather than a string variable.
43450         * sunrpc/rpc_main.c (h_output): Likewise.
43451         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43453 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
43455         * inet/check_native.c: New file.
43457 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
43459         [BZ #13629]
43460         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43461         if larger part has absolute value 1.0.
43462         * math/s_clog10.c (__clog10): Likewise.
43463         * math/s_clog10f.c (__clog10f): Likewise.
43464         * math/s_clog10l.c (__clog10l): Likewise.
43465         * math/s_clogf.c (__clogf): Likewise.
43466         * math/s_clogl.c (__clogl): Likewise.
43467         * math/libm-test.inc (clog_test): Add more tests.
43468         (clog10_test): Likewise.
43469         * sysdeps/i386/fpu/libm-test-ulps: Update.
43470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43472         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43473         (pltexit): Likewise.
43474         (La_regs): Likewise.
43475         (La_retval): Likewise.
43476         (int_retval): Likewise.
43477         Update #error for removed macros to refer only to definitions in
43478         tst-audit.h.
43479         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43480         macro.
43481         (pltexit): Likewise.
43482         (La_regs): Likewise.
43483         (La_retval): Likewise.
43484         (int_retval): Likewise.
43485         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43486         macro.
43487         (pltexit): Likewise.
43488         (La_regs): Likewise.
43489         (La_retval): Likewise.
43490         (int_retval): Likewise.
43491         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43492         macro.
43493         (pltexit): Likewise.
43494         (La_regs): Likewise.
43495         (La_retval): Likewise.
43496         (int_retval): Likewise.
43497         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43498         macro.
43499         (pltexit): Likewise.
43500         (La_regs): Likewise.
43501         (La_retval): Likewise.
43502         (int_retval): Likewise.
43503         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43504         macro.
43505         (pltexit): Likewise.
43506         (La_regs): Likewise.
43507         (La_retval): Likewise.
43508         (int_retval): Likewise.
43509         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43510         macro.
43511         (pltexit): Likewise.
43512         (La_regs): Likewise.
43513         (La_retval): Likewise.
43514         (int_retval): Likewise.
43515         * sysdeps/generic/tst-audit.h: Update comment to refer only to
43516         macro definitions in tst-audit.h.
43517         * sysdeps/i386/tst-audit.h: New file.
43518         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43519         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43520         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43521         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43522         * sysdeps/sh/tst-audit.h: Likewise.
43523         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43524         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43525         * sysdeps/x86_64/tst-audit.h: Likewise.
43527 2012-07-26  Andreas Jaeger  <aj@suse.de>
43529         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43530         ptrace.
43532         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43533         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43534         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43535         PTRACE_O_MASK.
43536         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43537         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43538         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43540         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43541         value.
43543         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43544         _sigsys.
43545         (si_call_addr, si_syscall, si_arch): Define new macro.
43546         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43547         _sigsys.
43548         (si_call_addr, si_syscall, si_arch): Define new marcro.
43549         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43550         _sigsys.
43551         (si_call_addr, si_syscall, si_arch): Define new macro.
43552         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43553         _sigsys.
43554         (si_call_addr, si_syscall, si_arch): Define new macro.
43556 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43558         [BZ #13717]
43559         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43560         Change to 2.4.21 where previously 2.4.1.
43561         * sysdeps/unix/sysv/linux/configure: Regenerated.
43562         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43563         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43564         Linux kernel version.
43565         (__ASSUME_STD_AUXV): Remove.
43566         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43567         kernel version.
43568         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43569         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43570         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43571         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43572         (__ASSUME_NETLINK_SUPPORT): Likewise.
43573         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43574         (__no_netlink_support): Remove conditional definition.
43575         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43576         Remove.
43577         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43578         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43579         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43580         (if_nameindex_ioctl): Remove.
43581         (if_nameindex_netlink): Do not handle __no_netlink_support.
43582         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43583         code.
43584         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43585         Remove conditional code.
43586         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43587         code.
43588         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43589         unconditional.
43590         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43591         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43592         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43593         Remove.
43594         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43595         [!__ASSUME_STD_AUXV]: Remove conditional code.
43596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43597         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43598         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43600         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43601         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43602         code.
43603         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43605         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43606         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43607         conditional code.
43608         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43610         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43611         code.
43612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43613         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43614         conditional code.
43615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43616         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43617         code unconditional.
43618         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43619         conditional code.
43620         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43621         unconditional.
43622         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43623         conditional code.
43624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43625         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43626         unconditional.
43627         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43628         conditional code.
43629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43630         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43631         code unconditional.
43632         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43633         conditional code.
43634         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43635         unconditional.
43636         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43637         conditional code.
43638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43639         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43640         code unconditional.
43641         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43642         conditional code.
43643         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43644         unconditional.
43645         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43646         conditional code.
43648 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
43650         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43651         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43652         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43653         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43654         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43655         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43656         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43657         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43658         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43659         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43660         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43661         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43662         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43663         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43664         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43665         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43666         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43667         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43668         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43669         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43670         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43671         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43672         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43674 2012-07-25  Florian Weimer  <fweimer@redhat.com>
43676         * Versions.def: Add GLIBC_2.17.
43677         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43678         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43679         Introduce __libc_secure_getenv.
43680         * stdlib/Versions (2.17): Add secure_getenv
43681         (GLIBC_PRIVATE): Add __libc_secure_getenv.
43682         * stdlib/secure-getenv.c: Rename __secure_getenv to
43683         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
43684         symbol __secure_getenv for GLIBC_2.0.
43685         * stdlib/tst-secure-getenv.c: New.
43686         * stdlib/Makefile (tests): Add testcase.
43687         * manual/startup.texi (Environment Access): Document
43688         secure_getenv.
43689         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43690         __libc_secure_getenv.
43691         * inet/ruserpass.c (ruserpass): Likewise.
43692         * malloc/mtrace.c (mtrace): Likewise.
43693         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43694         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43695         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43696         * sysdeps/posix/tempname.c: Likewise.  Evaluate
43697         HAVE_SECURE_GETENV.
43698         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43699         __secure_getenv to __libc_secure_getenv.
43700         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43702         Likewise.
43703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43704         Likewise.
43705         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43707         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43708         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43710         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43713 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43715         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43716         (struct La_i86_retval): Likewise.
43717         (struct La_x86_64_regs): Likewise.
43718         (struct La_x86_64_retval): Likewise.
43719         (struct La_x32_regs): Likewise.
43720         (struct La_x32_retval): Likewise.
43721         (struct La_ppc32_regs): Likewise.
43722         (struct La_ppc32_retval): Likewise.
43723         (struct La_ppc64_regs): Likewise.
43724         (struct La_ppc64_retval): Likewise.
43725         (struct La_sh_regs): Likewise.
43726         (struct La_sh_retval): Likewise.
43727         (struct La_s390_32_regs): Likewise.
43728         (struct La_s390_32_retval): Likewise.
43729         (struct La_s390_64_regs): Likewise.
43730         (struct La_s390_64_retval): Likewise.
43731         (struct La_sparc32_regs): Likewise.
43732         (struct La_sparc32_retval): Likewise.
43733         (struct La_sparc64_regs): Likewise.
43734         (struct La_sparc64_retval): Likewise.
43735         (struct audit_ifaces): Remove architecture-specific pltenter and
43736         pltexit members.
43737         * sysdeps/i386/ldsodefs.h: New file.
43738         * sysdeps/powerpc/ldsodefs.h: Likewise.
43739         * sysdeps/s390/ldsodefs.h: Likewise.
43740         * sysdeps/sh/ldsodefs.h: Likewise.
43741         * sysdeps/sparc/ldsodefs.h: Likewise.
43742         * sysdeps/x86_64/ldsodefs.h: Likewise.
43744 2012-07-25  Marek Polacek  <polacek@redhat.com>
43746         [BZ #6808]
43747         * math/libm-test.inc (yn_test): Add another test.
43748         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43749         to ERANGE when the result is +-Inf.
43750         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43751         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43752         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43753         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43755 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
43757         * conform/data/time.h-data (NULL): Use macro-constant.  Require
43758         equal to 0.
43759         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
43760         clock_t.
43761         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
43763 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
43765         * configure.in <sysdeps resolving>: Correct printing
43766         Implies_before.
43767         * configure: Regenerate.
43769 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
43771         * math/w_ilogb.c: Include <limits.h>.
43772         * math/w_ilogbl.c: Likewise.
43774 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43776         * manual/lang.texi (__va_copy): Document primarily as ISO C99
43777         va_copy.  Document allowing for unavailable va_copy only as
43778         pre-C99 compatibility.
43779         * manual/string.texi (Copying and Concatenation): Use va_copy
43780         instead of __va_copy in concat example.
43782 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
43784         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43785         (__sendto): Use create_address_port.  Initialize APORT and deallocate
43786         it if not null.
43788         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43789         with O_NOLINK passed to __file_name_lookup.
43791         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43792         with O_NOLINK passed to __file_name_lookup.
43794         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43795         negative N or less than NGIDS.
43797         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43798         type to string_t.  Set ERANGE as errno and return it if NAME is not big
43799         enough.  Use memcpy instead of strncpy.
43801 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43803         * elf/Makefile (check-data): Remove.
43804         (localplt.data): New vpath directive.
43805         ($(objpfx)check-localplt.out): Use localplt.data from vpath
43806         instead of $(check-data).
43807         * scripts/data/localplt-generic.data: Move to ...
43808         * sysdeps/generic/localplt.data: ... here.
43809         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43810         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43811         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43813         ... here.
43814         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43816         ... here.
43817         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43819         ... here.
43820         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43821         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43822         ... here.
43823         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43824         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43825         ... here.
43826         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43828         ... here.
43830 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43832         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43833         PPC32 and PPC64 files.
43834         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43835         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43837 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43839         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43840         __makecontext_ret to ...
43841         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43842         ... here and call exit if uc_link is NULL.  New file.
43843         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43844         __makecontext_ret.S.
43845         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43846         __makecontext_ret to ...
43847         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43848         ... here and call exit if uc_link is NULL.  New file.
43849         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43850         __makecontext_ret.S.
43852 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43854         * elf/elf.h (R_390_IRELATIVE): New definition.
43855         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43856         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
43857         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43858         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43859         (elf_machine_lazy_rel): Likewise.
43860         * sysdeps/s390/dl-irel.h: New file.
43861         * sysdeps/s390/s390-64/memcpy.S: New asm code.
43862         * sysdeps/s390/s390-64/memset.S: New asm code.
43863         * sysdeps/s390/s390-64/memcmp.S: New asm code.
43864         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43865         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43866         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43867         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43868         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43869         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43870         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43871         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43872         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43873         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43874         * sysdeps/s390/s390-32/memcpy.S: New asm code.
43875         * sysdeps/s390/s390-32/memset.S: New asm code.
43876         * sysdeps/s390/s390-32/memcmp.S: New asm code.
43878 2012-07-17  Marek Polacek  <polacek@redhat.com>
43880         [BZ #14349]
43881         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43882         * sysdeps/s390/s390-64/configure.in: Likewise.
43883         * sysdeps/sparc/configure.in: Likewise.
43884         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43885         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43886         * sysdeps/i386/configure.in: Likewise.
43887         * sysdeps/x86_64/configure.in: Likewise.
43888         * sysdeps/sh/configure.in: Likewise.
43889         * sysdeps/s390/s390-32/configure: Regenerated.
43890         * sysdeps/s390/s390-64/configure: Likewise.
43891         * sysdeps/x86_64/configure: Likewise.
43892         * sysdeps/sh/configure: Likewise.
43893         * sysdeps/powerpc/powerpc64/configure: Likewise.
43894         * sysdeps/powerpc/powerpc32/configure: Likewise.
43895         * sysdeps/sparc/configure: Likwise.
43896         * sysdeps/i386/configure: Likewise.
43898         * elf/dl-open.c: Comment fixes.
43900 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
43902         * Makefile [CXX] (check-data): Remove.
43903         [CXX] (c++-types.data): New vpath directive.
43904         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43905         vpath.  Do not allow for C++ type data being missing.
43906         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43907         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43908         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43909         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43910         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43911         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43912         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43914         ... here.
43915         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43917         ... here.
43918         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43919         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43920         ... here.
43921         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43922         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43923         ... here.
43924         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43926         ... here.
43927         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43928         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43929         ... here.
43930         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43932         ... here.
43933         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43936         * elf/tls-macros.h (TLS_LE): Move architecture-specific
43937         definitions to architecture-specific files.
43938         (TLS_IE): Likewise.
43939         (TLS_LD): Likewise.
43940         (TLS_GD): Likewise.
43941         * sysdeps/i386/tls-macros.h: New file.
43942         * sysdeps/powerpc/tls-macros.h: Likewise.
43943         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43944         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43945         * sysdeps/sh/tls-macros.h: Likewise.
43946         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43947         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43948         * sysdeps/x86_64/tls-macros.h: Likewise.
43950 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43952         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43953         zero value for regular exit case.
43955         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43956         (__start_context): Preserve zero value for regular exit case.
43958 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43959             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43961         * manual/setjmp.texi (setcontext): Clarify normal process
43962         termination when uc_link is the null pointer.
43963         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43964         exit call.
43966 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
43968         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43969         preprocessor.  Test for each exception mask separately.
43971 2012-07-16  Andreas Jaeger  <aj@suse.de>
43973         * po/ru.po: Update from translation team.
43975 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
43977         * conform/data/string.h-data (NULL): Use macro-constant.  Require
43978         equal to 0.
43979         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43980         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43981         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43982         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43983         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43985 2012-07-13  Andreas Jaeger  <aj@suse.de>
43987         * po/fr.po: Update from translation team.
43989 2012-07-12  Marek Polacek  <polacek@redhat.com>
43991         [BZ #14173]
43992         * math/libm-test.inc (yn_test): Add test for BZ #14173.
43993         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43994         loop condition.
43996 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
43998         [BZ #13717]
43999         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
44000         Change to 2.4.1 where previously 2.4.0.
44001         * sysdeps/unix/sysv/linux/configure: Regenerated.
44002         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
44003         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
44004         version.
44005         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
44006         (__ASSUME_AT_CLKTCK): Remove.
44007         (__ASSUME_AT_PAGESIZE): Likewise.
44008         (__ASSUME_AT_XID): Likewise.
44009         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
44010         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
44011         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
44012         unconditionally.
44013         (HAVE_AUX_PAGESIZE): Likewise.
44014         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
44015         [__ASSUME_AT_CLKTCK]: Make code unconditional.
44016         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
44018 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
44020         [BZ #14307]
44021         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
44022         the temporary buffer used to invoke __gethostbyname2_r,
44023         __gethostbyaddr_r and gethostbyname4_r to make room for struct
44024         host_data / struct gaih_addrtuple.
44025         * resolv/nss_dns/dns-host.c (global scope): Move definition of
44026         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
44027         header file nss/nsswitch.h.
44028         * nss/nsswitch.h (global scope): Add definition of implementation
44029         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
44030         resolv/nss_dns/dns-host.c).
44032 2012-07-11  Andreas Jaeger  <aj@suse.de>
44034         * po/fr.po: Update from translation team.
44036         * po/sv.po: Update from translation team
44037         * po/fr.po: Another update from translation team.
44039 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44041         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
44042         for subnormals or multiply small sinh result by itself.
44043         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
44044         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44046 2012-07-11  David S. Miller  <davem@davemloft.net>
44048         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44050 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
44052         [BZ #14347]
44053         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
44054         (INTERNAL_MARK): Shift it here.
44056 2012-07-10  Marek Polacek  <polacek@redhat.com>
44058         [BZ #14151]
44059         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
44060         libc_cv_asm_global_directive with .globl.
44061         * configure: Regenerated.
44062         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
44063         with .globl.
44064         * sysdeps/i386/configure: Regenerated.
44065         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
44066         with .globl.
44067         * sysdeps/x86_64/configure: Regenerated.
44068         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
44069         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
44070         * elf/tst-unique2mod2.c: Likewise.
44071         * elf/tst-unique2mod1.c: Likewise.
44072         * elf/tst-unique1mod2.c: Likewise.
44073         * elf/tst-unique1mod1.c: Likewise.
44074         * sysdeps/s390/s390-32/sysdep.h: Likewise.
44075         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
44076         * sysdeps/s390/s390-64/sysdep.h: Likewise.
44077         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
44078         * sysdeps/mach/sysdep.h: Likewise.
44079         * sysdeps/i386/sysdep.h: Likewise.
44080         * sysdeps/i386/i386-mcount.S: Likewise.
44081         * sysdeps/x86_64/_mcount.S: Likewise.
44082         * sysdeps/x86_64/sysdep.h: Likewise.
44083         * sysdeps/sh/_mcount.S: Likewise.
44084         * sysdeps/sh/sysdep.h: Likewise.
44085         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
44086         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
44087         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
44088         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
44089         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
44090         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
44091         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
44092         * locale/localeinfo.h: Likewise.
44093         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
44094         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
44096 2012-07-09  Roland McGrath  <roland@hack.frob.com>
44098         [BZ #14336]
44099         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
44100         system".
44101         * manual/message.texi (The Uniforum approach): Likewise.
44102         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
44103         (glibc iconv Implementation): Likewise.
44105 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
44107         [BZ #14337]
44108         * math/s_clog.c (__clog): Avoid scaling a value down where that
44109         could result in underflow.
44110         * math/s_clog10.c (__clog10): Likewise.
44111         * math/s_clog10f.c (__clog10f): Likewise.
44112         * math/s_clog10l.c (__clog10l): Likewise.
44113         * math/s_clogf.c (__clogf): Likewise.
44114         * math/s_clogl.c (__clogl): Likewise.
44115         * math/libm-test.inc (clog_test): Add more tests.
44116         (clog10_test): Likewise.
44117         * sysdeps/i386/fpu/libm-test-ulps: Update.
44118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44120 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
44122         [BZ #14283]
44123         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
44124         by 7 not 8 to examine high bit of fractional part.
44126         [BZ #14042]
44127         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
44128         for call to __mcount_internal.
44129         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
44130         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
44131         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
44133 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
44135         [BZ #14154]
44136         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44137         approximation for values within 0x1p-13f of an odd multiple of
44138         pi/4.
44139         * math/libm-test.inc (tan_test): Do not allow spurious underflow
44140         exception.  Add more tests.
44141         * sysdeps/i386/fpu/libm-test-ulps: Update.
44143         [BZ #6778]
44144         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44145         inputs and return -1 for them.  Do not check for +Inf in case not
44146         reachable for +Inf.
44147         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44148         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44149         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44150         and return -1 for them.  Do not check for +Inf in case not
44151         reachable for +Inf.
44152         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44153         define.
44154         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44155         and return -1 for them.  Do not check for +Inf in case not
44156         reachable for +Inf.
44157         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
44158         spurious underflow.
44159         * sysdeps/i386/fpu/libm-test-ulps: Update.
44160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44162 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
44164         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44166 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
44168         [BZ #14157]
44169         [BZ #14331]
44170         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44171         could result in spurious underflow.  Scale down values above
44172         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44173         * math/s_csqrtf.c (__csqrtf): Likewise.
44174         * math/s_csqrtl.c (__csqrtl): Likewise.
44175         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
44176         spurious underflow.
44177         * sysdeps/i386/fpu/libm-test-ulps: Update.
44178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44180 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
44182         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44183         xopen-msg.sed.
44184         * catgets/xopen-msg.awk: New file.
44185         * catgets/xopen-msg.sed: Removed.
44187         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44188         po2text.sed.
44189         * intl/po2test.awk: New file.
44190         * intl/po2test.sed: Removed.
44192 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
44194         [BZ #14328]
44195         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44196         or multiply small sinh result by itself.
44197         * math/s_ctanf.c (__ctanf): Likewise.
44198         * math/s_ctanh.c (__ctanh): Likewise.
44199         * math/s_ctanhf.c (__ctanhf): Likewise.
44200         * math/s_ctanhl.c (__ctanhl): Likewise.
44201         * math/s_ctanl.c (__ctanl): Likewise.
44202         * math/libm-test.inc (ctan_test_tonearest): New function.
44203         (ctan_test_towardzero): Likewise.
44204         (ctan_test_downward): Likewise.
44205         (ctan_test_upward): Likewise.
44206         (ctanh_test_tonearest): Likewise.
44207         (ctanh_test_towardzero): Likewise.
44208         (ctanh_test_downward): Likewise.
44209         (ctanh_test_upward): Likewise.
44210         (main): Call these new functions.
44211         * sysdeps/i386/fpu/libm-test-ulps: Update.
44212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44214 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
44216         * .gitignore: Delete /ports entry.
44218 2012-07-03  Andreas Jaeger  <aj@suse.de>
44220         * po/bg.po: Update from translation team.
44221         * po/cs.po: Likewise.
44222         * po/de.po: Likewise.
44223         * po/hr.po: Likewise.
44224         * po/nl.pl: Likewise.
44225         * po/pl.po: Likewise.
44226         * po/vi.po: Likewise.
44228 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
44230         * Makeconfig [!+link] (+link-before-libc): New variable.
44231         [!+link] (+link-after-libc): Likewise.
44232         [!+link] (+link-tests): Likewise.
44233         [!+link] (+link): Define in terms of $(+link-before-libc) and
44234         $(+link-after-libc).
44235         [!+link-static] (+link-static-before-libc): New variable.
44236         [!+link-static] (+link-static-after-libc): Likewise.
44237         [!+link-static] (+link-static-tests): Likewise.
44238         [!+link-static] (+link-static): Define in terms of
44239         $(+link-static-before-libc) and $(+link-static-after-libc).
44240         [build-shared] (link-libc-before-gnulib): New variable.
44241         [build-shared] (link-libc-tests): Likewise.
44242         [build-shared] (link-libc): Define in terms of
44243         $(link-libc-before-gnulib).
44244         [!build-shared] (link-libc-tests): New variable.
44245         (link-libc-static-tests): New variable.
44246         [!gnulib] (gnulib-arch): New variable.
44247         [!gnulib] (gnulib-tests): Likewise.
44248         [!gnulib] (static-gnulib-arch): Likewise.
44249         [!gnulib] (static-gnulib-tests): Likewise.
44250         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
44251         Define with "=" instead of ":=".
44252         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
44253         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
44254         * Rules (binaries-all-notests): New variable.
44255         (binaries-all-tests): Likewise.
44256         (binaries-static-notests): Likewise.
44257         (binaries-static-tests): Likewise.
44258         (binaries-all): Define using $(binaries-all-notests) and
44259         $(binaries-all-tests).
44260         (binaries-static): Define using $(binaries-static-notests) and
44261         $(binaries-static-tests).
44262         (binaries-shared-tests): New variable.
44263         (binaries-shared-notests): Likewise.
44264         (binaries-shared): Remove variable.
44265         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44266         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44267         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44268         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44269         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44270         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44271         * elf/Makefile (sln-modules): New variable.
44272         (extra-objs): Add $(sln-modules:=.o).
44273         (ldconfig-modules): Add static-stubs.
44274         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44275         * elf/static-stubs.c: New file.
44277         [BZ #14283]
44278         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44279         by 7 not 8 to examine high bit of fractional part.  Use volatile
44280         variables when splitting into final array of floats if
44281         __FLT_EVAL_METHOD__ != 0.
44282         * math/libm-test.inc (cos_test): Add another test.
44283         (sin_test): Likewise.
44284         * sysdeps/i386/fpu/libm-test-ulps: Update.
44286         [BZ #14273]
44287         * math/libm-test.inc (cosh_test): Add more tests.
44289         * version.h (RELEASE): Set to "development".
44290         (VERSION): Set to "2.16.90".
44292 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
44294         * NEWS: Update copyright. Remove last-updated date.
44295         Mention math library bug fixes and timezone data changes.
44296         * README: Mention GNU/Hurd, x32, and HPPA support status.
44298 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
44300         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44302 2012-06-27  Andreas Jaeger  <aj@suse.de>
44304         * manual/contrib.texi (Contributors): Add Samuel Thibault.
44306 2012-06-25  Andreas Jaeger  <aj@suse.de>
44308         * sysdeps/s390/fpu/libm-test-ulps: Update.
44310 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
44311             Thomas Schwinge  <thomas@codesourcery.com>
44313         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44314         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44315         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44316         fanotify_mark.
44318 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
44320         * sysdeps/mach/start.c: Remove file.
44321         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44322         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44323         * sysdeps/sh/init-first.c: Likewise.
44325         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44326         registers for frame unwinding purposes, add CFI directives.
44327         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44328         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44329         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44330         Likewise.
44332         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44333         __fortify_fail returning.
44334         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44336         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44337         sysdeps/sh/____longjmp_chk.S.
44338         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44339         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44340         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44341         (gen-as-const-headers): Append sigaltstack-offsets.sym.
44343         * sysdeps/sh/abort-instr.h: New file.
44344         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44345         process in case exit returns.
44347         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44348         initialize the GOT register before use.
44350         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44351         calculation of ARGC > 4.
44353         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44354         meaningful names to some local labels.
44356 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44357             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44359         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44360         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44361         (__arch_compare_and_exchange_val_16_acq): Likewise.
44362         (__arch_compare_and_exchange_val_32_acq): Likewise.
44363         (atomic_exchange_and_add): Fix gUSA sequence.
44364         (atomic_add): Likewise.
44365         (atomic_add_negative): Likewise.
44366         (atomic_add_zero): Likewise.
44367         (atomic_bit_test_set): Likewise.
44369 2012-06-22  Andreas Schwab  <schwab@redhat.com>
44371         [BZ #13579]
44372         * include/link.h (struct link_map): Add l_free_initfini.
44373         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44374         l_initfini.
44375         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44376         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44377         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44378         set.
44380 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
44382         * configure.in: Use AC_LANG_SOURCE.
44383         * configure: Regenerate.
44385 2012-06-22  Roland McGrath  <roland@hack.frob.com>
44387         * configure.in (libc_cv_localstatedir): New substituted variable.
44388         * configure: Regenerated.
44389         * config.make.in (localstatedir): New variable, substituted from
44390         libc_cv_localstatedir.
44391         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44392         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44393         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44394         * sysdeps/gnu/configure: Regenerated.
44396 2012-06-21  Jeff Law  <law@redhat.com>
44398         [BZ #14277]
44399         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44400         free.  Simplify list management for _LIBC case.
44402 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
44404         [BZ #14273]
44405         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44406         Clear sign bit of 64-bit integer value before comparing against
44407         overflow value.
44409         * sysdeps/mach/configure: Regenerated.
44411 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
44413         [BZ #14278]
44414         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44416 2012-06-21  Jeff Law  <law@redhat.com>
44418         [BZ #13882]
44419         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
44420         uint16_t for elements in the "seen" array to avoid char overflows.
44421         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44422         * elf/dl-open.c (dl_open_worker): Likewise.
44424 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
44426         * scripts/list-sources.sh: Scan PORTS for translations.
44427         * po/libc.pot: Regenerated.
44429 2012-06-21  Andreas Jaeger  <aj@suse.de>
44431         [BZ #12194]
44432         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44433         warning.
44434         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44435         * bits/byteswap-16.h (__bswap_16): Likewise.
44436         * bits/byteswap.h (__bswap_constant_16): Likewise.
44438 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
44440         [BZ #14117]
44441         * sysdeps/i386/fpu_control.h: Removed.
44442         * sysdeps/x86_64/fpu_control.h: Moved to ...
44443         * sysdeps/x86/fpu_control.h: Here.
44445         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44446         (_FPU_SETCW): Likewise.
44448 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
44450         [BZ #14117]
44451         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44452         * sysdeps/x86/fpu/bits/mathinline.h: This.
44453         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44455         [BZ #14050]
44456         [BZ #14117]
44457         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44458         functions if __x86_64__ is defined.
44460 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
44462         * string/endian.h: Add !__ASSEMBLER__ condition for including
44463         conversion interfaces.
44465 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
44467         [BZ #14241]
44468         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44469         of ABS(x) in calculating zero to negative powers other than odd
44470         integers.
44471         * math/libm-test.inc (pow_test): Add more tests.
44473 2012-06-15  Andreas Jaeger  <aj@suse.de>
44475         * manual/contrib.texi (Contributors): Update entry of Liubov
44476         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44477         Machado Filho.
44479 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
44481         * string/string.h: Add __wur to GNU version of strerror_r.
44483 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
44485         [BZ #14229]
44486         * string/Makefile (tests): Add tst-strtok_r.
44487         * string/tst-strtok_r.c: New file.
44488         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44489         RAX_LP/RDX_LP on SAVE_PTR.
44491 2012-06-14  Roland McGrath  <roland@hack.frob.com>
44493         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44495 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
44497         * libm_test.inc (csqrt_test): Allow more spurious underflow
44498         exceptions.
44499         (j0_test): Likewise.
44500         (j1_test): Likewise.
44501         (y0_test): Likewise.
44502         (y1_test): Likewise.
44504 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
44506         * po/Makefile (libc.pot): Use UTF-8 charset.
44508 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
44510         [BZ #14210]
44511         Suppress sign-conversion warning from FD_SET.
44512         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44513         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44514         not unsigned long int.
44515         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44517 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
44519         [BZ #14050]
44520         [BZ #14117]
44521         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44522         __extern_always_inline instead of __extern_inline.
44523         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44524         (__signbit): Likewise.
44525         (__signbitl): Support C++ namespace.
44526         (lrintf): New inline function.
44527         (lrint): Likewise.
44528         (llrintf): Likewise.
44529         (llrint): Likewise.
44530         (fmaxf): Likewise.
44531         (fmax): Likewise.
44532         (fminf): Likewise.
44533         (fmin): Likewise.
44534         (rint): Likewise.
44535         (rintf): Likewise.
44536         (ceil): Likewise.
44537         (ceilf): Likewise.
44538         (floor): Likewise.
44539         (floorf): Likewise.
44540         (nearbyint): Likewise.
44541         (nearbyintf): Likewise.
44543 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
44545         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44546         non-default versions.
44548 2012-06-11  Roland McGrath  <roland@hack.frob.com>
44550         [BZ #14218]
44551         * manual/argp.texi (Argp): Reword argp_parse description slightly.
44553 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
44555         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44556         (FE_UPWARD, FE_DOWNWARD): Don't define.
44557         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44558         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44560         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44561         reading it.
44562         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44563         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44565 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44567         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44568         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44569         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44570         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44572 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
44574         [BZ #14117]
44575         * sysdeps/i386/fpu/bits/fenv.h: Removed.
44576         * sysdeps/i386/fpu/Implies: New file.
44577         * sysdeps/x86_64/fpu/Implies: Likewise.
44578         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44579         * sysdeps/x86/fpu/bits/fenv.h: This.
44581         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44582         __SSE_MATH__.
44584 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44586         [BZ #14134]
44587         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44588         character 0xffff that matches the last element of the
44589         conversion table.
44591 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44593         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44594         fmodl commit.
44596 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44598         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44599         values higher than 25.6283.
44601 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44603         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44604         subnormal exponent extraction and add some __builtin_expect.
44605         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44606         Fix for subnormal mantissa calculation.
44608 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
44610         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44611         cpu2 is -1 and errno is not ENOSYS.
44613 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
44615         [BZ #14117]
44616         * sysdeps/i386/i486/bits/string.h: Renamed to ...
44617         * sysdeps/x86/bits/string.h: This.
44618         * sysdeps/x86_64/bits/string.h: Removed.
44620         * sysdeps/i386/i486/bits/string.h: Define inline functions only
44621         if not compiling for x86-64, but compiling for >= i486.
44623         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44624         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44626         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44627         New macro from Linux kernel 3.4.0.
44628         (FP_XSTATE_MAGIC2): Likewise.
44629         (FP_XSTATE_MAGIC2_SIZE): Likewise.
44630         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44631         (struct _fpx_sw_bytes): New struct.
44632         (struct _xsave_hdr): Likewise.
44633         (struct _ymmh_state): Likewise.
44634         (struct _xstate): Likewise.
44636         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44637         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44638         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44639         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44640         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44641         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44643         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44644         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44645         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44646         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44647         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44648         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44650 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44652         [BZ #13743]
44653         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44654         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44655         (sysdep_headers): Include sys/platform/ppc.h.
44656         * sysdeps/powerpc/test-gettimebase.c: Test for
44657         __ppc_get_timebase() to catch future ISA opcode/insn changes.
44658         * manual/Makefile (appendices): Include platform.texi.
44659         * manual/contrib.texi (Contributors): Update @node pointers.
44660         * manual/maint.texi (Maintenance): Likewise.
44661         (Platform): New node.
44662         * manual/platform.texi: New file.  Document the new features.
44664 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44665             Jakub Jelinek  <jakub@redhat.com>
44667         [BZ #14188]
44668         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44669         where __builtin_expect is unavailable.
44671 2012-06-03  David S. Miller  <davem@davemloft.net>
44673         * stdlib/longlong.h: Updated from GCC.
44675 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
44677         [BZ #14042]
44678         * sysdeps/powerpc/powerpc32/mcount.c: New file.
44679         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44680         __mcount_internal.
44681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44682         (GLIBC_2.16): Likewise.
44684 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44686         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44688 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44691         (default-abi): New variable.
44692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44693         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44694         variable.
44695         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44696         Likewise.
44697         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44698         Likewise.
44699         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44700         Likewise.
44702         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44703         definition.  Document in comment.
44705 2012-06-01  David S. Miller  <davem@davemloft.net>
44707         * stdlib/longlong.h: Updated from GCC.
44709 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44711         [BZ #14117]
44712         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44713         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44714         sys/debugreg.h sys/io.h here.
44715         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44716         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44717         sys/io.h.
44718         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44719         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44720         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44721         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44722         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44723         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44725         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44726         Define only if __x86_64__ is defined.
44728 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44730         [BZ #14048]
44731         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44732         Use int64_t for variable i.
44733         * math/libm-test.inc (fmod_test): Add more tests.
44735         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44736         z computation is not scheduled after fetestexcept.
44737         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44738         Use math_force_eval instead of asm to ensure calculation scheduled
44739         before exception test.
44740         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44741         Ensure a1 + u.d computation is not scheduled after fetestexcept.
44743 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
44745         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44746         computation is not scheduled after fetestexcept.
44748 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44750         [BZ #14117]
44751         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44752         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44754 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44756         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44757         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44759 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44761         [BZ #14117]
44762         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44763         <bits/wordsize.h>.
44764         (__WCHAR_MIN): Support __WORDSIZE == 64.
44765         (__WCHAR_MAX): Likewise.
44767         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44768         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44770         [BZ #14183]
44771         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44772         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44774         [BZ #14117]
44775         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44776         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44778         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44779         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44781         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44782         Defined to 1 if __x86_64__ isn't defined.
44783         (_STAT_VER_LINUX_OLD): New.
44784         (st_atime): Remove duplicate.
44785         (st_mtime): Likewise.
44786         (st_ctime): Likewise.
44788 2012-05-31  David S. Miller  <davem@davemloft.net>
44790         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44791         entries.
44793 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
44795         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44796         gen-libm-test.pl.
44798         [BZ #14132]
44799         * elf/dl-reloc.c: Include <_itoa.h>.
44800         (_dl_reloc_bad_type): Remove use of INTUSE.
44801         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44802         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44803         * stdio-common/psiginfo.c (psiginfo): Likewise.
44804         * stdio-common/psignal.c (psignal): Likewise.
44805         * string/strsignal.c (strsignal): Likewise.
44806         * include/signal.h (_sys_siglist): Declare hidden proto.
44807         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
44808         INTVARDEF with libc_hidden_data_def.
44809         * stdio-common/itoa-udigits.c: Likewise.
44810         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44811         (_itoa_lower_digits_internal): Remove declaration.
44812         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44813         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44814         (_sys_sigabbrev_internal): Remove aliases.
44815         (_sys_siglist): Define hidden alias.
44817 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
44819         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44820         bits/sysctl.h.
44822 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44824         [BZ #14117]
44825         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44826         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44828         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44829         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44830         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44831         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44832         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44833         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44835         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44836         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44837         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44839         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44840         with __addr.
44841         (insw): Likewise.
44842         (insl): Likewise.
44843         (outsb): Likewise.
44844         (outsw): Likewise.
44845         (outsl): Likewise.
44847         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44848         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44849         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44851         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44852         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44853         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44854         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44855         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44856         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44858         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44859         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44861         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44862         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44864         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44865         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44866         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44868         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44869         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44870         to ...
44871         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44873         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44874         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44875         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44877         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44878         for x86-64.
44879         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44881 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
44883         * math/math.h (M_El): Use two more decimal places.
44884         (M_LOG2El): Likewise.
44885         (M_LOG10El): Likewise.
44886         (M_LN2l): Likewise.
44887         (M_LN10l): Likewise.
44888         (M_PIl): Likewise.
44889         (M_PI_2l): Likewise.
44890         (M_PI_4l): Likewise.
44891         (M_1_PIl): Likewise.
44892         (M_2_PIl): Likewise.
44893         (M_2_SQRTPIl): Likewise.
44894         (M_SQRT2l): Likewise.
44895         (M_SQRT1_2l): Likewise.
44897 2012-05-31  David S. Miller  <davem@davemloft.net>
44899         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44900         values between float registers.
44901         * sysdeps/sparc/sparc64/memset.S: Likewise.
44902         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44904 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
44906         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44907         -D_FORTIFY_SOURCE=1.
44908         (CPPFLAGS-tst-longjmp_chk.c): Define.
44909         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44910         (CPPFLAGS-tst-longjmp_chk2.c): Define.
44911         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44912         CFLAGS-tst-wchar-h.c.
44914 2012-05-31  Marek Polacek  <polacek@redhat.com>
44916         [BZ #14132]
44917         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44918         __endmntent_internal): Remove declaration.
44919         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44920         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44921         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44923 2012-05-30  David S. Miller  <davem@davemloft.net>
44925         * sysdeps/sparc/sparc32/soft-fp/q_util.c
44926         (___Q_simulate_exceptions): Use real FP ops rather than writing
44927         into the %fsr.
44928         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44929         Likewise.
44931 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44933         [BZ #14117]
44934         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44935         * sysdeps/x86/bits/xtitypes.h: This.
44937         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44938         * sysdeps/x86/bits/wordsize.h: This.
44940         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44941         * sysdeps/x86/bits/huge_vall.h: This.
44943         * sysdeps/i386/bits/select.h: Removed.
44944         * sysdeps/x86_64/bits/select.h: Renamed to ...
44945         * sysdeps/x86/bits/select.h: This.
44947         * sysdeps/i386/bits/setjmp.h: Removed.
44948         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44949         * sysdeps/x86/bits/setjmp.h: This.
44951         * sysdeps/i386/bits/mathdef.h: Removed.
44952         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44953         * sysdeps/x86/bits/mathdef.h: This.
44955 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
44957         [BZ #14132]
44958         * include/sys/socket.h (__connect_internal)
44959         (__libc_sa_len_internal): Remove declaration.
44960         (__connect, __libc_sa_len): Declare hidden_proto.
44961         (SA_LEN): Remove use of INTUSE.
44962         * socket/connect.c: Add libc_hidden_def.
44963         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44964         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44965         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44966         alias.
44967         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44968         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44969         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44970         of adding _internal alias.
44972 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44974         [BZ #14117]
44975         * sysdeps/i386/bits/link.h: Removed.
44976         * sysdeps/i386/bits/linkmap.h: Likewise.
44977         * sysdeps/x86_64/bits/link.h: Renamed to ...
44978         * sysdeps/x86/bits/link.h: This.
44979         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44980         * sysdeps/x86/bits/linkmap.h: This.
44982         * sysdeps/i386/bits/endian.h: Removed.
44983         * sysdeps/x86_64/bits/endian.h: Renamed to ...
44984         * sysdeps/x86/bits/endian.h: This.
44986         * sysdeps/i386/bits/byteswap.h: Removed.
44987         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44988         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44989         * sysdeps/x86/bits/byteswap.h: This.
44990         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44991         * sysdeps/x86/bits/byteswap-16.h: This.
44992         * sysdeps/i386/Implies: Add x86.
44993         * sysdeps/x86_64/Implies: Likewise.
44995 2012-05-30  David S. Miller  <davem@davemloft.net>
44997         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44998         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44999         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
45000         (FP_TRAPPING_EXCEPTIONS): Define.
45001         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
45002         (FP_TRAPPING_EXCEPTIONS): Define.
45003         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
45004         subnormals only when inexact has been signalled or underflow
45005         exceptions are enabled.
45006         (_FP_PACK_CANONICAL): Likewise.
45008 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45010         [BZ #14183]
45011         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
45012         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
45014 2012-05-30  Richard Henderson  <rth@twiddle.net>
45016         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
45017         with #ifndef NOT_IN_libc.
45019         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
45020         marked to avoid plt entry.
45022 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
45024         [BZ #14112]
45025         * Makeconfig (default-abi): New macro.
45026         (abi-includes): Likewise.
45027         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
45028         $(abi-$(default-abi)-lib-soname) for soname if defined.
45029         ($(common-objpfx)gnu/lib-names.stmp): Generate from
45030         abi-variants.
45031         * Makefile (installed-stubs): Likewise.
45032         * include/stubs-biarch.h: Removed.
45033         * scripts/lib-names.awk: Only handle one library at a time.
45034         * scripts/soversions.awk: Remove WORDSIZE support.
45035         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
45036         entries.
45037         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
45038         Removed.
45039         (syscall-list-default-condition): Likewise.
45040         (syscall-list-default-condition): Likewise.
45041         (syscall-list-includes): Likewise.
45042         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
45043         syscall-list-* with abi-*.  Handle undefined abi-variants.
45044         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
45045         * sysdeps/unix/sysv/linux/i386/Implies: New file.
45046         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
45047         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
45048         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
45049         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
45050         Removed.
45051         (syscall-list-32-options): Likewise.
45052         (syscall-list-32-condition): Likewise.
45053         (syscall-list-64-options): Likewise.
45054         (syscall-list-64-condition): Likewise.
45055         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
45056         macro.
45057         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
45058         Renamed to ...
45059         (abi-*): This.
45060         (abi-64-ld-soname): New macro.
45061         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
45062         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
45063         Renamed to ...
45064         (abi-*): This.
45065         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
45066         * sysdeps/x86_64/x32/shlib-versions: Likewise.
45068 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
45070         * sysdeps/unix/sysv/linux/kernel-features.h
45071         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
45072         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
45073         include <kernel-features.h>.
45074         [!__NR_ftruncate64]: Remove conditional code.
45075         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45076         [__NR_ftruncate64]: Make code unconditional.
45077         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45078         * sysdeps/unix/sysv/linux/truncate64.c: Do not
45079         include <kernel-features.h>.
45080         [!__NR_ftruncate64]: Remove conditional code.
45081         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45082         [__NR_ftruncate64]: Make code unconditional.
45083         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
45085         include <kernel-features.h>.
45086         [!__NR_ftruncate64]: Remove conditional code.
45087         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45088         [__NR_ftruncate64]: Make code unconditional.
45089         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
45091         include <kernel-features.h>.
45092         [!__NR_ftruncate64]: Remove conditional code.
45093         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45094         [__NR_ftruncate64]: Make code unconditional.
45095         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
45097         * configure.in (libc_cv_fpie): Weaken to a compile test using
45098         LIBC_TRY_CC_OPTION.
45099         * configure: Regenerated.
45101 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
45104         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
45105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
45106         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45107         Refreshed.
45108         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
45109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
45110         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
45111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
45112         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
45113         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45114         Refreshed.
45116 2012-05-27  David S. Miller  <davem@davemloft.net>
45118         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
45119         (___Q_zero): New.
45120         (__Q_simulate_exceptions): Return void.  Change to simulate
45121         exceptions by writing into the %fsr.
45122         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
45123         (__Qp_handle_exceptions): Likewise.
45124         (numbers): Delete.
45125         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
45126         __Qp_handle_exceptions.
45127         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
45128         __Qp_handle_exceptions.
45129         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45130         as unused and give dummy FP_RND_NEAREST initializer.
45131         (FP_INHIBIT_RESULTS): Define.
45132         (___Q_simulate_exceptions): Update declaration.
45133         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
45134         formatting.
45135         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45136         as unused and give dummy FP_RND_NEAREST initializer.
45137         (__Qp_handle_exceptions): Update declaration.
45138         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45139         formatting.
45141 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
45143         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45144         the temporary FPU control word.
45145         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45146         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45147         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45148         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45149         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45150         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45151         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45152         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45153         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45154         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45155         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45157 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45159         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45160         fields.
45162 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
45164         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45165         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45166         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45167         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45168         Likewise.
45169         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45170         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45171         Likewise.
45173 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
45175         * po/h.po: Update from translation team.
45177 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
45179         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45181         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45182         handling of denormals.
45183         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45184         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45185         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45186         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45187         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45188         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45189         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45190         Likewise.
45192 2012-05-26  Marek Polacek  <polacek@redhat.com>
45194         [BZ #14152]
45195         * math/libm-test.inc (fma_test): Don't always expect underflow
45196         exception.
45198 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45200         [BZ #12416]
45201         * elf/tst-execstack.c: Include stackinfo.h.
45202         (do_test): Adjust test case to ensure that pthread_getattr_np
45203         behaviour remains the same after marking stack executable.
45205 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45207         * sysdeps/unix/sysv/linux/kernel-features.h
45208         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45209         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45210         kernel-features.h.
45211         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45212         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45213         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45214         kernel-features.h.
45215         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45216         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45218 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
45220         * configure.in: Define the default includes to being none.
45221         * configure: Regenerated.
45223 2012-05-25  Roland McGrath  <roland@hack.frob.com>
45225         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45226         * sysdeps/x86_64/setjmp.S: Likewise.
45227         * sysdeps/i386/bsd-setjmp.S: Likewise.
45228         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45229         * sysdeps/i386/setjmp.S: Likewise.
45230         * sysdeps/i386/__longjmp.S: Likewise.
45231         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45232         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45234         * include/stap-probe.h: New file.
45235         * configure.in: Handle --enable-systemtap.
45236         * configure: Regenerated.
45237         * config.h.in (USE_STAP_PROBE): New #undef.
45238         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45239         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45240         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45242 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45244         [BZ #13717]
45245         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45246         to 2.4.0 where earlier.
45247         * sysdeps/unix/sysv/linux/configure: Regenerated.
45248         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45249         <kernel-features.h>.
45250         [__ASSUME_32BITUIDS]: Make code unconditional.
45251         [!__ASSUME_32BITUIDS]: Remove conditional code.
45252         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45253         <kernel-features.h>.
45254         [__ASSUME_32BITUIDS]: Make code unconditional.
45255         [!__ASSUME_32BITUIDS]: Remove conditional code.
45256         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45257         [__ASSUME_32BITUIDS]: Make code unconditional.
45258         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45259         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45260         <kernel-features.h>.
45261         [__ASSUME_32BITUIDS]: Make code unconditional.
45262         [!__ASSUME_32BITUIDS]: Remove conditional code.
45263         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45264         <kernel-features.h>.
45265         [__ASSUME_32BITUIDS]: Make code unconditional.
45266         [!__ASSUME_32BITUIDS]: Remove conditional code.
45267         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45268         <kernel-features.h>.
45269         [__ASSUME_32BITUIDS]: Make code unconditional.
45270         [!__ASSUME_32BITUIDS]: Remove conditional code.
45271         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45272         <kernel-features.h>.
45273         [__ASSUME_32BITUIDS]: Make code unconditional.
45274         [!__ASSUME_32BITUIDS]: Remove conditional code.
45275         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45276         <kernel-features.h>.
45277         [__ASSUME_32BITUIDS]: Make code unconditional.
45278         [!__ASSUME_32BITUIDS]: Remove conditional code.
45279         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45280         <kernel-features.h>.
45281         [__ASSUME_32BITUIDS]: Make code unconditional.
45282         [!__ASSUME_32BITUIDS]: Remove conditional code.
45283         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45284         <kernel-features.h>.
45285         [__ASSUME_32BITUIDS]: Make code unconditional.
45286         [!__ASSUME_32BITUIDS]: Remove conditional code.
45287         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45288         <kernel-features.h>.
45289         [__ASSUME_32BITUIDS]: Make code unconditional.
45290         [!__ASSUME_32BITUIDS]: Remove conditional code.
45291         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45292         <kernel-features.h>.
45293         [__ASSUME_32BITUIDS]: Make code unconditional.
45294         [!__ASSUME_32BITUIDS]: Remove conditional code.
45295         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45296         <kernel-features.h>.
45297         [__ASSUME_32BITUIDS]: Make code unconditional.
45298         [!__ASSUME_32BITUIDS]: Remove conditional code.
45299         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45300         <kernel-features.h>.
45301         [__NR_setresgid] (__setresgid): Do not declare.
45302         [__ASSUME_32BITUIDS]: Make code unconditional.
45303         [!__ASSUME_32BITUIDS]: Remove conditional code.
45304         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45305         <kernel-features.h>.
45306         [__NR_setresuid] (__setresuid): Do not declare.
45307         [__ASSUME_32BITUIDS]: Make code unconditional.
45308         [!__ASSUME_32BITUIDS]: Remove conditional code.
45309         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45310         <kernel-features.h>.
45311         [__ASSUME_32BITUIDS]: Make code unconditional.
45312         [!__ASSUME_32BITUIDS]: Remove conditional code.
45313         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45314         <kernel-features.h>.
45315         [__ASSUME_32BITUIDS]: Make code unconditional.
45316         [!__ASSUME_32BITUIDS]: Remove conditional code.
45317         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45318         <kernel-features.h>.
45319         [__ASSUME_32BITUIDS]: Make code unconditional.
45320         [!__ASSUME_32BITUIDS]: Remove conditional code.
45321         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45322         <kernel-features.h>.
45323         [__ASSUME_32BITUIDS]: Make code unconditional.
45324         [!__ASSUME_32BITUIDS]: Remove conditional code.
45325         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45326         <kernel-features.h>.
45327         [__ASSUME_32BITUIDS]: Make code unconditional.
45328         [!__ASSUME_32BITUIDS]: Remove conditional code.
45329         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45330         <kernel-features.h>.
45331         [__ASSUME_32BITUIDS]: Make code unconditional.
45332         [!__ASSUME_32BITUIDS]: Remove conditional code.
45333         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45334         <kernel-features.h>.
45335         [__ASSUME_32BITUIDS]: Make code unconditional.
45336         [!__ASSUME_32BITUIDS]: Remove conditional code.
45337         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45338         <kernel-features.h>.
45339         [__ASSUME_32BITUIDS]: Make code unconditional.
45340         [!__ASSUME_32BITUIDS]: Remove conditional code.
45341         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45342         <kernel-features.h>.
45343         [__ASSUME_32BITUIDS]: Make code unconditional.
45344         [!__ASSUME_32BITUIDS]: Remove conditional code.
45345         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45346         <kernel-features.h>.
45347         [__ASSUME_32BITUIDS]: Make code unconditional.
45348         [!__ASSUME_32BITUIDS]: Remove conditional code.
45349         * sysdeps/unix/sysv/linux/kernel-features.h
45350         (__ASSUME_SETRESUID_SYSCALL): Remove.
45351         (__ASSUME_SETRESGID_SYSCALL): Likewise.
45352         (__ASSUME_32BITUIDS): Likewise.
45353         (__ASSUME_LDT_WORKS): Likewise.
45354         (__ASSUME_O_DIRECTORY): Likewise.
45355         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45356         architecture but not kernel version.
45357         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45358         (__ASSUME_MMAP2_SYSCALL): Likewise.
45359         (__ASSUME_STAT64_SYSCALL): Likewise.
45360         (__ASSUME_IPC64): Likewise.
45361         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45362         <kernel-features.h>.
45363         [__ASSUME_32BITUIDS]: Make code unconditional.
45364         [!__ASSUME_32BITUIDS]: Remove conditional code.
45365         * sysdeps/unix/sysv/linux/opendir.c: Do not include
45366         <kernel-features.h>.
45367         [__ASSUME_O_DIRECTORY]: Make code unconditional.
45368         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45369         132096]: Remove conditional code.
45370         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45371         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45372         <kernel-features.h>.
45373         [__ASSUME_32BITUIDS]: Make code unconditional.
45374         [!__ASSUME_32BITUIDS]: Remove conditional code.
45375         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45376         <kernel-features.h>.
45377         [__ASSUME_32BITUIDS]: Make code unconditional.
45378         [!__ASSUME_32BITUIDS]: Remove conditional code.
45379         * sysdeps/unix/sysv/linux/setegid.c: Do not include
45380         <kernel-features.h>.
45381         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45382         unconditional.
45383         (__setresgid): Do not declare.
45384         [__ASSUME_32BITUIDS]: Make code unconditional.
45385         [!__ASSUME_32BITUIDS]: Remove conditional code.
45386         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45387         <kernel-features.h>.
45388         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45389         unconditional.
45390         (__setresuid): Do not declare.
45391         [__ASSUME_32BITUIDS]: Make code unconditional.
45392         [!__ASSUME_32BITUIDS]: Remove conditional code.
45393         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45394         <kernel-features.h>.
45395         [__ASSUME_32BITUIDS]: Make code unconditional.
45396         [!__ASSUME_32BITUIDS]: Remove conditional code.
45397         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45398         <kernel-features.h>.
45399         [__ASSUME_32BITUIDS]: Make code unconditional.
45400         [!__ASSUME_32BITUIDS]: Remove conditional code.
45402 2012-05-25  Richard Henderson  <rth@twiddle.net>
45404         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45405         dl_hwcap to ifunc resolver.
45406         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45407         elf_ifunc_invoke.
45408         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45409         dl_hwcap to ifunc resolver.
45410         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45412 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45414         [BZ #14153]
45415         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45416         for |x| <= 2**-26, not 2**-57.
45417         * math/libm-test.inc (acos_test): Do not allow spurious underflow
45418         exception.
45420 2012-05-24  Jeff Law  <law@redhat.com>
45422         * stdio-common/Makefile (tests): Add bug25.
45423         * stdio-common/bug25.c: New test.
45425 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45427         [BZ #13576]
45428         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45429         multiple of MALLOC_ALIGNMENT in size.
45430         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45432 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45434         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45435         Require >= 256.
45436         (FILENAME_MAX): Use macro-int-constant.
45437         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
45438         (_IOFBF): Use macro-int-constant.
45439         (_IOLBF): Likewise.
45440         (_IONBF): Likewise.
45441         (SEEK_CUR): Likewise.
45442         (SEEK_END): Likewise.
45443         (SEEK_SET): Likewise.
45444         (TMP_MAX): Likewise.
45445         (EOF): Use macro-int-constant.  Require < 0.
45446         (NULL): Use macro-constant.  Require == 0.
45447         (stdin): Require type to be FILE *.
45448         (stdout): Likewise.
45449         (stderr): Likewise.
45450         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45451         macro-int-constant.
45452         (EXIT_SUCCESS): Likewise.
45453         (NULL): Use macro-constant.  Require == 0.
45454         (RAND_MAX): Use macro-int-constant.
45455         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45456         [C99-based standards] (strtof): Require function.
45457         [C99-based standards] (strtold): Likewise.
45458         [C99-based standards] (strtoll): Likewise.
45459         [C99-based standards] (strtoull): Likewise.
45460         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45461         [ISO || ISO99 || ISO11] (limits.h): Likewise.
45462         [ISO || ISO99 || ISO11] (math.h): Likewise.
45463         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45464         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45465         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45467 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
45469         [BZ #14132]
45470         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45471         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45472         * intl/dgettext.c (DCGETTEXT): Likewise.
45473         * intl/gettext.c (DCGETTEXT): Likewise.
45474         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45475         * posix/regex_internal.h (gettext): Likewise.
45476         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45477         Remove declaration.
45478         * include/argz.h (__argz_count_internal)
45479         (__argz_stringify_internal): Remove declaration.
45480         (__argz_count, __argz_stringify): Declare hidden proto.
45481         * intl/dcgettext.c: Remove use of INTDEF.
45482         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45483         * string/argz-stringify.c: Likewise.
45484         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45485         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45486         Declare hidden proto.
45487         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45488         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45489         Declare hidden proto.
45490         * include/stdio.h (__asprintf_internal): Don't declare.
45491         (__asprintf): Don't define as macro.  Declare hidden proto.
45492         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45493         (__fsetlocking): Declare hidden proto.
45494         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45495         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45496         hidden proto.
45497         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45498         (_IO_setlinebuf): Remove use of INTUSE.
45499         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45500         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45501         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45502         Remove declaration.
45503         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45504         (_IO_do_flush): Remove use of INTUSE.
45505         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45506         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45507         (_IO_adjust_column, _IO_least_wmarker)
45508         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45509         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45510         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45511         (_IO_default_doallocate, _IO_wdefault_doallocate)
45512         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45513         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45514         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45515         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45516         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45517         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45518         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45519         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45520         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45521         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45522         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45523         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45524         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45525         proto.
45526         (_IO_flush_all_internal, _IO_adjust_column_internal)
45527         (_IO_default_uflow_internal, _IO_default_finish_internal)
45528         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45529         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45530         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45531         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45532         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45533         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45534         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45535         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45536         (_IO_file_close_internal, _IO_file_close_it_internal)
45537         (_IO_file_underflow_internal, _IO_file_overflow_internal)
45538         (_IO_file_init_internal, _IO_file_attach_internal)
45539         (_IO_file_fopen_internal, _IO_file_read_internal)
45540         (_IO_file_sync_internal, _IO_file_seek_internal)
45541         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45542         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45543         (_IO_str_underflow_internal, _IO_str_overflow_internal)
45544         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45545         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45546         (_IO_list_all_internal, _IO_link_in_internal)
45547         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45548         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45549         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45550         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45551         (_IO_do_write_internal, _IO_padn_internal)
45552         (_IO_getline_info_internal, _IO_getline_internal)
45553         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45554         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45555         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45556         (_IO_vfscanf_internal, _IO_vfprintf_internal)
45557         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45558         (_IO_init_internal, _IO_un_link_internal): Don't declare.
45559         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45560         with libc_hidden_ver, remove use of INTUSE.
45561         * libio/genops.c: Likewise.
45562         * libio/freopen.c: Likewise.
45563         * libio/freopen64.c: Likewise.
45564         * libio/iofclose.c: Likewise.
45565         * libio/iofdopen.c: Likewise.
45566         * libio/iofflush.c: Likewise.
45567         * libio/iofflush_u.c: Likewise.
45568         * libio/iofgets.c: Likewise.
45569         * libio/iofgets_u.c: Likewise.
45570         * libio/iofopen.c: Likewise.
45571         * libio/iofopncook.c: Likewise.
45572         * libio/iofread.c: Likewise.
45573         * libio/iofread_u.c: Likewise.
45574         * libio/ioftell.c: Likewise.
45575         * libio/iofwrite.c: Likewise.
45576         * libio/iogetline.c: Likewise.
45577         * libio/iogets.c: Likewise.
45578         * libio/iogetwline.c: Likewise.
45579         * libio/iopadn.c: Likewise.
45580         * libio/iopopen.c: Likewise.
45581         * libio/ioseekoff.c: Likewise.
45582         * libio/ioseekpos.c: Likewise.
45583         * libio/iosetbuffer.c: Likewise.
45584         * libio/iosetvbuf.c: Likewise.
45585         * libio/ioungetc.c: Likewise.
45586         * libio/ioungetwc.c: Likewise.
45587         * libio/iovdprintf.c: Likewise.
45588         * libio/iovsprintf.c: Likewise.
45589         * libio/iovsscanf.c: Likewise.
45590         * libio/memstream.c: Likewise.
45591         * libio/obprintf.c: Likewise.
45592         * libio/oldfileops.c: Likewise.
45593         * libio/oldiofclose.c: Likewise.
45594         * libio/oldiofdopen.c: Likewise.
45595         * libio/oldiofopen.c: Likewise.
45596         * libio/oldiopopen.c: Likewise.
45597         * libio/oldstdfiles.c: Likewise.
45598         * libio/putc.c: Likewise.
45599         * libio/setbuf.c: Likewise.
45600         * libio/setlinebuf.c: Likewise.
45601         * libio/stdfiles.c: Likewise.
45602         * libio/strops.c: Likewise.
45603         * libio/vasprintf.c: Likewise.
45604         * libio/vscanf.c: Likewise.
45605         * libio/vsnprintf.c: Likewise.
45606         * libio/vswprintf.c: Likewise.
45607         * libio/wfiledoalloc.c: Likewise.
45608         * libio/wfileops.c: Likewise.
45609         * libio/wgenops.c: Likewise.
45610         * libio/wmemstream.c: Likewise.
45611         * libio/wstrops.c: Likewise.
45612         * libio/__fpurge.c: Likewise.
45613         * libio/__fsetlocking.c: Likewise.
45614         * assert/assert.c: Likewise.
45615         * debug/fgets_chk.c: Likewise.
45616         * debug/fgets_u_chk.c: Likewise.
45617         * debug/fread_chk.c: Likewise.
45618         * debug/fread_u_chk.c: Likewise.
45619         * debug/gets_chk.c: Likewise.
45620         * debug/obprintf_chk.c: Likewise.
45621         * debug/vasprintf_chk.c: Likewise.
45622         * debug/vdprintf_chk.c: Likewise.
45623         * debug/vsnprintf_chk.c: Likewise.
45624         * debug/vsprintf_chk.c: Likewise.
45625         * malloc/mtrace.c: Likewise.
45626         * misc/error.c: Likewise.
45627         * misc/syslog.c: Likewise.
45628         * stdio-common/asprintf.c: Likewise.
45629         * stdio-common/fxprintf.c: Likewise.
45630         * stdio-common/getw.c: Likewise.
45631         * stdio-common/isoc99_fscanf.c: Likewise.
45632         * stdio-common/isoc99_scanf.c: Likewise.
45633         * stdio-common/isoc99_vfscanf.c: Likewise.
45634         * stdio-common/isoc99_vscanf.c: Likewise.
45635         * stdio-common/isoc99_vsscanf.c: Likewise.
45636         * stdio-common/printf-prs.c: Likewise.
45637         * stdio-common/printf_fp.c: Likewise.
45638         * stdio-common/printf_fphex.c: Likewise.
45639         * stdio-common/printf_size.c: Likewise.
45640         * stdio-common/putw.c: Likewise.
45641         * stdio-common/scanf.c: Likewise.
45642         * stdio-common/sprintf.c: Likewise.
45643         * stdio-common/tmpfile.c: Likewise.
45644         * stdio-common/vfprintf.c: Likewise.
45645         * stdio-common/vfscanf.c: Likewise.
45646         * stdlib/strfmon_l.c: Likewise.
45647         * sunrpc/openchild.c: Likewise.
45648         * sunrpc/xdr_stdio.c: Likewise.
45649         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45650         * sysdeps/mach/hurd/tmpfile.c: Likewise.
45652 2012-05-24  Roland McGrath  <roland@hack.frob.com>
45654         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45656         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45657         in the third column, to generate for the shared library an IFUNC
45658         that uses _dl_vdso_vsym.
45659         * Makerules (COMPILE.c, compile-stdin.c): New variables.
45660         * Makeconfig (object-suffixes-noshared): New variable.
45662         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45663         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45664         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45665         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45667         [BZ #14132]
45668         * include/sys/time.h (__gettimeofday): Remove macro.
45669         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45670         * time/gettimeofday.c (__gettimeofday): Remove #undef.
45671         Remove INTDEF.
45672         (__gettimeofday): Add libc_hidden_def.
45673         (gettimeofday): Add libc_hidden_weak.
45674         * sysdeps/mach/gettimeofday.c: Likewise.
45675         * sysdeps/posix/gettimeofday.c: Likewise.
45676         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45677         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45678         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45679         (__gettimeofday_internal): Remove strong_alias.
45680         (__gettimeofday): Add libc_hidden_def.
45681         (gettimeofday): Add libc_hidden_weak.
45682         * sysdeps/unix/syscalls.list (gettimeofday):
45683         Remove __gettimeofday_internal alias.
45685 2012-05-24  Daniel Jacobowitz  <drow@false.org>
45686             H.J. Lu  <hongjiu.lu@intel.com>
45688         [BZ #12495]
45689         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45690         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45691         (largebin_index_32_big): New.
45692         (largebin_index): Use it for 16-byte alignment.
45693         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
45694         correction with front_misalign.
45696 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45698         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45700         Likewise.
45701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45702         Likewise.
45703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45704         Likewise.
45705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45706         Likewise.
45707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45708         Likewise.
45709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45710         Likewise.
45711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45712         Likewise.
45713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45714         Likewise.
45715         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45716         Likewise.
45717         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45718         Likewise.
45719         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45720         Likewise.
45721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45722         Likewise.
45724         * scripts/data/c++-types-x32-linux-gnu.data: New file.
45725         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45727 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45729         [BZ #10846]
45730         [BZ #14036]
45731         * math/libm-test.inc (exp_test): Add test from bug 14036.
45732         (pow_test): Add test from bug 10846.
45734         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45735         and other flags.
45736         (special_function): Do not include flags in test name.
45737         (parse_args): Likewise.
45738         * sysdeps/i386/fpu/libm-test-ulps: Update.
45739         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45740         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45741         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45744         * math/gen-libm-test.pl (%beautify): Add entries for underflow
45745         exceptions.
45746         * math/libm-test.inc ("Philosophy"): Update comment about
45747         exception testing.
45748         (UNDERFLOW_EXCEPTION): New macro.
45749         (UNDERFLOW_EXCEPTION_OK): Likewise.
45750         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45751         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45752         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45753         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45754         (INVALID_EXCEPTION_OK): Update value.
45755         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45756         (OVERFLOW_EXCEPTION_OK): Likewise.
45757         (IGNORE_ZERO_INF_SIGN): Likewise.
45758         (test_exceptions): Handle underflow exceptions.
45759         (acos_test): Update for underflow exception expectations.
45760         (cexp_test): Likewise.
45761         (clog_test): Likewise.
45762         (clog10_test): Likewise.
45763         (csqrt_test): Likewise.
45764         (ctan_test): Likewise.
45765         (ctanh_test): Likewise.
45766         (exp_test): Likewise.
45767         (exp10_test): Likewise.
45768         (exp2_test): Likewise.
45769         (expm1_test): Likewise.
45770         (fma_test): Likewise.
45771         (j0_test): Likewise.
45772         (jn_test): Likewise.
45773         (nexttoward_test): Likewise.
45774         (pow_test): Likewise.
45775         (scalbn_test): Likewise.
45776         (scalbln_test): Likewise.
45777         (tan_test): Likewise.
45778         (y1_test): Likewise.
45779         * sysdeps/i386/fpu/libm-test-ulps: Update.
45780         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45782 2012-05-23  David S. Miller  <davem@davemloft.net>
45784         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45785         (__libc_sigaction): Remove unused local variables.
45787 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45789         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45791 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
45793         mktime: avoid signed integer overflow
45794         * time/mktime.c (__mktime_internal): Do not mishandle the case
45795         where diff == INT_MIN.
45797         mktime: simplify computation of average
45798         * time/mktime.c (ranged_convert): Use new time_t_avg function
45799         instead of rolling our own (probably-slower) code.
45801         mktime: do not assume signed right shift propagates sign bit
45802         * time/mktime.c (isdst_differ): New static function.
45803         (__mktime_internal): No need to normalize tm_isdst now.
45804         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45805         tm_isdst values.
45807         mktime: merge another wrapv change from gnulib
45808         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45809         from some compilers.
45811         mktime: remove incorrect attempt at unusual arithmetics
45812         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45813         The code didn't really work on such machines anyway.
45814         (TYPE_MINIMUM): Assume two's complement.
45815         (twos_complement_arithmetic): Verify that long_int and time_t
45816         are two's complement (or unsigned, in the latter case).
45818         mktime: check signed shifts on long_int and time_t, too
45819         * time/mktime.c (SHR): Check that shifts work as desired
45820         on the types long_int and time_t too, as SHR is used on
45821         such types.
45823         mktime: do not assume 'long' is wide enough
45824         * time/mktime.c (verify): Move decl up.
45825         (long_int): New type.
45826         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45827         to remove assumption in the code that 'long' is wide enough to
45828         store year values.  This assumption is not true on x32 and on
45829         some non-glibc platforms.
45831         mktime: merge wrapv change from gnulib
45832         * time/mktime.c (WRAPV): New macro.
45833         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45834         (guess_time_tm, __mktime_internal): Do not assume that signed
45835         integer overflow wraps around; modern compilers generate code
45836         where this assumption is no longer valid.
45838 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45840         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45841         Replace "jmp L(pseudo_end)" with "ret".
45842         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45843         Likewise.
45845 2012-05-23  Andreas Jaeger  <aj@suse.de>
45847         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45848         * sysdeps/unix/sysv/linux/poll.c: Remove file.
45850 2012-05-23  Andreas Jaeger  <aj@suse.de>
45851             Maximilian Attems  <max@stro.at>
45853         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45854         New macros.
45856 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45858         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45859         code so that pseudo_end is just ret and the stack pointer is
45860         correct also for static library in error case.
45862 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
45864         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45865         move to syscalls.list.
45866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45871         * manual/install.texi (Running make install): Do not mention Linux
45872         kernel version for which pt_chown is not needed.
45873         (Linux): Do not mention problems with nscd with 2.0 kernels.
45874         * INSTALL: Regenerated.
45876 2012-05-23  Andreas Jaeger  <aj@suse.de>
45878         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45879         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45880         macro.
45881         * sysdeps/unix/sysv/linux/s390/bits/mman.h
45882         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45883         * sysdeps/unix/sysv/linux/sh/bits/mman.h
45884         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45885         * sysdeps/unix/sysv/linux/i386/bits/mman.h
45886         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45887         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45888         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45889         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45890         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45891         * sysdeps/unix/sysv/linux/bits/in.h
45892         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45894 2012-05-22  Roland McGrath  <roland@hack.frob.com>
45896         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45897         (PREPARE_VERSION): Just use assert instead, it will be elided
45898         under [NDEBUG] anyway.
45900 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45902         * sysdeps/unix/sysv/linux/Makefile: Include
45903         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45904         (sysdep_routines): Remove sysctl.
45905         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45906         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45907         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45908         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45909         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45911 2012-05-22  Andreas Jaeger  <aj@suse.de>
45913         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45914         that pseudo_end is just ret and the stack pointer is correct also
45915         for static library in error case.
45917 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
45919         [BZ #14122]
45920         * nss/nsswitch.c (defconfig_entries): New variable.
45921         (__nss_database_lookup): Don't leak defconfig entries.
45922         (nss_parse_service_list): Don't leak on error paths.
45923         (free_database_entries): New function.
45924         (free_defconfig): New function.
45925         (free_mem): Move common code to free_database_entries.
45927 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45929         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45930         Add arch_prctl.
45931         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45933         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45934         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45936         New macro.
45937         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45938         (INTERNAL_SYSCALL_TYPES): Likewise.
45939         (LOAD_ARGS_TYPES_[1-6]): Likewise.
45940         (LOAD_REGS_TYPES_[1-6]): Likewise.
45941         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45942         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45944 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45946         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45947         copysignl for GLIBC_2_0.
45948         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45949         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45950         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45951         logbl for GLIBC_2_0.
45952         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45953         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45955 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45957         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45958         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45960         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45961         Use "neg %eax".
45963         * time/mktime.c: Update copyright years.
45965 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
45967         mktime: merge comment-quoting-style change from gnulib
45968         * time/mktime.c: Quote 'like this' in comments.
45969         The GNU coding standards suggest that we no longer quote `like this',
45970         as "`" and "'" are typically rendered asymmetrically nowadays.
45971         The typical gnulib style is to quote 'like this' when quoting
45972         code, and "like this" when quoting English.
45974         * time/mktime.c (compile-command): Add "-I.".
45976         mktime: merge mktime-internal.h change from gnulib
45977         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45979         mktime: merge time_r change from gnulib
45980         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45982         mktime: merge DEBUG change from gnulib
45983         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45984         case system <time.h> has a #define.
45986         mktime: merge <sys/types.h> change from gnulib
45987         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45988         since <time.t> is now guaranteed to define time_t.
45990         mktime: merge HAVE_CONFIG_H change from gnulib
45991         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45993 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45995         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45996         Use "neg %eax".
45998         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45999         __rlim_t cast.
46000         (struct rusage): Use anonymous union to pad each field to
46001         __syscall_slong_t.
46003 2012-05-21  David S. Miller  <davem@davemloft.net>
46005         * Makefules (o-iterator): Remove .s cases.
46006         (compile-command.s): Delete.
46007         (COMPILE.s): Delete.
46008         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
46010 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
46012         * configure.in (libc_cv_predef_stack_protector): Only consider
46013         "foobar" and "__stack_chk_fail" lines in libc_undefs.
46014         * configure: Regenerated.
46016 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46018         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
46019         New macro.  Use R*LP on int and pointer.
46020         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
46021         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
46022         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
46023         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
46025         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
46026         [__WORDSIZE_TIME64_COMPAT32] instead of
46027         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
46028         (struct utmp): Likewise.
46029         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
46030         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
46031         Renamed to ...
46032         (__WORDSIZE_TIME64_COMPAT32): This.
46033         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
46034         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
46035         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
46036         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
46037         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
46038         (__WORDSIZE_TIME64_COMPAT32): New macro.
46040 2012-05-21  Andreas Jaeger  <aj@suse.de>
46042         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
46043         only if [SHARED]. Add prototype for __wcschr_ia32.
46045 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46047         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
46048         of %rbp unmolested in the jmp_buf while mangling the low bits.
46049         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
46050         unmolested high bits of %rbp while demangling the low bits.
46051         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
46053 2012-05-21  Andreas Jaeger  <aj@suse.de>
46055         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
46056         * sunrpc/svc_simple.c: Use it for registerrpc.
46057         * sunrpc/xcrypt.c: Use it for passwd2des.
46059         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
46061 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46063         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
46064         Don't define if [__SYSCALL_WORDSIZE != 32].
46065         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
46066         New macro.
46068 2012-05-21  Bruno Haible  <bruno@clisp.org>
46069             Andreas Jaeger  <aj@suse.de>
46071         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
46072         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
46073         inptr and inend for must_buffer_ch.
46074         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
46075         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
46076         * stdio-common/Makefile (tests): Remove bug15.
46077         (bug15-ENV): Remove macro.
46078         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
46079         anymore.
46081 2012-05-19  Andreas Jaeger  <aj@suse.de>
46082             Roland McGrath  <roland@hack.frob.com>
46084         * manual/contrib.texi: Completely rewritten. It contains now an
46085         alphabetical list of contributors and their contributions.
46087 2012-05-21  Richard Henderson  <rth@twiddle.net>
46089         * misc/getauxval.c (__getauxval): Use unsigned long int.
46090         * misc/sys/auxv.h: Include <sys/cdefs.h>.
46091         (getauxval): Use unsigned long int.
46093 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
46095         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
46097 2012-05-21  Roland McGrath  <roland@hack.frob.com>
46099         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
46100         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
46101         __alignof__ (long double).
46103 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46107 2012-05-20  Richard Henderson  <rth@twiddle.net>
46109         * misc/getauxval.c: New file.
46110         * misc/sys/auxv.h: New file.
46111         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
46112         (routines): Add getauxval.
46113         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
46114         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
46115         * elf/dl-sysdep.c (_dl_auxv): Remove.
46116         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
46117         * elf/dl-support.c (_dl_auxv): New variable.
46118         (_dl_aux_init): Initialize it.
46119         * manual/startup.texi (Auxiliary Vector): New node.
46120         * sysdeps/generic/bits/hwcap.h: New file.
46121         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
46122         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
46123         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
46124         * sysdeps/sparc/sysdep.h: ... here.  Include it.
46125         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
46126         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
46127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46128         Update.
46129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
46130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
46131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
46132         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
46133         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46134         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46135         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46138 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46142 2012-05-19  David S. Miller  <davem@davemloft.net>
46144         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46146 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46148         [BZ #14123]
46149         * math/s_ccosh.c: Include <float.h>
46150         (__ccosh): Avoid internal overflow calculating sinh and cosh
46151         values before multiplying by sin and cos values.
46152         * math/s_ccoshf.c: Likewise.
46153         * math/s_ccoshl.c: Likewise.
46154         * math/s_csin.c: Likewise.
46155         * math/s_csinf.c: Likewise.
46156         * math/s_csinl.c: Likewise.
46157         * math/s_csinh.c: Likewise.
46158         * math/s_csinhf.c: Likewise.
46159         * math/s_csinhl.c: Likewise.
46160         * math/libm-test.inc (ccos_test): Add more tests.
46161         (ccosh_test): Likewise.
46162         (csin_test): Likewise.
46163         (csinh_test): Likewise.
46164         * sysdeps/i386/fpu/libm-test-ulps: Update.
46165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46167 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
46169         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46170         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46172         * sysdeps/x86_64/x32/_itoa.h: Add comment.
46174 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46176         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46177         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46178         * sysdeps/powerpc/soft-fp/Versions: Likewise.
46179         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46180         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46181         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46182         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46183         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46184         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46185         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46186         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46187         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46188         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46189         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46190         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46191         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46192         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46193         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46194         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46195         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46196         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46197         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46198         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46199         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46200         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46201         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46202         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46203         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46204         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46205         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46206         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46208 2012-05-18  Andreas Jaeger  <aj@suse.de>
46210         * csu/.gitignore: Delete.
46212 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46214         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46215         (timex): Use __syscall_slong_t.
46217 2012-05-18  Andreas Jaeger  <aj@suse.de>
46218             Carlos O'Donell  <carlos_odonell@mentor.com>
46220         * manual/install.texi (Configuring and compiling): Update
46221         description about files modified in the source directory.
46222         * INSTALL: Regenerated.
46224 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46226         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46227         value.  Use "or" to set return value to -1.
46228         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46229         negate return value.
46231 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46233         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46234         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46235         failure if the compiler has Graphite support disabled.
46236         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46237         Likewise.
46238         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46239         (CFLAGS-memmove.c): Likewise.
46240         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46241         Likewise.
46243 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46245         * sysdeps/x86_64/x32/_itoa.h: New file.
46247         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46248         getdents system call only if kernel and user dirents have the
46249         same d_ino and d_off.
46251         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46252         LLONG_MAX != LONG_MAX.
46253         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46254         (_fitoa_word): Likewise.
46256         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46257         years.
46258         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46259         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46260         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46262         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46263         include <bits/wordsize.h>.  Check __x86_64__ instead of
46264         __WORDSIZE.
46265         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46266         if __x86_64__ is defined.  Use anonymous union on fpstate.
46268         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46269         anonymous union.
46271 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
46273         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46274         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46275         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46276         Refer to _rtld_local_ro instead of _rtld_global_ro.
46277         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46278         Likewise.
46279         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46280         Likewise.
46281         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46282         Likewise.
46283         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46284         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46285         of _rtld_global, and rtld_progname instead of _dl_argv[0].
46287         * sysdeps/powerpc/powerpc32/dl-machine.c
46288         (__elf_machine_runtime_setup) [PROF]: Don't reference
46289         _dl_prof_resolve.
46291 2012-05-18  Andreas Jaeger  <aj@suse.de>
46293         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46294         function only available for GCCs before 3.4 since GCC 3.4
46295         introduced a builtin.
46296         (lrint): Likewise.
46297         (llrintf): Likewise.
46298         (llrint): Likewise.
46299         (fmaxf): Likewise.
46300         (fmax): Likewise.
46301         (fminf): Likewise.
46302         (fmin): Likewise.
46303         (rint): Likewise.
46304         (rintf): Likewise.
46305         (nearbyint): Likewise.
46306         (nearbyintf): Likewise.
46307         (ceil): Likewise.
46308         (ceilf): Likewise.
46309         (floor): Likewise.
46310         (floorf): Likewise.
46312 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46314         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46315         on both fields and cast pointer to __syscall_ulong_t.
46317         * bits/types.h (__fsword_t): New type.
46318         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46319         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46320         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46321         (__FSWORD_T_TYPE): Likewise.
46322         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46323         (__FSWORD_T_TYPE): Likewise.
46324         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46325         (__FSWORD_T_TYPE): Likewise.
46326         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46327         (__FSWORD_T_TYPE): Likewise.
46328         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46329         __SWORD_TYPE with __fsword_t.
46330         (statfs64): Likewise.
46332 2012-05-17  David S. Miller  <davem@davemloft.net>
46334         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46336 2012-05-17  Andreas Jaeger  <aj@suse.de>
46338         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46339         warning.
46341 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46343         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46345 2012-05-17  Andreas Jaeger  <aj@suse.de>
46347         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46348         when it is used.
46350 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46352         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46354 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46356         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46357         * sysdeps/x86_64/tst-mallocalign1.c: New file.
46359 2012-05-17  Andreas Jaeger  <aj@suse.de>
46360             Carlos O'Donell  <carlos_odonell@mentor.com>
46362         [BZ #14059]
46363         * sysdeps/x86_64/multiarch/init-arch.h
46364         (bit_YMM_Usable): Rename to...
46365         (bit_AVX_Usable): ... this.
46366         (bit_FMA4_Usable): New macro.
46367         (bit_XMM_state): New macro.
46368         (bit_YMM_state): New macro.
46369         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46370         [__ASSEMBLER__] (index_AVX_Usable): ... this.
46371         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46372         (CPUID_OSXSAVE): New macro.
46373         (CPUID_AVX): New macro.
46374         (CPUID_FMA4): New macro.
46375         (index_YMM_Usable): Rename to...
46376         (index_AVX_Usable): ... this.
46377         (HAS_AVX): Use HAS_ARCH_FEATURE.
46378         (HAS_FMA4): Likewise.
46379         (HAS_YMM_USABLE): Remove.
46380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46381         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46382         are present.
46383         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46384         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46385         * sysdeps/x86_64/multiarch/Makefile: Likewise.
46386         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46387         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46389 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46391         * math/libm-test.c: Support platforms without multiple rounding modes.
46392         * math/bug-nextafter.c: Support platforms without FP exceptions.
46393         * math/bug-nexttoward.c: Likewise.
46394         * math/test-fenv.c: Likewise.
46395         * math/test-misc.c: Likewise.
46396         * stdlib/bug-getcontext.c: Likewise.
46398 2012-05-17  Andreas Jaeger  <aj@suse.de>
46400         * manual/examples/search.c (critter_cmp): Change signature to
46401         avoid warnings.
46402         * manual/string.texi (Collation Functions): Likewise.
46404 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46406         * bits/types.h: Fold copyright years.
46407         * bits/typesizes.h: Likewise.
46408         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46409         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46410         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46411         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46412         * time/time.h: Likewise.
46414 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
46416         [BZ #208]
46417         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46418         in instead of returning them.  Return void.
46419         (__libc_mallinfo): Accumulate over all arenas.
46420         (__malloc_stats): Adjust for change in int_mallinfo interface.
46422 2012-05-16  Roland McGrath  <roland@hack.frob.com>
46424         [BZ #10375]
46425         * configure.in (NM): Add AC_CHECK_TOOL for it.
46426         (libc_extra_cflags): New substituted variable.
46427         Check for -fstack-protector being used implicitly.
46428         * configure: Regenerated.
46429         * config.make.in (config-extra-cflags): New variable,
46430         gets @libc_extra_cflags@.
46431         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46433         [BZ #10375]
46434         * configure.in: Check for _FORTIFY_SOURCE being predefined.
46435         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46436         * configure: Regenerated.
46437         * config.make.in (CPPUNDEFS): New substituted variable.
46438         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46439         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46440         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46442 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46444         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46445         (mq_attr): Use __syscall_slong_t.
46447 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46449         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46450         Check __x86_64__ instead of __WORDSIZE.
46451         (_STAT_VER_LINUX): Likewise.
46452         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
46453         __syscall_ulong_t and __syscall_slong_t.
46454         (stat64): Likewise.
46456 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46458         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46460 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46462         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46464 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46466         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46467         __syscall_ulong_t.
46469         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46470         include <bits/wordsize.h>.  Check __x86_64__ instead of
46471         __WORDSIZE.
46472         (greg_t): Use "__extension__ long long int" if __x86_64__ is
46473         defined.
46474         (mcontext_t): Replace "unsigned long" with "unsigned long long".
46476         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46477         include <bits/wordsize.h>.  Check __x86_64__ instead of
46478         __WORDSIZE.
46479         (user_regs_struct): Use "__extension__ unsigned long long"
46480         instead of "unsigned long" if __x86_64__ is defined.
46481         (user): Likewise.  Pad after pointer field if __ILP32__ is
46482         defined.
46484 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
46486         * configure.in (makeinfo): Require version 4.5 or later.  Allow
46487         versions 5 to 9.
46488         * configure: Regenerated.
46489         * manual/install.texi (texinfo): Increase version requirement to
46490         4.5 or later.
46491         * INSTALL: Regenerated.
46493         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46495 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46497         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46499         * sysdeps/x86_64/x32/ffs.c: New file.
46501         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46502         __syscall_ulong_t.
46503         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46504         defined.  Use __syscall_ulong_t.
46505         (shminfo): Use __syscall_ulong_t.
46506         (shm_info): Likewise.
46508         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46509         __syscall_ulong_t.
46511         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46512         <bits/wordsize.h>.
46513         (msgqnum_t): Use __syscall_ulong_t.
46514         (msglen_t): Likewise.
46515         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
46516         __syscall_ulong_t.
46518         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46519         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46521         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46523         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46524         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46526         * sysvipc/sys/msg.h (msgbuf): Replace long int with
46527         __syscall_slong_t.
46529         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46530         include <bits/wordsize.h>.  Check __x86_64__ instead of
46531         __WORDSIZE.
46533         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46534         "unsigned long long int" if __x86_64__ is defined.
46535         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46537         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46538         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46539         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46541         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46542         <stdint.h>.
46543         (GET_PC): Cast to uintptr_t first.
46544         (GET_FRAME): Likewise.
46545         (GET_STACK): Likewise.
46547         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46548         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46549         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46550         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46551         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46552         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46553         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46554         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46555         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46556         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46557         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46558         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46559         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46560         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46561         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46562         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46563         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46564         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46565         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46566         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46567         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46568         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46569         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46570         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46571         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46572         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46573         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46574         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46575         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46577 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
46579         * Makerules (+depfiles): Also collect depfiles from .oS in
46580         $(extra-objs).
46581         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46582         .oS, $(libnldbl-routines)).
46584         * Makerules (native-compile-mkdep-flags): Define.
46585         * sunrpc/Makefile (extra-objs): Add $(addprefix
46586         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46587         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46588         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
46589         calling $(make-target-directory).
46591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46593         * bits/types.h (__snseconds_t): Removed.
46594         * time/time.h (struct timespec): Replace __snseconds_t with
46595         __syscall_slong_t.
46596         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46597         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46598         Likewise.
46599         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46600         (__SNSECONDS_T_TYPE): Likewise.
46601         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46602         (__SNSECONDS_T_TYPE): Likewise.
46603         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46604         (__SNSECONDS_T_TYPE): Likewise.
46606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46608         * sysdeps/mach/hurd/bits/typesizes.h
46609         (__SYSCALL_SLONG_TYPE): New macro.
46610         (__SYSCALL_ULONG_TYPE): Likewise.
46612 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46614         * bits/types.h (__syscall_slong_t): New type.
46615         (__syscall_ulong_t): Likewise.
46617         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46618         (__SYSCALL_ULONG_TYPE): Likewise.
46619         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46620         (__SYSCALL_SLONG_TYPE): Likewise.
46621         (__SYSCALL_ULONG_TYPE): Likewise.
46622         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46623         (__SYSCALL_SLONG_TYPE): Likewise.
46624         (__SYSCALL_ULONG_TYPE): Likewise.
46625         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46626         (__SYSCALL_SLONG_TYPE): Likewise.
46627         (__SYSCALL_ULONG_TYPE): Likewise.
46629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46631         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46632         Add sigaltstack-offsets.sym.
46633         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46634         <sigaltstack-offsets.h>.
46635         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
46636         longjmp_msg pointer.
46637         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
46638         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46639         signal stack.
46640         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46642 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46644         * elf/stackguard-macros.h: Remove file.
46645         * sysdeps/generic/stackguard-macros.h: New file.
46646         * sysdeps/i386/stackguard-macros.h: Likewise.
46647         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46648         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46649         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46650         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46651         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46652         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46653         * sysdeps/x86_64/stackguard-macros.h: Likewise.
46654         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46655         <elf/stackguard-macros.h>.
46657         [BZ #14109]
46658         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46659         __aligned__ in attribute.
46660         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46661         (gregset_t): Likewise.
46663 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46665         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46666         * sysdeps/x86_64/64/Implies-after: Here.  New file.
46667         * sysdeps/x86_64/x32/Implies-after: New file.
46669 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46671         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46672         and access return value for _dl_profile_fixup.  Use R10_LP to
46673         load frame size.
46675 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46677         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46679 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46681         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46682         * sysdeps/x86_64/x32/sysdep.h: New file.
46684 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46686         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46687         * sysdeps/x86_64/setjmp.S: Likewise.
46689 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46691         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46692         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46693         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46694         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46695         remove unused global constant.
46697 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
46699         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46700         include of <not-cancel.h>.
46702 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46704         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46706 2012-05-15  Jeff Law  <law@redhat.com>
46707             Andreas Jaeger  <aj@suse.de>
46709         [BZ #13594]
46710         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46711         out from...
46712         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46713         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46714         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46715         code changing __hst_map_handle.map.
46717 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46719         * configure.in (sysnames): Look for Implies-before and Implies-after
46720         files.
46721         * configure: Regenerated.
46723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46725         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46726         8-byte data alignment with LP_SIZE alignment.
46728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46730         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46731         into R10_LP.
46733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46735         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46739         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46740         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46741         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46742         Likewise.
46743         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46745 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46747         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46748         (stackinfo_sub_sp): Likewise.
46750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46752         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46753         RAX_LP.
46755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46757         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46758         into R*_LP.
46760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46762         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46763         sizes into R*_LP.
46765 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46767         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46771         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46772         into R11_LP and load __x86_64_shared_cache_size_half into
46773         R8_LP.
46775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46777         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46778         R8_LP.
46780 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46782         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46783         logb for POWER7.
46784         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46785         logbf for POWER7.
46786         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46787         logbl for POWER7.
46788         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46789         powerpc32/power7/fpu/s_logb.c via #include.
46790         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46791         powerpc32/power7/fpu/s_logbf.c via #include.
46792         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46793         powerpc32/power7/fpu/s_logbl.c via #include.
46795 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46797         * README.libm: Remove file.
46799 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46801         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46802         count for x32.  Use R*_LP and omit operand-size suffix.
46804 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46806         * shlib-versions: Move x86_64-.*-linux.* entries to ...
46807         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
46808         * sysdeps/x86_64/x32/shlib-versions: New file.
46810 2012-05-14  Roland McGrath  <roland@hack.frob.com>
46812         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46813         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46814         Use _dl_fatal_printf instead.
46816 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46818         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46819         set if not set by the user.  Do not allow for being unset.
46820         * sysdeps/unix/sysv/linux/configure: Regenerated.
46822 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46824         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46825         the `q' suffix from lea and replace .quad with ASM_ADDR.
46827 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46829         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46830         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
46831         instead of $17.
46832         (PTR_DEMANGLE): Likewise.
46834 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46836         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46837         (LP_OP): Likewise.
46838         (ASM_ADDR): Likewise.
46839         (RAX_LP): Likewise.
46840         (RBP_LP): Likewise.
46841         (RBX_LP): Likewise.
46842         (RCX_LP): Likewise.
46843         (RDI_LP): Likewise.
46844         (RSI_LP): Likewise.
46845         (RSP_LP): Likewise.
46846         (R8_LP): Likewise.
46847         (R9_LP): Likewise.
46848         (R10_LP): Likewise.
46849         (R10_LP): Likewise.
46850         (R11_LP): Likewise.
46851         (R12_LP): Likewise.
46852         (R13_LP): Likewise.
46853         (R14_LP): Likewise.
46854         (R15_LP): Likewise.
46856 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46858         * sysdeps/x86_64/x32/dl-machine.h: New file.
46860 2012-05-14  Andreas Jaeger  <aj@suse.de>
46862         * manual/Makefile (subdir): Remove export of subdir.
46863         (all): Remove target.
46864         (.PHONY): Remove all from list.
46865         (mkinstalldirs): Remove.
46866         (.PHONY): Remove installdirs from list.
46867         ($(inst_infodir)/libc.info): Use make-target-directory.
46868         (installdirs): Remove.
46869         (subdir_%): Remove.
46870         (glibc-targets): Remove.
46871         (lib): Remove.
46872         (stubs): Remove.
46873         ($(objpfx)stubs ../po/manual.pot): Remove.
46874         ($(objpfx)stamp%): Remove.
46875         (make-target-directory): Remove.
46876         (subdir_install): Remove.
46877         (routines): Remove.
46878         (aux): Remove.
46879         (sources): Remove.
46880         (objects): Remove.
46881         (headers): Remove.
46883         [BZ #13750]
46884         * manual/.gitignore: Remove, it's not needed anymore.
46885         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46886         all files in it.
46887         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46888         directory.
46889         (texis): Renamed to $(objpfx)texis.
46890         (texis-path): New, contains path to generated files.
46891         (chapters.%): Use texis-path for complete path, add extra argument
46892         libc-texinfo.sh.
46893         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46894         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46895         (summary,texi, stamp-summary): Use complete path of
46896         files. Generate files in build dir.
46897         (dir-add.texi): Build in build dir.
46898         (libm-err.texi,stamp-libm-err): Likewise.
46899         (version.texi, stamp-version): Likewise.
46900         (.%c.texi): Likewise.
46901         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46902         (mostlyclean): Remove target.
46903         (realclean): Remove target.
46904         (generated): Add new variable with contents from mostlyclean and
46905         realclean, remove entries duplicated in common-mostlyclean, add
46906         stamp-libm-err and stamp-version.
46907         (generated-dirs): Add libc directory.
46908         ($(inst_infodir)/libc.info): Install files from build dir.
46910         * manual/install.texi (Configuring and compiling): Adjust since
46911         the info files are not part of the tar ball anymore.
46913 2012-05-14  Andreas Jaeger  <aj@suse.de>
46915         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46916         variable.
46918 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46920         [BZ #13717]
46921         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46922         to 2.2.0 where earlier.
46923         * sysdeps/unix/sysv/linux/configure: Regenerated.
46924         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46925         Remove conditional code.
46926         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46927         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46928         Remove conditional code.
46929         [!__NR_lchown]: Likewise.
46930         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46931         [__NR_lchown]: Likewise.
46932         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46933         comment referencing __ASSUME_LCHOWN_SYSCALL.
46934         * sysdeps/unix/sysv/linux/i386/sigaction.c
46935         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46936         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46937         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46938         Remove conditional code.
46939         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46940         (__protocol_available): Remove #if 0 code.
46941         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46942         conditional code.
46943         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46944         * sysdeps/unix/sysv/linux/kernel-features.h
46945         (__ASSUME_GETCWD_SYSCALL): Don't define.
46946         (__ASSUME_REALTIME_SIGNALS): Likewise.
46947         (__ASSUME_PREAD_SYSCALL): Likewise.
46948         (__ASSUME_PWRITE_SYSCALL): Likewise.
46949         (__ASSUME_POLL_SYSCALL): Likewise.
46950         (__ASSUME_LCHOWN_SYSCALL): Likewise.
46951         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46952         non-SPARC.
46953         (__ASSUME_SIOCGIFNAME): Don't define.
46954         (__ASSUME_MSG_NOSIGNAL): Likewise.
46955         (__ASSUME_SENDFILE): Define unconditionally.
46956         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46957         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46958         conditional code.
46959         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46960         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46961         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46962         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46963         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46964         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46965         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46967         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46968         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46970         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46971         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46973         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46974         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46976         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46977         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46979         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46980         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46982         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46983         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46985         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46986         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46988         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46989         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46990         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46991         Remove conditional code.
46992         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46993         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46994         Remove conditional code.
46995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46996         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46997         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46998         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46999         Remove conditional code.
47000         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47001         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
47002         Remove conditional code.
47003         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47004         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
47005         Remove conditional code.
47006         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47007         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
47008         Remove conditional code.
47009         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
47010         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
47011         Remove conditional code.
47012         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47013         * sysdeps/unix/sysv/linux/sh/pwrite64.c
47014         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
47015         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
47016         * sysdeps/unix/sysv/linux/sigaction.c
47017         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47018         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47019         * sysdeps/unix/sysv/linux/sigpending.c
47020         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47021         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47022         * sysdeps/unix/sysv/linux/sigprocmask.c
47023         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47024         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47025         * sysdeps/unix/sysv/linux/sigsuspend.c
47026         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
47027         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
47028         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
47029         (__libc_missing_rt_sigs): Remove.
47030         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
47031         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
47032         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
47033         Remove conditional code.
47034         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
47035         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
47036         return 1.
47037         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
47038         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
47039         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
47040         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
47042 2012-05-14  Andreas Jaeger  <aj@suse.de>
47044         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
47045         it's not used in glibc.
47046         (__coshm1): Likewise.
47047         (__acosh1p): Likewise.
47048         (__sgn): Likewise.
47050         * manual/string.texi (Copying and Concatenation): Add missing
47051         variable in concat example.
47052         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
47054 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47056         [BZ #14103]
47057         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
47058         __builtin_clzl with __builtin_clzll.
47060 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
47062         [BZ #14104]
47063         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
47064         libc_freeres_ptr.
47066 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47068         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
47069         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
47070         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
47071         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
47073 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
47075         * NEWS: Update ia64 info.
47077 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
47079         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
47080         used as bcopy.
47082 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
47084         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
47085         * sysdeps/unix/syscalls.list (dup3): Likewise.
47086         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
47087         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
47089 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47091         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
47092         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
47094 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
47096         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
47097         thread pointer.
47098         (TLS_IE): Use mov/add instead of movq/addq to load thread
47099         pointer.
47100         (TLS_GD_PREFIX): New.
47101         (TLS_GD): Use it.
47103 2012-05-11  David S. Miller  <davem@davemloft.net>
47105         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
47106         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
47107         (_FPU_SETCW): Likewise.
47109 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47111         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
47112         is 32-byte aligned.
47114 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
47116         [BZ #11837]
47117         * iconvdata/gb18030.c: Update tables.
47118         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
47119         characters specially.
47120         (BODY for TO_LOOP): Add encoding of missing ranges.
47122 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
47124         [BZ #13673]
47125         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
47126         * sysdeps/mach/hurd/dup3.c: Likewise.
47127         * sysdeps/mach/hurd/readlinkat.c: Likewise.
47128         * sysdeps/powerpc/memmove.c:: Likewise.
47130 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47132         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
47133         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47135 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47137         * elf/elf.h (R_X86_64_RELATIVE64): New.
47138         (R_X86_64_NUM): Updated.
47139         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47140         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
47141         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47142         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47143         tst-quad1pie tst-quad2pie
47144         (modules-names): Add tst-quadmod1 tst-quadmod2.
47145         ($(objpfx)tst-quad1): New dependency.
47146         ($(objpfx)tst-quad2): Likewise.
47147         ($(objpfx)tst-quad1pie): Likewise.
47148         ($(objpfx)tst-quad2pie): Likewise.
47149         * sysdeps/x86_64/tst-quad1.c: New file.
47150         * sysdeps/x86_64/tst-quad1pie.c: New file.
47151         * sysdeps/x86_64/tst-quad2.c: Likewise.
47152         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47153         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47154         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47155         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47156         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47158 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47160         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47161         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47162         * streams/stropts.h (t_scalar_t): Define type.
47164         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47165         (_PATH_PRESERVE): Set to "/var/lib".
47166         (_PATH_RWHODIR): Set to "/var/spool/rwho".
47168         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47169         instead of int.
47171         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47172         if __dir_mkfile succeeded.
47174         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47175         checking for _hurd_dtablesize.  Unlock it right after having
47176         finished _hurd_dtable allocation.
47178 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47180         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47181         * sysdeps/mach/hurd/configure: Regenerated.
47182         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47183         special-casing to...
47184         * sysdeps/gnu/configure.in: ... this new file.
47185         * sysdeps/unix/sysv/linux/configure: Regenerated.
47186         * sysdeps/gnu/configure: New generated file.
47188         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47189         for Linux: use nsec instead of usec, as well as:
47190         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47191         members of type struct timespec.
47192         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47193         New macros.
47194         (struct stat64): Likewise.
47195         (_STATBUF_ST_NSEC): New macro.
47196         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47198         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47199         __strtoul_internal rather than strtoul.
47201 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47203         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47204         and reject them.
47206 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47208         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47209         which preserves existing values.
47210         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47212 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47214         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47215         TIMEOUT values.  Return EINVAL for NFDS values either negative or
47216         greater than FD_SETSIZE.
47218 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47220         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47221         allocated, call __vm_protect to finish enabling the existing space, and
47222         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47223         allocate the remainder.
47225 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47227         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47228         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
47230 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47232         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47233         sysdeps/mach/hurd/readlink.c.
47235         * posix/tst-sysconf.c (posix_options): Only use
47236         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47237         _POSIX_SYNCHRONIZED_IO when they are defined
47238         * sysdeps/mach/hurd/bits/posix_opt.h:
47239         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47240         (_XOPEN_REALTIME): Undefine macro.
47241         (_XOPEN_REALTIME_THREADS): Undefine macro.
47242         (_XOPEN_SHM): Undefine macro.
47243         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47244         macro to -1.
47245         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47246         macro to -1.
47247         (_POSIX_ASYNC_IO): Undefine macro.
47248         (_POSIX_PRIORITIZED_IO): Undefine macro.
47249         (_POSIX_SPIN_LOCKS): Define macro to -1.
47251         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47252         SA_NODEFER, SA_RESETHAND.
47253         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47254         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47255         F_DUPFD_CLOEXEC.
47257 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47259         * elf/Makefile (pldd-modules): Define unconditionally.
47261 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47263         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47265 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47267         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47268         Return ENOENT when name is empty.
47269         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47271 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47273         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47275         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47277 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47279         Fix mlock in all cases except non-readable pages.
47280         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47281         instead of VM_PROT_ALL as parameter to __vm_wire function.
47283         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47284         (__mkdir): When path is `/', just fail with EEXIST.
47285         * sysdeps/mach/hurd/mkdirat.c: Likewise.
47287 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47289         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47290         <sys/uio.h> (for writev).
47291         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47292         and <sys/param.h> (for MIN).
47294 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47296         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47297         REQUESTED_TIME.  Properly set the remaining time and return EINTR
47298         if interrupted.
47300 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47302         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47303         Depend on against $(link-rpcuserlibs).
47305 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47307         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47308         (__libc_stack_end): Do not use attribute_relro.
47309         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47310         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47311         to libthread-provided value.
47312         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47313         attribute_relro.
47315 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47317         [BZ #3748]
47318         * bits/libc-lock.h (__libc_once_get): New macro.
47319         * sysdeps/mach/bits/libc-lock.h: Likewise.
47320         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47321         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47322         instead of using implementation details.
47324         * libio/fileops.c: Unconditionally include <kernel-features.h>.
47325         * libio/freopen.c: Likewise.
47326         * libio/freopen64.c: Likewise.
47327         * misc/syslog.c: Likewise.
47328         * nscd/connections.c: Likewise.
47329         * nscd/netgroupcache.c: Likewise.
47330         * sysdeps/posix/getcwd.c: Likewise.
47332 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47334         * math/w_ilogbf.c: Add #include <limits.h>.
47336 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47338         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47339         path instead of returning without unlocking.
47341         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47342         immediate-write ioctls.
47343         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47345 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47347         * sysdeps/mach/hurd/i386/init-first.c (init): Use
47348         __builtin_frame_address instead of making assumptions about the
47349         location of the return address relative to DATA.  Force early load of
47350         the return address.
47351         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47352         __builtin_frame_address.
47354         dup3 for GNU Hurd.
47355         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47356         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
47357         implement dup3 and do some further code clean-ups.
47358         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47359         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47361 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47363         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47365         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47366         HURD_CRITICAL_END around holding _hurd_dtable_lock.
47367         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47368         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47369         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47370         d->port.lock.
47372         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47373         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
47374         when handler == SIG_ERR, not when handler != SIG_ERR.
47376 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47378         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47379         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47380         definitions.
47382         accept4 for GNU Hurd.
47383         * include/sys/socket.h (__libc_accept4): New prototype.
47384         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
47385         to implement __libc_accept4.
47386         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47387         __libc_accept4.
47388         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47390         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47391         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47392         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47393         signal-defines.sym.
47395 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47397         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47399 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47401         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47402         assertion on O_CLOEXEC flag.
47403         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47404         * hurd/intern-fd.c: Likewise.
47405         * hurd/port2fd.c: Likewise.
47407 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47409         [BZ #3906]
47410         * bits/in.h (IPV6_PKTINFO): Define new macro.
47411         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47413 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47415         [BZ #13954]
47416         [BZ #13955]
47417         [BZ #13956]
47418         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47419         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47420         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47421         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47422         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47423         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47424         * math/libm-test.inc (logb_test) : Additional logb tests.
47426 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
47427             Andreas Jaeger  <aj@suse.de>
47429         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47430         * configure: Regenerated.
47431         * config.h.in (LINK_OBSOLETE_RPC): New macro.
47432         * config.make.in (link-obsolete-rpc): New substituted variable.
47433         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47434         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47435         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47436         (shared-only-routines): Don't set it under [link-obsolete-rpc],
47437         so that libc.a contains the symbols.
47438         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47439         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47440         * sunrpc/auth_none.c: Likewise.
47441         * sunrpc/auth_unix.c: Likewise.
47442         * sunrpc/authdes_prot.c: Likewise.
47443         * sunrpc/authuxprot.c: Likewise.
47444         * sunrpc/clnt_gen.c: Likewise.
47445         * sunrpc/clnt_perr.c: Likewise.
47446         * sunrpc/clnt_raw.c: Likewise.
47447         * sunrpc/clnt_simp.c: Likewise.
47448         * sunrpc/clnt_tcp.c: Likewise.
47449         * sunrpc/clnt_udp.c: Likewise.
47450         * sunrpc/clnt_unix.c: Likewise.
47451         * sunrpc/des_crypt.c: Likewise.
47452         * sunrpc/des_soft.c: Likewise.
47453         * sunrpc/get_myaddr.c: Likewise.
47454         * sunrpc/key_call.c: Likewise.
47455         * sunrpc/key_prot.c: Likewise.
47456         * sunrpc/netname.c: Likewise.
47457         * sunrpc/pm_getmaps.c: Likewise.
47458         * sunrpc/pm_getport.c: Likewise.
47459         * sunrpc/pmap_clnt.c: Likewise.
47460         * sunrpc/pmap_prot.c: Likewise.
47461         * sunrpc/pmap_prot2.c: Likewise.
47462         * sunrpc/pmap_rmt.c: Likewise.
47463         * sunrpc/publickey.c: Likewise.
47464         * sunrpc/rpc_cmsg.c: Likewise.
47465         * sunrpc/rpc_common.c: Likewise.
47466         * sunrpc/rpc_dtable.c: Likewise.
47467         * sunrpc/rpc_prot.c: Likewise.
47468         * sunrpc/rpc_thread.c: Likewise.
47469         * sunrpc/rtime.c: Likewise.
47470         * sunrpc/svc.c: Likewise.
47471         * sunrpc/svc_auth.c: Likewise.
47472         * sunrpc/svc_raw.c: Likewise.
47473         * sunrpc/svc_run.c: Likewise.
47474         * sunrpc/svc_tcp.c: Likewise.
47475         * sunrpc/svc_udp.c: Likewise.
47476         * sunrpc/svc_unix.c: Likewise.
47477         * sunrpc/svcauth_des.c: Likewise.
47478         * sunrpc/xcrypt.c: Likewise.
47479         * sunrpc/xdr.c: Likewise.
47480         * sunrpc/xdr_array.c: Likewise.
47481         * sunrpc/xdr_float.c: Likewise.
47482         * sunrpc/xdr_intXX_t.c: Likewise.
47483         * sunrpc/xdr_mem.c: Likewise.
47484         * sunrpc/xdr_rec.c: Likewise.
47485         * sunrpc/xdr_ref.c: Likewise.
47486         * sunrpc/xdr_sizeof.c: Likewise.
47487         * sunrpc/xdr_stdio.c: Likewise.
47489 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47491         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47492         change.  Update copyright years.
47494 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47496         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47498 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
47499             Joseph Myers  <joseph@codesourcery.com>
47500             Paul Pluzhnikov  <ppluzhnikov@google.com>
47502         [BZ #14012]
47503         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47504         requiring rpcgen.
47505         [cross-compiling] (extra-libs): Likewise.
47506         [cross-compiling] (extra-libs-others): Likewise.
47507         [cross-compiling] (librpcsvc-routines): Likewise.
47508         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47509         [cross-compiling] (omit-deps): Likewise.
47510         (sunrpc-CPPFLAGS): New variable.
47511         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47512         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47513         (cross-rpcgen-objs): New variable.
47514         (extra-objs): Append $(cross-rpcgen-objs).
47515         ($(cross-rpcgen-objs)): New rule.
47516         ($(objpfx)cross-rpcgen): Likewise.
47517         (rpcgen-cmd): Define to use $(built-program-file).  Expand
47518         comment.
47519         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47520         ($(objpfx)x%.stmp): Likewise.
47521         * sunrpc/proto.h [IS_IN_build] (_): Define.
47522         [IS_IN_build] (_libc_intl_domainname): Likewise.
47524 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47526         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47527         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47528         and R_X86_64_TPOFF64.
47530 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47532         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47533         sysdeps/unix/sysv/syscalls.list.
47534         (stime): Likewise.
47535         (utime): Likewise.
47536         * sysdeps/unix/sysv/syscalls.list: Remove file.
47538 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
47540         [BZ #3440]
47541         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47542         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47543         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47544         (__LC_IDENTIFICATION): Make these macros useful in #if
47545         expressions, as required by C99.
47547 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
47549         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47550         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
47551         after this.
47553 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
47555         * stdlib/longlong.h: Updated from GCC.
47557 2012-05-09  Andreas Jaeger  <aj@suse.de>
47559         * nscd/nscd.c (run_modes): Make named enum, reorder so that
47560         default is first entry.
47561         (run_mode): Set type.
47562         (main): Remove informal message about syslog.
47563         (options): Fix typo.
47565         [BZ #14053]
47566         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47567         to asm.
47568         (lrint): Likewise.
47569         (llrintf): Likewise.
47570         (llrint): Likewise.
47571         (rint): Likewise.
47572         (rintf): Likewise.
47573         (nearbyint): Likewise.
47574         (nearbyintf): Likewise.
47576 2012-05-09  Andreas Jaeger  <aj@suse.de>
47577             Pedro Alves  <palves@redhat.com>
47579         * nscd/nscd.c (run_mode): Use enum.
47580         (main): Cleanup coding style issue.
47582 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
47583             Andreas Jaeger  <aj@suse.de>
47585         * nscd/nscd.c (go_background): Replaced with...
47586         (run_mode): ... this.
47587         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47588         (options): Add -F --foreground.
47589         (main): Implement it.
47590         (parse_opt): Parse it.
47592 2012-05-09  Andreas Jaeger  <aj@suse.de>
47594         [BZ #14083]
47595         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47596         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47597         -Wconversion warning.
47598         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47599         Likewise.
47601 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
47603         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
47604         == 0.
47605         (LC_ALL): Use macro-int-constant.
47606         (LC_COLLATE): Likewise.
47607         (LC_CTYPE): Likewise.
47608         (LC_MESSAGES): Likewise.
47609         (LC_MONETARY): Likewise.
47610         (LC_NUMERIC): Likewise.
47611         (LC_TIME): Likewise.
47612         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47613         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47614         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47615         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47616         Specify type.
47617         [C99-based standards] (float_t): Expect type.
47618         [C99-based standards] (double_t): Expect type.
47619         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
47620         type.
47621         [C99-based standards] (HUGE_VALL): Likewise.
47622         [C99-based standards] (INFINITY): Likewise.
47623         [C99-based standards] (NAN): Likewise.
47624         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47625         [C99-based standards] (FP_NAN): Likewise.
47626         [C99-based standards] (FP_NORMAL): Likewise.
47627         [C99-based standards] (FP_SUBNORMAL): Likewise.
47628         [C99-based standards] (FP_ZERO): Likewise.
47629         [C99-based standards] (FP_FAST_FMA): Use
47630         optional-macro-int-constant.  Specify type.  Require == 1.
47631         [C99-based standards] (FP_FAST_FMAF): Likewise.
47632         [C99-based standards] (FP_FAST_FMAL): Likewise.
47633         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47634         [C99-based standards] (FP_ILOGBNAN): Likewise.
47635         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47636         Specify type.
47637         [C99-based standards] (MATH_ERREXCEPT): Likewise.
47638         [C99-based standards] (math_errhandling): Specify type.
47639         [ISO99 || ISO11] (signgam): Do not allow.
47640         [non-C99-based standards] (copysignf): Do not allow.
47641         [non-C99-based standards] (exp2f): Likewise.
47642         [non-C99-based standards] (log2f): Likewise.
47643         [non-C99-based standards] (modff): Allow.
47644         [non-C99-based standards] (erff): Do not allow.
47645         [non-C99-based standards] (erfcf): Likewise.
47646         [non-C99-based standards] (gammaf): Likewise.
47647         [non-C99-based standards] (hypotf): Likewise.
47648         [non-C99-based standards] (j0f): Likewise.
47649         [non-C99-based standards] (j1f): Likewise.
47650         [non-C99-based standards] (jnf): Likewise.
47651         [non-C99-based standards] (lgammaf): Likewise.
47652         [non-C99-based standards] (tgammaf): Likewise.
47653         [non-C99-based standards] (y0f): Likewise.
47654         [non-C99-based standards] (y1f): Likewise.
47655         [non-C99-based standards] (ynf): Likewise.
47656         [non-C99-based standards] (isnanf): Likewise.
47657         [non-C99-based standards] (acoshf): Likewise.
47658         [non-C99-based standards] (asinhf): Likewise.
47659         [non-C99-based standards] (atanhf): Likewise.
47660         [non-C99-based standards] (cbrtf): Likewise.
47661         [non-C99-based standards] (expm1f): Likewise.
47662         [non-C99-based standards] (ilogbf): Likewise.
47663         [non-C99-based standards] (log1pf): Likewise.
47664         [non-C99-based standards] (logbf): Likewise.
47665         [non-C99-based standards] (nextafterf): Likewise.
47666         [non-C99-based standards] (remainderf): Likewise.
47667         [non-C99-based standards] (rintf): Likewise.
47668         [non-C99-based standards] (scalbf): Likewise.
47669         [non-C99-based standards] (copysignl): Likewise.
47670         [non-C99-based standards] (exp2l): Likewise.
47671         [non-C99-based standards] (log2l): Likewise.
47672         [non-C99-based standards] (modfl): Allow.
47673         [non-C99-based standards] (erfl): Do not allow.
47674         [non-C99-based standards] (erfcl): Likewise.
47675         [non-C99-based standards] (gammal): Likewise.
47676         [non-C99-based standards] (hypotl): Likewise.
47677         [non-C99-based standards] (j0l): Likewise.
47678         [non-C99-based standards] (j1l): Likewise.
47679         [non-C99-based standards] (jnl): Likewise.
47680         [non-C99-based standards] (lgammal): Likewise.
47681         [non-C99-based standards] (tgammal): Likewise.
47682         [non-C99-based standards] (y0l): Likewise.
47683         [non-C99-based standards] (y1l): Likewise.
47684         [non-C99-based standards] (ynl): Likewise.
47685         [non-C99-based standards] (isnanl): Likewise.
47686         [non-C99-based standards] (acoshl): Likewise.
47687         [non-C99-based standards] (asinhl): Likewise.
47688         [non-C99-based standards] (atanhl): Likewise.
47689         [non-C99-based standards] (cbrtl): Likewise.
47690         [non-C99-based standards] (expm1l): Likewise.
47691         [non-C99-based standards] (ilogbl): Likewise.
47692         [non-C99-based standards] (log1pl): Likewise.
47693         [non-C99-based standards] (logbl): Likewise.
47694         [non-C99-based standards] (nextafterl): Likewise.
47695         [non-C99-based standards] (remainderl): Likewise.
47696         [non-C99-based standards] (rintl): Likewise.
47697         [non-C99-based standards] (scalbl): Likewise.
47698         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47699         [non-C99-based standards] (FP_*): Do not allow.
47700         [C99-based standards] (FP_*): Change to
47701         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47702         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47703         allow.
47704         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47705         (SIG_ERR): Likewise.
47706         [X/Open-based standards] (SIG_HOLD): Likewise.
47707         (SIG_IGN): Likewise.
47708         (SIGABRT): Use macro-int-constant.  Specify type.  Require
47709         positive value.
47710         (SIGFPE): Likewise.
47711         (SIGILL): Likewise.
47712         (SIGINT): Likewise.
47713         (SIGSEGV): Likewise.
47714         (SIGTER): Likewise.
47715         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47716         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47717         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47718         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47719         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47720         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47721         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47722         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47723         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47724         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47725         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47726         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47727         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47728         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47729         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47730         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47731         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47732         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47733         [X/Open-based standards] (SIGTRAP): Likewise.
47734         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47735         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47736         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47737         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47738         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47739         allow.
47741 2012-05-08  Ian Wienand  <ianw@vmware.com>
47743         [BZ #14080]
47744         * time/tzset.c (__tzset_parse_tz): Update default rules for
47745         daylight time changes in the Energy Policy Act of 2005.
47747 2012-05-09  Andreas Jaeger  <aj@suse.de>
47749         [BZ #13983]
47750         * elf/ldconfig.c (parse_conf): Change string to make clear that
47751         ldconfig only issued a warning if ld.so.conf does not exist.
47753 2012-05-08  David S. Miller  <davem@davemloft.net>
47755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47756         movxtod instead of popping the value on the stack.
47758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47760 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
47762         * config.h.in: Add HAVE_ARM_PCS_VFP.
47764 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
47766         [BZ #13979]
47767         * include/features.h: Warn if user requests __FORTIFY_SOURCE
47768         checking but the checks are disabled for any reason.
47770 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
47772         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47773         and ELF64_R_TYPE with ELFW(R_TYPE).
47775 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
47777         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47778         (ulimit): Likewise.
47780         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47781         (settimeofday): Likewise.
47783 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
47785         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
47786         a struct th_u2 inside the union, and move tu_block/tu_code into
47787         a new th_u3 union of tu_block/tu_code inside of that.  Move
47788         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
47789         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
47790         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47791         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47792         (th_stuff): Change to th_u1.tu_stuff.
47793         (th_data): Define.
47794         (th_msg): Change to th_u1.th_u2.tu_data.
47796 2012-05-07  David S. Miller  <davem@davemloft.net>
47798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47800         [BZ #14074]
47801         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47802         (SETUP_PIC_REG): Use it.
47803         (SETUP_PIC_REG_LEAF): Use it.
47805 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
47807         [BZ #13885]
47808         [BZ #13923]
47809         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47810         USE_AS_EXPM1L.
47811         (EXPL_FINITE): Likewise.
47812         (FLDLOG): Likewise.
47813         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47814         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47815         e_expl.S.
47816         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47817         USE_AS_EXPM1L.
47818         (EXPL_FINITE): Likewise.
47819         (FLDLOG): Likewise.
47820         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47821         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47822         e_expl.S.
47823         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
47824         test of -max_value argument for long double.
47825         * sysdeps/i386/fpu/libm-test-ulps: Update.
47826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47828 2012-05-06  David S. Miller  <davem@davemloft.net>
47830         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47831         quad soft-float symbols whose references which are compiler
47832         generated.
47833         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47835 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
47837         [BZ #13884]
47838         [BZ #13914]
47839         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47840         USE_AS_EXP10L.
47841         (EXPL_FINITE): Likewise.
47842         (FLDLOG): Likewise.
47843         (c0): Likewise.
47844         (c1): Likewise.
47845         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47846         Adjust comments for base varying.
47847         (__expl_finite): Change alias to EXPL_FINITE.
47848         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47849         e_expl.S.
47850         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47851         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47852         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47853         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47854         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47855         USE_AS_EXP10L.
47856         (EXPL_FINITE): Likewise.
47857         (FLDLOG): Likewise.
47858         (c0): Likewise.
47859         (c1): Likewise.
47860         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47861         Adjust comments for base varying.
47862         (__expl_finite): Change alias to EXPL_FINITE.
47863         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
47864         tests for bugs.
47865         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47867         [BZ #14064]
47868         * math/libm-test.inc (check_float_internal): Correct ulp
47869         calculation for subnormal expected results.
47871 2012-05-06  Andreas Jaeger  <aj@suse.de>
47873         * Makeconfig (+math-flags): New, set to -frounding-math.
47874         (+cflags): Add +math-flags so that all of glibc gets compiled with
47875         it.
47877         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47879 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
47881         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47882         Disable one test.
47884         [BZ #13787]
47885         [BZ #13922]
47886         [BZ #14036]
47887         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47888         (__ieee754_expl): Allow for and saturate large arguments.
47889         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47890         (u_threshold): Likewise.
47891         (__exp): Call __ieee754_exp before checking for overflow and
47892         underflow.
47893         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47894         (u_threshold): Likewise.
47895         (__expf): Call __ieee754_expf before checking for overflow and
47896         underflow.
47897         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47898         (u_threshold): Likewise.
47899         (__expl): Call __ieee754_expl before checking for overflow and
47900         underflow.
47901         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47902         (__ieee754_expl): Allow for and saturate large arguments.
47903         * math/libm-test.inc (exp_test): Add another test.  Do not allow
47904         missing overflow exception on overflow.
47905         (expm1_test): Do not allow missing overflow exception on overflow.
47907         * sysdeps/i386/fpu/e_expl.c: Move to ...
47908         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
47909         rather than using inline asm.
47910         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47911         * sysdeps/x86_64/fpu/e_expl.S: Copy from
47912         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47914         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47915         (nice): Likewise.
47916         (poll): Likewise.
47917         (signal): Likewise.
47918         (time): Likewise.
47919         (times): Likewise.
47921 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47923         * sysdeps/unix/syscalls.list (adjtime): Add entry from
47924         sysdeps/unix/common/syscalls.list.
47925         (fchmod): Likewise.
47926         (fchown): Likewise.
47927         (ftruncate): Likewise.
47928         (getrusage): Likewise.
47929         (gettimeofday): Likewise.
47930         (setpgid): Likewise.
47931         (setregid): Likewise.
47932         (setreuid): Likewise.
47933         (sigaction): Likewise.
47934         (truncate): Likewise.
47935         (vhangup): Likewise.
47936         * sysdeps/unix/common/syscalls.list: Remove file.
47937         * sysdeps/unix/bsd/Implies: Don't include unix/common.
47938         * sysdeps/unix/sysv/linux/Implies: Likewise.
47940 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
47942         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47943         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47944         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47945         Moved to ...
47946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47947         Here.
47948         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47949         to ...
47950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47951         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47952         to ...
47953         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47954         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47955         to ...
47956         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47957         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47958         to ...
47959         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47960         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47961         to ...
47962         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47963         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47964         to ...
47965         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47966         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47967         to ...
47968         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47969         Here.
47970         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47971         to ...
47972         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47973         Here.
47974         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47975         to ...
47976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47977         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47978         Moved to ...
47979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47980         Here.
47981         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47982         to ...
47983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47985 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47987         * sysdeps/unix/common/bits/dirent.h: Remove file.
47988         * sysdeps/unix/common/bits/fcntl.h: Likewise.
47990         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47991         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47992         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47993         * sysdeps/unix/bsd/isatty.c: Likewise.
47994         * sysdeps/unix/bsd/tcdrain.c: Likewise.
47995         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47996         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47998 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48000         [BZ #13563]
48001         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
48002         long double comparison inaccuracies.
48003         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48006 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
48008         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
48009         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
48011 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
48013         [BZ #14049]
48014         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
48015         nonzero digits before rounding a hex value.
48016         * stdlib/tst-strtod.c (tests): Add another test.
48018 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48020         * sysdeps/s390/fpu/libm-test-ulps: Update.
48022 2012-05-03  Andreas Jaeger  <aj@suse.de>
48024         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
48025         does not get optimized out.
48026         (malloc_opt_barrier): New.
48028 2012-05-03  Andreas Jaeger  <aj@suse.de>
48029             Roland McGrath  <roland@hack.frob.com>
48031         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
48032         intermediate file deletion.
48033         (generated): Add .symlist files.
48035 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
48037         [BZ #13775]
48038         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
48039         Redirect under this condition.
48040         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48041         [__USE_GNU] (__dprintf_chk): Not under this condition.
48042         [__USE_GNU] (__vdprintf_chk): Likewise.
48043         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
48044         under this condition.
48045         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
48046         [__USE_XOPEN2K8] (dprintf): Define under this condition.
48047         [__USE_XOPEN2K8] (vdprintf): Likewise.
48048         [__USE_GNU] (__dprintf_chk): Not under this condition.
48049         [__USE_GNU] (__vdprintf_chk): Likewise.
48050         [__USE_GNU] (dprintf): Likewise.
48051         [__USE_GNU] (vdprintf): Likewise.
48053 2012-05-03  Roland McGrath  <roland@hack.frob.com>
48055         * elf/Makefile (common-generated): Set this instead of generated for
48056         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
48057         $(all-built-dso)-derived lists.
48059 2012-05-03  Andreas Jaeger  <aj@suse.de>
48061         * sysdeps/i386/fpu/libm-test-ulps: Update.
48063         * FAQ: Removed.
48064         * FAQ.in: Likewise.
48065         * scripts/gen-FAQ.pl: Likewise.
48066         * manual/install.texi (Installation): Point to online location of
48067         FAQ.
48068         * Makefile (files-for-dist): Remove FAQ.
48069         (FAQ): Remove.
48071 2012-05-02  Allan McRae  <allan@archlinux.org>
48073         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
48074         (LDFLAGS-reldepmod5.so): Likewise.
48075         (LDFLAGS-reldep6mod1.so): Likewise.
48076         (LDFLAGS-reldep6mod4.so): Likewise.
48077         (LDFLAGS-reldep8mod3.so): Likewise.
48078         (LDFLAGS-unload4mod1.so): Likewise.
48079         (LDFLAGS-unload4mod2.so): Likewise.
48080         (LDFLAGS-tst-initorder): Likewise.
48081         (LDFLAGS-tst-initordera2.so): Likewise.
48082         (LDFLAGS-tst-initordera3.so): Likewise.
48083         (LDFLAGS-tst-initordera4.so): Likewise.
48084         (LDFLAGS-tst-initorderb2.so): Likewise.
48085         (LDFLAGS-noload): Likewise.
48086         (LDFLAGS-next): Likewise.
48087         (LDFLAGS-order2mod1.so): Likewise.
48088         (LDFLAGS-order2mod2.so): Likewise.
48089         (LDFLAGS-tst-initorder2): Likewise.
48090         (LDFLAGS-tst-initorder2a.so): Likewise.
48091         (LDFLAGS-tst-initorder2b.so): Likewise.
48092         (LDFLAGS-tst-initorder2c.so): Likewise.
48093         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
48095 2012-05-02  David S. Miller  <davem@davemloft.net>
48097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48099 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
48101         [BZ #14055]
48102         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
48104 2012-05-02  Andreas Jaeger  <aj@suse.de>
48106         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
48107         since we manipulate rounding mode.
48108         (CPPFLAGS-test-idouble.c): Likewise.
48109         (CPPFLAGS-test-ifloat.c): Likewise.
48110         (CFLAGS-test-ldouble.c): Likewise.
48111         (CFLAGS-test-double.c): Likewise.
48112         (CFLAGS-test-float.c): Likewise.
48113         (CFLAGS-test-misc.c): Likewise.
48114         (CFLAGS-test-test-fenv.c): Likewise.
48116 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48118         [BZ #2550]
48119         [BZ #2570]
48120         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
48121         comparisons to determine direction to adjust input.
48123 2012-05-01  Roland McGrath  <roland@hack.frob.com>
48125         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
48126         output to the target.
48128         * scripts/localplt.awk: New file.
48129         * elf/Makefile ($(objpfx)check-localplt): Target removed.
48130         (check-localplt-CFLAGS): Variable removed.
48131         ($(all-built-dso:=.jmprel)): New static pattern rule.
48132         (generated): Add those targets.
48133         (localplt-built-dso): New variable.
48134         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48136         * elf/check-localplt.c: File removed.
48138         * scripts/check-execstack.awk: New file.
48139         * elf/Makefile ($(objpfx)check-execstack): Target removed.
48140         (check-execstack-CFLAGS): Variable removed.
48141         ($(objpfx)check-execstack.h): Target removed.
48142         ($(objpfx)execstack-default): New target.
48143         (generated): Add that instead of check-execstack.h.
48144         ($(all-built-dso:=.phdr)): New static pattern rule.
48145         (generated): Add those targets.
48146         * elf/check-execstack.c: File removed.
48148         * scripts/check-textrel.awk: New file.
48149         * elf/Makefile ($(objpfx)check-textrel): Target removed.
48150         (check-textrel-CFLAGS): Variable removed.
48151         (all-built-dso): Use := to define.o
48152         ($(all-built-dso:=.dyn)): New static pattern rule.
48153         (generated): Add those targets.
48154         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48155         * config.make.in (READELF): New substituted variable.
48156         * elf/check-textrel.c: File removed.
48158 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48160         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48161         allow.
48162         * conform/data/ctype.h-data [C99-based standards] (isblank):
48163         Expect function.
48164         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48165         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48166         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48167         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48168         Specify type.  Require positive value.
48169         (EILSEQ): Likewise.
48170         (ERANGE): Likewise.
48171         [ISO || POSIX] (EILSEQ): Do not expect.
48172         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48173         Specify type.  Require positive value.
48174         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48175         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48176         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48177         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48178         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48179         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48180         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48181         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48182         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48183         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48184         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48185         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48186         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48187         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48188         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48189         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48190         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48191         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48192         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48193         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48194         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48195         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48196         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48197         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48198         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48199         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48200         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48201         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48202         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48203         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48204         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48205         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48206         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48207         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48208         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48209         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48210         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48211         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48212         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48213         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48214         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48215         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48216         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48217         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48218         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48219         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48220         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48221         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48222         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48223         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48224         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48225         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48226         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48227         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48228         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48229         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48230         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48231         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48232         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48233         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48234         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48235         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48236         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48237         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48238         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48239         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48240         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48241         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48242         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48243         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48244         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48245         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48246         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48247         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48248         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48249         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48250         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48251         Require >= 2.
48252         (FLT_ROUNDS): Expect as macro, not constant.
48253         (FLT_MANT_DIG): Use macro-int-constant.
48254         (DBL_MANT_DIG): Likewise.
48255         (LDBL_MANT_DIG): Likewise.
48256         (FLT_DIG): Likewise.
48257         (DBL_DIG): Likewise.
48258         (LDBL_DIG): Likewise.
48259         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
48260         (DBL_MIN_EXP): Likewise.
48261         (LDBL_MIN_EXP): Likewise.
48262         (FLT_MAX_EXP): Use macro-int-constant.
48263         (DBL_MAX_EXP): Likewise.
48264         (LDBL_MAX_EXP): Likewise.
48265         (FLT_MAX_10_EXP): Likewise.
48266         (DBL_MAX_10_EXP): Likewise.
48267         (LDBL_MAX_10_EXP): Likewise.
48268         (FLT_MAX): Use macro-constant.
48269         (DBL_MAX): Likewise.
48270         (LDBL_MAX): Likewise.
48271         (FLT_EPSILON): Use macro-constant.  Give upper bound.
48272         (DBL_EPSILON): Likewise.
48273         (LDBL_EPSILON): Likewise.
48274         (FLT_MIN): Likewise.
48275         (DBL_MIN): Likewise.
48276         (LDBL_MIN): Likewise.
48277         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48278         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48279         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48280         [ISO11] (FLT_HAS_SUBNORM): Likewise.
48281         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48282         [ISO11] (DBL_DECIMAL_DIG): Likewise.
48283         [ISO11] (FLT_DECIMAL_DIG): Likewise.
48284         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48285         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48286         [ISO11] (FLT_TRUE_MIN): Likewise.
48287         [ISO11] (LDBL_TRUE_MIN): Likewise.
48288         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48289         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48290         (SCHAR_MIN): Use macro-int-constant.  Specify type.
48291         (SCHAR_MAX): Likewise.
48292         (UCHAR_MAX): Likewise.
48293         (CHAR_MIN): Likewise.
48294         (CHAR_MAX): Likewise.
48295         (MB_LEN_MAX): Use macro-int-constant.
48296         (SHRT_MIN): Use macro-int-constant.  Specify type.
48297         (SHRT_MAX): Likewise.
48298         (USHRT_MAX): Likewise.
48299         (INT_MAX): Likewise.
48300         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
48301         bound negative.
48302         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48303         bound with "U".
48304         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48305         bound with "L".
48306         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
48307         bound negative.  Suffix upper bound with "L".
48308         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48309         bound with "UL".
48310         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48311         Specify type.
48312         [C99-based standards] (LLONG_MAX): Likewise.
48313         [C99-based standards] (ULLONG_MAX): Likewise.
48314         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
48315         == 0.
48316         [ISO11] (max_align_t): Require type.
48317         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48319         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48320         from $CFLAGS, without defining away __attribute__ calls.
48321         (checknamespace): Use $CFLAGS_namespace.
48323         * conform/conformtest.pl (@keywords): Only include C99 keywords
48324         for standards based on C99 or C11.
48326         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48327         Disable tests.
48328         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48329         UNIX98]: Likewise.
48331         * conform/conformtest.pl: Handle "macro-int-constant" and test for
48332         usability of symbols in #if.
48334         * conform/conformtest.pl: If macro or constant types start
48335         "promoted:", expect the symbol to be of the following type
48336         promoted by the integer promotions.
48338         * conform/conformtest.pl: Parse all "constant" and "macro" lines
48339         in one place.  Also handle "macro-constant".
48341         * conform/conformtest.pl: Only accept expected macro values with
48342         "==".  Parse all "macro" lines in one place.
48343         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48345         * conform/conformtest.pl: Handle braced types on "constant" lines
48346         instead of handling "typed-constant".
48347         * conform/data/signal.h-data: Use "constant" instead of
48348         "typed-constant".
48350         * conform/conformtest.pl: Handle "optional-" at start of lines in
48351         one place rather than duplicating several cases.  Handle each
48352         format of "macro" line with initial "optional-".
48354         * conform/conformtest.pl: Only accept expected constant or
48355         optional-constant values with "==".  Parse all "constant" lines in
48356         one place.  Parse all "optional-constant" lines in one place.
48357         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48358         * conform/data/fmtmsg.h-data: Likewise.
48359         * conform/data/netinet/in.h-data: Likewise.
48360         * conform/data/tar.h-data: Likewise.
48361         * conform/data/limits.h-data: Use "==" form on "constant" and
48362         "optional-constant" lines.
48364         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48365         Use -std=c99 for XOPEN2K.
48366         (@knownproblems): Remove.
48367         (newtoken): Don't check %isknown.
48369         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48370         Do not expect macro.
48371         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48372         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48373         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48374         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48375         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48376         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48377         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48378         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48379         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48380         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48381         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48382         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48383         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48384         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48385         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48386         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48387         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48388         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48389         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48390         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48391         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48392         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48393         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48394         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48395         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48396         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48397         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48398         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48399         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48400         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48401         [XPG3] (acosh): Likewise.
48402         [XPG3] (asinh): Likewise.
48403         [XPG3] (atanh): Likewise.
48404         [XPG3] (cbrt): Likewise.
48405         [XPG3] (expm1): Likewise.
48406         [XPG3] (ilogb): Likewise.
48407         [XPG3] (log1p): Likewise.
48408         [XPG3] (logb): Likewise.
48409         [XPG3] (nextafter): Likewise.
48410         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48411         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48412         [XPG3] (remainder): Likewise.
48413         [XPG3] (rint): Likewise.
48414         [XPG3 || XPG4 || UNIX98] (round): Likewise.
48415         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48416         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48417         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48418         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48419         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48420         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48421         [UNIX98 || XOPEN2K] (scalb): Expect.
48422         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48423         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48424         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48425         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48426         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48427         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48428         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48429         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48430         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48431         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48432         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48433         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48434         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48435         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48436         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48437         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48438         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48439         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48440         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48441         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48442         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48443         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48444         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48445         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48446         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48447         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48448         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48449         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48450         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48451         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48452         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48453         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48454         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48455         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48456         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48457         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48458         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48459         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48460         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48461         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48462         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48463         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48464         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48465         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48466         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48467         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48468         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48469         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48470         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48471         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48472         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48473         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48474         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48475         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48476         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48477         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48478         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48479         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48480         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48481         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48482         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48483         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48484         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48485         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48486         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48487         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48488         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48489         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48490         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48491         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48492         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48493         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48494         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48495         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48496         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48497         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48498         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48499         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48500         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48501         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48502         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48503         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48504         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48505         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48506         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48507         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48508         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48509         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48510         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48511         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48512         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48513         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48514         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48515         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48516         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48517         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48518         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48519         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48520         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48521         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48522         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48523         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48524         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48525         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48526         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48527         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48528         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48529         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48530         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48531         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48532         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48533         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48534         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48535         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48536         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48537         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48538         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48539         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48540         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48541         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48542         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48543         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48544         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48545         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48546         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48547         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48548         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48549         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48550         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48551         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48552         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48553         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48554         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48555         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48556         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48557         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48558         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48560         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48561         _XOPEN_SOURCE_EXTENDED for XPG4.
48563         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48565         * Makeconfig (localtime): Remove variable.
48566         (inst_localtime-file): Likewise.
48568 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48571         Update.
48572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48573         Update.
48574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48575         Update.
48576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48577         Update.
48578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48579         Update.
48580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48581         Update.
48582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48583         Update.
48584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48585         Update.
48586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48587         Update.
48589 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48591         [BZ #2550]
48592         [BZ #2570]
48593         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48594         comparisons to determine direction to adjust input.
48595         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48596         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48597         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48598         Likewise.
48599         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48600         Likewise.
48601         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48602         Likewise.
48603         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48604         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48605         Likewise.
48606         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48607         Likewise.
48608         * math/libm-test.inc (nexttoward_test): Add more tests.
48610 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48612         [BZ #14040]
48613         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48614         in version GLIBC_2.1, not GLIBC_2.0.
48615         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48616         Likewise.
48618 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
48620         [BZ #13942]
48621         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48622         (1 - x) * (1 + x).
48623         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48624         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48625         * math/libm-test.inc (acos_test): Add more tests.
48626         (asin_test): Likewise.
48627         * sysdeps/i386/fpu/libm-test-ulps: Update.
48628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48630         [BZ #14034]
48631         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48632         of square root.
48633         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48634         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48635         * math/libm-test.inc (acos_test_tonearest): New function.
48636         (acos_test_towardzero): Likewise.
48637         (acos_test_downward): Likewise.
48638         (acos_test_upward): Likewise.
48639         (asin_test_tonearest): Likewise.
48640         (asin_test_towardzero): Likewise.
48641         (asin_test_downward): Likewise.
48642         (asin_test_upward): Likewise.
48643         (main): Call the new functions.
48644         * sysdeps/i386/fpu/libm-test-ulps: Update.
48645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48647         [BZ #13884]
48648         [BZ #13924]
48649         * math/e_exp10.c: Include <float.h>.
48650         (__ieee754_exp10): Handle underflow here rather than multiplying
48651         large negative argument by M_LN10.
48652         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48653         of __ieee754_expf.
48654         * math/e_exp10l.c: Include <float.h>.
48655         (__ieee754_exp10l): Handle underflow here rather than multiplying
48656         large negative argument by M_LN10l.
48657         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
48658         spurious overflow exception on underflow.
48660 2012-04-29  Marek Polacek  <polacek@redhat.com>
48662         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48663         (__fortify_function): New macro.
48664         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48665         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48666         __extern_always_inline.
48667         * libio/bits/stdio2.h: Likewise.
48668         * libio/bits/stdio.h: Likewise.
48669         * string/string.h: Likewise.
48670         * string/bits/string3.h: Likewise.
48671         * include/stdio.h: Likewise.
48672         * stdlib/bits/stdlib.h: Likewise.
48673         * stdlib/stdlib.h: Likewise.
48674         * rt/bits/mqueue2.h: Likewise.
48675         * rt/mqueue.h: Likewise.
48676         * posix/bits/unistd.h: Likewise.
48677         * posix/unistd.h: Likewise.
48678         * io/bits/poll2.h: Likewise.
48679         * io/bits/fcntl2.h: Likewise.
48680         * io/fcntl.h: Likewise.
48681         * io/sys/poll.h: Likewise.
48682         * misc/bits/syslog.h: Likewise.
48683         * misc/bits/syslog-ldbl.h: Likewise.
48684         * misc/sys/syslog.h: Likewise.
48685         * socket/bits/socket2.h: Likewise.
48686         * socket/sys/socket.h: Likewise.
48687         * debug/tst-chk1.c: Likewise.
48688         * wcsmbs/bits/wchar2.h: Likewise.
48689         * wcsmbs/bits/wchar-ldbl.h: Likewise.
48690         * wcsmbs/wchar.h: Likewise.
48692 2012-04-29  Andreas Jaeger  <aj@suse.de>
48694         * Makerules (tests): Remove enable-check-abi protection.
48695         (check-abi-warn): Remove.
48696         (check-abi-%): Remove check-abi-warn usage.
48698         * configure.in: Remove check-abi configure option.
48699         * configure: Regenerated.
48700         * config.make.in (enable-check-abi): Remove.
48702 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
48704         [BZ #14033]
48705         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48706         double functions to double *_finite functions.
48708         [BZ #13941]
48709         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48710         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48711         LDBL_MIN_EXP.
48712         * stdio-common/Makefile (tests): Add tst-sprintf3.
48713         * stdio-common/tst-sprintf3.c: New file.
48715         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48716         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48718 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48720         * conform/conformtest.pl: Remove duplicate typed-constant
48721         handling.
48723 2012-04-28  David S. Miller  <davem@davemloft.net>
48725         * Makerules (%.abilist): Add vpath on sysdep_dirs.
48726         (check-abi-%): Remove AWK script prerequisite and explicit
48727         abilist directory.
48728         (check-abi): Rewrite to just diff the symlist with the abilist.
48729         (config-tls, config-abi-config): Delete, no longer used.
48730         (update-abi-%): Remove AWK script and explicit abilist directory.
48731         (update-abi): Rewrite to simply compare and conditionally copy the
48732         symlist and the sysdep abilist file.  Remove update-abi-config
48733         checks.
48734         * abilist/ld.abilist: Remove.
48735         * abilist/libBrokenLocale.abilist: Remove.
48736         * abilist/libanl.abilist: Remove.
48737         * abilist/libcrypt.abilist: Remove.
48738         * abilist/libdl.abilist: Remove.
48739         * abilist/librt.abilist: Remove.
48740         * abilist/libthread_db.abilist: Remove.
48741         * abilist/libutil.abilist: Remove.
48742         * scripts/extract-abilist.awk: Remove.
48743         * scripts/merge-abilist.awk: Remove.
48744         * sysdeps/generic/libcidn.abilist: New file.
48745         * sysdeps/generic/libnss_compat.abilist: New file.
48746         * sysdeps/generic/libnss_db.abilist: New file.
48747         * sysdeps/generic/libnss_dns.abilist: New file.
48748         * sysdeps/generic/libnss_files.abilist: New file.
48749         * sysdeps/generic/libnss_hesiod.abilist: New file.
48750         * sysdeps/generic/libnss_nis.abilist: New file.
48751         * sysdeps/generic/libnss_nisplus.abilist: New file.
48752         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48753         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48754         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48755         file.
48756         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48757         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48758         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48759         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48760         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48761         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48762         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48763         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48764         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48765         file.
48766         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48767         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48768         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48769         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48770         file.
48771         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48772         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48773         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48774         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48775         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48776         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48777         file.
48778         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48779         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48780         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48781         file.
48782         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48783         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48784         New file.
48785         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48786         New file.
48787         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48788         New file.
48789         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48790         New file.
48791         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48792         New file.
48793         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48794         New file.
48795         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48796         New file.
48797         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48798         New file.
48799         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48800         New file.
48801         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48802         New file.
48803         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48804         New file.
48805         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48806         New file.
48807         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48808         New file.
48809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48810         file.
48811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48812         New file.
48813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48814         New file.
48815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48816         file.
48817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48818         New file.
48819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48820         New file.
48821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48822         file.
48823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48824         New file.
48825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48826         New file.
48827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48828         New file.
48829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48830         New file.
48831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48832         New file.
48833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48834         New file.
48835         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48836         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48837         file.
48838         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48839         New file.
48840         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48841         file.
48842         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48843         file.
48844         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48845         file.
48846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48847         file.
48848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48849         file.
48850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48851         New file.
48852         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48853         file.
48854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48855         file.
48856         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48857         New file.
48858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48859         file.
48860         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48861         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48862         file.
48863         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48864         New file.
48865         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48866         file.
48867         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48868         file.
48869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48870         file.
48871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48872         file.
48873         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48874         file.
48875         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48876         New file.
48877         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48878         file.
48879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48880         file.
48881         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48882         New file.
48883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48884         file.
48885         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48886         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48887         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48888         file.
48889         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48890         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48891         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48892         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48893         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48894         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48895         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48896         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48897         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48898         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48899         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48900         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48901         file.
48902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48903         New file.
48904         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48905         file.
48906         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48907         file.
48908         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48909         file.
48910         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48911         file.
48912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48913         file.
48914         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48915         New file.
48916         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48917         New file.
48918         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48919         file.
48920         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48921         New file.
48922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48923         file.
48924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48925         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48926         file.
48927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48928         New file.
48929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48930         file.
48931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48932         file.
48933         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48934         file.
48935         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48936         file.
48937         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48938         file.
48939         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48940         New file.
48941         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48942         New file.
48943         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48944         file.
48945         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48946         New file.
48947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48948         file.
48950 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48952         * conform/conformtest.pl: Fix typo in handling typed-constant from
48953         allow-header.
48955 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48957         * README: Cut down references to pre-2.6 Linux kernels and
48958         Linuxthreads.  Update lists of configurations in libc and ports
48959         and sort alphabetically.  Say "or newer" with Linux kernel version
48960         requirements.
48962         * config.h.in [IS_IN_build]: Allow compiling without optimization.
48964 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48966         [BZ #887]
48967         * math/libm-test.inc (logb_test_downward): New test to expose
48968         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48969         rounding mode.
48971 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48973         [BZ #14027]
48974         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48975         to be done.
48976         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48977         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48979 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
48981         * sysdeps/unix/i386/brk.S: Remove file.
48982         * sysdeps/unix/i386/dl-brk.S: Likewise.
48983         * sysdeps/unix/i386/pipe.S: Likewise.
48984         * sysdeps/unix/i386/sigreturn.S: Likewise.
48985         * sysdeps/unix/i386/syscall.S: Likewise.
48986         * sysdeps/unix/i386/vfork.S: Likewise.
48987         * sysdeps/unix/i386/wait.S: Likewise.
48989         * sysdeps/unix/common/tcsendbrk.c: Move to ...
48990         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48992         * configure.in (arm*-none*): Do not allow without
48993         --enable-hacker-mode.
48994         (netbsd*): Remove case setting base_os.
48995         (386bsd*): Likewise.
48996         (freebsd*): Likewise.
48997         (bsdi*): Likewise.
48998         (osf*): Likewise.
48999         (sunos*): Likewise.
49000         (ultrix*): Likewise.
49001         (newsos*): Likewise.
49002         (dynix*): Likewise.
49003         (*bsd*): Likewise.
49004         (sysv*): Likewise.
49005         (isc*): Likewise.
49006         (esix*): Likewise.
49007         (sco*): Likewise.
49008         (minix*): Likewise.
49009         (irix4*): Likewise.
49010         (irix6*): Likewise.
49011         (solaris[2-9]*): Likewise.
49012         (none): Likewise.
49013         * configure: Regenerated.
49015 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49017         [BZ #11521]
49018         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
49019         overflow or cancellation in calculating denominator.
49020         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
49021         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
49022         down expression to avoid unexpected rounding in newer GCCs.
49023         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
49025 2012-04-26  David S. Miller  <davem@davemloft.net>
49027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
49028         long-double compat symbols.
49029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
49030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
49031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49032         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
49033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
49034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
49035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
49036         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
49037         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
49038         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
49039         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
49040         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
49041         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49043 2012-04-25  David S. Miller  <davem@davemloft.net>
49045         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
49046         HWCAP_* values only after the memory barriers have been defined.
49047         (atomic_full_barrier): Define.
49048         (atomic_read_barrier): Define.
49049         (atomic_write_barrier): Define.
49051 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49053         * shlib-versions: Add libgcc_s version information.
49054         * sysdeps/generic/libgcc_s.h: Remove.
49055         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
49056         libgcc_s.h.
49057         * sysdeps/gnu/unwind-resume.c: Likewise.
49058         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
49060 2012-04-25  David S. Miller  <davem@davemloft.net>
49062         * sysdeps/unix/sparc/brk.S: Delete.
49063         * sysdeps/unix/sparc/dl-brk.S: Delete.
49064         * sysdeps/unix/sparc/pipe.S: Delete.
49065         * sysdeps/unix/sparc/sysdep.S: Delete.
49066         * sysdeps/unix/sparc/sysdep.h: Delete.
49067         * sysdeps/unix/sparc/vfork.S: Delete.
49068         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
49069         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
49070         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
49071         (ret_ERRVAL, r0, r1, MOVE): Define.
49072         (JUMPTARGET): Remove.
49073         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
49074         sysdeps/unix/sparc/sysdep.h
49075         (ENTRY, END): Remove.
49076         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49078 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
49080         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
49081         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
49082         -DIS_IN_build.
49084         * timezone/README: Update upstream location and email address for
49085         tzcode and tzdata.
49086         * timezone/zdump.c: Update from tzcode 2012b.
49087         * timezone/zic.c: Likewise.
49089         * configure.in (libc_cv_as_needed): Remove test.
49090         * configure: Regenerated.
49091         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
49092         conditional definition.
49093         [$(have-as-needed) != yes] (no-as-needed): Likewise.
49094         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
49095         * config.make.in (have-as-needed): Remove variable.
49097 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
49098             Paul Pluzhnikov  <ppluzhnikov@google.com>
49100         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
49101         strings correctly.
49103 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
49105         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
49106         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
49107         * sysdeps/sh/strlen.S: Likewise.
49109 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49111         * sysdeps/unix/fork.S: Remove file.
49112         * sysdeps/unix/i386/fork.S: Likewise.
49113         * sysdeps/unix/sparc/fork.S: Likewise.
49115         * sysdeps/unix/system.c: Remove file.
49116         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
49118         * sysdeps/unix/getegid.S: Remove file.
49119         * sysdeps/unix/geteuid.S: Likewise.
49121 2012-04-24  Roland McGrath  <roland@hack.frob.com>
49123         * scripts/check-localplt.awk: New file.
49124         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
49125         of diff.
49126         * scripts/data/localplt-generic.data: Add a comment.
49128         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
49129         NODE when __dir_mkfile failed.
49130         * sysdeps/mach/hurd/symlinkat.c: Likewise.
49131         Reported by Ludovic Courtès <ludo@gnu.org>.
49133 2012-04-24  Andreas Jaeger  <aj@suse.de>
49135         * Makerules (common-clean): Also remove gen-as-const-headers
49136         files.
49138 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49140         * Makerules (native-compile): Do not change working directory for
49141         build.  Use $(OUTPUT_OPTION) in command.
49142         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49144 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49146         [BZ #13886]
49147         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49148         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49149         * math/libm-test.inc (floor_test): Add more tests.
49150         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49152 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49154         * sysdeps/unix/getdents.c: Remove file.
49155         * sysdeps/unix/sysv/getdents.c: Likewise.
49156         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49158         * sysdeps/unix/syscalls.list (madvise): Add syscall from
49159         sysdeps/unix/mman/syscalls.list.
49160         (mmap): Likewise.
49161         (mprotect): Likewise.
49162         (msync): Likewise.
49163         (munmap): Likewise.
49164         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49165         * sysdeps/unix/mman/syscalls.list: Remove.
49166         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49168         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49169         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49170         * configure: Regenerated.
49171         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49172         $(libgcc_s_suffix).
49173         * config.make.in (libgcc_s_suffix): Remove variable.
49175 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
49177         * sysdeps/unix/sysv/gethostname.c: Move to ...
49178         * sysdeps/posix/gethostname.c: ... here.
49180         * sysdeps/unix/execve.S: Remove file.
49182         * sysdeps/unix/_exit.S: Remove file.
49184 2012-04-23  Andreas Jaeger  <aj@suse.de>
49186         [BZ #13739]
49187         * manual/Makefile: Remove make dist support, there's no
49188         need for a stand-alone documentation tar ball.
49189         (TEXI2DVI): Define always, it's not in Makeconfig.
49190         (dist): Removed.
49191         (tar-it): Removed.
49192         (edition): Removed.
49193         (glibc-doc-$(edition).tar): Removed
49194         (%.Z): Removed.
49195         (%.gz): Removed.
49196         (%.uu): Removed.
49197         (ETAGS): Remove, it's in Makeconfig.
49198         (move-if-change): Remove, it's in Makeconfig.
49200 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
49202         [BZ #13970]
49203         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49204         (strtod, strtof, strtold, strtol, strtoul, strtoq)
49205         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49206         (strtod_l, strtof_l, strtold_l): Remove __wur.
49207         It is not necessarily an error to ignore strtol's return value.
49208         One can reliably look at the stored endptr to decide whether
49209         the number had valid syntax.
49211 2012-04-21  Andreas Jaeger  <aj@suse.de>
49213         [BZ #13739]
49214         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49216 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
49218         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49219         * sysdeps/unix/sysv/Versions: Remove file.
49221 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
49223         [BZ #13927]
49224         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49226 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
49228         [BZ #7064]
49229         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49230         version from __vm86.
49232 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
49234         * sysdeps/unix/common/lxstat.c: Remove file.
49235         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49237         * sysdeps/unix/sysv/Makefile: Remove file.
49239         * sysdeps/unix/sysv/direct.h: Remove file.
49241         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49242         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49243         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49244         * sysdeps/unix/sysv/bits/signum.h: Likewise.
49245         * sysdeps/unix/sysv/bits/stat.h: Likewise.
49246         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49247         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49249         * sysdeps/unix/sysv/setrlimit.c: Remove file.
49251         * sysdeps/unix/xmknod.c: Remove file.
49252         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49254         * sysdeps/unix/sysv/settimeofday.c: Remove file.
49256         * sysdeps/unix/sysv/i386/time.S: Remove file.
49258         * sysdeps/unix/fxstat.c: Remove file.
49259         * sysdeps/unix/xstat.c: Likewise.
49260         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49262         * sysdeps/unix/sysv/sigaction.c: Remove file.
49264         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49265         (sysdep_headers): Remove variable.
49266         [termio.h not in sysdep_headers] (generated): Likewise.
49267         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49268         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49269         * sysdeps/unix/sysv/tcdrain.c: Likewise.
49270         * sysdeps/unix/sysv/tcflow.c: Likewise.
49271         * sysdeps/unix/sysv/tcflush.c: Likewise.
49272         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49273         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49274         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49275         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49276         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49278         * sysdeps/unix/siglist.c: Remove file.
49280         * sysdeps/unix/getppid.S: Remove file.
49282         * sysdeps/unix/mkdir.c: Remove file.
49283         * sysdeps/unix/rmdir.c: Likewise.
49285 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
49287         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49288         ERR_MAX value.
49289         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49290         errlist-compat value.
49292 2012-04-18  David S. Miller  <davem@davemloft.net>
49294         * sysdeps/generic/memcopy.h (reg_char): Delete.
49295         * debug/strcat_chk.c: Use char, not reg_char.
49296         * debug/strcpy_chk.c: Likewise.
49297         * debug/strncat_chk.c: Likewise.
49298         * debug/strncpy_chk.c: Likewise.
49299         * string/memchr.c: Likewise.
49300         * string/memrchr.c: Likewise.
49301         * string/rawmemchr.c: Likewise.
49302         * string/strcat.c: Likewise.
49303         * string/strchr.c: Likewise.
49304         * string/strchrnul.c: Likewise.
49305         * string/strcmp.c: Likewise.
49306         * string/strcpy.c: Likewise.
49307         * string/strncat.c: Likewise.
49308         * string/strncmp.c: Likewise.
49309         * string/strncpy.c: Likewise.
49311 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49313         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49314         __builtin_memcopy is called when src and dest ranges are known to not
49315         overlap.
49317 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49319         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49320         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49321         fwd_align_merge macro call.
49322         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49323         bwd_align_merge macro call.
49324         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49326 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49328         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49329         bwd_align_merge macros.
49330         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49331         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49332         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49334 2012-04-18  David S. Miller  <davem@davemloft.net>
49336         * sysdeps/sparc/sparc64/memcopy.h: Delete.
49338 2012-04-18  Andreas Jaeger  <aj@suse.de>
49340         [BZ# 6794]
49341         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49342         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49343         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49345         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49346         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49347         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49349         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49350         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49351         Adjust for changed ldbl-128 files.
49353         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49354         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49355         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49357 2012-04-17  David S. Miller  <davem@davemloft.net>
49359         * sysdeps/sparc/sparc32/memcopy.h: Delete.
49361 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
49363         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49364         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49365         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49366         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49367         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49368         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49370 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49372         [BZ #6794]
49373         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49374         * math/libm-test.inc: Add ilogb errno and exception tests.
49375         * math/w_ilogb.c: New file: ilogb wrapper.
49376         * math/w_ilogbf.c: New file: ilogbf wrapper.
49377         * math/w_ilogbl.c: New file: ilogbl wrapper.
49378         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49379         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49380         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49381         exception being thrown with 0.0 as argument.
49382         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49383         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49384         exception being thrown with 0.0 as argument.
49385         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49386         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49387         exception being thrown with 0.0 as argument.
49388         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49389         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49390         exception being thrown with 0.0 as argument.
49391         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49392         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49393         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49394         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49395         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49396         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49397         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49398         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49399         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49401 2012-04-17  Petr Baudis  <pasky@ucw.cz>
49403         * include/sys/uio.h: Change __vector to __iovec to avoid clash
49404         with altivec.
49406 2012-04-16  Marek Polacek  <polacek@redhat.com>
49408         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49410 2012-04-16  Marek Polacek  <polacek@redhat.com>
49412         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49413         operands of fdivp instruction.
49415 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49417         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49418         * elf/tst-auditmod3b.c: Likewise.
49419         * elf/tst-auditmod4b.c: Likewise.
49420         * elf/tst-auditmod5b.c: Likewise.
49421         * elf/tst-auditmod6b.c: Likewise.
49422         * elf/tst-auditmod6c.c: Likewise.
49423         * elf/tst-auditmod7b.c: Likewise.
49424         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49425         * sysdeps/x86_64/preconfigure.in: Likewise.
49426         * sysdeps/x86_64/preconfigure: Regenerated.
49428 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49430         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49431         __ILP32__.
49433 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
49435         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49436         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49438 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
49440         [BZ #13973]
49441         * locale/iso-639.def: Fix gl language name. Spotted by
49442         Yaron Shahrabani.
49444 2012-04-12  Roland McGrath  <roland@hack.frob.com>
49446         [BZ #2074]
49447         * libio/libio.h (__io_write_fn): Update comment.
49449 2012-04-12  Petr Baudis  <pasky@ucw.cz>
49451         [BZ #2074]
49452         * stdio.texi (Hook Functions): The user provided writer function
49453         is not allowed to return -1.
49455 2012-04-11  David S. Miller  <davem@davemloft.net>
49457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49459 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
49461         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49462         Add a leading slash to rtkaio.
49464 2012-04-11  Jim Meyering  <meyering@redhat.com>
49466         [BZ #11959]
49467         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49468         It is not necessarily an error to ignore fwrite's return
49469         value.  One can reliably use ferror to test for errors after
49470         the fact.
49472 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49474         * bits/types.h (__snseconds_t): New type.
49475         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49477         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49478         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49479         (__SNSECONDS_T_TYPE): Likewise.
49480         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49481         (__SNSECONDS_T_TYPE): Likewise.
49482         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49483         (__SNSECONDS_T_TYPE): Likewise.
49485 2012-04-10  Andreas Jaeger  <aj@suse.de>
49487         [BZ #2636]
49488         * manual/time.texi (Processor Time): Return type of times is
49489         elapsed real time since an arbitrary point in the past.
49490         (CPU Time): Move CLK_TCK from here...
49491         (Processor Time): ...to here.  Correct description.
49492         * manual/conf.texi (Constants for Sysconf): Correct description of
49493         _SC_CLK_TCK.
49495 2012-04-10  David S. Miller  <davem@davemloft.net>
49497         [BZ #13967]
49498         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49499         where the is a gap between DT_REL(A) and DT_JMPREL.
49501 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49503         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49504         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49505         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49507 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49509         * elf/dl-support.c (_dl_inhibit_cache): New variable.
49510         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49511         (dl_main): Handle --inhibit-cache.
49512         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49513         _dl_inhibit_cache.
49514         * elf/dl-load.c (_dl_map_object): Use it.
49515         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49517 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49519         [BZ #13872]
49520         * sysdeps/i386/fpu/e_powl.S (p78): New object.
49521         (__ieee754_powl): Saturate large exponents rather than testing for
49522         overflow of y*log2(x).
49523         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49524         * math/libm-test.inc (pow_test): Do not permit spurious overflow
49525         exceptions.
49527         [BZ #11521]
49528         * math/s_ctan.c: Include <float.h>.
49529         (__ctan): Avoid internal overflow or cancellation in calculating
49530         denominator.
49531         * math/s_ctanf.c: Likewise.
49532         * math/s_ctanl.c: Likewise.
49533         * math/s_ctanh.c: Likewise.
49534         * math/s_ctanhf.c: Likewise.
49535         * math/s_ctanhl.c: Likewise.
49536         * math/libm-test.inc (ctan_test): Add more tests.
49537         (ctanh_test): Likewise.
49538         * sysdeps/i386/fpu/libm-test-ulps: Update.
49539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49541 2012-04-09  Andreas Jaeger  <aj@suse.de>
49543         [BZ #6894]
49544         * manual/filesys.texi (Directory Entries): Mention that d_namlen
49545         is an optional BSD extension.
49547         [BZ #10254]
49548         * manual/stdio.texi (Opening Streams): Document additional fopen
49549         parameters.
49551 2012-04-09  Roland McGrath  <roland@hack.frob.com>
49553         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49554         %eax without telling the compiler.
49556 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
49558         [BZ # 13963]
49559         * manual/install.texi: Use sourceware.org.
49561 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49563         [BZ #13873]
49564         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49565         (__ieee754_pow): Generate overflow and underflow using huge*huge
49566         and tiny*tiny rather than just returning constant infinity or zero
49567         for large exponents.
49568         * math/libm-test.inc (pow_test): Require overflow exceptions for
49569         applicable cases of large exponents.
49571         [BZ #706]
49572         * sysdeps/i386/fpu/e_pow.S (p10): New object.
49573         (__ieee754_pow): Use iterative multiplication algorithm only for
49574         integer exponents with absolute value below 1024.  Check for odd
49575         integer exponents when using algorithm for real exponents.
49576         * math/libm-test.inc (pow_test): Add more tests.
49577         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49579 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
49581         [BZ #13705]
49582         * math/libm-test.inc (exp_test): Do not allow overflow exception
49583         on underflow test.
49585 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
49587         [BZ #13705]
49588         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49589         instead of __kernel_standard_f.
49591 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
49593         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49594         * sysdeps/x86_64/memset_chk.S: Likewise.
49596 2012-04-08  Andreas Jaeger  <aj@suse.de>
49598         [BZ #10153]
49599         * manual/startup.texi (Environment Access): Describe return value
49600         for putenv and setenv.
49602         [BZ #6895]
49603         * manual/filesys.texi (Directory Entries): Add description for
49604         DT_LNK.
49606         [BZ #6890]
49607         * manual/filesys.texi (Directory Entries): Clarify that it's file
49608         system not operating system in the description of DT_UNKNOWN.
49610         [BZ #6578]
49611         * manual/syslog.texi (closelog): Fix reference, it's openlog.
49613 2012-04-08  Stephen Compall  <s11@member.fsf.org>
49615         [BZ #6649]
49616         * manual/llio.texi (Opening and Closing Files): Add cross
49617         reference to explain mode argument.
49619 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
49621         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49622         * sysdeps/x86_64/memset_chk.S: Likewise.
49624 2012-04-07  David S. Miller  <davem@davemloft.net>
49626         * elf/elf.h (R_SPARC_WDISP10): Define.
49627         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49628         R_SPARC_SIZE32.
49629         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49630         R_SPARC_SIZE64 and R_SPARC_H34.
49632 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
49634         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49635         conditions and remove no longer applicable assertion.
49637 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49639         * bits/byteswap.h: Include <features.h>.
49640         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49641         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49643 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49645         * bits/byteswap.h (__bswap_16): Removed.
49646         Include <bits/byteswap-16.h> to get __bswap_16.
49647         * sysdeps/i386/bits/byteswap.h: Likewise.
49648         * sysdeps/s390/bits/byteswap.h: Likewise.
49649         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49650         * bits/byteswap-16.h: New file.
49651         * sysdeps/i386/bits/byteswap-16.h: Likewise.
49652         * sysdeps/s390/bits/byteswap-16.h: Likewise.
49653         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49654         * string/Makefile (headers): Add bits/byteswap-16.h.
49656 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49658         [BZ #13895]
49659         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49660         extra indirection.
49661         * nss/Makefile (tests-static, tests): Add tst-nss-static.
49662         * nss/tst-nss-static.c: New.
49664 2012-04-06  Robert Millan  <rmh@gnu.org>
49666         [BZ #6486]
49667         * manual/llio.texi (File Position Primitive): lseek
49668         refers to WHENCE when it really means OFFSET.
49670 2012-04-06  Andreas Jaeger  <aj@suse.de>
49672         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49673         strncmp declarations.
49675         * abilist/libc.abilist: Add __poll and __ppoll.
49677 2012-04-05  David S. Miller  <davem@davemloft.net>
49679         * scripts/check-local-headers.sh: Accept a host triplet in the
49680         path matched by the exclude regexp.
49682         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49683         definition.
49684         * sysdeps/powerpc/powerpc32/dl-machine.h
49685         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49686         * sysdeps/s390/s390-32/dl-machine.h
49687         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49688         * sysdeps/sparc/sparc32/dl-machine.h
49689         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49690         * sysdeps/sparc/sparc64/dl-machine.h
49691         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49693         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49694         lazy binding.
49695         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49696         undefined symbol errors.
49698         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49699         DT_NEEDED entries.
49701 2012-04-05  Michael Matz  <matz@suse.de>
49703         [BZ #13592]
49704         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49706 2012-04-05  Andreas Jaeger  <aj@suse.de>
49708         [BZ #13908]
49709         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49710         comment.
49712 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49714         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49715         which ROUND is no valid rounding mode.
49717 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49719         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49720         read again.
49721         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49723 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49725         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49726         an exception using FPU order intentionally.
49728 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49730         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49731         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49732         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49733         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49735 2012-04-05  Simon Josefsson  <simon@josefsson.org>
49737         [BZ #12340]
49738         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49739         EINVAL when BUFLEN is too smal.
49741 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49743         [BZ #13553]
49744         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49745         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49747 2012-04-03  Andreas Jaeger  <aj@suse.de>
49749         [BZ #13938]
49750         * manual/setjmp.texi (System V contexts): Fix sentence.
49752         [BZ #13926]
49753         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49754         New macro for this case.
49755         [!__GNUC__] (__bswap_64): New inline function for this case.
49756         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49757         * bits/byteswap.h: Likewise.
49758         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49759         ull, guard with __GLIBC_HAVE_LONG_LONG.
49761         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49762         __GLIBC_HAVE_LONG_LONG.
49764         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49765         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49767 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49769         [BZ #13691]
49770         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49771         inptr and inend, rather than using last_ch.
49773 2012-04-02  David S. Miller  <davem@davemloft.net>
49775         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49776         * stdio-common/printf-parse.h (read_int): Change return type to
49777         'int', return -1 on INT_MAX overflow.
49778         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49779         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
49780         overflows INT_MAX.  Check for overflow of in-format-string precision
49781         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
49782         SIZE_MAX not INT_MAX for integer overflow test.
49783         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49784         skip the construct in the format string but do not record anything.
49785         * stdio-common/bug22.c: Adjust to test both width/prevision
49786         INT_MAX overflow as well as total length INT_MAX overflow.  Check
49787         explicitly for proper errno values.
49789 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49791         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49792         CHAR_MAX.
49793         * string/test-strcmp.c [! WIDE]: Likewise.
49794         * time/tst-mktime2.c: Likewise for INT_MAX.
49795         * string/test-string.h: #include <sys/param.h> for MIN.
49797         * csu/init-first.c (__libc_init_first): Call __ctype_init.
49798         * sysdeps/i386/init-first.c (init): Likewise.
49799         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49800         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49801         * sysdeps/sh/init-first.c (init): Likewise.
49803 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
49805         * po/ru.po: Update from translation team.
49806         * po/vi.po: Likewise.
49808 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49810         * resolv/nss_dns/dns-host.c: Merge copyright years.
49812 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49814         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49815         Optimize memcpy with prefetch if
49816         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
49817         src, dst pointers have unequal 16 byte alignments.
49819 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49821         [BZ #13928]
49822         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49823         from a CNAME entry and return the minimum ttl for the query.
49824         (gaih_getanswer_slice): Likewise.
49826 2012-03-30  Jeff Law  <law@redhat.com>
49828         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49829         due to long keys.
49830         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49831         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49833         * resolv/nss_dns/dns-host.c: Update copyright year.
49835 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
49837         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49838         requests to save a system call.  Fix check that all bytes are sent.
49840         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49841         comments for sendmmsg.
49843 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49845         [BZ #13691]
49846         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49847         with only 1 character between 0x0041 and 0x01b0.
49848         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49849         * wcsmbs/tst-mbsnrtowcs.c: New file.
49851 2012-03-29  David S. Miller  <davem@davemloft.net>
49853         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49854         small copies by hand.
49856 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49858         [BZ #13761]
49859         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49860         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49861         group memberships.
49863 2012-03-28  David S. Miller  <davem@davemloft.net>
49865         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49866         that branches into memcpy.
49867         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49868         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49869         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49870         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49871         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49872         bits.
49873         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49874         implementation too.
49875         * sysdeps/sparc/mempcpy.S: New file.
49877         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49878         the IFUNC routine in the libc case.
49879         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49881         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49882         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49883         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49884         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49885         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49886         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49887         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49888         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49890         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49891         loop to 256 bytes instead of 64 bytes and fix test signedness.
49893         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49894         * sysdeps/sparc/sparc32/Makefile: rather than here...
49895         * sysdeps/sparc/sparc64/Makefile: and here.
49897 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
49899         * malloc/mallocbug.c: Avoid warnings about unused variables.
49901 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49903         [BZ #13760]
49904         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49905         in the right place. Discard and retry query if response is
49906         larger than input buffer size.
49908 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
49910         [BZ #369]
49911         [BZ #2678]
49912         [BZ #3866]
49913         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49914         x for large integer exponent.
49915         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49916         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
49917         sign of result as needed afterwards.
49918         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49919         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49920         result for underflowing pow the same as for overflow.
49921         (__kernel_standard_l): Handle powl overflow and underflow here
49922         rather than calling __kernel_standard.
49923         * math/libm-test.inc (pow_test): Add more tests.
49925         [BZ #3868]
49926         [BZ #13879]
49927         [BZ #13910]
49928         [BZ #13911]
49929         [BZ #13912]
49930         [BZ #13913]
49931         [BZ #13915]
49932         [BZ #13916]
49933         [BZ #13917]
49934         [BZ #13918]
49935         [BZ #13919]
49936         [BZ #13920]
49937         [BZ #13921]
49938         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49939         * sysdeps/ieee754/k_standard.c: Include <float.h>.
49940         (__kernel_standard_l): New function.
49941         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49942         __kernel_standard.
49943         * math/w_acosl.c (__acosl): Likewise.
49944         * math/w_asinl.c (__asinl): Likewise.
49945         * math/w_atan2l.c (__atan2l): Likewise.
49946         * math/w_atanhl.c (__atanhl): Likewise.
49947         * math/w_coshl.c (__coshl): Likewise.
49948         * math/w_exp10l.c (__exp10l): Likewise.
49949         * math/w_exp2l.c (__exp2l): Likewise.
49950         * math/w_fmodl.c (__fmodl): Likewise.
49951         * math/w_hypotl.c (__hypotl): Likewise.
49952         * math/w_j0l.c (__j0l, __y0l): Likewise.
49953         * math/w_j1l.c (__j1l, __y1l): Likewise.
49954         * math/w_jnl.c (__jnl, __ynl): Likewise.
49955         * math/w_lgammal.c (__lgammal): Likewise.
49956         * math/w_log10l.c (__log10l): Likewise.
49957         * math/w_log2l.c (__log2l): Likewise.
49958         * math/w_logl.c (__logl): Likewise.
49959         * math/w_powl.c (__powl): Likewise.
49960         * math/w_remainderl.c (__remainderl): Likewise.
49961         * math/w_scalbl.c (sysv_scalbl): Likewise.
49962         * math/w_sinhl.c (__sinhl): Likewise.
49963         * math/w_sqrtl.c (__sqrtl): Likewise.
49964         * math/w_tgammal.c (__tgammal): Likewise.
49965         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49966         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49967         * math/libm-test.inc (acos_test): Add more tests.
49968         (acosh_test): Likewise.
49969         (asin_test): Likewise.
49970         (atanh_test): Likewise.
49971         (exp_test): Likewise.
49972         (exp10_test): Likewise.
49973         (exp2_test): Likewise.
49974         (expm1_test): Likewise.
49975         (lgamma_test): Likewise.
49976         (log_test): Likewise.
49977         (log10_test): Likewise.
49978         (log1p_test): Likewise.
49979         (log2_test): Likewise.
49980         (pow_test): Do not allow some spurious overflow exceptions.
49981         (sqrt_test): Add more tests.
49982         (tgamma_test): Likewise.
49983         (y0_test): Likewise.
49984         (y1_test): Likewise.
49985         (yn_test): Likewise.
49987 2012-03-27  Anton Blanchard  <anton@samba.org>
49989         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49990         MAP_HUGETLB.
49991         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49992         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49993         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49995 2012-03-27  David S. Miller  <davem@davemloft.net>
49997         * conform/Makefile: Run run-conformtest.sh using $(BASH).
49999         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
50000         have-as-vis3 check.
50002 2012-03-27  Andreas Jaeger  <aj@suse.de>
50004         * sysdeps/x86_64/elf/configure.in: Moved to ...
50005         * sysdeps/x86_64/configure.in: ... here.
50006         * sysdeps/x86_64/elf/start.S: Moved to ...
50007         * sysdeps/x86_64/start.S: ... here.
50008         * sysdeps/x86_64/elf/configure: Delete.
50010         * sysdeps/x86_64/configure.in: Merge contents from
50011         sysdeps/i386/configure.in (without i686 check).
50013         * sysdeps/i386/elf/Versions: Merge into ...
50014         * sysdeps/i386/Versions: ... this.
50015         * sysdeps/i386/elf/Versions: Delete file.
50016         * sysdeps/i386/elf/start.S: Moved to ...
50017         * sysdeps/i386/start.S: ...here.
50018         * sysdeps/i386/elf/configure.in: Merge into...
50019         * sysdeps/i386/configure.in: ...here.
50020         * sysdeps/i386/elf/configure.in: Delete file.
50021         * sysdeps/i386/elf/configure: Delete file.
50023         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
50024         * debug/backtracesyms.c: ... here.
50025         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
50026         * debug/backtracesymsfd.c: ... here.
50027         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
50028         * sysdeps/generic/ifunc-sel.h: ... here.
50030         * sysdeps/unix/i386/start.c: Delete file.
50031         * sysdeps/unix/sparc/start.c: Delete file.
50032         * sysdeps/unix/start.c: Delete file.
50034         * sysdeps/sh/elf/configure.in: Moved to ...
50035         * sysdeps/sh/configure.in: ... here.
50036         * sysdeps/sh/elf/start.S: Moved to ...
50037         * sysdeps/sh/start.S: ... here.
50038         * sysdeps/sh/elf/configure: Delete file.
50040         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
50041         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
50042         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
50043         * sysdeps/powerpc/powerpc64/entry.h: ... here.
50044         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
50045         * sysdeps/powerpc/powerpc64/start.S: here.
50046         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
50047         * sysdeps/powerpc/powerpc64/Makefile: ... this.
50048         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
50049         * sysdeps/powerpc/powerpc64/configure.in: ... this.
50050         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
50052         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
50053         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
50054         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
50055         * sysdeps/powerpc/powerpc32/start.S: ... here.
50056         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
50057         * sysdeps/powerpc/powerpc32/configure.in: ... this.
50058         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
50060         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
50061         * sysdeps/powerpc/ifunc-sel.h: ... here.
50062         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
50063         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
50065         * sysdeps/sparc/elf/configure.in: Moved to ...
50066         * sysdeps/sparc/configure.in: ... here.
50067         * sysdeps/sparc/elf/configure: Delete file.
50068         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
50069         * sysdeps/sparc/sparc32/start.S: ... here.
50070         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
50071         * sysdeps/sparc/sparc64/start.S: ... here.
50072         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
50073         * sysdeps/sparc/sparc32/Makefile: ... this.
50074         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
50075         * sysdeps/sparc/sparc64/Makefile: ... this.
50077         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
50078         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
50079         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
50080         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
50081         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
50082         * sysdeps/s390/s390-32/setjmp.S: ... here.
50083         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
50084         * sysdeps/s390/s390-32/configure.in: ... here.
50085         * sysdeps/s390/s390-32/elf/configure: Delete file.
50086         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
50087         * sysdeps/s390/s390-32/start.S: ... here.
50089         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
50090         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
50091         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
50092         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
50093         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
50094         * sysdeps/s390/s390-64/setjmp.S: ... here.
50095         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
50096         * sysdeps/s390/s390-64/configure.in: ... here
50097         * sysdeps/s390/s390-64/elf/configure: Delete file.
50098         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
50099         * sysdeps/s390/s390-64/start.S: ... here.
50100         * sysdeps/s390/s390-64/elf/configure: Delete.
50102         * configure.in: Remove support for elf directories in sysdeps.
50104         * configure: Regenerated.
50105         * sysdeps/i386/configure: Regenerated.
50106         * sysdeps/powerpc/powerpc32/configure: Regenerated.
50107         * sysdeps/powerpc/powerpc64/configure: Regenerated.
50108         * sysdeps/s390/s390-32/configure: Regenerated.
50109         * sysdeps/s390/s390-64/configure: Regenerated.
50110         * sysdeps/sh/configure: Regenerated.
50111         * sysdeps/sparc/configure: Regenerated.
50112         * sysdeps/x86_64/configure: Regenerated.
50114 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
50116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50118         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
50119         denormal result into account.
50121 2012-03-25  Roland McGrath  <roland@hack.frob.com>
50123         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
50124         Reported by Allan McRae <allan@archlinux.org>.
50126 2012-03-23  Jeff Law  <law@redhat.com>
50128         * nss/getnssent.c (__nss_getent): Fix typo.
50130 2012-03-23  David S. Miller  <davem@davemloft.net>
50132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50134 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
50136         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50137         to pad to uint64_t for each field.
50138         (dl_tls_index): Replace unsigned long with uint64_t.
50140 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
50141         Paul Pluzhnikov  <ppluzhnikov@google.com>
50143         [BZ #6528]
50144         * grp/Makefile (otherlibs): Don't set it.
50145         * inet/Makefile (otherlibs): Likewise.
50146         * login/Makefile (otherlibs): Likewise.
50147         * nscd/Makefile (otherlibs): Likewise.
50148         * posix/Makefile (otherlibs): Likewise.
50149         * pwd/Makefile (otherlibs): Likewise.
50150         * rt/Makefile (otherlibs): Likewise.
50151         * sunrpc/Makefile (otherlibs): Likewise.
50152         * nss/Makefile (otherlibs): Likewise.
50153         Add libnss_files to routines and static-only-routines.
50154         ($(objpfx)getent): Remove rule.
50155         * resolv/Makefile: Add libnss_dns and libresolv to routines and
50156         static-only-routines.
50158 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50160         [BZ #13892]
50161         * math/s_cexp.c: Include <float.h>.
50162         (__cexp): Handle exp result overflowing not necessarily
50163         overflowing both real and imaginary parts of result.
50164         * math/s_cexpf.c: Likewise.
50165         * math/s_cexpl.c: Likewise.
50166         * math/libm-test.inc (cexp_test): Add more tests.
50167         * sysdeps/i386/fpu/libm-test-ulps: Update.
50168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50170 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50172         * include/link.h (ELFW): New macro.
50173         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50174         Replace ELF64_R_TYPE with ELFW(R_TYPE).
50176 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50178         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50179         with uint64_t.
50181 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50183         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50184         declaration.
50185         (struct La_x32_retval): Likewise.
50187 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50189         * sysdeps/x86_64/preconfigure.in: New file.
50190         * sysdeps/x86_64/preconfigure: New generated file.
50192 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50194         [BZ #13824]
50195         * math/e_exp2l.c: Include <float.h>.
50196         (__ieee754_exp2l): Handle overflow and underflow cases
50197         separately.  Only pass fractional part of argument to
50198         __ieee754_expl.
50199         * math/libm-test.inc (exp2_test): Add more tests.
50201         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50202         negating x to take absolute value.
50203         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50204         Likewise.
50205         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50206         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50207         Likewise.
50208         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50209         computing low part if x was negated.
50210         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50212 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50214         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50215         la_x32_gnu_pltexit.
50216         (pltexit): Cast int_retval to ptrdiff_t.
50217         * elf/tst-auditmod3b.c: Likewise.
50218         * elf/tst-auditmod4b.c: Likewise.
50219         * elf/tst-auditmod5b.c: Likewise.
50220         * elf/tst-auditmod6b.c: Likewise.
50221         * elf/tst-auditmod6c.c: Likewise.
50222         * elf/tst-auditmod7b.c: Likewise.
50224         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50225         and x32_gnu_pltexit.
50227         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50228         __ELF_NATIVE_CLASS.
50229         (La_x32_regs): New macro.
50230         (La_x32_retval): Likewise.
50231         (la_x32_gnu_pltenter): New function prototype.
50232         (la_x32_gnu_pltexit): Likewise.
50234 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
50236         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50237         exponent.
50239         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50241         * configure.in (libc_cv_cc_nofma): Check for option to disable
50242         generation of FMA instructions.
50243         * configure: Regenerate.
50244         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50245         * sysdeps/ieee754/dbl-64/Makefile: New file.
50246         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50247         Remove brandred-fma4.
50248         (CFLAGS-brandred-fma4.c): Remove.
50249         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50250         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50251         define.
50252         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50253         define.
50255 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50257         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50258         LLONG_MAX != LONG_MAX.
50259         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50260         (_fitoa_word): Likewise.
50261         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50262         LLONG_MAX != LONG_MAX.
50263         * stdio-common/_itowa.h: Include <_itoa.h>.
50264         (_itowa_word): Use _ITOA_WORD_TYPE on value.
50265         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
50266         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
50267         only if not defined.
50268         (_ITOA_WORD_TYPE): Likewise.
50269         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50270         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50272 2012-03-21  David S. Miller  <davem@davemloft.net>
50274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50276 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50278         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50279         of x86_64 when setting libc_cv_slibdir, libdir and
50280         libc_cv_localedir.
50281         * sysdeps/unix/sysv/linux/configure: Regenerated.
50283 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50285         * manual/lang.texi (Old Varargs): Remove section.
50286         (How Variadic): Update menu.
50287         (va_start): Do not mention varargs.h.
50289 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50290             Joseph Myers  <joseph@codesourcery.com>
50292         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50293         link test.
50294         * configure: Regenerated.
50296 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50298         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50299         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50300         conformtest.pl
50302 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50304         * NOTES: Remove.
50305         * Makefile (files-for-dist): Remove NOTES.
50306         (NOTES): Remove rule.
50307         * README: Don't refer to NOTES.
50308         * manual/creature.texi: Don't include macros.texi.
50309         * manual/intro.texi (creature.texi): Remove comment referring to
50310         NOTES.
50312         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50313         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50314         * configure: Regenerated.
50315         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50316         LIBC_TRY_CC_OPTION.
50317         (libc_cv_as_i686): Likewise.
50318         (libc_cv_cc_avx): Likewise.
50319         (libc_cv_cc_sse2avx): Likewise.
50320         (libc_cv_cc_fma4): Likewise.
50321         (libc_cv_cc_novzeroupper): Likewise.
50322         * sysdeps/i386/configure: Regenerated.
50324         [BZ #13883]
50325         * sysdeps/i386/fpu/s_cexp.S: Remove.
50326         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50327         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50328         * math/libm-test.inc (cexp_test): Add more tests.
50329         * sysdeps/i386/fpu/libm-test-ulps: Update.
50330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50332 2012-03-21  Allan McRae  <allan@archlinux.org>
50334         * timezone/Makefile: Do not install iso3166.tab and zone.tab
50336 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50338         [BZ #13871]
50339         * math/w_exp2.c: Do not include <float.h>.
50340         (o_threshold, u_threshold): Remove.
50341         (__exp2): Calculate result before checking finiteness and calling
50342         __kernel_standard.
50343         * math/w_exp2f.c: Likewise.
50344         * math/w_exp2l.c: Likewise.
50345         * math/libm-test.inc (exp2_test): Require overflow exception for
50346         1e6 input.
50348         [BZ #3866]
50349         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50350         range of signed 64-bit integers before using fistpll.  Remove
50351         checks for whether integers fit in mantissa bits.
50352         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50353         the range of signed 32-bit integers before using fistpl.  Remove
50354         checks for whether integers fit in mantissa bits.
50355         * sysdeps/i386/fpu/e_powl.S (p64): New object.
50356         (__ieee754_powl): Test for y outside the range of signed 64-bit
50357         integers before using fistpll.  Reduce 64-bit values to 63-bit
50358         ones as needed.
50359         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50360         divide-by-zero is raised for zero to large negative powers.
50361         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50362         (__ieee754_powl): Test for y outside the range of signed 64-bit
50363         integers before using fistpll.  Reduce 64-bit values to 63-bit
50364         ones as needed.
50365         * math/libm-test.inc (pow_test): Add more tests.
50367 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50369         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50370         <stdio-common/_itoa.h>.
50371         * debug/segfault.c: Likewise.
50372         * elf/dl-cache.c: Likewise.
50373         * elf/dl-minimal.c: Likewise.
50374         * elf/dl-misc.c: Likewise.
50375         * elf/dl-sysdep.c: Likewise.
50376         * elf/dl-version.c: Likewise.
50377         * elf/rtld.c: Likewise.
50378         * hurd/hurdsock.c: Likewise.
50379         * hurd/lookup-retry.c: Likewise.
50380         * malloc/malloc.c: Likewise.
50381         * malloc/mtrace.c: Likewise.
50382         * nscd/nscd_getgr_r.c: Likewise.
50383         * nscd/nscd_getpw_r.c: Likewise.
50384         * nscd/nscd_getserv_r.c: Likewise.
50385         * posix/getopt_init.c: Likewise.
50386         * posix/wordexp.c: Likewise.
50387         * stdio-common/_itoa.c: Likewise.
50388         * stdio-common/printf_fphex.c: Likewise.
50389         * stdio-common/vfprintf.c: Likewise.
50390         * string/_strerror.c: Likewise.
50391         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50392         * sysdeps/i386/i686/hp-timing.h: Likewise.
50393         * sysdeps/mach/_strerror.c: Likewise.
50394         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50395         * sysdeps/mach/hurd/sethostid.c: Likewise.
50396         * sysdeps/mach/hurd/xmknodat.c: Likewise.
50397         * sysdeps/mach/xpg-strerror.c: Likewise.
50398         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50399         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50400         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50401         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50402         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50403         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50404         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50405         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50406         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50407         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50408         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50409         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50410         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50411         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50412         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50413         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50414         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50415         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50416         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50417         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50418         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50420         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50422         * stdio-common/_itoa.h: Moved to ...
50423         * sysdeps/generic/_itoa.h: Here.
50425         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50427         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50428         instead of "_itoa.h" and "_itowa.h".
50429         * stdio-common/vfprintf.: Likewise.
50431 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50433         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50434         <bits/wordsize.h>.
50435         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50436         (__signbit): Likwise.
50437         (llrintf): Likwise.
50438         (llrint): Likwise.
50440 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50442         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50443         __WORDSIZE != 64.
50445 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
50447         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50448         OVERFLOW_EXCEPTION_OK.
50449         * math/libm-test.inc ("Philosophy"): Update comment about
50450         exception testing.
50451         (OVERFLOW_EXCEPTION): Define.
50452         (OVERFLOW_EXCEPTION_OK): Likewise.
50453         (INVALID_EXCEPTION_OK): Renumber.
50454         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50455         (IGNORE_ZERO_INF_SIGN): Likewise.
50456         (test_exceptions): Handle FE_OVERFLOW.
50457         (exp10_test): Expect overflow exceptions.
50458         (exp2_test): Likewise.
50459         (expm1_test): Likewise.
50460         (nextafter_test): Likewise.
50461         (pow_test): Likewise.
50462         (scalbn_test): Likewise.
50463         (scalbln_test): Likewise.
50465 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50467         * sysdeps/x86_64/bits/atomic.h
50468         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50469         64bit integer.
50470         (atomic_exchange_acq): Likewise.
50471         (__arch_exchange_and_add_body): Likewise.
50472         (__arch_add_body): Likewise.
50473         (atomic_add_negative): Likewise.
50474         (atomic_add_zero): Likewise.
50476 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50478         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50479         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50481 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50483         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50484         Check __x86_64__ instead of __WORDSIZE.
50486 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50488         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50490 2012-03-19  David S. Miller  <davem@davemloft.net>
50492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50494         * sysdeps/sparc/fpu/fenv_private.h: New file.
50495         * sysdeps/sparc/fpu/math_private.h: Use it.
50496         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50497         Remove.
50498         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50499         (libc_feholdexcept_setroundl): Remove.
50500         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50501         Remove.
50502         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50503         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50505 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50507         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50508         int64_t instead of long int.
50509         (INSERT_WORDS64): Likwise.
50511 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50513         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50514         _Unwind_GetCFA return to _Unwind_Ptr first.
50516 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
50518         [BZ #13629]
50519         * math/s_clog.c: Include <float.h>.
50520         (__clog): Scale large or subnormal inputs.
50521         * math/s_clogf.c: Likewise.
50522         * math/s_clogl.c: Likewise.
50523         * math/s_clog10.c: Include <float.h>.
50524         (M_LOG10_2): Define.
50525         (__clog10): Scale large or subnormal inputs.
50526         * math/s_clog10f.c: Likewise.
50527         * math/s_clog10l.c: Likewise.
50528         * math/libm-test.inc (clog_test): Add more tests.
50529         (clog10_test): Likewise.
50530         * sysdeps/i386/fpu/libm-test-ulps: Update.
50531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50533         [BZ #11451]
50534         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50535         x and y.
50536         * math/libm-test.inc (atan2_test): Add another test.
50538         * Makerules (common-objdir-compile): Remove.
50539         * sysdeps/unix/Makefile (config-generated): Do not add
50540         $(unix-generated) to variable.
50541         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50542         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50543         Remove rule.
50544         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50545         Likewise.
50546         [generic bits/local_lim.h] (before-compile): Do not append to
50547         variable.
50548         [generic bits/local_lim.h] (common-generated): Likewise.
50549         [generic sys/param.h] (before-compile): Do not append to variable.
50550         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50551         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50552         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50553         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50554         include.
50555         [generic sys/param.h] (sys/param.h-includes): Remove variable.
50556         [generic sys/param.h] (sys/param.h-includes): Remove rule.
50557         [generic sys/param.h] ($(addprefix
50558         $(common-objpfx),$(sys/param.h-includes))): Likewise.
50559         [generic sys/param.h] (common-generated): Do not append to
50560         variable.
50561         [generic sys/param.h] (sysdep_headers): Likewise.
50562         [generic bits/errno.h] (before-compile): Do not append to
50563         variable.
50564         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50565         rule.
50566         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50567         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50568         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50569         [generic bits/errno.h] (common-generated): Do not append to
50570         variable.
50571         [generic bits/ioctls.h] (before-compile): Do not append to
50572         variable.
50573         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50574         rule.
50575         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50576         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50577         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50578         rule.
50579         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50580         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50581         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50582         [generic bits/ioctls.h] (common-generated): Do not append to
50583         variable.
50584         [generic sys/syscall.h] (syscall.h): Remove variable.
50585         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50586         rule.
50587         [generic sys/syscall.h] (before-compile): Do not append to
50588         variable.
50589         [generic sys/syscall.h] (common-generated): Likewise.
50590         * sysdeps/unix/errnos-tmpl.c: Remove file.
50591         * sysdeps/unix/errnos.awk: Likewise.
50592         * sysdeps/unix/ioctls-tmpl.c: Likewise.
50593         * sysdeps/unix/ioctls.awk: Likewise.
50594         * sysdeps/unix/mk-local_lim.c: Likewise.
50595         * sysdeps/unix/snarf-ioctls: Likewise.
50597 2012-03-19  Richard Henderson  <rth@twiddle.net>
50599         * sysdeps/i386/fpu/fenv_private.h: New file.
50600         * sysdeps/i386/fpu/math_private.h: Use it.
50601         (math_opt_barrier, math_force_eval): Remove.
50602         (libc_feholdexcept_setround_53bit): Remove.
50603         (libc_feupdateenv_53bit): Remove.
50604         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50605         (math_opt_barrier, math_force_eval): Remove.
50606         (libc_feholdexcept): Remove.
50607         (libc_feholdexcept_setround): Remove.
50608         (libc_fetestexcept, libc_fesetenv): Remove.
50609         (libc_feupdateenv_test): Remove.
50610         (libc_feupdateenv, libc_feholdsetround): Remove.
50611         (libc_feresetround): Remove.
50613         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50614         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50616         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50617         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50618         (libc_feupdateenv_testl): New.
50619         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50620         (libc_feupdateenv_testf): New.
50621         (libc_feupdateenv): Use libc_feupdateenv_test.
50622         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50623         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50625         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50626         (libc_feholdsetroundf, libc_feholdsetroundl): New.
50627         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50628         (libc_feresetround_noex): New.
50629         (libc_feresetround_noexf): New.
50630         (libc_feresetround_noexl): New.
50631         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50632         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50633         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50634         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50635         SET_RESTORE_ROUND.
50636         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50637         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50638         (__cos): Likewise.
50639         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50640         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50641         SET_RESTORE_ROUND_NOEX.
50642         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50643         SET_RESTORE_ROUND_NOEXF.
50644         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50645         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50646         (libc_feholdsetroundf): New.
50647         (libc_feresetround, libc_feresetroundf): New.
50649         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50650         (libc_feholdexcept_setround_53bit): Convert from macro to function.
50651         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
50653         * sysdeps/generic/math_private.h: Include <fenv.h>.
50654         (default_libc_feholdexcept): New.
50655         (default_libc_feholdexcept_setround): New.
50656         (default_libc_fesetenv, default_libc_feupdateenv): New.
50657         (libc_feholdexcept): Only define if undefined.
50658         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50659         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50660         (libc_feholdexcept_setroundl): Likewise.
50661         (libc_feholdexcept_setround_53bit): Likewise.
50662         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50663         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50664         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50665         (libc_feupdateenv_53bit): Likewise.
50666         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50667         (libc_feholdexcept): Convert from macro to inline function.
50668         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50669         (libc_fesetenv, libc_feupdateenv): Likewise.
50671         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50672         not previously defined.
50673         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50674         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50675         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50676         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50677         * sysdeps/ieee754/flt-32/math_private.h: New file.
50678         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50679         math_private.h below SET_FLOAT_WORD.
50680         (__isnan, __isinf_ns, __finite): Remove.
50681         (__isnanf, __isinf_nsf, __finitef): Remove.
50683 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
50685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50687 2012-03-17  David S. Miller  <davem@davemloft.net>
50689         [BZ #6471]
50690         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50691         for 2.16.
50693 2012-03-16  David S. Miller  <davem@davemloft.net>
50695         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50696         warnings.
50698         [BZ #6471]
50699         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50700         properly.
50701         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50702         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50703         sysdep_routines when subdir is sysvipc.
50704         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50705         __getshmlba helper.
50707         * sysdeps/sparc/fpu/libm-test/ulps: Update.
50709 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50711         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50712         [__LP64__].
50714 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50716         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50717         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50718         (__lround): Renamed to ...
50719         (__llround): This.  Replace long int with long long int.
50720         Define lround functions as aliases of llround functions.
50721         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50723 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50725         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50726         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
50727         adresses to uintptr_t.  Replace "long int" and "unsigned long
50728         int" with "greg_t" on va_arg.
50730 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50732         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50733         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50735         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50736         Move e_machine check before EI_CLASS check.  Handle x32
50737         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50738         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50739         SKIP_EM_IA_64 and include
50740         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50742         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50743         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50744         (add_system_dir): New macro.
50746         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50747         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50749 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50751         [BZ #2551]
50752         [BZ #2552]
50753         [BZ #2553]
50754         [BZ #2554]
50755         [BZ #2562]
50756         [BZ #2563]
50757         [BZ #2565]
50758         [BZ #2566]
50759         [BZ #2576]
50760         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50761         (y0): Likewise.
50762         * math/w_j0f.c (j0f): Likewise.
50763         (y0f): Likewise.
50764         * math/w_j0l.c (__j0l): Likewise.
50765         (__y0l): Likewise.
50766         * math/w_j1.c (j1): Likewise.
50767         (y1): Likewise.
50768         * math/w_j1f.c (j1f): Likewise.
50769         (y1f): Likewise.
50770         * math/w_j1l.c (__j1l): Likewise.
50771         (__y1l): Likewise.
50772         * math/w_jn.c (jn): Likewise.
50773         (yn): Likewise.
50774         * math/w_jnf.c (jnf): Likewise.
50775         (ynf): Likewise.
50776         * math/w_jnl.c (__jnl): Likewise.
50777         (__ynl): Likewise.
50778         * math/libm-test.inc (j0_test): Add more tests.
50779         (j1_test): Likewise.
50780         (jn_test): Likewise.  Add trailing semicolon to existing test.
50781         (y0_test): Likewise.
50782         (y1_test): Likewise.
50783         * sysdeps/i386/fpu/libm-test-ulps: Update.
50784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50786         [BZ #13851]
50787         [BZ #13854]
50788         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50789         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50790         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50791         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50792         (__tanl): Set errno for infinite argument.
50793         * sysdeps/i386/fpu/mptan.c: Remove.
50794         * sysdeps/i386/fpu/s_tan.S: Likewise.
50795         * sysdeps/i386/fpu/s_tanl.S: Likewise.
50796         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50797         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50798         * math/libm-test.inc (tan_test): Add more tests and enable more
50799         tests for double and long double.
50800         * sysdeps/i386/fpu/libm-test-ulps: Update.
50801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50803 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
50805         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50806         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50808 2012-03-16  Roland McGrath  <roland@hack.frob.com>
50810         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50811         * configure.in: Use it for both main tree and add-ons.
50812         * configure: Regenerated.
50814 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50816         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50818 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50820         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50821         in comment.
50823         [BZ #13851]
50824         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50825         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50826         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50827         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50828         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50829         infinite argument.
50830         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50831         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50832         != 0 for prec == 2.
50833         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50834         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50835         * sysdeps/i386/fpu/s_cosl.S: Likewise.
50836         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50837         * sysdeps/i386/fpu/s_sinl.S: Likewise.
50838         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50839         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50840         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50841         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50842         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50843         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50844         * math/libm-test.inc (cos_test): Add more tests and enable more
50845         tests for long double.
50846         (sin_test): Likewise.
50847         (sincos_test): Likewise.
50848         * sysdeps/i386/fpu/libm-test-ulps: Update.
50849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50851 2012-03-16  David S. Miller  <davem@davemloft.net>
50853         * sysdeps/sparc/fpu/math_private.h: New file.
50855 2012-03-15  David S. Miller  <davem@davemloft.net>
50857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50858         file.
50859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50861         file.
50862         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50863         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50864         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50865         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50866         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50867         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50868         sysdep routines.
50869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50871         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50872         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50874         * sysdeps/sparc/sparc-ifunc.h: New file.
50875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50876         sparc-ifunc.h
50877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50879         Likewise.
50880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50881         Likewise.
50882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50886         Likewise.
50887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50890         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50892         Likewise.
50893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50894         Likewise.
50895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50899         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50900         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50901         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50902         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50904         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50905         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50906         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50907         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50908         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50909         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50910         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50911         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50913         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50914         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50915         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50916         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50917         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50918         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50920 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50922         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50923         scaling.
50924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50926 2012-03-15  Andreas Jaeger  <aj@suse.de>
50928         [BZ #13852]
50929         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50930         ieee754/flt-32 implementation for sin, cos and sincos.
50931         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50932         * sysdeps/i386/fpu/s_cosf.S: Likewise.
50933         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50934         * sysdeps/i386/fpu/s_sinf.S: Likewise.
50935         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50936         ieee754/flt-32 implementation for tan.
50938         * math/libm-test.inc (cos_test): Enable some large input tests for
50939         float as well
50940         (sin_test): Likewise.
50941         (sincos_test): Likewise.
50942         (tan_test): Add tests for large input.
50944         * sysdeps/i386/fpu/libm-test-ulps: Update.
50946 2012-03-15  Andreas Jaeger  <aj@suse.de>
50948         [BZ #13658]
50949         * math/libm-test.inc (cos_test): Add more test cases.
50950         (sin_test): Likewise.
50951         (sincos_test): Likewise.
50953 2012-03-15  Andreas Jaeger  <aj@suse.de>
50955         [BZ #13837]
50956         * math/libm-test.inc (cos_test): Add a test case for large input
50957         value.
50958         (sin_test): Likewise.
50959         (sincos_test): Likewise.
50961 2012-03-15  Andreas Jaeger  <aj@suse.de>
50962             Joseph Myers  <joseph@codesourcery.com>
50964         [BZ #13658]
50965         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50966         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50967         * sysdeps/i386/fpu/branred.c: Likewise.
50968         * sysdeps/i386/fpu/dosincos.c: Likewise.
50969         * sysdeps/i386/fpu/mpa.c: Likewise.
50970         * sysdeps/i386/fpu/s_cos.S: Likewise.
50971         * sysdeps/i386/fpu/s_sin.S: Likewise.
50972         * sysdeps/i386/fpu/s_sincos.S: Likewise.
50973         * sysdeps/i386/fpu/sincos32.c: Likewise.
50975         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50976         Define.
50977         (libc_feupdateenv_53bit): Define.
50978         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50979         Define.
50980         (libc_feupdateenv_53bit): Define.
50982         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50983         53 bit (without extend i386 double precision).
50985         * math/libm-test.inc (sincos_test): Add tests for large input.
50986         (sin): Likewise.
50987         (cos): Likewise.
50989         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50991 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50995 2012-03-15  David S. Miller  <davem@davemloft.net>
50997         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50998         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50999         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
51000         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
51001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
51002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
51003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
51004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
51005         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
51006         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
51007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
51008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
51009         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
51010         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
51011         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
51012         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
51013         file.
51014         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
51015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
51016         file.
51017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
51018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
51019         file.
51020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
51021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
51022         file.
51023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
51024         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
51025         fmin/fmax sysdep routines.
51026         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
51028 2012-03-14  David S. Miller  <davem@davemloft.net>
51030         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
51031         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
51032         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
51033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
51034         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
51035         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
51036         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
51037         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
51038         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
51039         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
51040         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
51041         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
51042         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
51043         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
51044         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
51045         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
51046         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
51047         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
51048         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
51049         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
51050         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
51051         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
51052         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
51053         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
51054         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
51055         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
51056         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
51057         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
51058         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
51059         routines.
51060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
51061         file.
51062         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
51063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
51064         file.
51065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
51066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
51067         file.
51068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
51069         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
51070         file.
51071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
51072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
51073         file.
51074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
51075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
51076         file.
51077         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
51078         file.
51079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
51080         file.
51081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
51082         file.
51083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
51084         New file.
51085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
51086         file.
51087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
51088         file.
51089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
51090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
51091         file.
51092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
51093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
51094         file.
51095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
51096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
51097         file.
51098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
51099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
51100         VIS3 routines.
51102         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
51103         New file.
51105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51107         * sysdeps/sparc/configure.in: New file.
51108         * sysdeps/sparc/configure: Generate.
51109         * configure.in (libc_cv_sparc_as_vis3): Substitute.
51110         * configure: Regenerate.
51111         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
51112         * config.make.in (have-as-vis3): New.
51113         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
51114         available use -Av9d instead of -Av9a.
51115         * sysdeps/sparc/sparc64/Makefile: Likewise.
51116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
51117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
51118         New file.
51119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
51120         file.
51121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
51122         New file.
51123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
51124         file.
51125         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
51126         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
51127         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
51128         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
51129         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
51131         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
51132         fzeros/fnegs to load 0x80000000 into a float register instead of
51133         using the stack.
51134         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51136 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51138         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51139         bits/syscall.h.
51140         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51141         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51142         ($(inst_includedir)/bits/syscall.h): Remove rule.
51143         ($(objpfx)bits/syscall.d): Include instead of
51144         $(objpfx)syscall-list.d.
51145         (generated): Change syscall-list.h and syscall-list.d to
51146         bits/syscall.h and bits/syscall.d.
51148 2012-03-14  Roland McGrath  <roland@hack.frob.com>
51150         [BZ #13846]
51151         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51153 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51155         [BZ #13841]
51156         * math/s_csqrt.c: Include <float.h>.
51157         (__csqrt): Scale large or subnormal inputs.
51158         * math/s_csqrtf.c: Likewise.
51159         * math/s_csqrtl.c: Likewise.
51160         * math/libm-test.inc (csqrt_test): Add more tests.
51161         * sysdeps/i386/fpu/libm-test-ulps: Update.
51162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51164         [BZ #13840]
51165         * math/libm-test.inc (hypot_test): Add more tests.
51167 2012-03-13  David S. Miller  <davem@davemloft.net>
51169         [BZ #13840]
51170         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51171         double-precision for the calculation instead of scaling.
51173 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
51175         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51176         manipulate bits before adding and subtracting TWO52[sx].
51177         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51178         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51179         Likewise.
51180         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51182 2012-03-13  David S. Miller  <davem@davemloft.net>
51184         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51185         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51186         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51187         rtld-global-offsets.h
51188         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51190         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51191         large parameters.
51193         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51195         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51196         'err' in the ifdef scope in which it is actually used.
51198         * nss/nss_db/db-init.c: Include string.h
51200 2012-03-12  David S. Miller  <davem@davemloft.net>
51202         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51203         masking out of the most significant byte of random value used.
51204         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51205         Fix coding style in previous change.
51207         * sysdeps/unix/sysv/linux/kernel-features.h
51208         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51209         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51210         expression.
51211         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51212         later.
51214 2012-03-11  David S. Miller  <davem@davemloft.net>
51216         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51217         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51218         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51219         for 'resultvar' otherwise things get truncated on 64-bit.
51221         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51222         Fix masking out of the most significant byte of random value used.
51224         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51226 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
51228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51230 2012-03-09  David S. Miller  <davem@davemloft.net>
51232         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51233         variables with appropriate CPP guards.
51234         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51235         from the frame pointer, not the stack pointer.  Correct layout
51236         comments.  Fix test on resulting framesize and the management of
51237         the outregs buffer for pltexit.  Preserve floating point return
51238         values across _dl_call_pltexit call.
51239         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51240         framesize and the management of the outregs buffer for pltexit.
51241         Preserve floating point return values across _dl_call_pltexit
51242         call.
51243         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51244         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51245         (la_sparc64_gnu_pltexit): New functions.
51246         (print_exit): Fix format string for return register value.
51248 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
51250         * sunrpc/Makefile (others): Add rpcgen.
51251         ($(objpfx)rpcgen): Remove special build rule and dependency on
51252         libc.
51253         * sunrpc/rpcgen.c: New file.
51255 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
51257         [BZ #13673]
51258         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51259         * stdio-common/bug-vfprintf-nargs.c: Likewise.
51260         * sysdeps/i386/crti.S: Likewise.
51261         * sysdeps/i386/crtn.S: Likewise.
51262         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51263         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51264         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51265         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51266         * sysdeps/sh/crti.S: Likewise.
51267         * sysdeps/sh/crtn.S: Likewise.
51268         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51270         [BZ #13673]
51271         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51272         with URL.
51273         * locale/programs/locfile-kw.gperf: Likewise.
51274         * locale/programs/charmap-kw.h: Regenerated.
51275         * locale/programs/locfile-kw.h: Likewise.
51277         [BZ #13673]
51278         * intl/plural.y: Replace FSF snail mail address with URL.
51279         * intl/plural.c: Regenerated.
51281 2012-03-09  Richard Henderson  <rth@twiddle.net>
51283         * include/math_private.h: Remove file.
51284         * math/math_private.h: Move file ...
51285         * sysdeps/generic/math_private.h: ... here.
51287         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51288         * sysdeps/powerpc/fpu/math_private.h: Likewise.
51289         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51291         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51292         and <math_private.h>.
51293         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51294         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51295         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51296         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51297         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51298         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51299         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51300         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51301         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51302         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51303         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51304         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51305         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51306         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51307         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51308         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51309         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51310         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51311         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51312         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51313         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51314         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51315         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51316         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51317         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51318         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51319         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51320         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51321         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51322         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51323         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51324         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51325         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51326         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51327         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51328         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51329         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51330         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51331         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51332         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51333         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51334         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51335         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51336         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51337         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51338         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51339         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51340         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51341         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51342         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51343         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51344         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51345         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51346         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51347         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51348         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51349         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51350         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51351         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51352         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51353         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51354         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51355         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51356         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51357         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51358         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51359         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51360         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51361         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51362         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51363         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51364         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51365         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51366         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51367         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51368         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51369         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51370         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51371         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51372         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51373         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51374         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51375         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51376         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51377         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51378         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51379         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51380         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51381         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51382         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51383         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51384         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51385         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51386         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51387         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51388         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51389         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51390         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51391         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51392         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51393         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51394         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51395         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51396         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51397         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51398         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51399         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51400         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51401         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51402         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51403         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51404         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51405         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51406         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51407         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51408         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51409         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51410         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51411         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51412         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51413         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51414         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51415         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51416         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51417         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51418         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51419         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51420         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51421         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51422         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51423         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51424         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51425         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51426         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51427         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51428         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51429         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51430         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51431         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51432         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51433         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51434         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51435         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51436         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51437         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51438         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51439         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51440         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51441         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51442         * sysdeps/ieee754/k_standard.c: Likewise.
51443         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51444         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51445         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51446         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51447         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51448         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51449         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51450         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51451         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51452         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51453         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51454         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51455         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51456         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51457         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51458         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51459         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51460         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51461         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51462         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51463         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51464         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51465         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51466         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51467         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51468         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51469         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51470         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51471         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51472         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51473         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51474         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51475         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51476         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51477         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51478         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51479         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51480         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51481         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51482         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51483         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51484         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51485         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51486         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51487         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51488         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51489         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51490         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51491         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51492         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51493         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51494         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51495         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51496         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51497         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51498         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51499         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51500         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51501         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51502         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51503         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51504         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51505         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51506         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51507         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51508         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51509         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51510         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51511         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51512         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51513         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51514         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51515         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51516         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51517         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51518         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51519         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51520         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51521         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51522         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51523         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51524         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51525         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51526         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51527         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51528         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51529         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51530         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51531         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51532         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51533         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51534         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51535         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51536         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51537         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51538         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51539         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51540         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51541         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51542         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51543         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51544         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51545         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51546         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51547         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51548         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51549         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51550         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51551         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51552         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51553         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51554         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51555         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51556         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51557         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51558         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51559         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51560         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51561         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51562         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51563         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51564         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51565         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51566         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51567         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51568         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51569         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51570         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51571         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51572         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51573         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51574         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51575         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51576         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51577         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51578         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51579         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51580         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51581         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51582         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51583         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51584         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51585         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51586         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51587         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51588         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51589         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51590         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51591         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51592         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51593         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51594         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51595         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51596         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51597         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51598         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51599         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51600         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51601         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51602         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51603         * sysdeps/ieee754/s_lib_version.c: Likewise.
51604         * sysdeps/ieee754/s_matherr.c: Likewise.
51605         * sysdeps/ieee754/s_signgam.c: Likewise.
51606         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51607         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51608         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51609         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51610         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51611         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51612         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51613         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51614         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51615         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51616         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51617         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51618         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51619         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51620         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51621         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51622         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51623         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51624         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51625         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51626         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51628 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51630         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51631         * sunrpc/rpc_main.c: Likewise.
51632         * sunrpc/rpc_svcout.c: Likewise.
51634 2012-03-09  David S. Miller  <davem@davemloft.net>
51636         * include/math_private.h: New file.
51638 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51640         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51641         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51642         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51643         from <bits/socket_type.h>.
51644         (enum __socket_type): Don't define here.
51645         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51646         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51647         bits/socket_type.h.
51649         [BZ #13566]
51650         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51651         checking __USE_GNU.
51653         * Makerules ($(inst_includedir)/%.h): New rule.
51654         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51655         (install-others): Remove variable setting.
51656         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51658 2012-03-08  Richard Henderson  <rth@twiddle.net>
51660         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51661         from macro to inline function; merge with the
51662         !__LIBC_INTERNAL_MATH_INLINES version.
51663         (__ieee754_sqrtf): Likewise.
51665         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51666         to inline function.
51667         (__rintf, __floor, __floorf): Likewise.
51669         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51670         macro to inline function.
51671         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51673         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51674         not <math/math_private.h>.
51676 2012-03-08  David S. Miller  <davem@davemloft.net>
51678         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51679         copyright year.
51680         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51682 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
51684         * resolv/gai_misc.c (handle_requests): Fix struct timespec
51685         normalization.
51686         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51687         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51689 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
51691         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
51692         be defined individually, they must be defined as a block.  Define
51693         S for printing a string instead of hidint the different by using a
51694         macro for adding the 'l'.
51695         * stdio-common/tst-fphex-wide.c: Adjust.
51697 2012-03-07  Marek Polacek  <polacek@redhat.com>
51699         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51701 2012-03-08  Marek Polacek  <polacek@redhat.com>
51703         [BZ #13806]
51704         * stdio-common/Makefile (tests): Add tst-fphex-wide.
51705         * stdio-common/tst-fphex.c: Define a few macros to make the
51706         test reusable.  Use them.
51707         * stdio-common/tst-fphex-wide.c: New file.
51709 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
51711         [BZ #6911]
51712         * manual/macros.texi (gnusystems): New macro.
51713         (nongnusystems): Likewise.
51714         (gnulinuxhurdsystems): Likewise.
51715         (gnuhurdsystems): Likewise..
51716         (gnulinuxsystems): Likewise.
51717         * manual/charset.texi: Use new macros or @theglibc{} to refer to
51718         variants of the GNU system, not "GNU system".
51719         * manual/conf.texi: Likewise.
51720         * manual/errno.texi: Likewise.  Update example of errno macro
51721         expansion.
51722         * manual/filesys.texi: Likewise.
51723         (getumask): Document as specific to GNU/Hurd.
51724         * manual/install.texi: Likewise.  Reword some references to
51725         GNU/Linux.
51726         * manual/intro.texi: Likewise.
51727         * manual/io.texi: Likewise.
51728         (File Name Portability): Detail which constraints are inapplicable
51729         to all GNU systems and which are only inapplicable to GNU/Hurd.
51730         * manual/job.texi: Likewise.
51731         * manual/llio.texi: Likewise.
51732         (O_NOCTTY): Document as present on GNU/Linux.
51733         * manual/maint.texi: Likewise.
51734         * manual/memory.texi: Likewise.
51735         * manual/pattern.texi: Likewise.
51736         * manual/pipe.texi: Likewise.
51737         * manual/process.texi: Likewise.
51738         * manual/resource.texi: Likewise.
51739         (RUSAGE_CHILDREN): Remove statement about specifying a particular
51740         child on GNU/Hurd.
51741         * manual/setjmp.texi: Likewise.
51742         * manual/signal.texi: Likewise.
51743         * manual/startup.texi: Likewise.
51744         * manual/stdio.texi: Likewise.
51745         * manual/terminal.texi: Likewise.
51746         (ONLCR): Document as POSIX.
51747         (OXTABS): Document availability on GNU/Linux as XTABS.
51748         (ONOEOT): Document availability separately from other bits.
51749         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51750         * manual/time.texi: Likewise.
51751         * manual/users.texi: Likewise.
51752         * INSTALL: Regenerated.
51753         * sysdeps/gnu/errlist.c: Regenerated.
51755         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51756         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51757         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
51758         puts.
51759         * configure: Regenerated.
51761 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
51763         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51764         default includes instead of AC_HEADER_CHECK.
51765         * sysdeps/i386/configure: Regenerated.
51767         [BZ #10716]
51768         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51769         * math/s_cacoshf.c (__cacoshf): Likewise.
51770         * math/s_cacoshl.c (__cacoshl): Likewise.
51771         * math/s_casinh.c (__casinh): Set signs of result from argument.
51772         * math/s_casinhf.c (__casinhf): Likewise.
51773         * math/s_casinhl.c (__casinhl): Likewise.
51774         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51775         (casinh_test): Add more tests.
51776         * sysdeps/i386/fpu/libm-test-ulps: Update.
51777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51779 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
51781         * po/zh_TW.po: Update from translation team.
51783         * login/Makefile (distribute): Remove variable.
51784         * catgets/Makefile: Likewise.
51785         * mach/Makefile: Likewise.
51786         * malloc/Makefile: Likewise.
51787         * misc/Makefile: Likewise.
51788         * iconv/Makefile: Likewise.
51789         * nscd/Makefile: Likewise.
51790         * hurd/Makefile: Likewise.
51791         * manual/Makefile: Likewise.
51792         * locale/Makefile: Likewise.
51793         * intl/Makefile: Likewise.
51794         * conform/Makefile: Likewise.
51795         * nss/Makefile: Likewise.
51796         * time/Makefile: Likewise.
51797         * soft-fp/Makefile: Likewise.
51798         * dirent/Makefile: Likewise.
51799         * gmon/Makefile: Likewise.
51800         * po/Makefile: Likewise.
51801         * rt/Makefile: Likewise.
51802         * socket/Makefile: Likewise.
51803         * math/Makefile: Likewise.
51804         * signal/Makefile: Likewise.
51805         * debug/Makefile: Likewise.
51806         * elf/Makefile: Likewise.
51807         * timezone/Makefile: Likewise.
51808         * stdlib/Makefile: Likewise.
51809         * iconvdata/Makefile: Likewise.
51810         * sunrpc/Makefile: Likewise.
51811         * io/Makefile: Likewise.
51812         * argp/Makefile: Likewise.
51813         * inet/Makefile: Likewise.
51814         * hesiod/Makefile: Likewise.
51815         * grp/Makefile: Likewise.
51816         * csu/Makefile: Likewise.
51817         * wctype/Makefile: Likewise.
51818         * crypt/Makefile: Likewise.
51819         * libio/Makefile: Likewise.
51820         * string/Makefile: Likewise.
51821         * nis/Makefile: Likewise.
51822         * resolv/Makefile: Likewise.
51823         * stdio-common/Makefile: Likewise.
51824         * wcsmbs/Makefile: Likewise.
51825         * dlfcn/Makefile: Likewise.
51826         * posix/Makefile: Likewise.
51828         [BZ #6959]
51829         * timezone/Makefile: Don't install timezone files, just the programs
51830         and scripts.
51832 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
51834         * nss/databases.def: Add missing gshadow entry.
51836         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
51838 2012-03-06  Marek Polacek  <polacek@redhat.com>
51840         [BZ #13726]
51841         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51842         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51843         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51844         * stdio-common/tst-long-dbl-fphex.c: New file.
51846 2012-03-06  David S. Miller  <davem@davemloft.net>
51848         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51849         (set_obp_int): New function.
51850         (get_obp_int): New function.
51851         (__get_clockfreq_via_dev_openprom): Likewise.
51852         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51853         Avoid unused variable warnings on 'val' and use builtin_expect.
51854         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51855         __builtin_expect.
51856         (INLINE_CLONE_SYSCALL): Likewise.
51858 2012-03-05  David S. Miller  <davem@davemloft.net>
51860         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51862 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
51864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51866         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51867         only for |x| >= 40.
51868         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51870 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
51872         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51873         Replace gettimeofday with __vdso_gettimeofday.
51875         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51876         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51877         __vdso_clock_gettime and __vdso_getcpu.
51879         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51880         time with __vdso_time.
51882 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51884         * manual/lang.texi (size_t): Note types to which size_t may be
51885         equivalent with the GNU C Library, but do not describe when
51886         differences between them are significant.
51888 2012-03-05  Andreas Jaeger  <aj@suse.de>
51890         * sysdeps/i386/fpu/libm-test-ulps: Update.
51892 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51894         [BZ #3976]
51895         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51896         (__ieee754_pow): Save and restore rounding mode and use
51897         round-to-nearest for main computations.
51898         * math/libm-test.inc (pow_test_tonearest): New function.
51899         (pow_test_towardzero): Likewise.
51900         (pow_test_downward): Likewise.
51901         (pow_test_upward): Likewise.
51902         (main): Call the new functions.
51903         * sysdeps/i386/fpu/libm-test-ulps: Update.
51904         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51906         [BZ #3976]
51907         * math/libm-test.inc (cosh_test_tonearest): New function.
51908         (cosh_test_towardzero): Likewise.
51909         (cosh_test_downward): Likewise.
51910         (cosh_test_upward): Likewise.
51911         (sinh_test_tonearest): Likewise.
51912         (sinh_test_towardzero): Likewise.
51913         (sinh_test_downward): Likewise.
51914         (sinh_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 2012-03-05  Tom de Vries  <tom@codesourcery.com>
51921         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51922         default stack guard is set in last bytes.
51923         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51925 2012-03-05  Kees Cook  <keescook@chromium.org>
51927         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51929         [BZ #13656]
51930         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51931         possibly allocate from heap instead of stack.
51932         * stdio-common/bug-vfprintf-nargs.c: New file.
51933         * stdio-common/Makefile (tests): Add nargs overflow test.
51935 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
51937         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51939 2012-03-03  Marek Polacek  <polacek@redhat.com>
51941         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51942         * math/math_private.h: Likewise.
51943         * stdlib/tst-strtod.c: Likewise.
51944         * sysdeps/i386/i486/bits/atomic.h: Likewise.
51945         * sysdeps/x86_64/bits/atomic.h: Likewise.
51947 2012-03-02  David S. Miller  <davem@davemloft.net>
51949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51950         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51952         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51953         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51954         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51955         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51956         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51958 2012-03-02  Roland McGrath  <roland@hack.frob.com>
51960         [BZ #13792]
51961         * manual/examples/README: New file, says the example source files
51962         can be used under GPL>=2.
51963         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51964         line containing just "*/".
51965         * manual/examples/add.c: Add copyright header (GPL>=2).
51966         * manual/examples/argp-ex1.c: Likewise.
51967         * manual/examples/argp-ex2.c: Likewise.
51968         * manual/examples/argp-ex3.c: Likewise.
51969         * manual/examples/argp-ex4.c: Likewise.
51970         * manual/examples/atexit.c: Likewise.
51971         * manual/examples/db.c: Likewise.
51972         * manual/examples/dir.c: Likewise.
51973         * manual/examples/dir2.c: Likewise.
51974         * manual/examples/execinfo.c: Likewise.
51975         * manual/examples/filecli.c: Likewise.
51976         * manual/examples/filesrv.c: Likewise.
51977         * manual/examples/fmtmsgexpl.c: Likewise.
51978         * manual/examples/genpass.c: Likewise.
51979         * manual/examples/inetcli.c: Likewise.
51980         * manual/examples/inetsrv.c: Likewise.
51981         * manual/examples/isockad.c: Likewise.
51982         * manual/examples/longopt.c: Likewise.
51983         * manual/examples/memopen.c: Likewise.
51984         * manual/examples/memstrm.c: Likewise.
51985         * manual/examples/mkfsock.c: Likewise.
51986         * manual/examples/mkisock.c: Likewise.
51987         * manual/examples/mygetpass.c: Likewise.
51988         * manual/examples/pipe.c: Likewise.
51989         * manual/examples/popen.c: Likewise.
51990         * manual/examples/rprintf.c: Likewise.
51991         * manual/examples/search.c: Likewise.
51992         * manual/examples/select.c: Likewise.
51993         * manual/examples/setjmp.c: Likewise.
51994         * manual/examples/sigh1.c: Likewise.
51995         * manual/examples/sigusr.c: Likewise.
51996         * manual/examples/stpcpy.c: Likewise.
51997         * manual/examples/strdupa.c: Likewise.
51998         * manual/examples/strftim.c: Likewise.
51999         * manual/examples/strncat.c: Likewise.
52000         * manual/examples/subopt.c: Likewise.
52001         * manual/examples/swapcontext.c: Likewise.
52002         * manual/examples/termios.c: Likewise.
52003         * manual/examples/testopt.c: Likewise.
52004         * manual/examples/testpass.c: Likewise.
52005         * manual/examples/timeval_subtract.c: Likewise.
52007         [BZ #13792]
52008         * manual/time.texi (Elapsed Time): Move timeval_subtract example
52009         function to ...
52010         * manual/timeval_subtract.c.texi: ... here, new file.
52012 2012-03-02  David S. Miller  <davem@davemloft.net>
52014         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
52016 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
52018         [BZ #3976]
52019         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
52020         (__sin): Save and restore rounding mode and use round-to-nearest
52021         for all computations.
52022         (__cos): Save and restore rounding mode and use round-to-nearest
52023         for all computations.
52024         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
52025         <fenv.h>.
52026         (tan): Save and restore rounding mode and use round-to-nearest for
52027         all computations.
52028         * math/libm-test.inc (cos_test_tonearest): New function.
52029         (cos_test_towardzero): Likewise.
52030         (cos_test_downward): Likewise.
52031         (cos_test_upward): Likewise.
52032         (sin_test_tonearest): Likewise.
52033         (sin_test_towardzero): Likewise.
52034         (sin_test_downward): Likewise.
52035         (sin_test_upward): Likewise.
52036         (tan_test_tonearest): Likewise.
52037         (tan_test_towardzero): Likewise.
52038         (tan_test_downward): Likewise.
52039         (tan_test_upward): Likewise.
52040         (main): Call the new functions.
52041         * sysdeps/i386/fpu/libm-test-ulps: Update.
52042         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52044         [BZ #10135]
52045         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
52046         small n, then large n, before computing and testing k+n.
52047         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
52048         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
52049         Likewise.
52050         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
52051         Likewise.
52052         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
52053         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
52054         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
52055         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
52056         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52057         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52058         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
52059         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
52060         * math/libm-test.inc (scalbn_test): Add more tests.
52061         (scalbln_test): Likewise.
52063         * manual/filesys.texi (mode_t): Describe constraints on size and
52064         signedness, not exact equivalence to a particular type.
52065         (ino_t): Likewise.
52066         (ino64_t): Likewise.
52067         (dev_t): Likewise.
52068         (nlink_t): Likewise.
52069         (blkcnt_t): Likewise.
52070         (blkcnt64_t): Likewise.
52071         * manual/llio.texi (off_t): Likewise.
52073         [BZ #3976]
52074         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
52075         (__ieee754_exp): Save and restore rounding mode and use
52076         round-to-nearest for all computations.
52077         * math/libm-test.inc (exp_test_tonearest): New function.
52078         (exp_test_towardzero): Likewise.
52079         (exp_test_downward): Likewise.
52080         (exp_test_upward): Likewise.
52081         (main): Call the new functions.
52082         * sysdeps/i386/fpu/libm-test-ulps: Update.
52083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52085 2012-03-01  Chris Demetriou  <cgd@google.com>
52087         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
52088         have predictable order.
52090 2012-03-01  David S. Miller  <davem@davemloft.net>
52092         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
52094         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
52095         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
52096         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
52097         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
52099         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
52100         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
52101         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
52102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
52103         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
52104         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
52105         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
52106         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
52107         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
52109         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52111         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
52112         * sysdeps/sparc/fpu/libm-test-ulps: to here.
52113         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
52115         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
52116         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52117         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52118         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
52119         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
52120         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
52121         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
52122         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52123         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52124         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
52125         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
52126         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52127         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52128         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52129         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52130         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52131         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
52132         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
52133         * sysdeps/sparc/elf/configure: Regenerated.
52135 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
52137         * configure.in (AS, LD): Require binutils 2.20 or later.
52138         * configure: Regenerated.
52139         * manual/install.texi (Tools for Compilation): Give binutils 2.20
52140         as required minimum version.
52141         * INSTALL: Regenerated.
52143         [BZ #2541]
52144         [BZ #4108]
52145         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52146         before squaring exponent.
52147         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52148         bottom long double and 27 bits of top long double before squaring
52149         exponent.
52150         * math/libm-test.inc (erfc_test): Add more tests.
52151         * sysdeps/i386/fpu/libm-test-ulps: Update.
52152         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52155 2012-03-01  Kai Tietz  <ktietz@redhat.com>
52157         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52158         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52159         containing bit-fields.
52160         * soft-fp/extended.h (_FP_UNION_E): Likewise.
52161         * soft-fp/single.h (_FP_UNION_S): Likewise.
52162         * soft-fp/double.h (_FP_UNION_D): Likewise.
52164 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52166         [BZ #13786]
52167         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52168         not include ../strcmp.S.
52169         [USE_AS_STRNCASECMP_L]: Likewise.
52170         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52171         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52172         * sysdeps/i386/i686/multiarch/strncase_l-c.c
52173         (__strncasecmp_l_ia32): Define as alias to
52174         __strncasecmp_l_nonascii.
52176         [BZ #5794]
52177         * math/libm-test.inc (expm1_test): Add test for bug 5794.
52178         * sysdeps/i386/fpu/libm-test-ulps: Update.
52179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52181         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52184 2012-02-29  Jeff Law  <law@redhat.com>
52186         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52187         out of bounds read.
52189 2012-02-29  Marek Polacek  <polacek@redhat.com>
52191         [BZ #13706]
52192         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52193         * elf/Makefile: Add rules to run tst-unused-dep.out.
52195 2012-02-28  David S. Miller  <davem@davemloft.net>
52197         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52198         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52199         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52200         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52201         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52202         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52204 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52206         * math/libm-test.inc (llround_test): Move one test from
52207         lround_test.  Use TEST_f_L in moved test.
52208         (lround_test): Move misplaced test to llround_test.  Add testcase
52209         from bug 2561.
52211 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
52213         * sysdeps/x86_64/fpu/e_expf.S: New file.
52214         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52216 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
52218         [BZ #13637]
52219         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52220         of remain_len that may cause incomplete multi-byte character and
52221         false match.
52222         * posix/bug-regex33.c: New file.
52223         * posix/Makefile (tests): Add bug-regex33.
52225 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
52227         * manual/macros.texi: New file.
52228         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52229         * manual/libc.texinfo: Include macros.texi.
52230         * manual/creatute.texi: Likewise.
52231         * manual/install.texi: Likewise.
52232         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52233         @glibcadj{} in references to the GNU C Library.
52234         * manual/charset.texi: Likewise.
52235         * manual/conf.texi: Likewise.
52236         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
52237         when not using those macros.
52238         * manual/creature.texi: Likewise.
52239         * manual/crypt.texi: Likewise.
52240         * manual/errno.texi: Likewise.
52241         * manual/filesys.texi: Likewise.
52242         * manual/header.texi: Likewise.
52243         * manual/install.texi: Likewise.
52244         * manual/intro.texi: Likewise.
52245         * manual/io.texi: Likewise.
52246         * manual/job.texi: Likewise.
52247         * manual/lang.texi: Likewise.
52248         * manual/libc.texiinfo: Likewise.
52249         * manual/llio.texi: Likewise.
52250         * manual/locale.texi: Likewise.
52251         * manual/maint.texi: Likewise.
52252         * manual/math.texi: Likewise.
52253         * manual/memory.texi: Likewise.
52254         * manual/message.texi: Likewise.
52255         * manual/nss.texi: Likewise.
52256         * manual/pattern.texi: Likewise.
52257         * manual/process.texi: Likewise.
52258         * manual/resource.texi: Likewise.
52259         * manual/search.texi: Likewise.
52260         * manual/setjmp.texi: Likewise.
52261         * manual/signal.texi: Likewise.
52262         * manual/socket.texi: Likewise.
52263         * manual/startup.texi: Likewise.
52264         * manual/stdio.texi: Likewise.
52265         * manual/string.texi: Likewise.
52266         * manual/sysinfo.texi: Likewise.
52267         * manual/syslog.texi: Likewise.
52268         * manual/terminal.texi: Likewise.
52269         * manual/time.texi: Likewise.
52270         * manual/users.texi: Likewise.
52271         * INSTALL: Regenerated.
52272         * NOTES: Regenerated.
52273         * sysdeps/gnu/errlist.c: Regenerated.
52275 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
52277         * include/dirent.h: Include <dirstream.h> before
52278         <dirent/dirent.h>.
52280 2012-02-28  David S. Miller  <davem@davemloft.net>
52282         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52283         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52284         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52285         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52287 2012-02-27  David S. Miller  <davem@davemloft.net>
52289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52291         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52292         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52295         frame pointer instead of stack pointer relative arg slot.
52296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52297         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52298         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52300 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
52302         [BZ #3992]
52303         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52305 2012-02-27  David S. Miller  <davem@davemloft.net>
52307         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52308         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52309         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52311         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52312         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52313         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52314         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52316 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52318         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52319         later.  Allow versions 5-9.
52320         * configure: Regenerated.
52321         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52322         required minimum version and 4.6 as recommended version.  Do not
52323         mention bugs in GCC 2.7 and 2.8.
52324         * INSTALL: Regenerated.
52326 2012-02-27  David S. Miller  <davem@davemloft.net>
52328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52332         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52333         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52334         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52335         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52337         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52338         manipulate bits before adding and subtracting TWO112[sx].
52339         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52341 2012-02-27  Roland McGrath  <roland@hack.frob.com>
52343         [BZ #13775]
52344         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52345         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52346         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52347         being in POSIX, because they are in 1003.1-2008.
52349         * rt/tst-aio.c: Include <fcntl.h>.
52350         * rt/tst-aio7.c: Likewise.
52351         * rt/tst-aio64.c: Likewise.
52353         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52355 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52357         * manual/install.texi (--with-headers): Describe headers as
52358         interface headers, not private headers.
52359         (Specific advice for GNU/Linux systems): Describe use of headers
52360         from "make headers_install", not private headers from older
52361         kernels.
52362         * INSTALL: Regenerated.
52363         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52364         Change to 2.6.19.
52365         * sysdeps/unix/sysv/linux/configure: Regenerated.
52367         * manual/llio.texi (fclean): Remove documentation.
52369         * manual/Makefile (libc-texi-generated): New variable.  Include
52370         version.texi.
52371         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52372         $(libc-texi-generated), not duplicated list of files.
52373         (version.texi, stamp-version): New rules.
52374         (realclean): Remove $(libc-texi-generated), not individual files
52375         from that list.  Do not remove dir-add.texinfo.
52376         * manual/libc.texinfo: Comment out uses of edition numbers and
52377         references to printed manual.  Remove last-updated dates.
52378         (EDITION): Comment out.
52379         (ISBN): Likewise.
52380         (VERSION, UPDATED): Remove.
52381         (version.texi): Include.
52383 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
52385         * sysdeps/posix/spawni.c: Include <signal.h>.
52386         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52387         * sysdeps/pthread/aio_fsync.c: Likewise.
52389 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
52391         * conform/Makefile (tests): Run only when not cross-compiling and
52392         when fast-check is not defined.
52394         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52395         * conform/data/limits.h-data: Fixes for POSIX2008.
52396         * conform/run-conformtest.sh: Run all tests.
52397         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52398         headers.
52399         * include/bits/dlfcn.h: Likewise.
52400         * include/langinfo.h: Likewise.
52401         * include/monetary.h: Likewise.
52402         * include/sys/poll.h: Likewise.
52404         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52405         for __USE_GNU.
52406         * posix/spawn.h: Define __need_sigset_t.
52407         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52408         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52409         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
52410         to get sigevent_t only.
52411         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52412         only for __USE_GNU.
52413         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52414         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52415         process_vm_writev only for __USE_GNU.
52416         * termios/termios.h: Declare tcgetsid also for POSIX2008.
52418         * conform/Makefile: For now ignore errors from run-conformtest.
52419         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
52420         POSIX to avoid namespace pollution.  Don't prepend headers.
52421         * conform/data/aio.h-data: Fixes for POSIX testing.
52422         * conform/data/fcntl.h-data: Likewise.
52423         * conform/data/glob.h-data: Likewise.
52424         * conform/data/grp.h-data: Likewise.
52425         * conform/data/pthread.h-data: Likewise.
52426         * conform/data/pwd.h-data: Likewise.
52427         * conform/data/signal.h-data: Likewise.
52428         * conform/data/spawn.h-data: Likewise.
52429         * conform/data/stdio.h-data: Likewise.
52430         * conform/data/stdlib.h-data: Likewise.
52431         * conform/data/stropts.h-data: Likewise.
52432         * conform/data/sys/mman.h-data: Likewise.
52433         * conform/data/sys/stat.h-data: Likewise.
52434         * conform/data/sys/types.h-data: Likewise.
52435         * conform/data/sys/wait.h-data: Likewise.
52436         * conform/data/time.h-data: Likewise.
52437         * conform/data/unistd.h-data: Likewise.
52438         * conform/data/utime.h-data: Likewise.
52440         * io/sys/stat.h: fchmod was always in POSIX.
52441         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52442         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52443         * rt/aio.h: Define __need_timespec before including <time.h>.
52444         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52445         struct.  Add forward declaration of pthread_attr_t and use it in
52446         sigevent.
52447         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52448         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52449         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52450         always remove CLK_TCK definition.
52452 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
52454         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52456 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
52458         * conform/run-conformtest.sh: New file.
52459         * conform/Makefile: Run run-conformtest for tests.
52460         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
52461         support.
52463         * conform/data/uchar.h-data: New file.
52464         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52465         * conform/data/arpa/inet.h-data: Likewise.
52466         * conform/data/assert.h-data: Likewise.
52467         * conform/data/complex.h-data: Likewise.
52468         * conform/data/cpio.h-data: Likewise.
52469         * conform/data/ctype.h-data: Likewise.
52470         * conform/data/dirent.h-data: Likewise.
52471         * conform/data/dlfcn.h-data: Likewise.
52472         * conform/data/errno.h-data: Likewise.
52473         * conform/data/fcntl.h-data: Likewise.
52474         * conform/data/float.h-data: Likewise.
52475         * conform/data/fmtmsg.h-data: Likewise.
52476         * conform/data/fnmatch.h-data: Likewise.
52477         * conform/data/ftw.h-data: Likewise.
52478         * conform/data/glob.h-data: Likewise.
52479         * conform/data/grp.h-data: Likewise.
52480         * conform/data/iconv.h-data: Likewise.
52481         * conform/data/inttypes.h-data: Likewise.
52482         * conform/data/langinfo.h-data: Likewise.
52483         * conform/data/libgen.h-data: Likewise.
52484         * conform/data/limits.h-data: Likewise.
52485         * conform/data/locale.h-data: Likewise.
52486         * conform/data/math.h-data: Likewise.
52487         * conform/data/monetary.h-data: Likewise.
52488         * conform/data/mqueue.h-data: Likewise.
52489         * conform/data/ndbm.h-data: Likewise.
52490         * conform/data/net/if.h-data: Likewise.
52491         * conform/data/netdb.h-data: Likewise.
52492         * conform/data/netinet/in.h-data: Likewise.
52493         * conform/data/nl_types.h-data: Likewise.
52494         * conform/data/poll.h-data: Likewise.
52495         * conform/data/pthread.h-data: Likewise.
52496         * conform/data/pwd.h-data: Likewise.
52497         * conform/data/regex.h-data: Likewise.
52498         * conform/data/sched.h-data: Likewise.
52499         * conform/data/search.h-data: Likewise.
52500         * conform/data/semaphore.h-data: Likewise.
52501         * conform/data/setjmp.h-data: Likewise.
52502         * conform/data/signal.h-data: Likewise.
52503         * conform/data/spawn.h-data: Likewise.
52504         * conform/data/stdarg.h-data: Likewise.
52505         * conform/data/stdio.h-data: Likewise.
52506         * conform/data/stdlib.h-data: Likewise.
52507         * conform/data/string.h-data: Likewise.
52508         * conform/data/strings.h-data: Likewise.
52509         * conform/data/stropts.h-data: Likewise.
52510         * conform/data/sys/ipc.h-data: Likewise.
52511         * conform/data/sys/mman.h-data: Likewise.
52512         * conform/data/sys/msg.h-data: Likewise.
52513         * conform/data/sys/resource.h-data: Likewise.
52514         * conform/data/sys/select.h-data: Likewise.
52515         * conform/data/sys/sem.h-data: Likewise.
52516         * conform/data/sys/shm.h-data: Likewise.
52517         * conform/data/sys/socket.h-data: Likewise.
52518         * conform/data/sys/stat.h-data: Likewise.
52519         * conform/data/sys/statvfs.h-data: Likewise.
52520         * conform/data/sys/time.h-data: Likewise.
52521         * conform/data/sys/timeb.h-data: Likewise.
52522         * conform/data/sys/times.h-data: Likewise.
52523         * conform/data/sys/types.h-data: Likewise.
52524         * conform/data/sys/uio.h-data: Likewise.
52525         * conform/data/sys/un.h-data: Likewise.
52526         * conform/data/sys/utsname.h-data: Likewise.
52527         * conform/data/sys/wait.h-data: Likewise.
52528         * conform/data/syslog.h-data: Likewise.
52529         * conform/data/tar.h-data: Likewise.
52530         * conform/data/termios.h-data: Likewise.
52531         * conform/data/utime.h-data: Likewise.
52532         * conform/data/utmpx.h-data: Likewise.
52533         * conform/data/varargs.h-data: Likewise.
52534         * conform/data/wchar.h-data: Likewise.
52535         * conform/data/wctype.h-data: Likewise.
52536         * conform/data/wordexp.h-data: Likewise.
52538         * include/stropts.h: New file.
52539         * include/uchar.h: New file.
52540         * include/aio.h: Changes to allow conformtest.pl to use the headers.
52541         * include/assert.h: Likewise.
52542         * include/ctype.h: Likewise.
52543         * include/dirent.h: Likewise.
52544         * include/dlfcn.h: Likewise.
52545         * include/fcntl.h: Likewise.
52546         * include/fnmatch.h: Likewise.
52547         * include/glob.h: Likewise.
52548         * include/grp.h: Likewise.
52549         * include/libio.h: Likewise.
52550         * include/locale.h: Likewise.
52551         * include/math.h: Likewise.
52552         * include/net/if.h: Likewise.
52553         * include/netdb.h: Likewise.
52554         * include/netinet/in.h: Likewise.
52555         * include/pthread.h: Likewise.
52556         * include/pwd.h: Likewise.
52557         * include/regex.h: Likewise.
52558         * include/sched.h: Likewise.
52559         * include/search.h: Likewise.
52560         * include/setjmp.h: Likewise.
52561         * include/signal.h: Likewise.
52562         * include/stdio.h: Likewise.
52563         * include/stdlib.h: Likewise.
52564         * include/string.h: Likewise.
52565         * include/sys/cdefs.h: Likewise.
52566         * include/sys/mman.h: Likewise.
52567         * include/sys/msg.h: Likewise.
52568         * include/sys/resource.h: Likewise.
52569         * include/sys/select.h: Likewise.
52570         * include/sys/socket.h: Likewise.
52571         * include/sys/stat.h: Likewise.
52572         * include/sys/statvfs.h: Likewise.
52573         * include/sys/time.h: Likewise.
52574         * include/sys/times.h: Likewise.
52575         * include/sys/uio.h: Likewise.
52576         * include/sys/utsname.h: Likewise.
52577         * include/sys/wait.h: Likewise.
52578         * include/termios.h: Likewise.
52579         * include/time.h: Likewise.
52580         * include/ulimit.h: Likewise.
52581         * include/unistd.h: Likewise.
52582         * include/utime.h: Likewise.
52583         * include/wchar.h: Likewise.
52584         * include/wctype.h: Likewise.
52585         * include/wordexp.h: Likewise.
52587         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52589         * time/time.h: TIME_UTC must be a macro.
52590         Make timespec_get available for ISO C11 only as well.
52592 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
52594         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52595         Reported by Peng Haitao <penght@cn.fujitsu.com>.
52597 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52599         * configure.in: Use -o not -a in test for unsupported multi-arch.
52601 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52603         * manual/texinfo.tex: Update to version 2012-01-19.16.
52605 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52607         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52609 2012-02-24  Roland McGrath  <roland@hack.frob.com>
52611         [BZ #13738]
52612         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52613         * manual/fdl-1.3.texi: New file.
52614         * manual/fdl-1.1.texi: File removed.
52616         [BZ #13738]
52617         * manual/libc.texinfo (FDL_VERSION): New @set.
52618         Use it for mention of FDL in cover text.
52619         (Documentation License): Use it in @include file name.
52621 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52622             Roland McGrath  <roland@hack.frob.com>
52624         [BZ #5461]
52625         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52626         (not LONG_LONG_MAX and LONG_LONG_MIN.
52627         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52628         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
52629         name.
52630         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52632 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52634         [BZ #2547]
52635         [BZ #11365]
52636         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52637         manipulate bits before adding and subtracting TWO23[sx].
52638         * math/libm-test.inc (nearbyint_test): Add more tests.
52640 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52642         [BZ #2548]
52643         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52644         bits before adding and subtracting TWO23[sx].
52645         * math/libm-test.inc (rint_test): Add more tests.
52646         (rint_test_tonearest): Likewise.
52647         (rint_test_towardzero): Likewise.
52648         (rint_test_downward): Likewise.
52649         (rint_test_upward: Likewise.
52651 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52653         [BZ #10110]
52654         * include/stdc-predef.h: New file.  Extracted from features.h.
52655         * include/features.h: Include stdc-predef.h.
52656         * Makefile (headers): Add stdc-predef.h.
52657         * CONFORMANCE (Compiler limitations): Update.
52659 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52661         * manual/libc.texinfo (VERSION, UPDATED): Revert.
52663 2012-02-21  David S. Miller  <davem@davemloft.net>
52665         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52666         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52668 2012-02-20  David S. Miller  <davem@davemloft.net>
52670         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52671         using a normal save/restore sequence, rather than allocating a
52672         dummy stack frame just to store a frame pointer and restore.
52673         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52675 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52677         * manual/install.texi: Fix stray word in line-wrapped comment.
52679 2012-02-20  David S. Miller  <davem@davemloft.net>
52681         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52682         both binutils and gcc support GOTDATA.
52684         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52685         "rd %pc" in the PIC register setup sequences.
52687         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52688         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52689         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52690         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52691         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52692         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52693         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52694         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52695         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52696         (SYSCALL_ERROR_HANDLER): Likewise.
52697         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52698         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52699         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52700         (SYSCALL_ERROR_HANDLER): Likewise.
52702         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52703         (HAVE_GCC_GOTDATA): New.
52704         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52705         relocation support in both binutils and gcc.
52706         * sysdeps/sparc/elf/configure: Regenerate.
52708         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52709         * sysdeps/sparc/sparc32/elf/configure: Delete.
52710         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52711         * sysdeps/sparc/sparc64/elf/configure: Delete.
52712         * sysdeps/sparc/elf/configure.in: New file.
52713         * sysdeps/sparc/elf/configure: Generate.
52715         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52716         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52717         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52718         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52719         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52721 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52723         * manual/install.texi: Do not mention specific glibc version
52724         numbers.
52725         * manual/libc.texinfo (VERSION, UPDATED): Update.
52726         (@copying): Use @copyright{} and range of years.
52728 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52730         [BZ #13695]
52731         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52732         [crti.S not in sysdirs] (generated): Do not append.
52733         [crti.S not in sysdirs] (omit-deps): Likewise.
52734         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52735         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52736         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52737         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52738         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52739         Likewise.
52740         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52741         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52742         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52743         * csu/defs.awk: Remove file.
52744         * sysdeps/generic/initfini.c: Likewise.
52745         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52746         variable.
52747         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52748         Likewise.
52750 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52752         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52753         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52754         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52755         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52756         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52757         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52758         <bits/epoll.h>.
52759         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52760         (__EPOLL_PACKED): Define to empty if not defined by
52761         <bits/epoll.h>.
52762         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52763         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52764         bits/epoll.h.
52766 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52768         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52769         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52770         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52771         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52772         <bits/timerfd.h>.
52773         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52774         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52775         bits/timerfd.h.
52777 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52779         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52780         in C locale.
52781         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52782         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52783         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52786 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
52788         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52789         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52791 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
52793         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52794         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52795         defined.
52796         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52797         Likewise.
52798         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52799         entry for 2.16.
52801 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
52803         * math/w_acos.c: Use non-signaling floating-point comparisons.
52804         * math/w_acosf.c: Likewise.
52805         * math/w_acosh.c: Likewise.
52806         * math/w_acoshf.c: Likewise.
52807         * math/w_acoshl.c: Likewise.
52808         * math/w_acosl.c: Likewise.
52809         * math/w_asin.c: Likewise.
52810         * math/w_asinf.c: Likewise.
52811         * math/w_asinl.c: Likewise.
52812         * math/w_atanh.c: Likewise.
52813         * math/w_atanhf.c: Likewise.
52814         * math/w_atanhl.c: Likewise.
52815         * math/w_exp2.c: Likewise.
52816         * math/w_exp2f.c: Likewise.
52817         * math/w_exp2l.c: Likewise.
52818         * math/w_j0.c: Likewise.
52819         * math/w_j0f.c: Likewise.
52820         * math/w_j0l.c: Likewise.
52821         * math/w_j1.c: Likewise.
52822         * math/w_j1f.c: Likewise.
52823         * math/w_j1l.c: Likewise.
52824         * math/w_jn.c: Likewise.
52825         * math/w_jnf.c: Likewise.
52826         * math/w_log.c: Likewise.
52827         * math/w_log10.c: Likewise.
52828         * math/w_log10f.c: Likewise.
52829         * math/w_log10l.c: Likewise.
52830         * math/w_log2.c: Likewise.
52831         * math/w_log2f.c: Likewise.
52832         * math/w_log2l.c: Likewise.
52833         * math/w_logf.c: Likewise.
52834         * math/w_logl.c: Likewise.
52835         * math/w_sqrt.c: Likewise.
52836         * math/w_sqrtf.c: Likewise.
52837         * math/w_sqrtl.c: Likewise.
52838         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52839         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52840         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52841         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52842         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52844 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52846         [BZ #9739]
52847         * manual/string.texi (strnlen): Use correct parameter name in
52848         equivalent expression.
52850 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52852         [BZ #11174]
52853         * manual/users.texi (seteuid): Consistently use neweuid for
52854         argument name.
52856 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52858         [BZ #13704]
52859         * manual/nss.texi (Services in the NSS configuration): Correct
52860         list of services in example configuration file.
52862 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
52864         [BZ #11322]
52865         * manual/arith.texi: Remove statements about negative zero
52866         behaving identically to zero.
52868 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52870         [BZ #5993]
52871         * manual/install.texi: Do not document upgrading from libc5.
52873 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52875         [BZ #4596]
52876         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52878 2012-02-18  David S. Miller  <davem@davemloft.net>
52880         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52881         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52882         %o7 across the call.
52883         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52884         instead.
52885         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52886         SETUP_PIC_REG_LEAF.
52887         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52888         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52889         * sysdeps/sparc/crtn.S: Likewise.
52891 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
52893         * aout/Makefile: Remove.
52895 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
52897         [BZ #13058]
52898         * manual/examples/argp-ex1.c (main): Format definition in GNU
52899         style.
52900         * manual/examples/argp-ex2.c (main): Likewise.
52901         * manual/examples/argp-ex3.c (main): Likewise.
52902         * manual/examples/argp-ex4.c (main): Likewise.
52903         * manual/examples/longopt.c (main): Use new-style prototype
52904         definition.
52905         * manual/examples/strncat.c (main): Specify return type and use
52906         (void) for arguments.
52907         * manual/examples/subopt.c (main): Use char **argv argument.
52909 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52911         [BZ #5077]
52912         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52913         rounding modes.
52915 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
52917         [BZ #6907]
52918         * manual/string.texi (strchr): Change when strchrnul is
52919         recommended.
52921 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
52923         [BZ #174]
52924         * manual/locale.texi (setlocale): Document LOCPATH.
52926 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52928         [BZ #10210]
52929         * manual/process.texi (execle): Move @dots{} before last argument.
52931 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
52933         [BZ #12047]
52934         * manual/charset.texi (Generic Charset Conversion): Fix typo
52935         (LC_TYPE -> LC_CTYPE).
52937 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
52939         [BZ #5805]
52940         * manual/arith.texi (scalbn): Use @var{} on parameter names.
52941         (scalbnf): Likewise.
52942         (scalbnl): Likewise.
52943         (scalbln): Likewise.
52944         (scalblnf): Likewise.
52945         (scalblnl): Likewise.
52946         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52947         (vwarnx): Likewise.
52948         (verr): Likewise.
52949         (verrx): Likewise.
52950         * manual/filesys.texi (telldir): Use braces around return type.
52951         * manual/llio.texi (mmap): Add space after comma.
52952         (mmap64): Likewise.
52953         * manual/math.texi (jn): Use @var{} on parameter names.
52954         (jnf): Likewise.
52955         (jnl): Likewise.
52956         (yn): Likewise.
52957         (ynf): Likewise.
52958         (ynl): Likewise.
52959         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52960         line.
52961         * manual/resource.texi (ulimit): Use @dots{} instead of literal
52962         "...".
52963         (sched_get_priority_min): Remove semicolon on @deftypefun line.
52964         (sched_get_priority_max): Likewise.
52965         * manual/signal.texi (sigvec): Add space after comma.
52966         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52967         names.
52968         (if_indextoname): Likewise.
52969         (if_freenameindex): Likewise.
52970         (sendto): Use ',' instead of '.' in prototype.
52971         * manual/startup.texi (syscall): Use @dots{} instead of literal
52972         "...".
52973         * manual/stdio.texi (__fpending): Separate initial words of
52974         paragraph from @deftypefun line.
52975         * manual/syslog.texi (syslog): Use @dots{} instead of literal
52976         "...".
52977         (vsyslog): Use @var{} on parameter names.
52978         * manual/terminal.texi (stty): Use @var{} on parameter names.
52979         * manual/users.texi (getutmp): Use @var{} on parameter names.
52980         (getutmpx): Likewise.
52982 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52984         [BZ #6884]
52985         * manual/stdio.texi (fopen): Fix typos in description of
52986         ",ccs=STRING".
52988 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
52990         [BZ #4026]
52991         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52992         get clock_id definition.
52994 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
52996         [BZ #4822]
52997         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52998         (madvise): Cast every argument to void on its own.
53000 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53002         [BZ #9902]
53003         * manual/startup.texi (Exit Status): Fix typo.
53005 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
53007         [BZ #10140]
53008         * manual/examples/argp-ex1.c: Include <stdlib.h>.
53009         * manual/examples/argp-ex2.c: Likewise.
53010         * manual/examples/argp-ex3.c: Likewise.
53012 2012-02-16  Richard Henderson  <rth@redhat.com>
53014         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
53015         * sysdeps/s390/s390-32/initfini.c: Remove.
53016         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
53017         * sysdeps/s390/s390-64/initfini.c: Remove.
53019 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53021         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
53022         compiler output for sysdeps/generic/initfini.c.
53023         * sysdeps/sh/elf/initfini.c: Remove file.
53025 2012-02-16  David S. Miller  <davem@davemloft.net>
53027         [BZ #11494]
53028         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
53030         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
53031         * sysdeps/sparc/crti.S: New file.
53032         * sysdeps/sparc/crtn.S: New file.
53033         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
53034         * sysdeps/sparc/sparc64/Makefile: Likewise.
53036 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
53038         [BZ #3335]
53039         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
53041 2012-02-15  Roland McGrath  <roland@hack.frob.com>
53043         [BZ #4822]
53044         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
53046         * mach/devstream.c (cookie_io_functions_t): Macro removed.
53047         (write, read, close): Likewise.
53048         Patch by Aurelien Jarno <aurelien@aurel32.net>.
53050 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
53052         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
53053         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
53054         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
53055         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
53056         <bits/signalfd.h>.
53057         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
53058         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53059         bits/signalfd.h.
53061 2012-02-14  Marek Polacek  <polacek@redhat.com>
53063         * sysdeps/x86_64/crti.S: New file.
53064         * sysdeps/x86_64/crtn.S: New file.
53065         * sysdeps/x86_64/elf/initfini.c: Remove file.
53067 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53069         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
53070         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
53071         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
53072         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
53073         <bits/inotify.h>.
53074         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
53075         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53076         bits/inotify.h.
53078 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
53080         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
53081         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
53082         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
53083         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
53084         <bits/eventfd.h>.
53085         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
53086         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53087         bits/eventfd.h.
53089 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
53091         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
53092         __feraiseexcept instead of feraiseexcept.
53094         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
53095         nanosleep invocations.
53096         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
53097         strings, and add error checking for a nanosleep invocations.
53099 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
53101         Replace FSF snail mail address with URLs, as per GNU coding standards.
53102         Most of the snail mail addresses were wrong anyway, and omitting
53103         them makes the source code easier to maintain.  Almost all of the
53104         changes are to license notices and to locale LC_IDENTIFICATION
53105         addresses, except for this one:
53106         * manual/libc.texinfo: In "Published by", give the FSF's URL,
53107         not its snail mail address.
53109 2012-02-09  Richard Henderson  <rth@twiddle.net>
53111         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
53112         of kernel-features.h.
53114         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
53116 2012-02-08  Marek Polacek  <polacek@redhat.com>
53118         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
53119         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
53120         * sysdeps/gnu/_G_config.h: Likewise.
53121         * sysdeps/generic/_G_config.h: Likewise.
53123 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
53125         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
53126         tests.
53127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53129         * sysdeps/powerpc/powerpc32/crti.S: New file.
53130         * sysdeps/powerpc/powerpc32/crtn.S: New file.
53131         * sysdeps/powerpc/powerpc64/crti.S: New file.
53132         * sysdeps/powerpc/powerpc64/crtn.S: New file.
53134         * Makeconfig (have-initfini): Don't set.
53135         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53136         * configure.in (nopic_initfini): Don't substitute.
53137         * config.h.in (HAVE_INITFINI): Don't #undef.
53138         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53139         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53141 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
53143         Support crti.S and crtn.S provided directly by architectures.
53144         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53145         [crti.S in sysdirs] (omit-deps): Likewise.
53146         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53147         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53148         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53149         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53150         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53151         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53152         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53153         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53154         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53155         compiler output for sysdeps/generic/initfini.c.
53156         * sysdeps/i386/elf/Makefile: Remove file.
53157         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53159 2012-02-07  Marek Polacek  <polacek@redhat.com>
53161         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53162         * sysdeps/gnu/_G_config.h: Likewise.
53163         * sysdeps/mach/hurd/_G_config.h: Likewise.
53165 2012-02-07  Marek Polacek  <polacek@redhat.com>
53167         * math/Makefile (tests): Add tst-CMPLX2.
53168         * math/tst-CMPLX2.c: New file.
53170 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
53172         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53174         * math/libm-test.inc (jn_test): Add missing L suffix.
53176 2012-02-06  Marek Polacek  <polacek@redhat.com>
53178         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53179         * sysdeps/i386/fpu/e_powf.S: Likewise.
53180         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53181         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53182         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53183         * sysdeps/i386/fpu/e_pow.S: Likewise.
53184         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53185         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53186         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53187         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53188         * sysdeps/i386/fpu/e_log2.S: Likewise.
53189         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53190         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53191         * sysdeps/i386/fpu/e_powl.S: Likewise.
53192         * sysdeps/i386/fpu/s_log1p.S: Likewise.
53193         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53194         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53195         * sysdeps/i386/fpu/e_logl.S: Likewise.
53196         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53197         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53198         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53199         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53200         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53201         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53202         * sysdeps/i386/fpu/e_log.S: Likewise.
53203         * sysdeps/i386/fpu/s_cexp.S: Likewise.
53204         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53205         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53206         * sysdeps/i386/fpu/e_logf.S: Likewise.
53207         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53208         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53209         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53210         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53211         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53212         * sysdeps/i386/fpu/e_log10.S: Likewise.
53213         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53214         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53215         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53216         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53217         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53218         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53219         * sysdeps/i386/asm-syntax.h: Likewise.
53220         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53221         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53222         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53223         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53224         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53225         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53226         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53227         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53228         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53229         * sysdeps/powerpc/sysdep.h: Likewise.
53230         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53231         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53233 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53235         [BZ #411]
53236         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53238 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53240         * sysdeps/i386/sysdep.h: Include <features.h>.
53241         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53242         version.
53244 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
53246         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53247         Define.
53248         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53249         LOAD_PIC_REG_STR.
53251 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53253         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53254         (SETUP_PIC_REG): Use GET_PC_THUNK.
53255         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53256         macro.
53258 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53260         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53261         for non-PIC compilation.
53262         (SETUP_PIC_REG): Add .p2align directive.
53263         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53264         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53265         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53266         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53267         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53268         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53269         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53270         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53271         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53272         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53273         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53274         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53275         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53276         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53277         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53278         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53279         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53280         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53281         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53282         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53283         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53284         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53285         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53286         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53287         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53289         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53290         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53291         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53292         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53293         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53294         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53295         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53296         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53297         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53298         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53299         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53300         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53301         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53302         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53303         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53305 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53307         * math/tst-CMPLX.c: Include <stdio.h>.
53309 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
53311         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53312         float.
53313         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53314         * sysdeps/sparc/bits/mathdef.h: Likewise.
53316 2012-01-31  Marek Polacek  <polacek@redhat.com>
53318         * libio/libio.h: Don't define _PARAMS.
53319         * locale/programs/config.h: Don't define PARAMS.
53320         * stdlib/strtol_l.c: Likewise.
53321         (__strtol_l): Remove PARAMS from the prototype.
53323 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
53325         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
53326         names.  Just use the correct names.  Remove unnecessary wrapper
53327         functions.
53328         * malloc/arena.c: Likewise.
53329         * malloc/hooks.c: Likewise.
53331         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53332         ARENA_TEST says not to.  Simplify test for creation of a new arena.
53333         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53335 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
53337         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53338         into tail calls.
53339         (update_get_addr): New function.
53340         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53341         GET_ADDR_MODULE parameter.
53343 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53345         * crypt/cert.c: Remove __STDC__ conditionals.
53346         * crypt/crypt-entry.c: Likewise.
53347         * crypt/crypt_util.c: Likewise.
53348         * libio/filedoalloc.c: Likewise.
53349         * libio/fileops.c: Likewise.
53350         * libio/genops.c: Likewise.
53351         * libio/iofclose.c: Likewise.
53352         * libio/iofdopen.c: Likewise.
53353         * libio/iofopen.c: Likewise.
53354         * libio/iofopen64.c: Likewise.
53355         * libio/iogetdelim.c: Likewise.
53356         * libio/iopopen.c: Likewise.
53357         * libio/obprintf.c: Likewise.
53358         * libio/oldfileops.c: Likewise.
53359         * libio/oldiofclose.c: Likewise.
53360         * libio/oldiofdopen.c: Likewise.
53361         * libio/oldiofopen.c: Likewise.
53362         * libio/oldiopopen.c: Likewise.
53363         * libio/wfiledoalloc.c: Likewise.
53364         * libio/wgenops.c: Likewise.
53365         * locale/programs/xmalloc.c: Likewise.
53366         * misc/syslog.c: Likewise.
53367         * stdio-common/xbug.c: Likewise.
53368         * string/memchr.c: Likewise.
53369         * string/memcmp.c: Likewise.
53370         * string/memrchr.c: Likewise.
53371         * string/rawmemchr.c: Likewise.
53372         * sysdeps/posix/getcwd.c: Likewise.
53373         * time/strftime_l.c: Likewise.
53375 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53377         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53378         * config.make.in (config-cflags-sse2avx): Define.
53379         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53380         Fix typo.
53382 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
53384         * scripts/config.guess: Update from upstream config git repository.
53385         * scripts/config.sub: Likewise.
53387 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
53389         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53390         (EM_NUM): Update.
53391         (R_TILEPRO_*, R_TILEGX_*): New macros.
53393         * scripts/firstversions.awk: Fix bug in version range handling.
53395         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53397         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53399         * include/sys/epoll.h: New file.
53400         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53401         libc_hidden_def.
53403 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
53405         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53406         Avoid unnecessary __WORDSIZE == 64 test.
53407         (fmaxf): Use VEX format if possible.
53408         (fmax): Likewise.
53409         (fminf): Likewise.
53410         (fmin): Likewise.
53412         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53413         * math/math_private.h: Remove libc_fegetround* and
53414         libc_fesetround*.
53415         * sysdeps/i386/configure.in: Check for -msse2avx.
53416         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53417         also if SSE2AVX is defined.
53418         Remove libc_fegetround* and libc_fesetround*.
53419         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53420         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
53421         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53422         of HAS_YMM_USABLE.
53423         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53424         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53425         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53426         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53427         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53429         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53431 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53433         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53434         size is not set.
53435         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53437 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
53439         [BZ #13618]
53440         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53441         relocation.
53442         * Makeconfig (libm): Define.
53443         * elf/Makefile: Add rules to build and run tst-relsort1.
53444         * elf/tst-relsort1.c: New file.
53445         * elf/tst-relsort1mod1.c: New file.
53446         * elf/tst-relsort1mod2.c: New file.
53448 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
53450         * math/s_ldexp.c: Remove __STDC__ conditionals.
53451         * math/s_ldexpf.c: Likewise.
53452         * math/s_ldexpl.c: Likewise.
53453         * math/s_nextafter.c: Likewise.
53454         * math/s_nexttowardf.c: Likewise.
53455         * math/s_significand.c: Likewise.
53456         * math/s_significandf.c: Likewise.
53457         * math/s_significandl.c: Likewise.
53458         * math/w_jnl.c: Likewise.
53459         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53460         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53461         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53462         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53463         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53464         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53465         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53466         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53467         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53468         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53469         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53470         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53471         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53472         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53473         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53474         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53475         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53476         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53477         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53478         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53479         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53480         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53481         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53482         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53483         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53484         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53485         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53486         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53487         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53488         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53489         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53490         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53491         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53492         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53493         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53494         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53495         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53496         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53497         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53498         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53499         * sysdeps/ieee754/k_standard.c: Likewise.
53500         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53501         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53502         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53503         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53504         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53505         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53506         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53507         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53508         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53509         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53510         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53511         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53512         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53513         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53514         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53515         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53516         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53517         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53518         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53519         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53520         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53521         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53522         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53523         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53524         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53525         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53526         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53527         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53528         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53529         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53530         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53531         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53532         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53533         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53534         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53535         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53536         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53537         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53538         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53539         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53540         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53541         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53542         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53543         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53544         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53545         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53546         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53547         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53548         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53549         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53550         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53551         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53552         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53553         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53554         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53555         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53556         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53557         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53558         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53559         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53560         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53561         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53562         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53563         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53564         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53565         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53566         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53567         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53568         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53569         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53570         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53571         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53572         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53573         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53574         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53575         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53576         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53577         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53578         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53579         * sysdeps/ieee754/s_matherr.c: Likewise.
53580         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53581         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53582         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53583         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53585 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53587         * crypt/md5.h: Remove __STDC__ conditionals.
53588         * libio/libioP.h: Likewise.
53589         * locale/programs/config.h: Likewise.
53590         * sysdeps/generic/sysdep.h: Likewise.
53591         * sysdeps/i386/asm-syntax.h: Likewise.
53592         * sysdeps/s390/asm-syntax.h: Likewise.
53593         * sysdeps/unix/sysdep.h: Likewise.
53594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53597 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53599         * libio/libio.h: Remove __STDC__ conditionals.
53600         * malloc/obstack.h: Likewise.
53601         * math/complex.h: Likewise.
53602         * math/math.h: Likewise.
53603         * sysdeps/generic/_G_config.h: Likewise.
53604         * sysdeps/gnu/_G_config.h: Likewise.
53605         * sysdeps/mach/hurd/_G_config.h: Likewise.
53606         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53607         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53608         * sysdeps/sparc/bits/mathdef.h: Likewise.
53610 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
53612         [BZ #13583]
53613         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53614         Clean up HAS_* macros.
53615         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53616         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53617         possible.
53618         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53619         HAS_AVX.
53620         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53621         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53622         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53623         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53624         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53626 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
53628         * elf/tst-unique3.cc (gets): Remove declaration.
53629         * elf/tst-unique3lib.cc (gets): Likewise.
53630         * elf/tst-unique3lib2.cc (gets): Likewise.
53631         * elf/tst-unique4.cc (gets): Likewise.
53633 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
53635         * include/stdio.h: Add C++ protection.  Add gets declarations and
53636         definitions.
53637         * debug/tst-chk1.c: Don't declare gets here.
53638         * stdio-common/tst-gets.c: Likewise.
53640 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53642         * posix/glob: Remove directory.
53644 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53646         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53648 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
53650         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53651         of the non-standard EPFNOSUPPORT.
53653 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53655         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53656         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53657         ANYWHERE set to 1 only on KERN_NO_SPACE error.
53659 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
53661         * wcsmbs/uchar.h: Test __STDC_VERSION__.
53663 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
53665         * nscd/aicache.c (addhstaiX): Do not cache negative results of
53666         transient errors.
53667         * nscd/grpcache.c (cache_addgr): Likewise.
53668         * nscd/hstcache.c (cache_addhst): Likewise.
53669         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53670         * nscd/pwdcache.c (cache_addpw): Likewise.
53671         * nscd/servicescache.c (cache_addserv): Likewise.
53673 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
53675         * malloc/malloc.c: Various cleanups.
53676         * malloc/hooks.c: Likewise.
53678         * stdlib/Makefile (tests): Add bug-fmtmsg1.
53679         * stdlib/bug-fmtmsg1.c: New file.
53681         * stdlib/fmtmsg.c (init): Add missing unlock.
53682         Patch by Peng Haitao <penght@cn.fujitsu.com>.
53684 2012-01-12  Marek Polacek  <polacek@redhat.com>
53686         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53687         and _GNU_SOURCE.
53689 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53691         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53692         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53693         macro to ensure uniqueness of label name.
53694         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53695         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53697 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
53699         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53701         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53702         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53703         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53704         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53706 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
53708         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53710         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53711         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53712         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53714         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53716         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53717         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53718         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53719         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53721         * math/bits/math-finite.h: Add ldexp support.
53723 2012-01-10  Marek Polacek  <polacek@redhat.com>
53725         * locale/programs/localedef.h (show_archive_content): Add noreturn
53726         attribute.
53728 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
53730         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53732 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53734         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53736         * io/Makefile (headers): Add bits/poll2.h.
53738 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
53740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53741         typo #include statement.
53743 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53745         * include/sys/cdefs.h: Define __attribute_alloc_size.
53746         * catgets/gencat.c: Add alloc_size attribute and apply consistently
53747         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53748         * elf/pldd.c: Likewise.
53749         * iconv/iconv_charmap.c: Likewise.
53750         * iconv/iconvconfig.c: Likewise.
53751         * iconv/strtab.c: Likewise.
53752         * locale/programs/locale.c: Likewise.
53753         * locale/programs/localedef.h: Likewise.
53754         * locale/programs/simple-hash.c: Likewise.
53755         * nscd/nscd.h: Likewise.
53756         * nss/makedb.c: Likewise.
53757         * sysdeps/generic/ldconfig.h: Likewise.
53758         * locale/programs/localedef.c: Remove xmalloc prototype.
53759         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53761 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53763         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53764         appropriate.
53766 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53768         * math/Makefile (tests): Add tst-CMPLX.
53769         * math/tst-CMPLX.c: New file.
53771         * math/complex.h (CMPLXL): Fix typo.
53773         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53774         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53775         GLIBC_2.16.
53776         * debug/tst-chk1.c: Add poll and ppoll tests.
53777         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53778         * include/sys/poll.h: Add hidden proto for ppoll.
53779         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53780         * sysdeps/mach/hurd/ppoll.c: Likewise.
53781         * io/ppoll.c: Likewise.
53782         * debug/poll_chk.c: New file.
53783         * debug/ppoll_chk.c: New file.
53784         * include/bits/poll2.h: New file.
53785         * io/bits/poll2.h: New file.
53787         [BZ #1350]
53788         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53790         * configure.in: static is always set to yes.  Remove.
53791         * config.make.in: Don't set build-static.
53792         * Makeconfig: Remove use of build-static.
53793         * dlfcn/Makefile: Likewise.
53794         * elf/Makefile: Likewise.
53795         * math/Makefile: Likewise.
53796         * misc/Makefile: Likewise.
53797         * nptl/Makefile: Likewise.
53798         * sysdeps/mach/hurd/Makefile: Likewise.
53800         * configure.in: PWD_P is not used anymore.
53801         * config.make.in: Remove PWD_P entry.
53803         * configure.in: Remove last remnants of RANLIB.
53804         No need to check for signed size_t anymore.
53805         Don't set libc_commonpagesize and libc_relro_required here for Alpha
53806         and IA-64.
53807         Remove __builtin_expect test because we require at least gcc 3.4.
53808         * aclocal.m4: Likewise.
53810         * wcsmbs/mbrtoc16.c: Implement using towc function.
53811         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53812         * wcsmbs/wcsmbsload.c: Likewise.
53813         * iconv/gconv_simple.c: Likewise.
53814         * iconv/gconv_int.h: Likewise.
53815         * iconv/gconv_builtin.h: Likewise.
53816         * iconv/iconv_prog.c: Remove CHAR16 handling.
53818         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53820         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53822         * configure.in: Remove --with-elf and --enable-bounded options.
53823         Dont set base_machine for ia64.  More non-ELF conditions removed.
53824         Remove testing and setting of leading underscore information.
53825         * config.make.in (build-bounded): Set to no.
53826         * config.h.in: Remove NO_UNDERSCORES entry.
53827         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
53828         them.
53829         * csu/start.c: Remove !NO_UNDERSCORE code.
53830         * locale/localeinfo.h: Likewise.
53831         * sysdeps/generic/machine-gmon.h: Likewise.
53832         * sysdeps/generic/sysdep.h: Likewise.
53833         * sysdeps/i386/sysdep.h: Likewise.
53834         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53835         * sysdeps/mach/sysdep.h: Likewise.
53836         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53837         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53838         * sysdeps/sh/sysdep.h: Likewise.
53839         * sysdeps/sparc/sparc32/alloca.S: Likewise.
53840         * sysdeps/unix/i386/sysdep.S: Likewise.
53841         * sysdeps/unix/sparc/start.c: Likewise.
53842         * sysdeps/unix/sparc/sysdep.S: Likewise.
53843         * sysdeps/unix/sparc/sysdep.h: Likewise.
53844         * sysdeps/unix/start.c: Likewise.
53845         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53846         * sysdeps/x86_64/sysdep.h: Likewise.
53848 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
53850         [BZ #13553]
53851         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53852         for non-gcc.
53853         * argp/argp-fmtstream.h: Use const instead __const.
53854         * argp/argp.h: Likewise.
53855         * assert/assert.h: Likewise.
53856         * bits/fenv.h: Likewise.
53857         * bits/sched.h: Likewise.
53858         * bits/sigset.h: Likewise.
53859         * bits/sigthread.h: Likewise.
53860         * catgets/nl_types.h: Likewise.
53861         * conform/data/pthread.h-data: Likewise.
53862         * crypt/crypt-private.h: Likewise.
53863         * crypt/crypt.h: Likewise.
53864         * crypt/crypt_util.c: Likewise.
53865         * ctype/ctype.h: Likewise.
53866         * debug/execinfo.h: Likewise.
53867         * debug/mbsnrtowcs_chk.c: Likewise.
53868         * debug/mbsrtowcs_chk.c: Likewise.
53869         * debug/wcsnrtombs_chk.c: Likewise.
53870         * debug/wcsrtombs_chk.c: Likewise.
53871         * debug/wcstombs_chk.c: Likewise.
53872         * dirent/dirent.h: Likewise.
53873         * dlfcn/dlfcn.h: Likewise.
53874         * elf/neededtest4.c: Likewise.
53875         * grp/grp.h: Likewise.
53876         * gshadow/gshadow.h: Likewise.
53877         * iconv/gconv.h: Likewise.
53878         * iconv/gconv_int.h: Likewise.
53879         * iconv/gconv_simple.c: Likewise.
53880         * iconv/iconv.h: Likewise.
53881         * iconv/loop.c: Likewise.
53882         * iconv/skeleton.c: Likewise.
53883         * include/aio.h: Likewise.
53884         * include/aliases.h: Likewise.
53885         * include/argz.h: Likewise.
53886         * include/arpa/inet.h: Likewise.
53887         * include/assert.h: Likewise.
53888         * include/dirent.h: Likewise.
53889         * include/dlfcn.h: Likewise.
53890         * include/execinfo.h: Likewise.
53891         * include/fcntl.h: Likewise.
53892         * include/fenv.h: Likewise.
53893         * include/glob.h: Likewise.
53894         * include/grp.h: Likewise.
53895         * include/libintl.h: Likewise.
53896         * include/mntent.h: Likewise.
53897         * include/netdb.h: Likewise.
53898         * include/pwd.h: Likewise.
53899         * include/rpc/netdb.h: Likewise.
53900         * include/sched.h: Likewise.
53901         * include/search.h: Likewise.
53902         * include/shadow.h: Likewise.
53903         * include/signal.h: Likewise.
53904         * include/stdio.h: Likewise.
53905         * include/stdlib.h: Likewise.
53906         * include/string.h: Likewise.
53907         * include/sys/socket.h: Likewise.
53908         * include/sys/stat.h: Likewise.
53909         * include/sys/statfs.h: Likewise.
53910         * include/sys/statvfs.h: Likewise.
53911         * include/sys/syslog.h: Likewise.
53912         * include/sys/time.h: Likewise.
53913         * include/sys/uio.h: Likewise.
53914         * include/time.h: Likewise.
53915         * include/unistd.h: Likewise.
53916         * include/utmp.h: Likewise.
53917         * include/wchar.h: Likewise.
53918         * include/wctype.h: Likewise.
53919         * inet/aliases.h: Likewise.
53920         * inet/arpa/inet.h: Likewise.
53921         * inet/netinet/ether.h: Likewise.
53922         * inet/netinet/in.h: Likewise.
53923         * intl/libintl.h: Likewise.
53924         * io/bits/fcntl2.h: Likewise.
53925         * io/fcntl.h: Likewise.
53926         * io/ftw.h: Likewise.
53927         * io/sys/poll.h: Likewise.
53928         * io/sys/stat.h: Likewise.
53929         * io/sys/statfs.h: Likewise.
53930         * io/sys/statvfs.h: Likewise.
53931         * io/utime.h: Likewise.
53932         * libio/bits/stdio.h: Likewise.
53933         * libio/bits/stdio2.h: Likewise.
53934         * libio/libio.h: Likewise.
53935         * libio/libioP.h: Likewise.
53936         * libio/stdio.h: Likewise.
53937         * locale/lc-ctype.c: Likewise.
53938         * locale/locale.h: Likewise.
53939         * login/utmp.h: Likewise.
53940         * malloc/arena.c: Likewise.
53941         * malloc/malloc.c: Likewise.
53942         * malloc/malloc.h: Likewise.
53943         * malloc/mcheck.c: Likewise.
53944         * malloc/mtrace.c: Likewise.
53945         * math/bits/mathcalls.h: Likewise.
53946         * math/fenv.h: Likewise.
53947         * math/math_private.h: Likewise.
53948         * misc/bits/error.h: Likewise.
53949         * misc/bits/syslog.h: Likewise.
53950         * misc/err.h: Likewise.
53951         * misc/error.h: Likewise.
53952         * misc/fstab.h: Likewise.
53953         * misc/mntent.h: Likewise.
53954         * misc/regexp.h: Likewise.
53955         * misc/search.h: Likewise.
53956         * misc/sgtty.h: Likewise.
53957         * misc/sys/mman.h: Likewise.
53958         * misc/sys/syslog.h: Likewise.
53959         * misc/sys/uio.h: Likewise.
53960         * misc/sys/xattr.h: Likewise.
53961         * misc/ttyent.h: Likewise.
53962         * nis/rpcsvc/ypclnt.h: Likewise.
53963         * nss/nss.h: Likewise.
53964         * posix/bits/unistd.h: Likewise.
53965         * posix/fnmatch.h: Likewise.
53966         * posix/glob.h: Likewise.
53967         * posix/sched.h: Likewise.
53968         * posix/spawn.h: Likewise.
53969         * posix/sys/wait.h: Likewise.
53970         * posix/unistd.h: Likewise.
53971         * posix/wordexp.h: Likewise.
53972         * pwd/pwd.h: Likewise.
53973         * resolv/netdb.h: Likewise.
53974         * resource/sys/resource.h: Likewise.
53975         * rt/aio.h: Likewise.
53976         * rt/bits/mqueue2.h: Likewise.
53977         * rt/mqueue.h: Likewise.
53978         * shadow/shadow.h: Likewise.
53979         * signal/signal.h: Likewise.
53980         * socket/send.c: Likewise.
53981         * socket/sendto.c: Likewise.
53982         * socket/sys/socket.h: Likewise.
53983         * stdio-common/printf.h: Likewise.
53984         * stdlib/bits/stdlib.h: Likewise.
53985         * stdlib/fmtmsg.h: Likewise.
53986         * stdlib/monetary.h: Likewise.
53987         * stdlib/stdlib.h: Likewise.
53988         * stdlib/ucontext.h: Likewise.
53989         * streams/stropts.h: Likewise.
53990         * string/argz.h: Likewise.
53991         * string/bits/string2.h: Likewise.
53992         * string/string.h: Likewise.
53993         * string/strings.h: Likewise.
53994         * sunrpc/rpc/auth.h: Likewise.
53995         * sunrpc/rpc/auth_des.h: Likewise.
53996         * sunrpc/rpc/clnt.h: Likewise.
53997         * sunrpc/rpc/netdb.h: Likewise.
53998         * sunrpc/rpc/pmap_clnt.h: Likewise.
53999         * sunrpc/rpc/xdr.h: Likewise.
54000         * sysdeps/generic/inttypes.h: Likewise.
54001         * sysdeps/generic/net/if.h: Likewise.
54002         * sysdeps/generic/sys/swap.h: Likewise.
54003         * sysdeps/gnu/net/if.h: Likewise.
54004         * sysdeps/gnu/utmpx.h: Likewise.
54005         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
54006         * sysdeps/i386/i486/bits/string.h: Likewise.
54007         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
54008         * sysdeps/s390/bits/string.h: Likewise.
54009         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
54010         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
54011         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
54012         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
54013         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
54014         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
54015         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
54016         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
54017         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
54018         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
54019         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
54020         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
54021         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
54022         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
54023         * sysdeps/unix/sysv/linux/readv.c: Likewise.
54024         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
54025         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
54026         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54027         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
54028         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
54029         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54030         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
54031         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
54032         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
54033         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
54034         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
54035         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
54036         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54037         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
54038         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
54039         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
54040         * sysvipc/sys/ipc.h: Likewise.
54041         * sysvipc/sys/msg.h: Likewise.
54042         * sysvipc/sys/sem.h: Likewise.
54043         * sysvipc/sys/shm.h: Likewise.
54044         * termios/termios.h: Likewise.
54045         * time/sys/time.h: Likewise.
54046         * time/time.h: Likewise.
54047         * wcsmbs/bits/wchar2.h: Likewise.
54048         * wcsmbs/uchar.h: Likewise.
54049         * wcsmbs/wchar.h: Likewise.
54050         * wctype/wctype.h: Likewise.
54052         [BZ #13551]
54053         * Makeconfig: Remove all but ELF support including AIX support.
54054         * Makerules: Likewise.
54055         * config.h.in: Likewise.
54056         * config.make.in: Likewise.
54057         * configure: Likewise.
54058         * configure.in: Likewise.
54059         * csu/Makefile: Likewise.
54060         * csu/version.c: Likewise.
54061         * debug/Makefile: Likewise.
54062         * dlfcn/Makefile: Likewise.
54063         * elf/Makefile: Likewise.
54064         * extra-lib.mk: Likewise.
54065         * iconv/Makefile: Likewise.
54066         * include/libc-symbols.h: Likewise.
54067         * include/shlib-compat.h: Likewise.
54068         * resolv/Makefile: Likewise.
54069         * resolv/res_libc.c: Likewise.
54070         * rt/Makefile: Likewise.
54071         * sysdeps/i386/asm-syntax.h: Likewise.
54072         * sysdeps/i386/sysdep.h: Likewise.
54073         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
54074         * sysdeps/mach/sysdep.h: Likewise.
54075         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
54076         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
54077         * sysdeps/s390/asm-syntax.h: Likewise.
54078         * sysdeps/s390/s390-32/sysdep.h: Likewise.
54079         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54080         * sysdeps/sh/sysdep.h: Likewise.
54081         * sysdeps/unix/sparc/sysdep.h: Likewise.
54082         * sysdeps/wordsize-32/divdi3.c: Likewise.
54083         * sysdeps/x86_64/sysdep.h: Likewise.
54085         * argp/Versions: Remove _argp_unlock_xxx.
54087         [BZ #13559]
54088         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
54089         * abilist/libBrokenLocale.abilist: Likewise.
54090         * abilist/libanl.abilist: Likewise.
54091         * abilist/libc.abilist: Likewise.
54092         * abilist/libcrypt.abilist: Likewise.
54093         * abilist/libdl.abilist: Likewise.
54094         * abilist/libm.abilist: Likewise.
54095         * abilist/libnsl.abilist: Likewise.
54096         * abilist/libpthread.abilist: Likewise.
54097         * abilist/libresolv.abilist: Likewise.
54098         * abilist/librt.abilist: Likewise.
54099         * abilist/libthread_db.abilist: Likewise.
54100         * abilist/libutil.abilist: Likewise.
54101         * abilist/libnss_db.abilist: New file.
54103         * scripts/abilist.awk: Add support for indirect functions.
54105         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
54107         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
54109         * shlib-versions: Remove entries for ports architectures.
54111         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
54112         files in ports.
54113         * elf/stackguard-macros.h: Remove support for IA-64.
54114         * elf/tst-auditmod1.c: Likewise.
54115         * sysdeps/generic/ldsodefs.h: Likewise.
54117         * sysdeps/unix/sysv/linux/configure.in: Ports should define
54118         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
54119         configure files.
54121         [BZ #13552]
54122         * configure.in: Remove --enable-omitfp support.
54123         * FAQ.in: Adjust.
54124         * config.make.in: Likewise.
54125         * Makeconfig: Likewise.
54126         * manual/install.texi: Likewise.
54128         In case anyone cares, the IA-64 architecture could move to ports.
54129         * sysdeps/ia64/*: Removed.
54130         * sysdeps/unix/sysv/linux/ia64/*: Removed.
54131         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
54133         [BZ #13555]
54134         * configure.in: Remove entries for unsupported architectures.
54136         [BZ #13533]
54137         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54138         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
54139         routines.
54140         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54141         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54142         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
54143         fall back to using wcrtomb.
54144         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54145         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
54146         renaming.
54147         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54148         * wcsmbs/tst-c16c32-1.c: New file.
54150         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54151         local variable.
54153         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54155         * elf/tst-unique3.cc: Add explicit declaration of gets.
54156         * elf/tst-unique3lib.cc: Likewise.
54157         * elf/tst-unique3lib2.cc: Likewise.
54158         * elf/tst-unique4.cc: Likewise.
54160         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54162 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
54164         [BZ #13566]
54165         * assert/assert.h (static_assert): Don't define for C++.
54166         * libio/stdio.h (gets): Do declare for C++ <= C++11.
54167         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54169 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
54171         * iconv/loop.c (single loop): Fix assertion in storing of
54172         remaining bytes.
54174         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54176 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
54178         * posix/getconf.c: Update copyright year.
54179         * nss/getent.c: Likewise.
54180         * nss/makedb.c: Likewise.
54181         * iconv/iconvconfig.c: Likewise.
54182         * iconv/iconv_prog.c: Likewise.
54183         * elf/ldconfig.c: Likewise.
54184         * elf/pldd.c: Likewise.
54185         * elf/sotruss.ksh: Likewise.
54186         * catgets/gencat.c: Likewise.
54187         * csu/version.c: Likewise.
54188         * elf/ldd.bash.in: Likewise.
54189         * elf/sprof.c (print_version): Likewise.
54190         * locale/programs/locale.c: Likewise.
54191         * locale/programs/localedef.c: Likewise.
54192         * login/programs/pt_chown.c: Likewise.
54193         * nscd/nscd.c (print_version): Likewise.
54194         * debug/xtrace.sh: Likewise.
54195         * malloc/memusage.sh: Likewise.
54196         * malloc/mtrace.pl: Likewise.
54197         * debug/catchsegv.sh: Likewise.
54199 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
54201         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54202         pure attribute.
54204 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
54206         [BZ #13533]
54207         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54208         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54209         transformations.
54210         * iconv/gconv_int.h: Likewise.
54211         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54212         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54213         from libc for GLIBC_2.16.
54214         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54215         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54216         * wcsmbs/uchar.h: Really define mbstate_t.
54217         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54218         * wcsmbs/c16rtomb.c: New file.
54219         * wcsmbs/mbrtoc16.c: New file.
54220         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54221         for C/POSIX locale.
54222         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54223         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54225         * wcsmbs/wchar.h: Add missing __restrict.
54227 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54229         [BZ #13532]
54230         * time/Makefile (routines): Add timespec_get.
54231         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54232         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
54233         timespec for ISO C11.
54234         * time/timespec_get.c: New file.
54235         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54236         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54238         [BZ #13531]
54239         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54240         * stdlib/stdlib.h: Declare aligned_alloc.
54241         * Versions.def: Add GLIBC_2.16 for libc.
54242         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54244         [BZ 13527]
54245         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54246         ISO C11.
54248         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54249         code.
54251         [BZ #13528]
54252         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54254         [BZ #13529]
54255         * assert/assert.h (static_assert): Define.
54257         * version.h: Update for 2.16 development version.
54259         [BZ #13526]
54260         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54261         _ISOC11_SOURCE.
54263         * version.h (RELEASE): Bump for 2.15 release.
54264         * include/features.h (__GLIBC_MINOR__): Bump to 15.
54266         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54267         Patch by Marek Polacek <mpolacek@redhat.com>.
54269         * bits/byteswap.h: Protect long long constants with __extension__.
54270         * sysdeps/i386/bits/byteswap.h: Likewise.
54271         * sysdeps/ia64/bits/byteswap.h: Likewise.
54272         * sysdeps/s390/bits/byteswap.h: Likewise.
54273         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54275 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54277         [BZ #13540]
54278         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54279         destination buffer.
54280         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54282 2011-12-23  Marek Polacek  <polacek@redhat.com>
54284         * elf/dl-addr.c (determine_info): Add inline keyword.
54285         * elf/tst-auditmod4b.c (check_avx): Likewise.
54286         * elf/tst-auditmod6b.c (check_avx): Likewise.
54287         * elf/tst-auditmod6c.c (check_avx): Likewise.
54288         * elf/tst-auditmod7b.c (check_avx): Likewise.
54290 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54292         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54293         !__SSE_MATH__.
54295 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54297         [BZ #13540]
54298         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54299         processing for last bytes.
54301 2011-08-06  Bruno Haible  <bruno@clisp.org>
54303         [BZ #13061]
54304         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54305         U+0385, not to U+1FEE.
54307         [BZ #13062]
54308         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54309         entry for U+00A5 U+0301.
54311 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54313         [BZ #13166]
54314         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54315         buffer for the output is too small.
54317         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54318         optimization.
54320         [BZ #13185]
54321         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54322         SSE flags if possible.
54324 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54326         [BZ #13540]
54327         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54328         processing for last bytes.
54330 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
54332         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54333         (syscall-list-default-options, syscall-list-default-condition)
54334         (syscall-list-includes): Define.
54335         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54336         list of ABIs and options and #if conditions for each ABI.  Do not
54337         handle common syscalls between ABIs specially.
54338         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54339         Remove.
54340         (syscall-list-variants, syscall-list-32bit-options)
54341         (syscall-list-32bit-condition, syscall-list-64bit-options)
54342         (syscall-list-64bit-condition): Define.
54343         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54344         (syscall-list-variants, syscall-list-32bit-options)
54345         (syscall-list-32bit-condition, syscall-list-64bit-options)
54346         (syscall-list-64bit-condition): Define.
54347         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54348         Remove.
54349         (syscall-list-variants, syscall-list-32bit-options)
54350         (syscall-list-32bit-condition, syscall-list-64bit-options)
54351         (syscall-list-64bit-condition): Define.
54352         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54353         Remove.
54354         (syscall-list-variants, syscall-list-32bit-options)
54355         (syscall-list-32bit-condition, syscall-list-64bit-options)
54356         (syscall-list-64bit-condition): Define.
54358 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54360         * locale/iso-639.def: Add brx entry.
54362         [BZ #13328]
54363         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54364         Proposed by Mariusz_Cukr <marcukr@op.pl>.
54366         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54367         __feraiseexcept_renamed.
54369 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54371         [BZ #13538]
54372         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54373         EPOLLET with unsigned values.
54374         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54375         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54377         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54378         to large cancellation.
54379         * math/s_cacoshf.c: Likewise.
54380         * math/s_cacoshl.c: Likewise.
54382 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
54384         [BZ #13305]
54385         [BZ #12786]
54386         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54387         * math/s_cacoshf.c: Likewise.
54388         * math/s_cacoshl.c: Likewise.
54390 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54392         [BZ #13439]
54393         * iconv/gconv.h: Define __GCONV_SWAP.
54394         * iconvdata/unicode.c: The swap bit must be stored in __flags.
54395         * iconvdata/utf-16.c: Likewise.
54396         * iconvdata/utf-32.c: Likewise.
54398 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
54400         [BZ #13524]
54401         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54402         numerator after shifting it by one limb.
54404 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
54406         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54407         under [__USE_EXTERN_INLINES].
54409 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54411         [BZ #13446]
54412         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54414 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54416         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54417         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54418         optimized code.
54419         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54420         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54421         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54422         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54423         for strncasecmp/strncasecmp_l compilation.
54424         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54425         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54427 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
54429         [BZ #13484]
54430         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54431         of __asm__.
54433 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54435         [BZ #13506]
54436         * time/tzfile.c (__tzfile_read): Check values from file header.
54438 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54440         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54441         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54442         * powerpc/powerpc32/dl-start.S: Likewise.
54443         * powerpc/powerpc32/elf/start.S: Likewise.
54444         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54445         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54446         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54447         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54448         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54449         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54450         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54451         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54452         * powerpc/powerpc32/fpu/s_round.S: Likewise.
54453         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54454         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54455         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54456         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54457         * powerpc/powerpc32/memset.S: Likewise.
54458         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54459         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54460         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54461         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54462         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54463         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54464         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54465         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54466         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54467         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54468         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54469         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54470         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54472 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54474         * math/libm-test.inc: Added more nearbyint tests.
54475         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54476         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54477         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54478         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54480 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
54482         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54483         FD_CLOEXEC.
54485 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54487         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54488         Add wcscpy-ssse3 wcscpy-c.
54489         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54490         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54491         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54492         * sysdeps/x86_64/wcschr.S: New file.
54493         * sysdeps/x86_64/wcsrchr.S: New file.
54494         * string/test-strcmp.c: Remove checking of wcscmp function for
54495         wrong alignments.
54496         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54497         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54498         wcsrchr-sse2 wcsrchr-c.
54499         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54500         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54501         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54502         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54503         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54504         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54505         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54506         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54507         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54508         * wcsmbc/wcschr.c (WCSCHR): New macro.
54510 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54512         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54513         * wcsmbs/test-wcsrchr.c: New file.
54514         * string/test-strrchr.c: Add wcsrchr support.
54515         (WIDE): New macro.
54516         * wcsmbs/test-wcscpy.c: New file.
54517         * string/test-strcpy.c: Add wcscpy support.
54518         (WIDE): New macro.
54520 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
54522         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54523         the inner loop.
54525 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
54527         [BZ #13472]
54528         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54530 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
54532         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54533         Minor optimizations.
54535         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54536         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54537         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54539 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
54541         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54542         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54543         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54544         for gcc to avoid warnings.
54545         * inet/Makefile (tests): Add tst-checks.
54546         * inet/tst-checks.c: New file.
54548         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54549         warning.
54551         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54552         __wmemcmp_sse2.
54554         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54555         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54557         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54559 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
54561         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54562         problem.
54564         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54566 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
54568         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54569         conditional on GCC version.
54570         (__arch_compare_and_exchange_val_8_acq)
54571         (__arch_compare_and_exchange_val_16_acq)
54572         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54573         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54574         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54576 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
54578         * sysdeps/sh/backtrace.c: New file.
54580 2011-12-02  Andreas Schwab  <schwab@redhat.com>
54582         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
54583         parenthesis.
54585 2011-12-01  Andreas Schwab  <schwab@redhat.com>
54587         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54588         falling back to utime.
54590 2011-11-30  Andreas Schwab  <schwab@redhat.com>
54592         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54593         expectations for float.
54595 2011-11-29  Andreas Schwab  <schwab@redhat.com>
54597         * locale/weight.h (findidx): Add parameter len.
54598         * locale/weightwc.h (findidx): Likewise.
54599         * posix/fnmatch_loop.c (FCT): Adjust caller.
54600         * posix/regcomp.c (build_equiv_class): Likewise.
54601         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54602         * posix/regexec.c (check_node_accept_bytes): Likewise.
54603         * string/strcoll_l.c (STRCOLL): Likewise.
54604         * string/strxfrm_l.c (STRXFRM): Likewise.
54606 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
54608         * Makefile.in: Remove CVSOPT handling.
54609         * configure.in: Remove use of AC_REVISION.
54610         * iconvdata/Makefile (distribute): No need to filter out CVS.
54611         * scripts/list-sources.sh: Remove CVS, subversion and monotone
54612         handling.
54614 2011-11-16  Andreas Schwab  <schwab@redhat.com>
54616         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54617         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54618         [USE_AS_STRNCASECMP_L]: Likewise.
54619         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54620         NO_TLS_DIRECT_SEG_REFS.
54621         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54622         Fix argument offsets for non-PIC.
54623         [USE_AS_STRNCASECMP_L]: Likewise.
54624         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54625         NO_TLS_DIRECT_SEG_REFS.
54627 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54629         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54630         O_CLOEXEC.
54631         * locale/loadlocale.c (_nl_load_locale): Likewise.
54633 2011-11-15  Andreas Schwab  <schwab@redhat.com>
54635         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54636         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54637         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54638         (SYSCALL_GETTIME): Set errno on error.
54640         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54641         count references to noai6ai_cached.
54643 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54645         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54647         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54648         FD_CLOEXEC for /proc/self/maps.
54650         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54651         FD_CLOEXEC for /proc/meminfo.
54653         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54654         gai.conf.
54656         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
54657         FD_CLOEXEC for given file.
54659         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54661         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54662         FD_CLOEXEC for /etc/hosts.
54663         (_gethtent): Likewise.
54665         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54667         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54668         cancellation and set FD_CLOEXEC for /etc/netgroup.
54670         * nss/nss_files/files-key.c (search): Don't allow cancellation when
54671         reading /etc/publickey.
54673         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54674         allow cancellation when reading /etc/group.
54676         * nss/nss_files/files-alias.c (internal_setent): Don't allow
54677         cancellation.
54678         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
54680         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54681         when using data file.
54683         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54685         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54686         (write_nis_obj): Use "c" and "e" in fopen.
54688         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54690         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54692         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54694         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54696         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54697         locale.alias.
54699         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54701         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54703         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54705         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54706         file parsing and set FD_CLOEXEC.
54708 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54710         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54712 2011-11-14  Andreas Schwab  <schwab@redhat.com>
54714         * malloc/arena.c (arena_get2): Don't call reused_arena when
54715         _int_new_arena failed.
54717 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54719         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54720         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54721         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54722         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54723         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54724         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54725         to compile strcasecmp and strncasecmp.
54726         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54727         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54729         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54731 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
54733         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54734         locale-defines.sym to gen-as-const-headers.
54735         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54736         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54737         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54738         to compile strcasecmp and strncasecmp.
54739         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54740         strcasecmp_l and strncasecmp_l.
54741         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54742         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54743         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54744         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54745         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54746         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54747         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54748         * sysdeps/i386/i686/multiarch/strncase.S: New file.
54749         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54750         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54751         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54753 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
54755         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54756         result of SYSDEP_GETTIME_CPU to retval.
54757         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54758         parameter list to macro.  Remove trailing semicolon.  Adjust users.
54760         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54761         variable.
54763         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54764         mantissa words.
54765         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54767         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54768         from unused variable.
54770         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54771         DWARF definitions.
54772         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54773         for assembling.
54775         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54776         over namespaces.
54778         * sunrpc/rpc_prot.c (rejected): Fix case value.
54780         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54781         unsigned long long int to avoid warnings in shift.
54783         * posix/regex_internal.c (re_string_reconstruct): Actually use result
54784         of use of trans.
54785         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54786         variable tmp.
54788         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54789         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54790         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54792         * nis/nis_table.c (nis_list): Use variable of correct type for
54793         result of __follow_path call.
54795 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54797         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54798         of math functions ceil, trunc, floor, round, and sqrt, when
54799         avaliable on the platform.
54800         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54801         name clash.
54802         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54803         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54804         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54806 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
54808         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54809         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54811 2011-11-11  Roland McGrath  <roland@hack.frob.com>
54813         * include/unistd.h: Fix __readlink return type.
54814         Reported by Chris Metcalf <cmetcalf@tilera.com>.
54816 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
54818         * stdlib/ucontext.h: Undo last change for makecontext.
54820 2011-11-11  Andreas Schwab  <schwab@redhat.com>
54822         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54824         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54825         * setjmp/setjmp.h: Mark functions as non-leaf.
54826         * setjmp/bits/setjmp2.h: Likewise.
54827         * stdlib/ucontext.h: Likewise.
54829 2011-11-10  Andreas Schwab  <schwab@redhat.com>
54831         * malloc/arena.c (_int_new_arena): Don't increment narenas.
54832         (reused_arena): Don't check arena limit.
54833         (arena_get2): Atomically check arena limit.
54835 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
54837         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54838         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54840         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54841         instructions.
54843 2011-11-07  Andreas Schwab  <schwab@redhat.com>
54845         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54846         handler when locking.
54848         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54849         Fix size of allocated buffer.
54851 2011-11-04  Andreas Schwab  <schwab@redhat.com>
54853         [BZ #10103]
54854         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54855         declarations for long double functions.
54856         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54858         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54860 2011-11-03  Andreas Schwab  <schwab@redhat.com>
54862         * nscd/nscd.c (main): Don't start AVC thread until credentials are
54863         installed.
54865         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54866         is disabled.
54868 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54870         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54872 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54874         * include/alloca.h (stackinfo_alloca_round): Define.
54875         (extend_alloca): Use it.
54876         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54877         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54878         here.
54880         * scripts/check-local-headers.sh: Ignore libaudit.h.
54882         * nscd/Makefile (extra-objs): Make recursively expanded.
54884 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
54886         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54887         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54889         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54890         * posix/tst-rfc3484-2.c: Likewise.
54891         * posix/tst-rfc3484-3.c: Likewise.
54893         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54894         process_vm_writev.
54895         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54896         process_vm_writev.
54897         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54898         process_vm_writev from libc using GLIBC_2.15 version.
54900         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54902 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
54904         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54905         stack usage.
54907 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
54909         [BZ #13367]
54910         * nss/getent.c (initgroups_keys): Show error message in case no group
54911         names are given.
54913         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54914         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54915         __bump_nl_timestamp.
54916         * nscd/connections (nscd_init): When host database is served open
54917         netlink socket and request notification about configuration changes.
54918         (main_loop_poll): Track netlink file descriptor and bump timestamp
54919         in case data becomes available.
54920         (main_loop_epoll): Likewise.
54921         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54922         (database_pers_head): Add extra_data fileds.
54923         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54924         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54925         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54926         Adjust caller.
54927         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54928         in6ai data, call __free_in6ai.
54929         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54930         Add -DHAVE_NETLINK.
54931         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
54932         interface information.  Reuse previous data if netlink timestamp
54933         is not changed.
54934         (__bump_nl_timestamp): New function.
54935         (__free_in6ai): New function.
54937 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
54939         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54940         close_not_cancel_no_status here.
54941         (__check_pf): Reorganize code a bit to not call close twice if OOM.
54943 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54945         [BZ #13276]
54946         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54947         return value.
54949         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54950         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54951         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54953 2011-07-03  Andreas Jaeger  <aj@suse.de>
54955         [BZ #10709]
54956         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54957         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54958         * math/libm-test.inc (sin_test): Add test case.
54960 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54962         [BZ #13337]
54963         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54964         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54966         * elf/chroot_canon.c (chroot_canon): Cleanups.
54968         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54970         [BZ #13335]
54971         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54972         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54974         * string/test-strchr.c: Make usable for strchrnul testing.
54975         * string/test-strchrnul.c: New file.
54976         * string/Makefile (strop-tests): Add strchrnul.
54978         * po/it.po: Update from translation team.
54979         * po/es.po: Likewise.
54981 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
54983         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54984         the three constants needed as parameters.  Drop the others.
54985         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54986         __m128i_strloadu_tolower.
54987         Create and initialize variable zero and use it in all the places
54988         where _mm_setzero_si128 was used.
54990         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54991         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54992         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54993         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54994         anymore.
54995         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54996         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54997         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54998         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54999         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
55000         __mpranred, __mptan.
55001         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
55002         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
55003         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
55004         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
55005         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
55006         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
55007         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
55008         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
55009         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
55011 2011-10-28  Andreas Schwab  <schwab@redhat.com>
55013         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
55014         redefine if SHARED.
55015         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
55017         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
55018         wide char related routines to wcsmbs subdir.
55020 2011-10-27  Andreas Schwab  <schwab@redhat.com>
55022         [BZ #13344]
55023         * misc/sys/cdefs.h (__THROWNL): Define.
55024         * posix/unistd.h: Use __THREADNL instead of __THREAD
55025         for memory synchronization functions.
55027 2011-10-26  Roland McGrath  <roland@hack.frob.com>
55029         [BZ #13349]
55030         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
55031         doesn't exist.
55032         * manual/stdio.texi (Obstack Streams): Node removed.
55034 2011-10-26  Andreas Schwab  <schwab@redhat.com>
55036         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
55037         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55038         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55040         * math/math_private.h (math_force_eval): Allow non-addressable
55041         arguments.
55042         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
55044 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55046         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
55047         file is not needed.
55049         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
55050         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
55051         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
55052         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
55053         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
55054         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
55055         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
55056         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
55057         Add AVX variants.
55058         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
55059         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
55060         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
55061         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
55062         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
55063         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
55064         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
55065         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
55066         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
55067         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
55068         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
55069         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
55070         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
55071         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
55072         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
55073         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
55074         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
55075         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
55076         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
55078         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
55079         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
55081         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
55082         place.  Use VEX encoding when compiling for AVX.
55084 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55086         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
55087         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55089         * string/test-strchr.c (do_test): Don't generate NUL bytes.
55091 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55093         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
55094         useless if() expression.
55095         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55096         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
55097         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
55098         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55099         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
55100         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
55101         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55102         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55103         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
55104         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55105         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55106         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55107         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
55108         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55109         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
55110         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
55111         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55112         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55113         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
55115         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
55117 2011-10-25  Andreas Schwab  <schwab@redhat.com>
55119         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
55120         condition.
55121         * elf/dl-fini.c (_dl_sort_fini): Likewise.
55123 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
55125         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
55126         .text section.  Avoid duplicate constants.
55127         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
55128         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55129         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55130         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55131         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55132         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55133         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55134         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55135         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55136         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55137         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55138         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55139         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55140         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55141         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55142         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55143         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55144         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55145         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55146         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55147         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55148         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55149         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55150         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55151         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55152         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55153         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55154         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55155         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55156         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55157         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55158         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55159         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55160         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55161         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55162         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55163         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55164         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55165         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55166         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55167         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55168         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55169         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55170         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55171         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55173 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
55175         * sysdeps/x86_64/dla.h: Move to ...
55176         * sysdeps/x86_64/fpu/dla.h: ...here.
55177         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55178         situations.  Use __builtin_fma only for gcc 4.6 and up.
55180         * config.make.in: Add have-mfma4 entry.
55181         * configure.in: Substitute libc_cv_cc_fma4.
55182         * math/Makefile (dbl-only-routines): Add sincostab.
55183         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55184         Use __sincostab not sincos.
55185         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55186         name is a macro.
55187         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55188         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55189         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55190         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
55191         using __copysign.
55192         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
55193         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
55194         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55195         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55196         and __inv.
55197         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55198         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55199         __copysign.
55200         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
55201         define aliases when function name is a macro.
55202         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55203         sysdeps/ieee754/dbl-64/sincos.tbl.
55204         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55205         fma4-enabled routines.
55206         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55207         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55208         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55209         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55210         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55211         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55212         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55213         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55214         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55215         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55216         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55217         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55218         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55219         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55220         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55221         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55222         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55223         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55224         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55225         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55226         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55227         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55228         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55229         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55230         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55231         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55232         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55233         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55234         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55235         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55237         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55238         rename.
55239         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55240         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55241         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55242         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55243         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55244         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55245         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55246         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55248 2011-10-24  Andreas Schwab  <schwab@redhat.com>
55250         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55252 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55254         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55256         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55257         prediction.
55258         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55260         * string/strnlen.c: Don't define STRNLEN, reverse logic.
55261         Remove unused variable magic_bits.
55262         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55264         * string/strnlen.c: Define and use STRNLEN macro.
55265         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55266         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55267         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55268         * wcsmbs/wcslen.c: Define and use WCSLEN.
55269         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55270         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55271         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55272         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55273         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55274         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55275         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55277 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55280         strnlen-sse2-no-bsf.
55281         Rename strlen-no-bsf to strlen-sse2-no-bsf.
55282         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55283         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55284         Add strnlen support.
55285         (USE_AS_STRNLEN): New macro.
55286         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55287         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55288         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55289         * sysdeps/x86_64/wcslen.S: New file.
55291 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
55293         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55294         XMM-moves are used for copying on small sizes.
55296 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55298         * wcsmbs/Makefile (strop-tests): Add wcschr.
55299         * wcsmbs/test-wcschr.c: New file.
55300         * string/test-strchr.c: Update.
55301         Add wcschr support.
55302         (WIDE): New macro.
55304 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55306         * wcsmbs/Makefile (strop-tests): Add wcslen.
55307         * wcsmbs/test-wcslen.c: New file.
55308         * string/test-strlen.c: Update.
55309         Add wcslen support.
55310         (WIDE): New macro.
55312 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55314         * po/it.po: Update from translation team.
55316 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55318         * sysdeps/x86_64/wcscmp.S: Update.
55319         Fix wrong comparison semantics.
55320         wcscmp shall use signed comparison not unsigned.
55321         Don't use substraction to avoid overflow bug.
55322         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55323         * wcsmbc/wcscmp.c: Likewise.
55324         * string/test-strcmp.c: Likewise.
55325         Add new tests to check cases with negative values.
55327 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55329         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55330         * sysdeps/x86_64/dla.h: ...here.  New file.
55331         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55332         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55333         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55334         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55335         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55336         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55337         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55338         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55339         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55341 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
55343         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55344         __ynl_finite aliases.
55346 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55350         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55351         define DLA_FMA.
55352         [DLA_FMA] (EMULV): Use DLA_FMA.
55353         [DLA_FMA] (MUL12): Use EMULV.
55354         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55355         that are not needed.
55356         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55357         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55358         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55359         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55360         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55361         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55362         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55364 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
55366         * math/s_nan.c: Undef __nan.
55367         * math/s_nanf.c: Undef __nanf.
55368         * math/s_nanl.c: Undef __nanl.
55369         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55370         "math_private.h".
55372 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55374         * math/s_catan.c: Add branch predictions.
55375         * math/s_catanf.c: Likewise.
55376         * math/s_catanh.c: Likewise.
55377         * math/s_catanhf.c: Likewise.
55378         * math/s_catanhl.c: Likewise.
55379         * math/s_catanl.c: Likewise.
55380         * math/s_cexp.c: Likewise.
55381         * math/s_cexpf.c: Likewise.
55382         * math/s_cexpl.c: Likewise.
55383         * math/s_clog.c: Likewise.
55384         * math/s_clog10.c: Likewise.
55385         * math/s_clog10f.c: Likewise.
55386         * math/s_clog10l.c: Likewise.
55387         * math/s_clogf.c: Likewise.
55388         * math/s_clogl.c: Likewise.
55389         * math/s_csqrt.c: Likewise.
55390         * math/s_csqrtf.c: Likewise.
55391         * math/s_csqrtl.c: Likewise.
55392         * math/s_ctanf.c: Likewise.
55393         * math/s_ctanh.c: Likewise.
55394         * math/s_ctanhf.c: Likewise.
55395         * math/s_ctanhl.c: Likewise.
55396         * math/s_ctanl.c: Likewise.
55398         * math/math_private.h: Define __nan, __nanf, __nanl.
55399         * math/s_cacosh.c: Include <math_private.h>.
55400         * math/s_cacoshl.c: Likewise.
55401         * math/s_casinh.c: Likewise.
55402         * math/s_casinhf.c: Likewise.
55403         * math/s_casinhl.c: Likewise.
55404         * math/s_ccos.c: Rely entire on ccosh.
55405         * math/s_ccosf.c: Rely entire on ccoshf.
55406         * math/s_ccosl.c: Rely entirely on ccoshl.
55407         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
55408         Remove tests for FE_INVALID.
55409         * math/s_ccoshf.c: Likewise.
55410         * math/s_ccoshl.c: Likewise.
55411         * math/s_csin.c: Likewise.
55412         * math/s_csinf.c: Likewise.
55413         * math/s_csinh.c Likewise.
55414         * math/s_csinhf.c: Likewise.
55415         * math/s_csinhl.c: Likewise.
55416         * math/s_csinl.c: Likewise.
55417         * math/s_ctan.c: Likewise.
55418         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55419         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55420         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55422 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
55424         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55425         compilation problems.
55427         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55428         __builtin_expect.
55430 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
55432         * sysdeps/i386/configure.in: Test for -mfma4 option.
55433         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55434         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55435         COMMON_CPUID_INDEX_80000001.
55436         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55437         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55438         use it if FMA3 is not supported.
55439         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55441         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55442         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55444 2011-10-20  Andreas Schwab  <schwab@redhat.com>
55446         [BZ #12892]
55447         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55448         it would create a cycle with a link time dependency.
55450 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
55452         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55453         instruction.
55454         * string/Makefile (strop-tests): Add rawmemchr.
55455         * string/test-rawmemchr.c: New file.
55457         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55458         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
55459         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
55460         when compiling str{,n}casecmp and when AVX is available.  Hook up
55461         new optimized code in initializers.
55463 2011-10-19  Andreas Schwab  <schwab@redhat.com>
55465         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55466         __feraiseexcept instead of feraiseexcept.
55468 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
55470         * math/math_private.h: Define defaults for libc_fetestexcept and
55471         libc_feupdateenv.
55472         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55473         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55474         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55475         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55476         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55477         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55478         libc_fetestexcept and libc_feupdateenv.
55480         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55481         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55482         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55483         * sysdeps/x86_64/fpu/math_private.h: Define special version of
55484         libc_feholdexcept_setround.
55486         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55487         Add s_nearbyint-c and s_nearbyintf-c.
55488         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55489         nearbyintf inlines.
55490         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55491         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55492         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55493         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55495         * math/math_private.h: Define defaults for libc_fegetround,
55496         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55497         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55498         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55499         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55500         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55501         standard functions.
55502         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55503         Remove comments and hacks for old compiler versions.
55504         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55505         libc_fegetround, libc_fesetround, libc_feholdexcept, and
55506         libc_feholdexceptl.
55508 2011-10-18  Andreas Schwab  <schwab@redhat.com>
55510         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55511         (__feraiseexcept_renamed): Add __NTH.
55512         (feraiseexcept): Add __NTH.  Rename local variables to fix
55513         namespace violations.
55515 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
55517         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55519         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55521         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55522         recently added interfaces.
55523         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55525         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55526         about macro parameter expansion.
55528         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55529         __NO_MATH_INLINES is defined.  Cleanups.
55531         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55532         and __floorf is target has SSE4.1.
55533         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55534         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55535         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55536         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55538         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55539         name.
55540         (floorf): Likewise.
55542         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55544 2011-10-17  Andreas Schwab  <schwab@redhat.com>
55546         * misc/sys/cdefs.h: Fix last change.
55548         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55549         database lookup.
55551 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
55553         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55555         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55556         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55557         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55558         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55559         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55560         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55561         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55562         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55563         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55564         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55565         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55566         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55567         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55568         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55569         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55570         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55571         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55572         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55573         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55574         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55575         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55576         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55578         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55579         ceil, ceilf, floor, floorf.
55581         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55582         Perform IRELATIVE relocations last.
55584         * elf/do-rel.h: Add another parameter nrelative, replacing the
55585         local variable with the same name.  Change name of the function
55586         to end in Rel or Rela (uppercase).
55587         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55588         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
55589         elf_dynamic_do_##reloc function.
55591 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55593         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55594         is sufficient, at least on modern CPUs.
55596         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55598         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55599         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55601         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55602         __expl_finite.
55603         * math/bits/math-finite.h: Add entries for exp.
55604         * math/e_expl.c: Add __*_finite alias.
55605         * sysdeps/i386/fpu/e_exp.S: Likewise.
55606         * sysdeps/i386/fpu/e_expf.S: Likewise.
55607         * sysdeps/i386/fpu/e_expl.c: Likewise.
55608         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55609         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55610         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55611         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55612         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55613         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55614         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55616         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55617         is sufficient, at least on modern CPUs.
55619         * ctype/ctype-info.c (__ctype_init): Define.
55620         * include/ctype.h (__ctype_init): Declare.
55621         (__ctype_b_loc): The variable is always initialized.
55622         (__ctype_toupper_loc): Likewise.
55623         (__ctype_tolower_loc): Likewise.
55624         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55625         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55627 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
55629         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55631         * configure.in: Also look in $cxxmachine/include for C++ system
55632         headers.
55634 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55636         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55637         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55638         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55639         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
55640         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55641         (USE_AS_WMEMCMP): New macro.
55642         Fixing indents.
55643         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55644         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55645         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55646         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55647         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55648         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55649         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55650         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55651         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55652         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55653         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55654         (USE_AS_WMEMCMP): New macro.
55655         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55656         * sysdeps/string/test-memcmp.c: Update.
55657         Fix simple_wmemcmp.
55658         Add new tests.
55659         * wcsmbs/wmemcmp.c: Update.
55660         (WMEMCMP): New macro.
55661         Fix overflow bug.
55663 2011-10-12  Andreas Jaeger  <aj@suse.de>
55665         [BZ #13268]
55666         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55668 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55670         * libio/iofwide.c (do_length): Avoid warning.
55672         * ctype/ctype.h (__isctype_f): Add missing __THROW.
55674 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
55676         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55678         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55679         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55680         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55681         * sysdeps/i386/i686/fpu/e_log.S: New file.
55682         * sysdeps/i386/i686/fpu/e_logf.S: New file.
55683         * sysdeps/i386/i686/fpu/e_logl.S: New file.
55685         * ctype/ctype.h: Add support for inlined isXXX functions when
55686         compiling C++ code.
55688 2011-10-14  Andreas Schwab  <schwab@redhat.com>
55690         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55692         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55694 2011-10-13  Roland McGrath  <roland@hack.frob.com>
55696         [BZ #13291]
55697         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55699 2011-10-13  Andreas Schwab  <schwab@redhat.com>
55701         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55702         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55703         feraiseexcept.
55705         * sysdeps/x86_64/memrchr.S: Check for zero size.
55707         * string/stratcliff.c: Add memrchr tests.
55709 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55711         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55712         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55713         rawmemchr-sse2 rawmemchr-sse2-bsf.
55714         * sysdeps/i386/i686/multiarch/memchr.S: New file.
55715         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55716         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55717         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55718         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55719         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55720         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55721         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55722         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55723         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55724         * string/memrchr.c (MEMRCHR): New macro.
55726 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
55728         Add integration with gcc's -ffinite-math-only and optimize wrapper
55729         functions in libm.
55730         * Versions.def: Define GLIBC_2.15 version for libm.
55731         * math/Makefile (headers): Add bits/math-finite.h.
55732         * math/bits/math-finite.h: New file.
55733         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55734         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55735         * math/e_acoshl.c: Add __*_finite alias.
55736         * math/e_acosl.c: Likewise.
55737         * math/e_asinl.c: Likewise.
55738         * math/e_atan2l.c: Likewise.
55739         * math/e_atanhl.c: Likewise.
55740         * math/e_coshl.c: Likewise.
55741         * math/e_exp10.c: Likewise.
55742         * math/e_exp10f.c: Likewise.
55743         * math/e_exp10l.c: Likewise.
55744         * math/e_exp2l.c: Likewise.
55745         * math/e_fmodl.c: Likewise.
55746         * math/e_gammal_r.c: Likewise.
55747         * math/e_hypotl.c: Likewise.
55748         * math/e_j0l.c: Likewise.
55749         * math/e_j1l.c: Likewise.
55750         * math/e_jnl.c: Likewise.
55751         * math/e_lgammal_r.c: Likewise.
55752         * math/e_log10l.c: Likewise.
55753         * math/e_log2l.c: Likewise.
55754         * math/e_logl.c: Likewise.
55755         * math/e_powl.c: Likewise.
55756         * math/e_sinhl.c: Likewise.
55757         * math/e_sqrtl.c: Likewise.
55758         * math/e_scalb.c: Completely rewritten and optimized.
55759         * math/e_scalbf.c: Likewise.
55760         * math/e_scalbl.c: Likewise.
55761         * math/w_acos.c: Likewise.
55762         * math/w_acosf.c: Likewise.
55763         * math/w_acosl.c: Likewise.
55764         * math/w_acosh.c: Likewise.
55765         * math/w_acoshf.c: Likewise.
55766         * math/w_acoshl.c: Likewise.
55767         * math/w_asin.c: Likewise.
55768         * math/w_asinf.c: Likewise.
55769         * math/w_asinl.c: Likewise.
55770         * math/w_atan2.c: Likewise.
55771         * math/w_atan2f.c: Likewise.
55772         * math/w_atan2l.c: Likewise.
55773         * math/w_atanh.c: Likewise.
55774         * math/w_atanhf.c: Likewise.
55775         * math/w_atanhl.c: Likewise.
55776         * math/w_exp10.c: Likewise.
55777         * math/w_exp10f.c: Likewise.
55778         * math/w_exp10l.c: Likewise.
55779         * math/w_fmod.c: Likewise.
55780         * math/w_fmodf.c: Likewise.
55781         * math/w_fmodl.c: Likewise.
55782         * math/w_j0.c: Likewise.
55783         * math/w_j0f.c: Likewise.
55784         * math/w_j0l.c: Likewise.
55785         * math/w_j1.c: Likewise.
55786         * math/w_j1f.c: Likewise.
55787         * math/w_j1l.c: Likewise.
55788         * math/w_jn.c: Likewise.
55789         * math/w_jnf.c: Likewise.
55790         * math/w_log.c: Likewise.
55791         * math/w_logf.c: Likewise.
55792         * math/w_logl.c: Likewise.
55793         * math/w_log10.c: Likewise.
55794         * math/w_log10f.c: Likewise.
55795         * math/w_log10l.c: Likewise.
55796         * math/w_log2.c: Likewise.
55797         * math/w_log2f.c: Likewise.
55798         * math/w_log2l.c: Likewise.
55799         * math/w_pow.c: Likewise.
55800         * math/w_powf.c: Likewise.
55801         * math/w_powl.c: Likewise.
55802         * math/w_remainder.c: Likewise.
55803         * math/w_remainderf.c: Likewise.
55804         * math/w_remainderl.c: Likewise.
55805         * math/w_scalb.c: Likewise.
55806         * math/w_scalbf.c: Likewise.
55807         * math/w_scalbl.c: Likewise.
55808         * math/w_sqrt.c: Likewise.
55809         * math/w_sqrtf.c: Likewise.
55810         * math/w_sqrtl.c: Likewise.
55811         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55812         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
55813         used.
55814         * math/math_private.h: Declare __kernel_standard_f.
55815         * math/w_cosh.c: Remove cruft and optimize a bit.
55816         * math/w_coshf.c: Likewise.
55817         * math/w_coshl.c: Likewise.
55818         * math/w_exp2.c: Likewise.
55819         * math/w_exp2f.c: Likewise.
55820         * math/w_exp2l.c: Likewise.
55821         * math/w_hypot.c: Likewise.
55822         * math/w_hypotf.c: Likewise.
55823         * math/w_hypotl.c: Likewise.
55824         * math/w_lgamma.c: Likewise.
55825         * math/w_lgamma_r.c: Likewise.
55826         * math/w_lgammaf.c: Likewise.
55827         * math/w_lgammaf_r.c: Likewise.
55828         * math/w_lgammal.c: Likewise.
55829         * math/w_lgammal_r.c: Likewise.
55830         * math/w_sinh.c: Likewise.
55831         * math/w_sinhf.c: Likewise.
55832         * math/w_sinhl.c: Likewise.
55833         * math/w_tgamma.c: Likewise.
55834         * math/w_tgammaf.c: Likewise.
55835         * math/w_tgammal.c: Likewise.
55836         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55837         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55838         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55839         Minor optimizations.  Pretty printing.  Remove cruft.
55840         * sysdeps/i386/fpu/e_acosf.S: Likewise.
55841         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55842         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55843         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55844         * sysdeps/i386/fpu/e_acosl.c: Likewise.
55845         * sysdeps/i386/fpu/e_asin.S: Likewise.
55846         * sysdeps/i386/fpu/e_asinf.S: Likewise.
55847         * sysdeps/i386/fpu/e_atan2.S: Likewise.
55848         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55849         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55850         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55851         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55852         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55853         * sysdeps/i386/fpu/e_exp10.S: Likewise.
55854         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55855         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55856         * sysdeps/i386/fpu/e_exp2.S: Likewise.
55857         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55858         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55859         * sysdeps/i386/fpu/e_fmod.S: Likewise.
55860         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55861         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55862         * sysdeps/i386/fpu/e_hypot.S: Likewise.
55863         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55864         * sysdeps/i386/fpu/e_log.S: Likewise.
55865         * sysdeps/i386/fpu/e_log10.S: Likewise.
55866         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55867         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55868         * sysdeps/i386/fpu/e_log2.S: Likewise.
55869         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55870         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55871         * sysdeps/i386/fpu/e_logf.S: Likewise.
55872         * sysdeps/i386/fpu/e_logl.S: Likewise.
55873         * sysdeps/i386/fpu/e_pow.S: Likewise.
55874         * sysdeps/i386/fpu/e_powf.S: Likewise.
55875         * sysdeps/i386/fpu/e_powl.S: Likewise.
55876         * sysdeps/i386/fpu/e_remainder.S: Likewise.
55877         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55878         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55879         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55880         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55881         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55882         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55883         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55884         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55885         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55886         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55887         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55888         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55889         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55890         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55891         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55892         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55893         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55894         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55895         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55896         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55897         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55898         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55899         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55900         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55901         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55902         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55903         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55904         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55905         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55906         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55907         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55908         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55909         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55910         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55911         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55912         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55913         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55914         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55915         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55916         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55917         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55918         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55919         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55920         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55921         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55922         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55923         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55924         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55925         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55926         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55927         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55928         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55929         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55930         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55931         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55932         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55933         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55934         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55935         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55936         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55937         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55938         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55939         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55940         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55941         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55942         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55943         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55944         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55945         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55946         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55947         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55948         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55949         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55950         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55951         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55952         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55953         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55954         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55955         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55956         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55957         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55958         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55959         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55960         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55961         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55962         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55963         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55964         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55965         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55966         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55967         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55968         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55969         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55970         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55971         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55972         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55973         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55974         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55975         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55976         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55977         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55978         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55979         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55980         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55981         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55982         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55983         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55984         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55985         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55986         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55987         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55988         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55989         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55990         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55991         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55992         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55993         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55994         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55995         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
55996         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55997         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55998         (__isnanf): Likewise.
55999         (__isinf_ns): Likewise.
56000         (__isinf_nsf): Likewise.
56001         (__finite): Likewise.
56002         (__finitef): Likewise.
56003         (__ieee754_sqrt): Define as macro.
56004         (__ieee754_sqrtf): Define as macro.
56005         (__ieee754_sqrtl): Define as macro.
56006         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
56007         inlined copy.
56008         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
56009         __FINITE_MATH_ONLY__ consistent.
56010         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
56012 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
56014         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
56015         of rawmemchr.
56017         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
56019 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
56021         * po/ja.po: Update from translation team.
56023 2011-10-08  Roland McGrath  <roland@hack.frob.com>
56025         * locale/programs/locarchive.c (prepare_address_space): New function.
56026         (create_archive, enlarge_archive, open_archive): Use it.
56028         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
56029         inside [SHARED], where it is used.
56031         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
56033         * nss/getent.c (netgroup_keys): Remove unused variable.
56034         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
56036 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
56038         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
56039         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
56040         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
56041         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
56042         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
56043         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
56044         * math/Makefile (libm-calls): Add s_isinf_ns.
56045         * math/divtc3.c: Use __isinf_nsl instead of isinf.
56046         * math/multc3.c: Likewise.
56047         * math/s_casin.c: Likewise.
56048         * math/s_casinf.c: Likewise.
56049         * math/s_casinl.c: Likewise.
56050         * math/s_ccos.c: Likewise.
56051         * math/s_ccosf.c: Likewise.
56052         * math/s_ccosl.c: Likewise.
56053         * math/s_ctan.c: Likewise.
56054         * math/s_ctanf.c: Likewise.
56055         * math/s_ctanh.c: Likewise.
56056         * math/s_ctanhf.c: Likewise.
56057         * math/s_ctanhl.c: Likewise.
56058         * math/s_ctanl.c: Likewise.
56059         * math/w_fmod.c: Likewise.
56060         * math/w_fmodf.c: Likewise.
56061         * math/w_fmodl.c: Likewise.
56062         * math/w_remainder.c: Likewise.
56063         * math/w_remainderf.c: Likewise.
56064         * math/w_remainderl.c: Likewise.
56065         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
56066         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
56067         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
56068         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
56069         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
56070         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
56071         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
56072         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
56074         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
56075         of the number.
56076         * stdio-common/printf_fphex.c: Likewise.
56077         * stdio-common/printf_size.c: Likewise.
56079         * math/e_exp10.c: Include math_private.h using <...> not "...".
56080         * math/e_exp10f.c: Likewise.
56081         * math/e_exp10l.c: Likewise.
56082         * math/e_exp2l.c: Likewise.
56083         * math/e_j0l.c: Likewise.
56084         * math/e_j1l.c: Likewise.
56085         * math/e_jnl.c: Likewise.
56086         * math/e_lgammal_r.c: Likewise.
56087         * math/e_rem_pio2l.c: Likewise.
56088         * math/e_scalb.c: Likewise.
56089         * math/e_scalbf.c: Likewise.
56090         * math/e_scalbl.c: Likewise.
56091         * math/k_cosl.c: Likewise.
56092         * math/k_sinl.c: Likewise.
56093         * math/k_tanl.c: Likewise.
56094         * math/s_cacoshf.c: Likewise.
56095         * math/s_catan.c: Likewise.
56096         * math/s_catanf.c: Likewise.
56097         * math/s_catanh.c: Likewise.
56098         * math/s_catanhf.c: Likewise.
56099         * math/s_catanhl.c: Likewise.
56100         * math/s_catanl.c: Likewise.
56101         * math/s_ccosh.c: Likewise.
56102         * math/s_ccoshf.c: Likewise.
56103         * math/s_ccoshl.c: Likewise.
56104         * math/s_cexp.c: Likewise.
56105         * math/s_cexpf.c: Likewise.
56106         * math/s_cexpl.c: Likewise.
56107         * math/s_clog.c: Likewise.
56108         * math/s_clog10.c: Likewise.
56109         * math/s_clog10f.c: Likewise.
56110         * math/s_clog10l.c: Likewise.
56111         * math/s_clogf.c: Likewise.
56112         * math/s_clogl.c: Likewise.
56113         * math/s_csin.c: Likewise.
56114         * math/s_csinf.c: Likewise.
56115         * math/s_csinh.c: Likewise.
56116         * math/s_csinhf.c: Likewise.
56117         * math/s_csinhl.c: Likewise.
56118         * math/s_csinl.c: Likewise.
56119         * math/s_csqrt.c: Likewise.
56120         * math/s_csqrtf.c: Likewise.
56121         * math/s_csqrtl.c: Likewise.
56122         * math/s_ctan.c: Likewise.
56123         * math/s_ctanf.c: Likewise.
56124         * math/s_ctanh.c: Likewise.
56125         * math/s_ctanhf.c: Likewise.
56126         * math/s_ctanhl.c: Likewise.
56127         * math/s_ctanl.c: Likewise.
56128         * math/s_ldexp.c: Likewise.
56129         * math/s_ldexpf.c: Likewise.
56130         * math/s_ldexpl.c: Likewise.
56131         * math/s_significand.c: Likewise.
56132         * math/s_significandf.c: Likewise.
56133         * math/s_significandl.c: Likewise.
56134         * math/w_acos.c: Likewise.
56135         * math/w_acosf.c: Likewise.
56136         * math/w_acosh.c: Likewise.
56137         * math/w_acoshf.c: Likewise.
56138         * math/w_acoshl.c: Likewise.
56139         * math/w_acosl.c: Likewise.
56140         * math/w_asin.c: Likewise.
56141         * math/w_asinf.c: Likewise.
56142         * math/w_asinl.c: Likewise.
56143         * math/w_atan2.c: Likewise.
56144         * math/w_atan2f.c: Likewise.
56145         * math/w_atan2l.c: Likewise.
56146         * math/w_atanh.c: Likewise.
56147         * math/w_atanhf.c: Likewise.
56148         * math/w_atanhl.c: Likewise.
56149         * math/w_cosh.c: Likewise.
56150         * math/w_coshf.c: Likewise.
56151         * math/w_coshl.c: Likewise.
56152         * math/w_dremf.c: Likewise.
56153         * math/w_exp10.c: Likewise.
56154         * math/w_exp10f.c: Likewise.
56155         * math/w_exp10l.c: Likewise.
56156         * math/w_exp2.c: Likewise.
56157         * math/w_exp2f.c: Likewise.
56158         * math/w_fmod.c: Likewise.
56159         * math/w_fmodf.c: Likewise.
56160         * math/w_fmodl.c: Likewise.
56161         * math/w_hypot.c: Likewise.
56162         * math/w_hypotf.c: Likewise.
56163         * math/w_hypotl.c: Likewise.
56164         * math/w_j0.c: Likewise.
56165         * math/w_j0f.c: Likewise.
56166         * math/w_j0l.c: Likewise.
56167         * math/w_j1.c: Likewise.
56168         * math/w_j1f.c: Likewise.
56169         * math/w_j1l.c: Likewise.
56170         * math/w_jn.c: Likewise.
56171         * math/w_jnf.c: Likewise.
56172         * math/w_jnl.c: Likewise.
56173         * math/w_lgamma.c: Likewise.
56174         * math/w_lgamma_r.c: Likewise.
56175         * math/w_lgammaf.c: Likewise.
56176         * math/w_lgammaf_r.c: Likewise.
56177         * math/w_lgammal.c: Likewise.
56178         * math/w_lgammal_r.c: Likewise.
56179         * math/w_log.c: Likewise.
56180         * math/w_log10.c: Likewise.
56181         * math/w_log10f.c: Likewise.
56182         * math/w_log10l.c: Likewise.
56183         * math/w_log2.c: Likewise.
56184         * math/w_log2f.c: Likewise.
56185         * math/w_log2l.c: Likewise.
56186         * math/w_logf.c: Likewise.
56187         * math/w_logl.c: Likewise.
56188         * math/w_pow.c: Likewise.
56189         * math/w_powf.c: Likewise.
56190         * math/w_powl.c: Likewise.
56191         * math/w_remainder.c: Likewise.
56192         * math/w_remainderf.c: Likewise.
56193         * math/w_remainderl.c: Likewise.
56194         * math/w_scalb.c: Likewise.
56195         * math/w_scalbf.c: Likewise.
56196         * math/w_scalbl.c: Likewise.
56197         * math/w_sinh.c: Likewise.
56198         * math/w_sinhf.c: Likewise.
56199         * math/w_sinhl.c: Likewise.
56200         * math/w_sqrt.c: Likewise.
56201         * math/w_sqrtf.c: Likewise.
56202         * math/w_sqrtl.c: Likewise.
56203         * math/w_tgamma.c: Likewise.
56204         * math/w_tgammaf.c: Likewise.
56205         * math/w_tgammal.c: Likewise.
56207         * po/ja.po: Update from translation team.
56209 2011-09-29  Andreas Jaeger  <aj@suse.de>
56211         [BZ #13179]
56212         * sunrpc/netname.c (netname2host): Fix logic.
56214         [BZ #6779]
56215         [BZ #6783]
56216         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56217         correctly.
56218         * math/w_remainder.c (__remainder): Likewise.
56219         * math/w_remainderf.c (__remainderf): Likewise.
56220         * math/libm-test.inc (remainder_test): Add test cases.
56222 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56224         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
56225         sdiv_qrnnd.
56227 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56229         * string/test-memcmp.c: Avoid unncessary #defines.
56230         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56232 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56234         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56235         Use new sse2 version for core i3 - i7 as it's faster
56236         than sse42 version.
56237         (bit_Prefer_PMINUB_for_stringop): New.
56238         * sysdeps/x86_64/rawmemchr.S: Update.
56239         Replace with faster SSE2 version.
56240         * sysdeps/x86_64/memrchr.S: New file.
56241         * sysdeps/x86_64/memchr.S: Update.
56242         Replace with faster SSE2 version.
56244 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
56246         * elf/dl-load.c (lose): Add cast to avoid warning.
56248 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56250         * po/ca.po: Update from translation team.
56252         * inet/getnetgrent_r.c: Hook up nscd.
56253         * nscd/Makefile (routines): Add nscd_netgroup.
56254         (nscd-modules): Add netgroupcache.
56255         (CFLAGS-netgroupcache.c): Define.
56256         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56257         (cache_search): Add const to second parameter.
56258         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56259         INNETGR.
56260         (dbs): Add netgrdb entry.
56261         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56262         (verify_persistent_db): Handle netgrdb.
56263         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56264         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56265         GETFDNETGR.
56266         (netgroup_response_header): Define.
56267         (innetgroup_response_header): Define.
56268         (datahead): Add netgroup_response_header and innetgroup_response_header
56269         elements.
56270         * nscd/nscd.conf: Add entries for netgroup cache.
56271         * nscd/nscd.h (dbtype): Add netgrdb.
56272         (_PATH_NSCD_NETGROUP_DB): Define.
56273         (netgroup_iov_disabled): Declare.
56274         (xmalloc, xcalloc, xrealloc): Move declarations here.
56275         (cache_search): Adjust prototype.
56276         Add netgroup-related prototypes.
56277         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56278         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56279         (__nscd_innetgr): Declare.
56280         * nscd/selinux.c (perms): Use access_vector_t as element type and
56281         add netgroup-related initializers.
56282         * nscd/netgroupcache.c: New file.
56283         * nscd/nscd_netgroup.c: New file.
56284         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56285         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56286         For four parameters use innetgr.
56287         * nss/nss_files/files-init.c: Add definition and callback for netgr.
56288         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56289         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56290         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56292         * nscd/connections.c (register_traced_file): Don't register file
56293         for disabled databases.
56295 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
56297         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56299         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56300         from tree and freeing node.
56302 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
56304         * nss/nsswitch.c (__nss_database_lookup): Handle
56305         nss_parse_service_list out of memory case.
56307 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
56309         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56310         out of memory case.
56312 2011-10-04  Andreas Schwab  <schwab@redhat.com>
56314         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56315         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56316         pass it down.
56317         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56318         elf_machine_rela, elf_machine_lazy_rel.
56319         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56320         (ELF_DYNAMIC_DO_REL): Likewise.
56321         (ELF_DYNAMIC_DO_RELA): Likewise.
56322         (ELF_DYNAMIC_RELOCATE): Likewise.
56323         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56324         to ELF_DYNAMIC_DO_REL.
56325         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56326         (dl_main): In trace mode always set __RTLD_NOIFUNC.
56327         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56328         elf_machine_rela.
56329         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56330         skip_ifunc, don't call ifunc function if non-zero.
56331         (elf_machine_rela): Likewise.
56332         (elf_machine_lazy_rel): Likewise.
56333         (elf_machine_lazy_rela): Likewise.
56334         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56335         (elf_machine_lazy_rel): Likewise.
56336         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56337         Likewise.
56338         (elf_machine_lazy_rel): Likewise.
56339         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56340         Likewise.
56341         (elf_machine_lazy_rel): Likewise.
56342         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56343         (elf_machine_lazy_rel): Likewise.
56344         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56345         (elf_machine_lazy_rel): Likewise.
56346         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56347         (elf_machine_lazy_rel): Likewise.
56348         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56349         (elf_machine_lazy_rel): Likewise.
56350         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56351         (elf_machine_lazy_rel): Likewise.
56352         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56353         (elf_machine_lazy_rel): Likewise.
56355 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
56357         * nss/nss_files/files-init.c (_nss_files_init): Use static
56358         initialization for all the *_traced_file variables.
56360 2011-09-28  Andreas Schwab  <schwab@redhat.com>
56362         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56364 2011-09-27  Roland McGrath  <roland@hack.frob.com>
56366         [BZ #13226]
56367         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56369 2011-09-27  Andreas Schwab  <schwab@redhat.com>
56371         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56372         Reread the line before reparsing it.
56374 2011-09-26  Andreas Schwab  <schwab@redhat.com>
56376         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56378 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
56379             Maxim Kuvyrkov  <maxim@codesourcery.com>
56380             Joseph Myers  <joseph@codesourcery.com>
56382         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56383         if needed for __stack_chk_guard.
56385 2011-09-19  Roland McGrath  <roland@hack.frob.com>
56387         * sysdeps/posix/spawni.c (script_execute): Always define it.
56388         It will be optimized away if unused.
56389         (maybe_script_execute): New function.
56390         (__spawni): Call it.
56392         * Makerules: Don't include tls.make.
56393         (config-tls): Always set to thread.
56394         * tls.make.c: File removed.
56396 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
56398         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56399         * config.make.in (CPPFLAGS-config): New substituted variable.
56401 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56403         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56405         [BZ #13192]
56406         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56407         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56409 2011-09-15  Roland McGrath  <roland@hack.frob.com>
56411         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56412         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56413         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56414         (CALL_FAIL): Likewise.
56415         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56416         (CALL_FAIL): Macro removed.
56417         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56419 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56421         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56422         for __FINITE_MATH_ONLY__ == 1.
56424 2011-09-15  Andreas Schwab  <schwab@redhat.com>
56426         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56427         __ieee754_sqrt instead of sqrt.
56428         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56429         __ieee754_sqrtf instead of sqrtf.
56430         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56431         __floorf instead of floorf.
56432         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56433         __floorf, __truncf instead of floorf, truncf.
56435 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
56437         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56439         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56440         __extern_always_inline.
56441         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56442         32-bit.
56444 2011-09-14  Andreas Schwab  <schwab@redhat.com>
56446         * elf/rtld.c (dl_main): Also relocate in dependency order when
56447         doing symbol dependency testing.
56449 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
56451         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56452         Always define `refsym'.
56454 2011-09-13  Andreas Schwab  <schwab@redhat.com>
56456         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56457         (__FD_ELT): Renamed from __FDELT.
56458         * misc/bits/select2.h (__FD_ELT): Likewise.
56459         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56460         __FD_MASK instead of __FDELT, __FDMASK.
56461         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56462         Likewise.
56463         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56464         Likewise.
56466         * elf/Makefile (gen-ldd): Fix pattern.
56468         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56469         (init_tls): Likewise.
56471 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
56473         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56475 2011-09-12  Andreas Schwab  <schwab@redhat.com>
56477         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56478         `struct cmsghdr *' instead of `void *'.
56479         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56480         Likewise.
56482 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
56484         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56485         if non-absolute.
56486         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56487         ldd_rewrite_script.
56489 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
56491         * configure.in: Remove --with-tls option.
56492         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56493         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56494         out in case it is missing.
56495         * sysdeps/ia64/elf/configure.in: Likewise.
56496         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56497         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56498         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56499         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56500         * sysdeps/sh/elf/configure.in: Likewise.
56501         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56502         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56503         * sysdeps/x86_64/elf/configure.in: Likewise.
56504         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56505         * sysdeps/mach/hurd/tls.h: Likewise.
56507         [BZ #13067]
56508         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56510         [BZ #13090]
56511         * configure.in: Fix use of AC_INIT.
56513         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56515 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
56517         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56518         __set_errno.
56519         * malloc/hooks.c: Likewise.
56521         [BZ #11929]
56522         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
56523         variables statically.
56524         (narenas): Initialize.
56525         (list_lock): Initialize.
56526         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
56527         initializtion of main_arena and list_lock.  Small cleanups.
56528         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56529         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
56530         Add initializers to main_arena and mp_.
56531         (malloc_state): Remove pagesize member.  Change all users to use
56532         GLRO(dl_pagesize).
56534         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56535         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
56536         is always initialized.
56538         * malloc/malloc.c: Removed unused configurations and dead code.
56539         * malloc/arena.c: Likewise.
56540         * malloc/hooks.c: Likewise.
56541         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56543         * include/tls.h: Removed.  USE___THREAD must always be defined.
56544         * bits/libc-tsd.h: Don't handle !USE___THREAD.
56545         * elf/dl-libc.c: Likewise.
56546         * elf/dl-tsd.c: Likewise.
56547         * include/errno.h: Likewise.
56548         * include/netdb.h: Likewise.
56549         * include/resolv.h: Likewise.
56550         * inet/herrno-loc.c: Likewise.
56551         * inet/herrno.c: Likewise.
56552         * malloc/arena.c: Likewise.
56553         * malloc/hooks.c: Likewise.
56554         * malloc/malloc.c: Likewise.
56555         * resolv/res-state.c: Likewise.
56556         * resolv/res_libc.c: Likewise.
56557         * sysdeps/i386/dl-machine.h: Likewise.
56558         * sysdeps/ia64/dl-machine.h: Likewise.
56559         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56560         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56561         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56562         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56563         * sysdeps/sh/dl-machine.h: Likewise.
56564         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56565         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56566         * sysdeps/unix/i386/sysdep.S: Likewise.
56567         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56568         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56569         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56570         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56571         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56572         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56573         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56574         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56575         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56576         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56577         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56578         * sysdeps/x86_64/dl-machine.h: Likewise.
56579         * tls.make.c: Likewise.
56581         * configure.in: Remove --with-__thread option.  Make tests for
56582         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56583         tls_model attribute fail if no support is available.  Remove
56584         USE_IN_LIBIO.
56585         * Makeconfig: Adjust for dropped configure option.  All features are
56586         now mandatory.
56587         * Makerules: Likewise.
56588         * Versions.def: Likewise.
56589         * argp/argp-fmtstream.c: Likewise.
56590         * argp/argp-fmtstream.h: Likewise.
56591         * argp/argp-help.c: Likewise.
56592         * assert/assert.c: Likewise.
56593         * config.h.in: Likewise.
56594         * config.make.in: Likewise.
56595         * configure: Likewise.
56596         * configure.in: Likewise.
56597         * csu/Versions: Likewise.
56598         * csu/init.c: Likewise.
56599         * elf/tst-audit2.c: Likewise.
56600         * elf/tst-tls10.c: Likewise.
56601         * elf/tst-tls10.h: Likewise.
56602         * elf/tst-tls11.c: Likewise.
56603         * elf/tst-tls12.c: Likewise.
56604         * elf/tst-tls14.c: Likewise.
56605         * elf/tst-tlsmod11.c: Likewise.
56606         * elf/tst-tlsmod12.c: Likewise.
56607         * elf/tst-tlsmod13.c: Likewise.
56608         * elf/tst-tlsmod13a.c: Likewise.
56609         * elf/tst-tlsmod14a.c: Likewise.
56610         * elf/tst-tlsmod15b.c: Likewise.
56611         * elf/tst-tlsmod16a.c: Likewise.
56612         * elf/tst-tlsmod16b.c: Likewise.
56613         * elf/tst-tlsmod7.c: Likewise.
56614         * elf/tst-tlsmod8.c: Likewise.
56615         * elf/tst-tlsmod9.c: Likewise.
56616         * gmon/gmon.c: Likewise.
56617         * grp/fgetgrent_r.c: Likewise.
56618         * grp/putgrent.c: Likewise.
56619         * hurd/fopenport.c: Likewise.
56620         * include/libc-symbols.h: Likewise.
56621         * include/tls.h: Likewise.
56622         * intl/gettextP.h: Likewise.
56623         * intl/loadinfo.h: Likewise.
56624         * locale/global-locale.c: Likewise.
56625         * locale/localeinfo.h: Likewise.
56626         * mach/devstream.c: Likewise.
56627         * malloc/arena.c: Likewise.
56628         * malloc/set-freeres.c: Likewise.
56629         * misc/err.c: Likewise.
56630         * misc/getttyent.c: Likewise.
56631         * misc/mntent_r.c: Likewise.
56632         * posix/getopt.c: Likewise.
56633         * posix/wordexp.c: Likewise.
56634         * pwd/fgetpwent_r.c: Likewise.
56635         * resolv/Versions: Likewise.
56636         * resolv/res_hconf.c: Likewise.
56637         * shadow/fgetspent_r.c: Likewise.
56638         * shadow/putspent.c: Likewise.
56639         * stdio-common/printf_fphex.c: Likewise.
56640         * stdio-common/tmpfile.c: Likewise.
56641         * stdlib/abort.c: Likewise.
56642         * stdlib/fmtmsg.c: Likewise.
56643         * sunrpc/auth_unix.c: Likewise.
56644         * sunrpc/clnt_perr.c: Likewise.
56645         * sunrpc/clnt_tcp.c: Likewise.
56646         * sunrpc/clnt_udp.c: Likewise.
56647         * sunrpc/clnt_unix.c: Likewise.
56648         * sunrpc/openchild.c: Likewise.
56649         * sunrpc/svc_simple.c: Likewise.
56650         * sunrpc/svc_tcp.c: Likewise.
56651         * sunrpc/svc_udp.c: Likewise.
56652         * sunrpc/svc_unix.c: Likewise.
56653         * sunrpc/xdr.c: Likewise.
56654         * sunrpc/xdr_array.c: Likewise.
56655         * sunrpc/xdr_rec.c: Likewise.
56656         * sunrpc/xdr_ref.c: Likewise.
56657         * sunrpc/xdr_stdio.c: Likewise.
56659 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56661         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56663 2011-07-03  Andreas Jaeger  <aj@suse.de>
56665         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56666         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56667         regenerate with gen-libm-tests.pl.
56669 2010-05-12  Petr Baudis  <pasky@suse.cz>
56671         [BZ #11589]
56672         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56673         around j0() zero points by switching to j1().
56674         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56675         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56676         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56677         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56679 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56681         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56682         instead of 0.
56683         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56684         instead of 0.
56685         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56686         Patch in part by Pavel Roskin <proski@gnu.org>.
56688         [BZ #13138]
56689         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56690         realloc.
56691         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
56692         Free memory block if necessary.
56694         [BZ #12847]
56695         * libio/genops.c (INTDEF): For string streams the _lock pointer can
56696         be NULL.  Don't lock in this case.
56698 2011-09-09  Roland McGrath  <roland@hack.frob.com>
56700         * elf/elf.h (ELFOSABI_GNU): New macro.
56701         (ELFOSABI_LINUX): Define to that.
56703 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
56705         * string/strncat.c (strncat): Undef the symbol in case it has been
56706         defined in bits/string.h.
56708 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56710         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56712         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56713         link map.
56715 2011-08-17  Andreas Jaeger  <aj@suse.de>
56717         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56719 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56720             Ian Lance Taylor  <iant@google.com>
56722         * math/libm-test.inc (lround_test): New testcase.
56723         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56725 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
56727         * Makefile: Remove support for automatic cvs check-ins.
56728         * Makerules: Likewise.
56729         * config.make.in: Likewise.
56730         * configure.in: Likewise.
56731         * intl/Makefile: Likewise.
56732         * locale/Makefile: Likewise.
56733         * po/Makefile: Likewise.
56734         * posix/Makefile: Likewise.
56735         * sysdeps/gnu/Makefile: Likewise.
56736         * sysdeps/mach/hurd/Makefile: Likewise.
56737         * sysdeps/sparc/sparc32/Makefile: Likewise.
56739         [BZ #13118]
56740         * posix/Makefile (bug-regex32-ENV): Define.
56741         Patch by John Stanley <jpsinthemix@verizon.net>.
56743         * misc/Makefile (headers): Add bits/select2.h.
56744         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56745         * misc/bits/select2.h: New file.
56746         * include/bits/select2.h: New file.
56747         * debug/Makefile (routines): Add fdelt_chk.
56748         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56749         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56750         FD_ISSET.
56751         * debug/fdelt_chk.c: New file.
56753         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
56754         * wcsmbs/test-wmemcmp.c: Likewise.
56755         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56756         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56758 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56760         * string/Makefile (strop-tests): Add memcmp.
56761         * string/test-wmemcmp.c: New file.
56762         * string/test-memcmp.c: Add wmemcmp support.
56764 2011-09-08  Roland McGrath  <roland@hack.frob.com>
56766         [BZ #13153]
56767         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56768         2011-07-19 change.
56770         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56771         garbage value in a __mach_port_mod_refs call in the cases of the
56772         task-self and thread-self ports.
56774 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56776         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56778 2011-09-08  Andreas Schwab  <schwab@redhat.com>
56780         * elf/dl-load.c (lose): Check for non-null L.
56782 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56784         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56786         * elf/dl-libc.c (dlerror_run): Pass back error code from
56787         dl_catch_error.
56789         [BZ #13123]
56790         * elf/dl-load.c (lose): Free l_origin if it is valid.
56792         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56793         names.
56794         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56795         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56796         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56797         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56798         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56799         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56801 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56803         * sysdeps/powerpc/fpu/e_hypot.c: New file.
56804         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56805         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56806         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56807         * sysdeps/powerpc/fpu/k_cosf.c: New file.
56808         * sysdeps/powerpc/fpu/k_sinf.c: New file.
56809         * sysdeps/powerpc/fpu/s_cosf.c: New file.
56810         * sysdeps/powerpc/fpu/s_sinf.c: New file.
56811         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56812         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56814 2011-08-15  Alan Modra  <amodra@gmail.com>
56816         [BZ #13092]
56817         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56818         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56819         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
56820         ppc_mcount to static-only-routines.
56821         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56822         __mcount_internal.
56823         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56824         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
56826 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
56828         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56829         for finite and infinity parameters.
56831 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56833         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56834         and add nop instructions for throughput optimization.
56835         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56837 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
56839         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56840         aligned copy for power7 with vector-scalar instructions.
56841         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56843 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
56845         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56846         AVX check.
56848 2011-09-07  Andreas Schwab  <schwab@redhat.com>
56850         [BZ #13144]
56851         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56852         last change.
56854 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56856         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56857         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56858         syscall wrapper around clock_gettime in __vdso_clock_gettime.
56859         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56860         clock_gettime.
56862 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56864         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56865         Forgot to demangle the pointer.
56867         * sysdeps/i386/sysdep.h: Define atom_text_section.
56868         * sysdeps/x86_64/sysdep.h: Likewise.
56869         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56870         section with atom_text_section.
56871         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56872         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56873         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56874         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56875         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56877         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56878         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56879         already be defined.  Change to take two parameters and don't assign
56880         result to variable.  Adjust all users.
56881         Define INTERNAL_GETTIME if not already defined.
56882         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56883         call.
56884         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56885         HAVE_CLOCK_GETTIME_VSYSCALL.
56886         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56888         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56889         gettimeofday vsyscall, just use time.
56891 2011-09-06  Andreas Schwab  <schwab@redhat.com>
56893         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56894         <errno.h>.
56896 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56898         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56899         syscall on x86-64.
56900         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56901         syscall.
56902         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56903         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56904         syscall if possible.
56906 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56908         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56909         e_ident.  Don't pass to find_mapsXX.
56910         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56912 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56915         strchr-sse2-no-bsf strrchr-sse2-no-bsf
56916         * sysdeps/x86_64/multiarch/strchr.S: Update.
56917         Check bit_slow_BSF bit.
56918         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56919         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56920         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56922 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56924         [BZ #13134]
56925         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56926         before glibc 2.15.
56927         (tryshell): Define.
56928         (__spawni): Change last parameter to be flag.  Test
56929         SPAWN_XFLAGS_USE_PATH flag to use path or not.
56930         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56931         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56932         * posix/spawni.c: Likewise.
56933         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56934         * posix/spawnp.c: Likewise.  Change normal version to use
56935         SPAWN_XFLAGS_USE_PATH.
56936         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56937         SPAWN_XFLAGS_TRY_SHELL.
56939         [BZ #13150]
56940         * posix/glob.h: Remove gcc 1.x support.
56942         [BZ #13068]
56943         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56945 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56947         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56948         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56949         strrchr-sse2-bsf
56950         * sysdeps/i386/i686/multiarch/strchr.S: New file.
56951         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56952         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56953         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56954         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56955         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56957 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56959         * sysdeps/x86_64/wcscmp.S: New file.
56961         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56962         wcscmp-c wcscmp-sse2
56963         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56964         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56965         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56966         * wcsmbs/wcscmp.c: Allow renaming.
56968 2011-09-05  David S. Miller  <davem@davemloft.net>
56970         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56971         stack slot, rather than the struct return pointer slot.
56972         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56973         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56974         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56975         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56977 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56979         * po/ja.po: Update from translation team.
56981         [BZ #13144]
56982         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56983         kernel in 64-bit binaries.
56985 2011-09-01  David S. Miller  <davem@davemloft.net>
56987         * elf/elf.h (HWCAP_SPARC_*): Move to..
56988         * sysdeps/sparc/sysdep.h: this new file and add new values.
56989         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56990         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56991         _DL_HWCAP_COUNT to 24.
56992         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56993         entries.
56994         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56995         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56996         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56997         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56998         instead of magic constants.
56999         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57001 2011-08-31  David S. Miller  <davem@davemloft.net>
57003         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
57004         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
57005         Reimplement to do errno handling inline.
57006         (SYSCALL_ERROR_HANDLER): New macro.
57007         (__SYSCALL_STRING): Do not do errno handling in asm.
57008         (__CLONE_SYSCALL_STRING): Delete.
57009         (__INTERNAL_SYSCALL_STRING): Delete.
57010         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
57011         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
57012         (PSEUDO): Reimplement to do errno handling inline.
57013         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
57014         (SYSCALL_ERROR_HANDLER): New macro.
57015         (__SYSCALL_STRING): Do not do errno handling in asm.
57016         (__CLONE_SYSCALL_STRING): Delete.
57017         (__INTERNAL_SYSCALL_STRING): Delete.
57018         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
57019         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
57020         i386.
57021         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
57022         (inline_syscall*): Add 'err' argument.
57023         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
57024         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
57025         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
57026         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
57028         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
57029         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
57031 2011-08-30  Andreas Schwab  <schwab@redhat.com>
57033         * elf/rtld.c (dl_main): Relocate objects in dependency order.
57035 2011-08-29  Jiri Olsa <jolsa@redhat.com>
57037         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
57038         directive.
57040 2011-08-24  David S. Miller  <davem@davemloft.net>
57042         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
57044 2011-08-24  Andreas Schwab  <schwab@redhat.com>
57046         * elf/Makefile: Add rules to build and run unload8 test.
57047         * elf/unload8.c: New file.
57048         * elf/unload8mod1.c: New file.
57049         * elf/unload8mod1x.c: New file.
57050         * elf/unload8mod2.c: New file.
57051         * elf/unload8mod3.c: New file.
57053         * elf/dl-close.c (_dl_close_worker): Reset private search list if
57054         it wasn't used.
57056 2011-08-23  David S. Miller  <davem@davemloft.net>
57058         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
57059         subtract stack bias.
57060         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
57061         %sp not %fp in calculations.
57062         (_JMPBUF_UNWINDS_ADJ): Likewise.
57064         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
57065         (aio_suspend): Call it to force an exception region around the
57066         AIO_MISC_WAIT() invocation.
57068 2011-08-23  Andreas Schwab  <schwab@redhat.com>
57070         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
57071         backslash.
57073 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
57075         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
57076         protection macro.
57077         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
57078         and <dl-machine.h>.
57079         (Elf64_FuncDesc): Remove.
57081 2011-08-22  David S. Miller  <davem@davemloft.net>
57083         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
57084         sigaltstack check, add missing cfi directives.
57085         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
57086         missing cfi directives, and sigaltstack handling.
57088 2011-08-16  Andreas Schwab  <schwab@redhat.com>
57090         [BZ #11724]
57091         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
57092         object is seen twice.
57093         * elf/dl-fini.c (_dl_sort_fini): Likewise.
57095         * elf/Makefile (distribute): Add tst-initorder2.c.
57096         (tests): Add tst-initorder2.
57097         (modules-names): Add tst-initorder2a tst-initorder2b
57098         tst-initorder2c tst-initorder2d.  Add rules to build them.
57099         ($(objpfx)tst-initorder2.out): New rule.
57100         * elf/tst-initorder2.c: New file.
57101         * elf/tst-initorder2.exp: New file.
57103 2011-08-22  Andreas Schwab  <schwab@redhat.com>
57105         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
57107         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
57108         dependencies back to end of function.
57110         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57111         $(elfobjdir)/ld.so.
57113 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
57115         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
57116         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
57117         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
57118         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
57119         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
57120         of __vdso_gettimeofday.
57121         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
57122         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
57123         attribute_hidden.
57124         (_libc_vdso_platform_setup): Remove initialization of
57125         __vdso_gettimeofday and __vdso_time.
57127 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57129         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
57130         and fgetc_unlocked.
57131         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
57132         getc_unlocked.
57134         * elf/dl-open.c (add_to_global): Report additions to the global scope
57135         for LD_DEBUG=scopes.
57136         (dl_open_worker): Also print scope of newly loaded dependencies.
57137         (_dl_show_scope): Indicate if there is no scope.
57139         [BZ #13114]
57140         * stdio-common/Makefile (tests): Add bug24.
57141         * stdio-common/bug24.c: New file.
57143 2011-08-19  Andreas Jaeger  <aj@suse.de>
57145         [BZ #13114]
57146         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57147         non-existant file when using close-on-exec mode.
57149 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57151         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57152         the very first instruction.
57154         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57155         the CFI state in the end.
57156         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57157         inclusion of dl-trampoline.h.
57158         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57160 2011-08-19  Andreas Schwab  <schwab@redhat.com>
57162         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57163         expectations for long double.
57165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57166         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57168 2011-08-14  David S. Miller  <davem@davemloft.net>
57170         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57171         artificual limit depends upon the system page size.
57173 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57175         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57176         * resolv/Makefile: Define CFLAGS-libresolv.
57178 2011-08-17  Andreas Schwab  <schwab@redhat.com>
57180         * nss/makedb.c (compute_tables): Make variables used in nested
57181         function static.
57183 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57185         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57186         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57187         if buffer was too small.
57189         * elf/pldd.c (main): Attach to all threads in the process.
57190         Rewrite /proc handling to use *at functions.
57192 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
57194         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57195         specifies first scope to show.
57196         (dl_open_worker): Update callers.  Move printing scope of new
57197         object to before the relocation.
57198         * elf/rtld.c (dl_main): Update _dl_show_scope call.
57199         * sysdeps/generic/ldsodefs.h: Update declaration.
57201         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57202         string for the scope number.
57204 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
57206         * nscd/servicescache.c (cache_addserv): Make sure written is always
57207         initialized.
57209 2011-08-14  Roland McGrath  <roland@hack.frob.com>
57211         * sysdeps/i386/i486/bits/atomic.h
57212         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57213         statement expression, so as to suppress "set but not used" warning.
57214         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57216         * string/strncat.c (STRNCAT): Use prototype definition.
57218         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57219         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57220         -Iprograms here.
57221         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57222         (localedef-modules): Add localedef.
57223         (locale-modules): Add locale.
57225         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57226         * elf/rtld.c (dl_main): Invert order of assignment in last change,
57227         to avoid a warning.
57229 2011-08-14  David S. Miller  <davem@davemloft.net>
57231         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57232         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57234 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
57236         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57237         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57238         * elf/rtld.c (dl_main): Set l_name of vDSO.
57239         Call _dl_show_scope when DL_DEBUG_SCOPES.
57240         (process_dl_debug): Recognize scopes flag and also set it for all.
57241         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57242         Declare _dl_show_scope.
57244         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57245         (do_dlopen): Pass caller_dlopen to dl_open.
57246         (__libc_dlopen_mode): Initialize caller_dlopen.
57248         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57249         of libc.  Make tolower call locale-independent.  Optimize a bit by
57250         using isdigit instead of isalnum.
57251         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57253 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
57255         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57256         was a dependency or dynamically loaded.
57258 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
57260         * intl/l10nflist.c: Allow architecture-specific pop function.
57261         * sysdeps/x86_64/l10nflist.c: New file.
57263         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57264         classification.
57266 2011-08-10  Andreas Schwab  <schwab@redhat.com>
57268         * include/dirent.h: Add libc_hidden_proto for scandirat and
57269         scandirat64.  Don't declare __scandirat64.
57270         * dirent/scandirat.c: Add libc_hidden_def.
57271         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57272         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57274 2011-08-10  David S. Miller  <davem@davemloft.net>
57276         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57277         enum.
57278         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57279         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57280         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57282 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
57284         * Versions.def [libc]: Add GLIBC_2.15.
57285         * dirent/Makefile (routines): Add scandirat and scandirat64.
57286         * dirent/Versions [libc]: Export scandirat and scandirat64 for
57287         GLIBC_2.15.
57288         * dirent/dirent.h: Declare scandirat and scandirat64.
57289         * dirent/scandirat.c: New file.
57290         * dirent/scandirat64.c: New file.
57291         * sysdeps/wordsize-64/scandirat.c: New file.
57292         * sysdeps/wordsize-64/scandirat64.c: New file.
57293         * dirent/opendir.c: Define opendirat.
57294         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
57295         using scandirat.
57296         * dirent/scandir64.c: Adjust for scandir.c change.
57297         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
57298         __scandirat64, and __scandir_cancel_handler.
57299         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
57300         additional parameter and use openat instead of open (outside of ld.so).
57301         Add new __opendir as wrapper around __opendirat.
57302         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57303         here without requiring old scandirat implementation.
57305 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
57307         * dirent/scandir.c (cancel_handler): Renamed to
57308         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
57309         defined.  Adjust users.
57310         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57311         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57313 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
57315         * string/test-string.h (IMPL): Use __STRING to expand name and then
57316         stringify it.
57318         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
57319         of cleanups.
57321 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57323         * string/Makefile: Update.
57324         (strop-tests): Append strncat.
57325         * string/test-wcscmp.c: New file.
57326         New comprehensive test for wcscmp.
57327         * string/test-strcmp.c: Update.
57328         (WIDE): New define.
57330 2011-07-22  Andreas Schwab  <schwab@redhat.com>
57332         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57333         line.
57335 2011-07-26  Andreas Schwab  <schwab@redhat.com>
57337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57338         encoding to ACE if AI_IDN.
57340 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
57342         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57343         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57345 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57347         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57348         Fix overflow bug in strncat.
57349         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57351         * string/test-strncat.c: Update.
57352         Add new tests for checking overflow bugs.
57354 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57356         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57357         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57358         * sysdeps/i386/i686/multiarch/strcat.S: New file.
57359         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57360         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57361         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57362         * sysdeps/i386/i686/multiarch/strncat.S: New file.
57363         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57364         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57366         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57367         (USE_AS_STRCAT): Define.
57368         Add strcat and strncat support.
57369         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57371 2011-07-25  Andreas Schwab  <schwab@redhat.com>
57373         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57374         __n bigger than INT_MAX+1.
57375         (__strncmp_g): Likewise.
57377 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
57379         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57380         * libio/stido.h: Likewise.
57382         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57383         (AF_NFC): Define.
57384         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57385         (AF_NFC): Define.
57387         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57388         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57389         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57390         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57391         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57393         [BZ #13021]
57394         * scripts/test-installation.pl: Don't expect libnss_test1 to be
57395         installed.
57397         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57398         typo.
57399         (_dl_x86_64_save_sse): Likewise.
57401 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
57403         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57404         OSXSAVE.
57405         (_dl_x86_64_save_sse): Likewise.
57407         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57409         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57411 2011-07-21  Andreas Schwab  <schwab@redhat.com>
57413         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57414         change.
57415         (_dl_x86_64_save_sse): Use correct AVX check.
57417 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57419         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57420         bug in strncpy/strncat.
57421         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57423 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
57425         * string/tester.c (test_strcat): Add tests for different alignments
57426         of source and destination.
57427         (test_strncat): Likewise.
57429 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57431         [BZ #12852]
57432         * posix/glob.c (glob): Check passed in values before using them in
57433         expressions to avoid some overflows.
57434         (glob_in_dir): Likewise.
57436         [BZ #13007]
57437         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57438         check for AVX enablement so that we don't crash with old kernels and
57439         new hardware.
57440         * elf/tst-audit4.c: Add same checks here.
57441         * elf/tst-audit6.c: Likewise.
57443         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57445 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
57447         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57449 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57451         * po/cs.po: Update from translation team.
57452         * po/bg.po: Likewise.
57454 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
57456         * misc/sys/cdefs.h: Add support for const attribute.
57457         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57458         to gnu_dev_{major,minor,makedev} functions.
57460 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
57462         * intl/dcigettext.c (get_output_charset): Add missing bracket.
57464 2011-07-20  Andreas Schwab  <schwab@redhat.com>
57466         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57467         strlen results.
57469 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57471         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57472         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57473         register in order to avoid conflicts with the soft frame pointer
57474         being held in r11 when necessary.
57475         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57476         (INTERNAL_VSYSCALL_NCS): Likewise.
57478 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
57480         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57481         * elf/dl-fini.c (_dl_fini): Adjust caller.
57482         * elf/dl-close.c (_dl_close_worker): Likewise.
57483         * sysdeps/generic/ldsodefs.h: Adjust declaration.
57485 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57487         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57488         "aux_cache->nlibs < 0".
57490         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57491         in the reload-count case.
57493 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57495         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57496         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57497         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57498         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57499         * sysdeps/x86_64/multiarch/strcat.S: New file.
57500         * sysdeps/x86_64/multiarch/strncat.S: New file.
57501         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57502         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57503         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57504         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57505         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57506         (USE_AS_STRCAT): Define.
57507         Add strcat and strncat support.
57508         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57509         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57510         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57511         * string/strncat.c: Update.
57512         (USE_AS_STRNCAT): Define.
57513         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57514         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57515         and i7.
57516         * sysdeps/x86_64/multiarch/init-arch.h
57517         (bit_Prefer_PMINUB_for_stringop): New.
57518         (index_Prefer_PMINUB_for_stringop): Likewise.
57519         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57520         bit_Prefer_PMINUB_for_stringop.
57522 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57524         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57525         buffer64.
57526         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57527         of casting of buffer.
57528         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57529         buffer32 and buffer64.
57530         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57531         writes instead of casting of buffer.
57532         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57533         buffer32.
57534         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57535         casting of buffer.
57537 2011-07-19  Andreas Schwab  <schwab@redhat.com>
57539         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57541 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57543         * nscd/nscd.c (termination_handler): Don't do anything for a database
57544         if it has not yet been initialized.
57546 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57548         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57550 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57552         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57554 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57556         * po/nl.po: Update from translation team.
57557         * po/sv.po: Likewise.
57559 2011-07-16  Roland McGrath  <roland@hack.frob.com>
57561         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57562         now disallowed by GCC.
57564         * configure.in (use-default-link): Default to yes if a test -shared
57565         link meets our qualifications.
57566         * configure: Regenerated.
57568         * config.make.in (output-format): New variable.
57569         * configure.in: Check for ld --print-output-format support.
57570         * configure: Regenerated.
57571         * Makerules ($(common-objpfx)format.lds)
57572         [$(output-format) != unknown]: Just use $(output-format),
57573         instead of the linker-script munging.
57575 2011-07-14  Roland McGrath  <roland@hack.frob.com>
57577         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57578         of $(common-objpfx)shlib.lds.
57579         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57581         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57582         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57584         * configure.in (-z relro check): Adjust test code to add a large
57585         writable data section after it.
57586         * configure: Regenerated.
57588 2011-07-11  Roland McGrath  <roland@hack.frob.com>
57590         * configure.in (-z relro check): Fix test code to make the variable
57591         truly const.
57592         * configure: Regenerated.
57594 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
57596         * nscd/nscd.h (struct traced_file): Define.
57597         (struct database_dyn): Remove inotify_descr, reset_res, and filename
57598         elements.  Add traced_files.
57599         (inotify_fd): Declare.
57600         (register_traced_file): Declare.
57601         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57602         (inotify_fd): Export.
57603         (resolv_conf_descr): Remove.
57604         (nscd_init): Move inotify descriptor creation to main.
57605         Don't register files for notification here.
57606         (register_traced_file): New function.
57607         (invalidate_cache): Don't use reset_res to determine whether to call
57608         res_init, go through the list of registered files.
57609         (main_loop_poll): The inotify descriptors are now stored in the
57610         structures for the traced files.
57611         (main_loop_epoll): Likewise
57612         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
57613         to __nss_disable_nscd.
57614         * nscd/cache.c (prune_cache): There is no single inotify descriptor
57615         for a database anymore.  Check the records for all the registered
57616         files instead.
57617         * nss/Makefile (libnss_files-routines): Add files-init.
57618         (libnss_db-routines): Add db-init.
57619         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57620         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57621         * nss/nss_db/db-init.c: New file.
57622         * nss/nss_files/files-init.c: New file.
57623         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
57624         __nss_lookup_function.
57625         (__nss_lookup_function): Call nss_load_library.
57626         (nss_load_all_libraries): New function.
57627         (__nss_disable_nscd): Take parameter with callback function for files
57628         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
57629         used for the cached services.
57630         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57631         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57632         options for features to all the files in nscd.
57634         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57636 2011-07-10  Roland McGrath  <roland@hack.frob.com>
57638         * csu/elf-init.c (__libc_csu_init): Comment typo.
57640 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
57642         * po/pl.po: Update from translation team.
57643         * po/ja.po: Likewise.
57644         * po/ru.po: Likewise.
57645         * po/ko.po: Likewise.
57646         * po/fr.po: Likewise.
57648 2011-07-09  Roland McGrath  <roland@hack.frob.com>
57650         * configure.in (.ctors/.dtors header and trailer check):
57651         Use an empirical test on a built program.
57652         * configure: Regenerated.
57654         * configure.in (-z relro check): Use an empirical test on a built DSO.
57655         Detect, but do not require, on ia64.
57656         * configure: Regenerated.
57658         * configure.in (READELF): Find it with AC_CHECK_TOOL.
57659         Update tests that use readelf to use $READELF instead.
57660         * configure: Regenerated.
57662 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
57664         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57665         if the result is not used.
57667 2011-07-05  Andreas Jaeger  <aj@suse.de>
57669         [BZ#9696]
57670         * stdlib/tst-strtod.c: Add testcase.
57672 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
57674         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57675         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57676         The latter has a higher limit.  Take additional parameter to pass to
57677         the new function.
57678         (__pathconf): Pass file to __statfs_link_max.
57679         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57680         __statfs_link_max.
57681         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57682         __statfs_link_max.
57684         [BZ #12868]
57685         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57686         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57687         Handle Lustre.
57688         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57689         (__statfs_filesize_max): Likewise.
57690         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57692 2011-07-05  Andreas Jaeger  <aj@suse.de>
57694         * resolv/res_comp.c (dn_skipname): Remove unused variable.
57696 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
57698         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57699         `status' variable.
57700         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57701         Likewise.
57703 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
57705         * Makefile (strop-tests): Add strncat.
57706         * string/test-strncat.c: New file.
57708 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
57710         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57712 2011-06-21  Andreas Jaeger  <aj@suse.de>
57714         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57715         Copy rule from iconvdata/Makefile.
57717 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57719         [BZ #12922]
57720         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57721         but no long options are defined, just return 'W'.
57723 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
57725         [BZ #9696]
57726         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57728 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57730         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57731         netgroups to read.
57732         (innetgr): Likewise.
57734 2011-07-05  Roland McGrath  <roland@hack.frob.com>
57736         * config.make.in (install_root): Default to $(DESTDIR).
57738 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
57740         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57742 2011-07-02  Roland McGrath  <roland@hack.frob.com>
57744         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57746         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57747         containing directory rather than embedding absolute directory names.
57749         * scripts/check-local-headers.sh: Rewritten using awk.
57750         Match by word, not by line.  Print error messages for matches.
57751         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57753         * Makerules [shlib-lds-flags empty]:
57754         ($(common-objpfx)libc_pic.opts): New target.
57755         ($(common-objpfx)libc_pic.os.clean): New target.
57756         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57758         * config.make.in (OBJCOPY): New variable.
57759         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57760         * configure: Regenerated.
57762         * config.make.in (use-default-link): New variable.
57763         * configure.in (use_default_link): Grok --with-default-link to set it.
57764         * configure: Regenerated.
57765         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57766         (shlib-lds, shlib-lds-flags): Define to empty.
57768         * Makerules (shlib-lds): New variable.
57769         (shlib-lds-flags): New variable.
57770         (build-shlib, build-moduile, build-module-asneeded): Use it.
57771         ($(common-objpfx)libc.so): Use $(shlib-lds).
57772         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57773         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57775         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57776         DT_FLAGS/DT_FLAGS_1 with zero flags.
57778         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57779         linker script munging.
57781 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
57783         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57784         as 128-bit value.
57785         * crypt/sha512.c (sha512_process_block): Perform total addition using
57786         128-bit if possible.
57787         (__sha512_finish_ctx): Likewise.
57788         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57789         as 64-bit value.
57790         * crypt/sha256.c (SWAP64): Define.
57791         (sha256_process_block): Perform total addition using 64-bit if
57792         possible.
57793         (__sha256_finish_ctx): Likewise.
57795 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
57797         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
57798         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57799         * nscd/hstcache.c (cache_addhst): Likewise.
57800         * nscd/grpcache.c (cache_addgr): Likewise.
57801         * nscd/aicache.c (addhstaiX): Likewise
57802         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57804 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
57806         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57807         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57808         * nscd/hstcache.c (cache_addhst): Likewise.
57809         * nscd/grpcache.c (cache_addgr): Likewise.
57810         * nscd/aicache.c (addhstaiX): Likewise
57812 2011-07-01  Andreas Schwab  <schwab@redhat.com>
57814         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57815         domain only when needed.
57817 2011-06-30  Andreas Schwab  <schwab@redhat.com>
57819         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57820         is always restored.
57822 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
57824         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57825         are re-adding the entry.
57826         * nscd/servicescache.c (cache_addserv): Likewise.
57828 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
57830         * sysdeps/generic/dl-irel.h: fix protection against multiple
57831         inclusions.
57832         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57834 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
57836         [BZ #12935]
57837         * malloc/memusage.sh: Fix quoting in message.
57838         * debug/xtrace.sh: Likewise.
57840         * configure.in: Remove support for --experimental-malloc option, make
57841         it the default.
57842         * config.make.in: Likewise.
57843         * malloc/Makefile: Likewise.
57845 2011-06-27  Andreas Schwab  <schwab@redhat.com>
57847         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57848         two-byte characters.
57850 2011-06-27  Roland McGrath  <roland@hack.frob.com>
57852         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57853         AC_CACHE_CHECK invocation.
57854         * configure: Regenerated.
57856         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57858 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
57860         [BZ #12350]
57861         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
57862         bit from old_res_options.
57864         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57866         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57867         value type for setfct.
57869 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
57871         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57872         __gettimeofday instead of gettimeofday.
57874 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
57876         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57878 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
57880         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57882         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57883         info.
57885 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57887         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57888         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57889         strcpy-sse2-unaligned strncpy-sse2-unaligned
57890         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57891         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57892         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57893         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57894         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57895         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57896         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57897         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57898         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57899         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57900         (STRCPY): Support SSE2 and SSSE3 versions.
57902 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
57904         [BZ #12874]
57905         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57906         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57907         kernels which artificially limit size of requests.
57909 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57911         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57912         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57913         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57914         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57915         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57916         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57917         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57918         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57919         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57920         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57921         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57922         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57923         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57924         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57925         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57926         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57927         Enable unaligned load optimization for Intel Core i3, i5 and i7
57928         processors.
57929         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57930         Define.
57931         (index_Fast_Unaligned_Load): Define.
57932         (HAS_FAST_UNALIGNED_LOAD): Define.
57934 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
57936         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57938 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57940         [BZ #12907]
57941         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57942         until it is clear that the information is realy needed.
57943         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57945 2011-06-22  Andreas Schwab  <schwab@redhat.com>
57947         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57949 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57951         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57952         /sys/devices/system/cpu/online if it is usable.
57954         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57955         reading the information from the /proc filesystem to once a second.
57957 2011-06-21  Andreas Jaeger  <aj@suse.de>
57959         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57960         NULL after inclusion of kernel headers.
57962 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
57964         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57965         calls to internal_setent.
57967         [BZ #12885]
57968         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57969         addresses using gethostbyname4_r ignore IPv4 addresses.
57971         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57972         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
57974         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57976 2011-06-20  David S. Miller  <davem@davemloft.net>
57978         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57979         inclusions.
57980         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57982         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57983         (elf_irel): Use it.
57984         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57985         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57986         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57987         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57988         * sysdeps/x86_64/dl-irel.h: Likewise.
57990         * elf/dl-runtime.c: Use elf_ifunc_invoke.
57991         * elf/dl-sym.c: Likewise.
57993 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57995         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
57996         need to dereference resplen2.
57998 2011-06-14  Andreas Schwab  <schwab@redhat.com>
58000         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
58002 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
58004         * Makeconfig: Define vardbdir and inst_vardbdir.
58005         * nss/Makefile: Add rules to install db-Makefile.
58007         * nss/nss_db/db-XXX.c: Cleanup.
58009         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
58010         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
58011         GLIBC_PRIVATE.
58012         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
58013         * nss/makedb.c: Implement -g option to specify that value strings
58014         are generated and should not be added to table iterated over for
58015         get*ent calls.
58016         * nss/nss_db/db-initgroups.c: New file.
58018         * nss/getent.c: Add support for initgroups lookups through getgrouplist
58019         interface.
58021         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
58022         (internal_getgrouplist): Adjust to name change.
58023         Update use_initgroups_entry if this is not the first call.
58024         * nss/databases.def: Add initgroups entry.
58026         * nss/makedb.c (compute_tables): Check result of multiple hash table
58027         sizes to minimize maximum chain length.
58029 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
58031         * Versions.def: Add entry for libnss_db.
58032         * shlib-versions: Likewise.
58033         * nss/Makefile: Add rules to build libnss_db.
58034         * nss/Versions: Add libnss_db information.  Organize libnss_files
58035         entries better.
58036         * nss/db-Makefile: Add gshadow support.  Change rules for the new
58037         makedb progra.  Some minor improvements to generate smaller files.
58038         * nss/nss_db/nss_db.h: Move NSS database header data structures to
58039         here from...
58040         * nss/makedb.c: ...here.
58041         Improve database format to be smaller and require less memory at
58042         runtime.
58043         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
58044         db anymore.
58045         * nss/nss_db/db-netgrp.c: Likewise.
58046         * nss/nss_db/db-open.c: Likewise.
58047         * nss/nss_files/flies-XXX.x: Adjust comments.
58048         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
58049         * nss/nss_files/files-grp.c: Likewise.
58050         * nss/nss_files/files-hosts.c: Likewise.
58051         * nss/nss_files/files-network.c: Likewise.
58052         * nss/nss_files/files-proto.c: Likewise.
58053         * nss/nss_files/files-pwd.c: Likewise.
58054         * nss/nss_files/files-rpc.c: Likewise.
58055         * nss/nss_files/files-service.c: Likewise.
58056         * nss/nss_files/files-sgrp.c: Likewise.
58057         * nss/nss_files/files-spwd.c: Likewise.
58058         * nss/nss_db/db-alias.c: Removed.
58059         * nss/nss_db/dummy-db.h: Removed.
58061 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
58063         * nss/makedb.c: Rewritten to not use database library.
58064         * nss/Makefile: Update to build new makedb program.
58066 2011-06-14  Andreas Jaeger  <aj@suse.de>
58068         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
58069         memset declaration.
58071 2011-06-10  Andreas Schwab  <schwab@redhat.com>
58073         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
58074         tmpbuf.
58076 2011-06-10  Roland McGrath  <roland@hack.frob.com>
58078         * Makerules (shlib.lds): Fail if the linker script comes out empty.
58079         * elf/Makefile ($(objpfx)ld.so): Likewise.
58081         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
58082         Don't list ld.so twice in dependencies.
58084         * posix/bug-regex31.c: Include <stdlib.h>.
58086         * nscd/hstcache.c (cache_addhst): Remove unused variable.
58088         * nis/nss_compat/compat-spwd.c
58089         (getspent_next_nss_netgr): Remove unused variable.
58090         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
58092         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
58093         nonmembers" output to use the right array.
58095         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
58097         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
58099         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
58100         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
58101         * catgets/gencat.c (read_input_file): Likewise.
58102         * locale/programs/locarchive.c (enlarge_archive): Likewise.
58104         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
58105         variable definition inside #if's controlling its use.
58107         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
58109         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
58111         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
58113         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
58114         unreachable code.
58116         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
58118         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
58119         * configure: Regenerated.
58121         * Makerules: Revert last change.
58122         * elf/Makefile: Likewise.
58124 2011-06-09  Roland McGrath  <roland@hack.frob.com>
58126         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
58127         * elf/Makefile ($(objpfx)librtld.os): Likewise.
58128         (reloc-link): Likewise.
58130 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
58132         * elf/Makefile: Add rules to build pldd.
58133         * elf/pldd.c: New file.
58134         * elf/pldd-xx.c: New file.
58136 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
58138         * version.h: Update for 2.15 development version.
58140 2011-06-07  David S. Miller  <davem@davemloft.net>
58142         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58143         ifuncs.
58144         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58145         elf_machine_lazy_rel): Likewise.
58146         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58147         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58148         elf_machine_lazy_rel): Likewise.
58149         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58150         dl_hwcap via passed in argument.
58151         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58152         Likewise.
58154 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58156         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
58158 2011-06-06  Roland McGrath  <roland@hack.frob.com>
58160         [BZ #12849]
58161         * manual/fdl-1.1.texi: New file, verbatim from:
58162         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58163         * manual/lgpl-2.1.texi: New file, verbatim from:
58164         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58165         * manual/Makefile (licenses): New variable, list those new file names.
58166         (texis): Use it.
58167         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58169         * manual/fdl.texi: File removed.
58170         * manual/lesser.texi: File removed.
58171         * manual/libc.texinfo (Copying, Documentation License):
58172         Use new @include file names, put @appendix directive before @include.
58174 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
58176         [BZ #12841]
58177         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58178         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58179         (mq_open): Add __NTH.
58181 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
58183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58184         Assume Intel Core i3/i5/i7 processor if AVX is available.
58186 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58188         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58189         typo.
58191 2011-05-31  Andreas Schwab  <schwab@redhat.com>
58193         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58194         memory.  Use alloca_account.  Fix memory leak when retrying.
58196 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58198         * version.h (RELEASE): Bump for 2.14 release.
58199         * include/features.h (__GLIBC_MINOR__): Bump to 14.
58201         * config.make.in (RANLIB): Remove entry.
58203 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
58205         * po/Makefile (po-sed-cmd): Add ksh to extensions.
58206         (libc.pot): Work around missing support for .ksh extension in xgettext.
58208         [BZ #12684]
58209         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58210         if both request failed.
58211         (send_dg): In case of server errors clear resplen or *resplen2.
58213         [BZ #12454]
58214         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58215         when there are multiple maps.
58216         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58217         (_dl_fini): Remove test here.
58219         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58221 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
58223         [BZ #12350]
58224         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58225         bit from old_res_options.
58226         (gaih_inet): Likewise.
58228         [BZ #11099]
58229         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58230         as signed.
58232         * resolv/res_init.c (res_setoptions): Make the code more compact.
58234         [BZ #11558]
58235         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58236         set RES_USEVC.
58238         [BZ #11634]
58239         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58241         * malloc/malloc.h: Mark malloc hook variables as deprecated.
58243         [BZ #11781]
58244         * malloc/malloc.h: Declare malloc hook variables as volatile.
58246         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58247         in last patch.
58249         [BZ #11799]
58250         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58251         raise in the comment.
58252         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58253         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58254         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58256 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
58258         [BZ #12811]
58259         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58260         grow the buffers more if it already has to be sufficient.
58261         (build_wcs_upper_buffer): Likewise.
58262         * posix/regexec.c (check_matching): Likewise.
58263         (clean_state_log_if_needed): Likewise.
58264         (extend_buffers): Don't enlarge buffers beyond size of the input
58265         buffer.
58266         Patches mostly by Emil Wojak <emil@wojak.eu>.
58267         * posix/bug-regex32.c: New file.
58268         * posix/Makefile (tests): Add bug-regex32.
58270         * locale/findlocale.c (_nl_find_locale): Return right away if
58271         _nl_explode_name failed.
58272         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58274         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58276         * debug/xtrace.sh: Unify messages.
58277         * malloc/memusage.sh: Likewise.
58279         [BZ #12813]
58280         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58281         time symbol from vDSO.  Substitute with vsyscall if not available.
58282         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58283         __vdso_time.
58285         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58286         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58287         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58288         Add sendmmsg and internal_sendmmsg.
58289         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58290         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58291         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58293         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58294         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58295         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58297 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
58299         [BZ #12813]
58300         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58301         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
58302         available.
58303         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58304         __vdso_getcpu.
58306         [BZ #12814]
58307         * iconvdata/Makefile (tests): Add bug-iconv9.
58308         * iconvdata/bug-iconv9.c: New file.
58310 2011-05-27  Andreas Schwab  <schwab@redhat.com>
58312         [BZ #12814]
58313         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58315 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
58317         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58318         (struct user_regs_struct): Change intcs field back to cs.
58320 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
58322         * po/ja.po: Update from translation team.
58324 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
58326         [BZ #12795]
58327         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58328         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58330 2011-05-20  Andreas Schwab  <schwab@redhat.com>
58332         * stdlib/longlong.h: Update from GCC.
58334 2011-05-23  Andreas Schwab  <schwab@redhat.com>
58336         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58337         parameter name.
58338         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58339         Add parameter name.
58340         (__sysconf): Pass it down.
58342 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
58344         [BZ #12671]
58345         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58346         some situations.
58347         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58348         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58349         add in in __libc_use_alloca calls.  Adjust callers.
58350         (glob): Use malloc in some situations.
58352         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58353         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58354         pltexit.
58356 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
58358         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58359         and CLOCK_BOOTTIME_ALARM.
58361         [BZ #12782]
58362         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58363         is returned.
58365         * string/_strerror.c (__strerror_r): Print negative errors as signed
58366         numbers.
58368         [BZ #12777]
58369         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58370         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58371         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58373         * configure.in: Fix typo in redirection and correct removal of test
58374         files in two cases.
58376         [BZ #12788]
58377         * locale/setlocale.c (new_composite_name): Fix test to check for
58378         identical name of all categories.
58380         [BZ #12792]
58381         * libio/filedoalloc.c (local_isatty): New function.
58382         (_IO_file_doallocate): Use local_isatty.
58383         * stdio-common/perror.c (perror): In case a new stream is used
58384         forward the stream error.
58385         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58386         error flag.
58388 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
58390         [BZ #11869]
58391         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58392         alloca.
58393         * include/alloca.h (extend_alloca_account): Define.
58395         [BZ #11857]
58396         * posix/regex.h: Fix comments with documentation of user-accessible
58397         fields after compilation and describe correct free'ing of pattern
58398         after re_compile_pattern.
58399         Patch by Reuben Thomas <rrt@sc3d.org>.
58401 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
58403         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58404         and -mno-altivec to prevent the compiler from using Altivec and/or
58405         VSX instructions when the corresponding registers are not available.
58407 2011-05-19  Andreas Schwab  <schwab@redhat.com>
58409         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58411 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
58413         * libio/freopen.c (freopen): Use __dup2, not dup2.
58414         * libio/freopen64.c (freopen64): Likewise.
58416 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58418         [BZ #12775]
58419         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58420         * math/Makefile (tests): Add test-powl.
58421         (CFLAGS-test-powl.c): Define.
58422         * math/test-powl.c: New file.
58424 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58426         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58428 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
58430         [BZ #11837]
58431         * iconvdata/gb18030.c: Update to GB18020-2005.
58433 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
58435         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58436         RE_SYNTAX_POSIX_AWK): Update to match recent development.
58437         Patch by Aharon Robbins <arnold@skeeve.com>.
58439         [BZ #11892]
58440         * stdlib/putenv.c (putenv): Don't always create copy of the variable
58441         on the stack.
58443         [BZ #11895]
58444         * misc/pselect.c (__pselect): Handle timeout value errors hidden
58445         through underflows.
58447         [BZ #12766]
58448         * misc/error.c (error_at_line): Ensure file_name and old_file_name
58449         point to strings before performing equality test for error_one_per_line
58450         mode.
58452         [BZ #11697]
58453         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58455         [BZ #11820]
58456         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58457         (struct user_fpregs_struct): Avoid __uint*_t types.
58459         [BZ #6420]
58460         * malloc/mtrace.c (tr_where): Add additional parameter to point to
58461         symbol info.  Use it instead of calling _dl_addr locally.
58462         (lock_and_info): New function.
58463         (tr_freehook): Call lock_and_info and pass symbol info as additional
58464         parameter to tr_where.
58465         (tr_mallochook): Likewise.
58466         (tr_reallochook): Likewise.
58467         (tr_memalignhook): Likewise.
58469         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
58470         used and couldn't be at all thread-safe.
58472 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
58474         * libio/freopen.c (freopen): Don't close old file descriptor
58475         before the new one is opened.  Instead dup the new file descriptor
58476         to the old one after the new stream is created.
58477         * libio/freopen64.c (freopen64): Likewise.
58478         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58479         * libio/fileops.c (_IO_new_file_close_it): Handle new
58480         _IO_FLAGS2_NOCLOSE flag.
58481         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58482         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58483         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58484         _IO_FLAGS2_NOCLOSE flag.
58485         * include/unistd.h: Add hidden_proto for dup3.
58486         Define __have_dup3.
58487         * io/dup3.c: Define hidden symbol.
58488         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58490         [BZ #7101]
58491         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58492         when an incomplete long option is used.
58493         * posix/tst-getopt_long1.c: New file.
58494         * posix/Makefile (tests): Add tst-getopt_long1.
58496         [BZ #10138]
58497         * scripts/config.guess: Update from autoconf-2.68.
58498         * scripts/config.sub: Likewise.
58500         [BZ #10157]
58501         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58502         tests into ...
58503         (has_cpuclock): ...this.  New function.
58504         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58505         macro here based on has_cpuclock code.
58507         [BZ #10149]
58508         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58509         First byte (not low byte) is now always NUL.
58510         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58512         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58513         Use non-cancelable interfaces.
58515         [BZ #9809]
58516         * locale/iso-639.def: Add entry for Sorani.
58518         [BZ #11901]
58519         * include/stdlib.h: Move include protection to the right place.
58520         Define abort_msg_s.  Declare __abort_msg with it.
58521         * stdlib/abort.c (__abort_msg): Adjust type.
58522         * assert/assert.c (__assert_fail_base): New function.  Majority
58523         of code from __assert_fail.  Allocate memory for __abort_msg with
58524         mmap.
58525         (__assert_fail): Now call __assert_fail_base.
58526         * assert/assert-perr.c: Remove bulk of implementation.  Use
58527         __assert_fail_base.
58528         * include/assert.hL Declare __assert_fail_base.
58529         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58530         mmap.
58531         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58533 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
58535         [BZ #11952]
58536         [BZ #12453]
58537         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58538         until all modules are registered in the DTV.
58539         * elf/Makefile: Add rules to build and run tst-tls19.
58540         * elf/tst-tls19.c: New file.
58541         * elf/tst-tls19mod1.c: New file.
58542         * elf/tst-tls19mod2.c: New file.
58543         * elf/tst-tls19mod3.c: New file.
58544         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58546         [BZ #12083]
58547         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58548         correctly.
58550         [BZ #12601]
58551         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58552         two-byte sequence errors.
58553         * iconvdata/Makefile (tests): Add bug-iconv8.
58554         * iconvdata/bug-iconv8.c: New file.
58556         [BZ #12626]
58557         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58558         buf2 definition.
58560         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58562         [BZ #12432]
58563         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58564         (dummy_getcfa): New function.
58565         (init): Get _Unwind_GetCFA address, use dummy if not found.
58566         (backtrace_helper): In recursion check, also check whether CFA changes.
58567         (__backtrace): Completely initialize arg.
58569         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58570         storing incomplete byte sequence in state object.  Avoid testing for
58571         guaranteed too small input if we know there is enough data available.
58573 2011-05-11  Andreas Schwab  <schwab@redhat.com>
58575         * Makeconfig (+link-pie): Indent.
58576         * Rules (binaries-pie): Define if $(have-fpie) and
58577         $(build-shared).
58578         (binaries-shared): Also filter out $(binaries-pie).
58579         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58580         * nscd/Makefile (others-pie): Add nscd.
58581         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58582         ($(objpfx)nscd): Remove command override.
58583         * login/Makefile (others-pie): Add pt_chown.
58584         ($(objpfx)pt_chown): Remove command override.
58585         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58586         remove command overrides.
58588 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
58590         * libio/tst_putwc.c: Fix error messages.
58592         [BZ #12724]
58593         * libio/fileops.c (_IO_new_file_close_it): Always flush when
58594         currently writing and seek to current position when not.
58595         * libio/Makefile (tests): Add bug-fclose1.
58596         * libio/bug-fclose1.c: New file.
58598 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
58600         [BZ #12511]
58601         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58602         don't set DF_1_NODELETE here.
58603         (do_lookup_x): When entering new entry test for copy relocation
58604         and if necessary set DF_1_NODELETE flag.
58605         * elf/tst-unique4.cc: New file.
58606         * elf/tst-unique4.h: New file.
58607         * elf/tst-unique4lib.cc: New file.
58608         * elf/Makefile: Add rules to build and run tst-unique4.
58609         Patch by Piotr Bury <pbury@goahead.com>.
58611 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
58613         [BZ #12052]
58614         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58616         [BZ #12625]
58617         * misc/mntent_r.c (addmntent): Flush the stream after the output
58619         [BZ #12393]
58620         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58621         (is_trusted_path_normalize): Skip initial colon.  Append slash
58622         to empty buffer.  Duplicate is_trusted_path code but allow
58623         constructed patch to be prefix.
58624         (is_dst): Allow $ORIGIN followed by /.
58625         (_dl_dst_substitute): Correct clearing of check_for_trusted.
58626         Correct testing of result of is_trusted_path_normalize
58627         (decompose_rpath): Fix warning.
58629 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
58631         [BZ #11257]
58632         * grp/initgroups.c (internal_getgrouplist): When we found the service
58633         list through the initgroups entry in nsswitch.conf do not always
58634         continue on a successful lookup.  Don't always use the
58635         __nss_group_database value if it is set.
58636         * nss/nsswitch.conf (initgroups): Change action for successful db
58637         lookup to continue for compatibility.
58639 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
58641         [BZ #11532]
58642         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58643         and CP774 modules.
58644         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58645         and CP774 modules.
58646         * iconvdata/tst-tables.sh: Likewise.
58647         * iconvdata/cp770.c: New file.
58648         * iconvdata/cp771.c: New file.
58649         * iconvdata/cp772.c: New file.
58650         * iconvdata/cp773.c: New file.
58651         * iconvdata/cp774.c: New file.
58652         * iconvdata/testdata/CP770: New file.
58653         * iconvdata/testdata/CP770..UTF8: New file.
58654         * iconvdata/testdata/CP771: New file.
58655         * iconvdata/testdata/CP771..UTF8: New file.
58656         * iconvdata/testdata/CP772: New file.
58657         * iconvdata/testdata/CP772..UTF8: New file.
58658         * iconvdata/testdata/CP773: New file.
58659         * iconvdata/testdata/CP773..UTF8: New file.
58660         * iconvdata/testdata/CP774: New file.
58661         * iconvdata/testdata/CP774..UTF8: New file.
58663         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58664         END CHARMAP line.
58665         * iconvdata/gen-8bit-gap.sh: Likewise.
58666         * iconvdata/gen-8bit.sh: Likewise.
58668         * locale/iso-639.def: Add ary entry.
58670         [BZ #11258]
58671         * locale/C-translit.h.in: Add U20A1 transliteration.
58673         [BZ #12178]
58674         * locale/iso-639.def: Add wae entry.
58675         Patch by Kevin Bortis <bortis@translate-wae.ch>.
58677         [BZ #12545]
58678         * locale/programs/localedef.c (construct_output_path): Use ssize_t
58679         for n.
58681         [BZ #12711]
58682         * locale/C-translit.h.in: Add entry for U20B9.
58683         Patch by pravin.d.s@gmail.com.
58685 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
58687         [BZ #12713]
58688         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58689         ENAMETOOLONG use generic getcwd.
58690         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
58691         in rtld.  Use *stat64.
58692         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58693         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58694         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58695         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58696         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58697         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58698         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58699         __fstatat64 macros.
58700         * include/dirent.h: Add libc_hidden_proto for rewinddir.
58701         * dirent/rewinddir.c: Add libc_hidden_def.
58702         * sysdeps/mach/hurd/rewinddir.c: Likewise.
58703         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
58705         * include/dirent.h (__alloc_dir): Add flags parameter.
58706         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58707         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58708         __alloc_dir.
58709         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
58710         from fdopendir if O_CLOEXEC is already set.
58712 2011-03-15  Alan Modra  <amodra@gmail.com>
58714         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58715         l_tls_firstbyte_offset non-zero.  Save padding offset in
58716         l_tls_firstbyte_offset for later use.
58717         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58718         freeing static tls block.
58720 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
58722         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58723         where #ifdef was intended.  The intent is to prevent ARG_MAX from
58724         being defined by the kernel headers.
58726 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
58728         [BZ #12734]
58729         * resolv/resolv.h: Define RES_NOTLDQUERY.
58730         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58731         no-tld-query and set RES_NOTLDQUERY.
58732         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58733         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58734         modern BIND to search name as TLD unless forbidden.
58736 2011-05-07  Petr Baudis  <pasky@suse.cz>
58737             Ulrich Drepper  <drepper@gmail.com>
58739         [BZ #12393]
58740         * elf/dl-load.c (fillin_rpath): Move trusted path check...
58741         (is_trusted_path): ...to here.
58742         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58743         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58744         using is_trusted_path_normalize() in setuid scripts.
58746 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58748         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58749         __BEGIN/__END_DECLS.
58751 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
58753         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58754         NSS_STATUS_NOTFOUND if no record was found.
58756 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58758         * sunrpc/Makefile (headers): Add rpc/netdb.h.
58759         (headers-not-in-tirpc): Remove rpc/netdb.h
58760         * resolv/netdb.h: Revert last change.
58762 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58764         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58765         circular dependency between libgcc.a and libc.a.
58767 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58769         * resolv/netdb.h: Don't include <rpc/netdb.h>.
58770         * nis/Makefile: Don't install rpcsvc/*.
58771         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58772         instead of <rpc/types.h>.
58773         (MAXHOSTNAMELEN): Define.
58775 2011-05-03  Andreas Schwab  <schwab@redhat.com>
58777         * elf/ldconfig.c (add_dir): Don't crash on empty path.
58779 2011-04-28  Maciej Babinski  <mbabinski@google.com>
58781         [BZ #12714]
58782         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58783         gethostbyname4_r when IPv6 results are possible.
58785 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
58787         [BZ #12723]
58788         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58789         _PC_PIPE_BUF handling.
58791 2011-04-30  Bruno Haible  <bruno@clisp.org>
58793         [BZ #12717]
58794         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58795         * resolv/netdb.h (getnameinfo): Change type of flags parameter
58796         to 'int'.
58797         * inet/getnameinfo.c (getnameinfo): Likewise.
58799 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
58801         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58802         to groups setting in database lookup.
58803         * nss/nsswitch.conf: Add initgroups entry.
58805 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
58807         [BZ #12685]
58808         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58809         mode string.
58810         Patch by Eric Blake <eblake@redhat.com>.
58812 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
58814         * sunrpc/Makefile (need-export-routines): Add svc_run.
58815         (routines): Remove svc_run.
58816         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58817         * sunrpc/clnt_perr.c (clnt_perrno): Export.
58818         * sunrpc/svc_run.c (svc_run): Likewise.
58819         * sunrpc/svc_udp.c (svcudp_create): Likewise.
58821 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
58823         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58824         problem in reallocation in last patch.
58826 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
58828         * sunrpc/Makefile: Move inclusion of Rules.
58830 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58832         * nss/nss_files/files-initgroups.c: New file.
58833         * nss/Makefile (libnss_files-routines): Add files-initgroups.
58834         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58835         _nss_files_initgroups_dyn.
58837 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
58839         * elf/elf.h (R_ARM_IRELATIVE): Define.
58841 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58843         * po/ru.po: Update from translation team.
58845 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58847         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58848         dependencies.
58850 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
58852         [BZ #12653]
58853         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58854         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58855         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58856         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58857         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58859 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
58861         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58862         differing bytes.
58863         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58864         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58865         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58867 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58869         [BZ #12420]
58870         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58871         storing it.
58872         * stdlib/bug-getcontext.c: New file.
58873         * stdlib/Makefile: Add rules to build and run bug-getcontext.
58875 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58877         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58878         instructions into .machine "z9-109".
58879         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58880         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58882 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58884         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58885         between environment variables and auxiliary vector.
58887 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
58889         * Makefile: Add rules to build linkobj/libc.so.
58890         * include/libc-symbols.h: Define libc_hidden_nolink.
58891         * include/rpc/auth.h: Mark functions which are to be hidden.
58892         * include/rpc/auth_des.h: Likewise.
58893         * include/rpc/auth_unix.h: Likewise.
58894         * include/rpc/clnt.h: Likewise.
58895         * include/rpc/des_crypt.h: Likewise.
58896         * include/rpc/key_prot.h: Likewise.
58897         * include/rpc/pmap_clnt.h: Likewise.
58898         * include/rpc/pmap_prot.h: Likewise.
58899         * include/rpc/pmap_rmt.h: Likewise.
58900         * include/rpc/rpc_msg.h: Likewise.
58901         * include/rpc/svc.h: Likewise.
58902         * include/rpc/svc_auth.h: Likewise.
58903         * include/rpc/xdr.h: Likewise.
58904         * nis/Makefile: Link all DSOs against linkobj/libc.so.
58905         * nss/Makefile: Likewise.
58906         * sunrpc/Makefile: Don't install headers.  Build library with normal
58907         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
58908         * sunrpc/auth_des.c: Hide exported symbols by default, export some
58909         for the compat linking library.  Remove use of INTDEF/INTUSE.
58910         * sunrpc/auth_none.c: Likewise.
58911         * sunrpc/auth_unix.c: Likewise.
58912         * sunrpc/authdes_prot.c: Likewise.
58913         * sunrpc/authuxprot.c: Likewise.
58914         * sunrpc/clnt_gen.c: Likewise.
58915         * sunrpc/clnt_perr.c: Likewise.
58916         * sunrpc/clnt_raw.c: Likewise.
58917         * sunrpc/clnt_simp.c: Likewise.
58918         * sunrpc/clnt_tcp.c: Likewise.
58919         * sunrpc/clnt_udp.c: Likewise.
58920         * sunrpc/clnt_unix.c: Likewise.
58921         * sunrpc/des_crypt.c: Likewise.
58922         * sunrpc/des_soft.c: Likewise.
58923         * sunrpc/get_myaddr.c: Likewise.
58924         * sunrpc/key_call.c: Likewise.
58925         * sunrpc/key_prot.c: Likewise.
58926         * sunrpc/netname.c: Likewise.
58927         * sunrpc/pm_getmaps.c: Likewise.
58928         * sunrpc/pm_getport.c: Likewise.
58929         * sunrpc/pmap_clnt.c: Likewise.
58930         * sunrpc/pmap_prot.c: Likewise.
58931         * sunrpc/pmap_prot2.c: Likewise.
58932         * sunrpc/pmap_rmt.c: Likewise.
58933         * sunrpc/publickey.c: Likewise.
58934         * sunrpc/rpc_cmsg.c: Likewise.
58935         * sunrpc/rpc_common.c: Likewise.
58936         * sunrpc/rpc_dtable.c: Likewise.
58937         * sunrpc/rpc_prot.c: Likewise.
58938         * sunrpc/rpc_thread.c: Likewise.
58939         * sunrpc/rtime.c: Likewise.
58940         * sunrpc/svc.c: Likewise.
58941         * sunrpc/svc_auth.c: Likewise.
58942         * sunrpc/svc_authux.c: Likewise.
58943         * sunrpc/svc_raw.c: Likewise.
58944         * sunrpc/svc_run.c: Likewise.
58945         * sunrpc/svc_simple.c: Likewise.
58946         * sunrpc/svc_tcp.c: Likewise.
58947         * sunrpc/svc_udp.c: Likewise.
58948         * sunrpc/svc_unix.c: Likewise.
58949         * sunrpc/svcauth_des.c: Likewise.
58950         * sunrpc/xcrypt.c: Likewise.
58951         * sunrpc/xdr.c: Likewise.
58952         * sunrpc/xdr_array.c: Likewise.
58953         * sunrpc/xdr_float.c: Likewise.
58954         * sunrpc/xdr_intXX_t.c: Likewise.
58955         * sunrpc/xdr_mem.c: Likewise.
58956         * sunrpc/xdr_rec.c: Likewise.
58957         * sunrpc/xdr_ref.c: Likewise.
58958         * sunrpc/xdr_sizeof.c: Likewise.
58959         * sunrpc/xdr_stdio.c: Likewise.
58961 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
58963         [BZ #12650]
58964         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58965         * sysdeps/ia64/dl-tls.h: Likewise.
58966         * sysdeps/powerpc/dl-tls.h: Likewise.
58967         * sysdeps/s390/dl-tls.h: Likewise.
58968         * sysdeps/sh/dl-tls.h: Likewise.
58969         * sysdeps/sparc/dl-tls.h: Likewise.
58970         * sysdeps/x86_64/dl-tls.h: Likewise.
58971         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58973 2011-03-14  Andreas Schwab  <schwab@redhat.com>
58975         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58976         rpath element also skip the following colon.
58977         (expand_dynamic_string_token): Add is_path parameter and pass
58978         down to DL_DST_REQUIRED and _dl_dst_substitute.
58979         (decompose_rpath): Call expand_dynamic_string_token with
58980         non-zero is_path.  Ignore empty rpaths.
58981         (_dl_map_object_from_fd): Call expand_dynamic_string_token
58982         with zero is_path.
58984 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
58986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58987         Make cancelable.
58989 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
58991         [BZ #12655]
58992         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58993         Patch by Filipe David Manana <fdmanana@apache.org>.
58995 2011-04-07  Andreas Schwab  <schwab@redhat.com>
58997         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58998         Maintain aligned stack.
58999         (CHECK_RSP): Remove unused macro.
59001 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
59003         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
59004         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
59006 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
59008         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
59010         * include/features.h: Mention __USE_XOPEN2K8 in comment.
59012 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
59014         [BZ #12518]
59015         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
59016         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
59017         * sysdeps/x86_64/memmove.c: New file.
59018         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
59019         (memcpy): Renamed to ...
59020         (__new_memcpy): This.
59021         (memcpy): Provide GLIBC_2_14 memcpy.
59022         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
59023         (memcpy): Provide GLIBC_2_2_5 memcpy.
59025 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59027         [BZ #12631]
59028         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
59030 2011-03-30  Andreas Schwab  <schwab@redhat.com>
59032         * misc/syncfs.c: New file.
59033         * misc/Makefile (routines): Add syncfs.
59034         * posix/unistd.h: Declare syncfs.
59035         * sysdeps/unix/syscalls.list: Add syncfs.
59037 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59039         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
59040         open_by_handle_at.
59041         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
59042         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59043         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59044         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59045         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59046         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
59047         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59049 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59051         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
59052         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59053         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
59054         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59055         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59056         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59057         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59059         * io/Makefile: Compile fallocate.c, fallocate64.c, and
59060         sync_file_range.c with -fexceptions.
59061         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
59062         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
59063         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
59064         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
59065         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
59066         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
59067         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
59068         sync_file_range as cancellation point
59069         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
59070         now a wrapper around __call_sync_file_range with cancellation handling.
59071         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
59072         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
59073         function name to __call_sync_file_range.
59074         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
59075         Add call_sync_file_range.
59077 2011-04-01  Andreas Schwab  <schwab@redhat.com>
59079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59080         bits/timex.h.
59082 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
59084         * iconv/iconv.h: Fix typo in comment.
59085         * io/fcntl.h: Likewise.
59086         * libio/stdio.h: Likewise.
59087         * posix/spawn.h: Likewise.
59088         * posix/unistd.h: Likewise.
59089         * stdlib/stdlib.h: Likewise.
59090         * time/time.h: Likewise.
59091         * wcsmbs/wchar.h: Likewise.
59093         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
59094         open_by_handle): Add.
59095         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
59096         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
59097         Augment a few comments.
59098         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
59099         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59100         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
59101         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59102         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
59103         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
59104         open_by_handle.
59106         * io/fcntl.h (AT_EMPTY_PATH): Define.
59108 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
59110         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
59111         * sysdeps/unix/sysv/linux/bits/time.h: New file.
59112         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
59113         to...
59114         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
59115         * Versions.def: Add GLIBC_2.14.
59116         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
59117         Export.
59119 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
59121         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
59122         round counter.
59123         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59125 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
59127         [BZ #12597]
59128         * string/test-strncmp.c (do_page_test): New function.
59129         (check2): Likewise.
59130         (test_main): Call check2.
59131         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
59133 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
59135         [BZ #12587]
59136         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59137         Handle cache information in CPU leaf 4.
59138         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59140 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
59142         [BZ #12583]
59143         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59144         character representation.
59145         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59147 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
59149         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59150         END(__isnan) to END(__isnanf) to match function entry point/label
59151         EALIGN(__isnanf,...).
59153 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
59155         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59157 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
59159         [BZ #12510]
59160         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59161         copy from the symbol referenced in the relocation to initialize the
59162         used variable.
59163         Patch by Piotr Bury <pbury@goahead.com>.
59164         * elf/Makefile: Add rules to build and tst-unique3.
59165         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59166         * elf/tst-unique3.cc: New file.
59167         * elf/tst-unique3.h: New file.
59168         * elf/tst-unique3lib.cc: New file.
59169         * elf/tst-unique3lib2.cc: New file.
59171         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59173 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
59175         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59176         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
59177         to _start.
59179 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
59181         * elf/dl-load.c (_dl_map_object): If we are looking for the first
59182         to-be-loaded object along a path to loader is ld.so.
59184 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59185             Ulrich Drepper  <drepper@gmail.com>
59187         * sysdeps/x86_64/memset.S: After aligning destination, code
59188         branches to different locations depending on the value of
59189         misalignment, when multiarch is enabled. Fix this.
59191 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59193         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59194         Set _x86_64_preferred_memory_instruction for AMD processsors.
59195         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59196         Set bit_Prefer_SSE_for_memop for AMD processors.
59198 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
59200         * libio/fmemopen.c (fmemopen): Optimize a bit.
59202 2011-03-03  Andreas Schwab  <schwab@redhat.com>
59204         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59206 2011-03-03  Roland McGrath  <roland@redhat.com>
59208         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59210 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
59212         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59213         __bzero_ultra1 instead of __memset_ultra1.
59215 2011-02-23  Andreas Schwab  <schwab@redhat.com>
59216             Ulrich Drepper  <drepper@gmail.com>
59218         [BZ #12509]
59219         * include/link.h (struct link_map): Add l_orig_initfini.
59220         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59221         returning unsuccessfully.
59222         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59223         close of a file loaded at startup, restore the original l_initfini
59224         list.
59225         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59226         list, store the pointer.
59227         * elf/Makefile ($(objpfx)noload-mem): New rule.
59228         (noload-ENV): Define.
59229         (tests): Add $(objpfx)noload-mem.
59230         * elf/noload.c: Include <memcheck.h>.
59231         (main): Call mtrace.  Close all opened handles.
59233 2011-02-17  Andreas Schwab  <schwab@redhat.com>
59235         [BZ #12454]
59236         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59237         dependencies are missing.
59239 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59241         Fix __if_freereq crash: Unlike the generic version which uses free,
59242         Hurd needs munmap.
59243         * sysdeps/mach/hurd/ifreq.h: New file.
59245 2011-01-27  Petr Baudis  <pasky@suse.cz>
59246             Ulrich Drepper  <drepper@gmail.com>
59248         [BZ 12445]#
59249         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59250         to extend_alloca().
59251         * stdio-common/bug23.c: New file.
59252         * stdio-common/Makefile (tests): Add bug23.
59254 2010-09-28  Andreas Schwab  <schwab@redhat.com>
59255             Ulrich Drepper  <drepper@gmail.com>
59257         [BZ #12489]
59258         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59259         before performing relro protection.  At old place add assertion
59260         to make sure nothing changed.
59262 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
59263             Glauber de Oliveira Costa  <glommer@gmail.com>
59265         * elf/elf.h: Add new ARM TLS relocs.
59267 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
59269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59270         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59271         cast from r3.
59272         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
59273         'tests' variable.
59274         * sysdeps/wordsize-64/tst-writev.c: New file.
59276 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
59278         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59279         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59280         insns in _dl_start to prevent a TOC reference before relocs are
59281         resolved.
59283 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
59285         [BZ #12469]
59286         * Makeconfig: Remove RANLIB definition.
59287         * Makerules: Don't use RANLIB.
59288         * aclocal.m4: Remove ranlib test.
59289         * configure.in: No need to check for ranlib.
59290         * elf/rtld-Rules: Don't use RANLIB.
59292 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59294         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59295         protection macro.
59296         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59297         inclusion protection macro.
59299         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59300         SIGRTMIN and SIGRTMAX and print information in that case only when
59301         SIGRTMIN is defined.
59303 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
59305         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59306         arginfo fn returning -1.
59308         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59309         and thousands string is zero terminated.
59311 2011-02-03  Andreas Schwab  <schwab@redhat.com>
59313         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59314         sysdeps/unix/sysv/linux/bits/socket.h.
59316 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59318         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59319         (__CPU_COUNT): Remove old macros.
59320         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59321         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59322         (__CPU_ALLOC, __CPU_FREE): Add macros.
59323         (__sched_cpualloc, __sched_cpufree): Add declarations.
59325 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
59327         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59328         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59329         * nscd/aicache.c (addhstaiX): Return timeout of added value.
59330         (readdhstai): Return value of addhstaiX call.
59331         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59332         (addgrbyX): Return value returned by cache_addgr.
59333         (readdgrbyname): Return value returned by addgrbyX.
59334         (readdgrbygid): Likewise.
59335         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59336         (addpwbyX): Return value returned by cache_addpw.
59337         (readdpwbyname): Return value returned by addhstbyX.
59338         (readdpwbyuid): Likewise.
59339         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59340         (addservbyX): Return value returned by cache_addserv.
59341         (readdservbyname): Return value returned by addservbyX:
59342         (readdservbyport): Likewise.
59343         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59344         (addhstbyX): Return value returned by cache_addhst.
59345         (readdhstbyname): Return value returned by addhstbyX.
59346         (readdhstbyaddr): Likewise.
59347         (readdhstbynamev6): Likewise.
59348         (readdhstbyaddrv6): Likewise.
59349         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59350         (readdinitgroups): Return value returned by addinitgroupsX.
59351         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59352         (prune_cache): Keep track of timeout value of re-added entries.
59353         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59354         * nscd/nscd.h: Adjust prototypes of readd* functions.
59356 2011-02-04  Roland McGrath  <roland@redhat.com>
59358         * nis/nis_server.c (nis_servstate): Use the right name for 0.
59359         (nis_stats): Likewise.
59360         * nis/nis_modify.c (nis_modify): Likewise.
59361         * nis/nis_remove.c (nis_remove): Likewise.
59362         * nis/nis_add.c (nis_add): Likewise.
59364         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59366         * posix/fnmatch_loop.c: Add some consts.
59368         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59370 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
59372         [BZ #12460]
59373         * config.make.in (config-cflags-novzeroupper): Define.
59374         * configure.in: Substitute libc_cv_cc_novzeroupper.
59375         * elf/Makefile (AVX-CFLAGS): Define.
59376         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59377         (CFLAGS-tst-auditmod4a.c): Likewise.
59378         (CFLAGS-tst-auditmod4b.c): Likewise.
59379         (CFLAGS-tst-auditmod6b.c): Likewise.
59380         (CFLAGS-tst-auditmod6c.c): Likewise.
59381         (CFLAGS-tst-auditmod7b.c): Likewise.
59382         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59384 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
59386         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59387         function to the callback.
59388         Patch partly by Jiri Olsa <jolsa@redhat.com>.
59390 2011-02-02  Andreas Schwab  <schwab@redhat.com>
59392         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59393         of errno.
59395 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
59397         [BZ #11724]
59398         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59399         of constructors.
59400         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59401         of destructors.
59402         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59404         [BZ #11724]
59405         * elf/Makefile: Add rules to build and run new test.
59406         * elf/tst-initorder.c: New file.
59407         * elf/tst-initorder.exp: New file.
59408         * elf/tst-initordera1.c: New file.
59409         * elf/tst-initordera2.c: New file.
59410         * elf/tst-initordera3.c: New file.
59411         * elf/tst-initordera4.c: New file.
59412         * elf/tst-initorderb1.c: New file.
59413         * elf/tst-initorderb2.c: New file.
59414         * elf/tst-order-a1.c: New file.
59415         * elf/tst-order-a2.c: New file.
59416         * elf/tst-order-a3.c: New file.
59417         * elf/tst-order-a4.c: New file.
59418         * elf/tst-order-b1.c: New file.
59419         * elf/tst-order-b2.c: New file.
59420         * elf/tst-order-main.c: New file.
59421         New test case by George Gensure <werkt0@gmail.com>.
59423 2010-10-01  Andreas Schwab  <schwab@redhat.com>
59425         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59426         decoding ACE if AI_CANONIDN.
59428 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
59430         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59432 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
59434         * version.h (RELEASE): Bump for 2.13 release.
59435         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59437         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59439         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59440         MADV_NOHUGEPAGE.
59441         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59442         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59443         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59444         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59445         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59446         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59448         * posix/getconf.c: Update copyright year.
59449         * catgets/gencat.c: Likewise.
59450         * csu/version.c: Likewise.
59451         * debug/catchsegv.sh: Likewise.
59452         * debug/xtrace.sh: Likewise.
59453         * elf/ldconfig.c: Likewise.
59454         * elf/ldd.bash.in: Likewise.
59455         * elf/sprof.c (print_version): Likewise.
59456         * iconv/iconv_prog.c: Likewise.
59457         * iconv/iconvconfig.c: Likewise.
59458         * locale/programs/locale.c: Likewise.
59459         * locale/programs/localedef.c: Likewise.
59460         * malloc/memusage.sh: Likewise.
59461         * malloc/mtrace.pl: Likewise.
59462         * nscd/nscd.c (print_version): Likewise.
59463         * nss/getent.c: Likewise.
59465         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59466         PF_CAIF, and PF_ALG.
59467         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59469 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
59471         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59472         (modules-names): Use them.
59473         (ifunc-test-modules, ifunc-pie-tests): Define.
59474         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59475         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59476         (test-extras): Likewise.
59477         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59478         $(compile-command.c).
59479         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59480         (all-built-dso): Define.
59481         (check-textrel.out, check-execstack.out): Depend on it.
59483         * configure.in: Don't override --enable-multi-arch.
59485 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
59487         [BZ #6812]
59488         * nscd/hstcache.c (tryagain): Define.
59489         (cache_addhst): Return tryagain not notfound for temporary errors.
59490         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59491         failed.
59493 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
59495         [BZ #10563]
59496         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59497         to make the syscall.
59498         * sysdeps/unix/sysv/linux/setgroups.c: New file.
59500         [BZ #12378]
59501         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59502         and fall back to matching as normal character if the string ends before
59503         the matching ']' is found.  This is what POSIX requires.
59504         * posix/testfnm.c: Adjust test result.
59505         * posix/globtest.sh: Adjust test result.  Add new test.
59506         * posix/tst-fnmatch.input: Likewise.
59507         * posix/tst-fnmatch2.c: Add new test.
59509 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
59511         * elf/Makefile (check-execstack): Revert last change.  Depend on
59512         check-execstack.h.
59513         (check-execstack.h): New target.
59514         (generated): Add check-execstack.h.
59515         * elf/check-execstack.c: Include "check-execstack.h".
59516         (main): Revert last change.
59517         (handle_file): Return zero if GNU_STACK is absent and
59518         DEFAULT_STACK_PERMS doesn't include PF_X.
59520 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
59522         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59523         in child fails because the descriptor is already closed.
59524         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59525         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59526         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59528         [BZ #12397]
59529         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59530         syscall.
59532         [BZ #10484]
59533         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59534         temporary buffer used to handle multi lookups locally.
59535         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59537 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59539         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59540         loader is ld.so.
59542 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
59544         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59545         alignment for SSE2.
59547 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59549         [BZ #12394]
59550         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59551         characters.  When rounding increased number of integer digits recompute
59552         number of groups.
59553         * stdio-common/tst-grouping.c: New file.
59554         * stdio-common/Makefile: Add rules to build and run tst-grouping.
59556 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
59558         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59559         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
59561         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59562         void.
59563         * bits/select.h: Likewise.
59565 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
59567         * po/ja.po: Update from translation team.
59569 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
59571         [BZ #11155]
59572         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59573         implementation just like for lxstat, fxstatat, et al.
59575 2010-12-27  Jim Meyering  <meyering@redhat.com>
59577         [BZ #12348]
59578         * posix/regexec.c (build_trtable): Return failure indication upon
59579         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
59581 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
59583         [BZ #12201]
59584         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59585         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59586         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59587         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59589         [BZ #12207]
59590         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59592         [BZ #12204]
59593         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59594         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59596 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
59598         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59599         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59600         script has SORT_BY_INIT_PRIORITY.
59601         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59602         NO_CTORS_DTORS_SECTIONS is defined.
59603         * elf/soinit.c: Likewise.
59604         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59605         NO_CTORS_DTORS_SECTIONS is defined.
59606         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59607         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59608         * sysdeps/sh/init-first.c: Likewise.
59609         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59611 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
59613         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59614         always use the slow path.
59616 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
59618         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59619         similar rule which adds the sysdep directories to the header search in
59620         order to pick up the correct platform stackinfo.h.
59621         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59622         perform test if it is, otherwise return successfully without testing.
59623         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59624         DEFAULT_STACK_PERMS define in stackinfo.h.
59625         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59626         defined in stackinfo.h.
59627         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59628         DEFAULT_STACK_PERMS defined in stackinfo.h.
59629         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59630         * sysdeps/ia64/stackinfo.h: Likewise.
59631         * sysdeps/s390/stackinfo.h: Likewise.
59632         * sysdeps/sh/stackinfo.h: Likewise.
59633         * sysdeps/sparc/stackinfo.h: Likewise.
59634         * sysdeps/x86_64/stackinfo.h: Likewise.
59635         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59636         PF_X for powerpc64.  Retain PF_X for powerpc32.
59638 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
59640         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59641         accurately.
59642         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59643         GETDENTS_64BIT_ALIGNED.
59645 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
59647         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59649 2010-12-10  Andreas Schwab  <schwab@redhat.com>
59651         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59652         _GNU_SOURCE.
59654         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59655         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59656         Remove __restrict.
59657         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59658         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59660 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
59662         [BZ #11655]
59663         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59664         are initialized.
59666 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
59668         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59670 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
59672         * po/it.po: Update from translation team.
59674 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
59676         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59677         unused codes.
59679 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
59681         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59683 2010-11-24  Andreas Schwab  <schwab@redhat.com>
59685         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59686         specially.
59687         (gaih_getanswer_slice): Likewise.
59689 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
59691         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59693 2010-05-31  Petr Baudis  <pasky@suse.cz>
59695         [BZ #11149]
59696         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59697         silently even in the chroot mode.
59699 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
59701         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59702         last patch a bit.  Pretty printing
59704 2010-05-31  Petr Baudis <pasky@suse.cz>
59706         [BZ #10085]
59707         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59708         initialization of skip_initgroups_dyn.
59710 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
59712         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59713         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59715 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
59717         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59719 2010-11-11  Andreas Schwab  <schwab@redhat.com>
59721         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59722         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59723         (tst-fnmatch-ENV): Set MALLOC_TRACE.
59724         ($(objpfx)tst-fnmatch-mem): New rule.
59725         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59726         * posix/tst-fnmatch.c (main): Call mtrace.
59728 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
59730         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59731         Support Intel processor model 6 and model 0x2c.
59733 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
59735         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59736           signed comparison.
59738 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
59740         [BZ #12205]
59741         * string/test-strncasecmp.c (check_result): New function.
59742         (do_one_test): Use it.
59743         (check1): New function.
59744         (test_main): Use it.
59745         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59746         Support strcasecmp and strncasecmp.
59748 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
59750         [BZ #12194]
59751         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59752         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59754 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59756         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59757         IFUNC support.
59758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59759         memset-x86-64.
59760         * sysdeps/x86_64/multiarch/bzero.S: New file.
59761         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59762         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59763         * sysdeps/x86_64/multiarch/memset.S: New file.
59764         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59765         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59766         Set bit_Prefer_SSE_for_memop for Intel processors.
59767         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59768         Define.
59769         (index_Prefer_SSE_for_memop): Define.
59770         (HAS_PREFER_SSE_FOR_MEMOP): Define.
59772 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
59774         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59775         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59777 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
59779         [BZ #12191]
59780         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59781         (__x86_64_raw_data_cache_size_half): Likewise.
59782         (__x86_64_raw_shared_cache_size): Likewise.
59783         (__x86_64_raw_shared_cache_size_half): Likewise.
59785         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59786         (__x86_64_raw_data_cache_size_half): Likewise.
59787         (__x86_64_raw_shared_cache_size): Likewise.
59788         (__x86_64_raw_shared_cache_size_half): Likewise.
59789         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59790         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59791         and __x86_64_raw_shared_cache_size_half.  Round
59792         __x86_64_data_cache_size_half, __x86_64_data_cache_size
59793         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59794         to multiple of 256 bytes.
59796 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
59798         [BZ #12167]
59799         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59800         of inacessible symlinks.  Verify result of symlink before returning it.
59801         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59802         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59804 2010-10-28  Erich Ritz  <erichritz@gmail.com>
59806         * math/math.h (isinf): Fix typo in comment.
59808 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
59810         * po/da.po: Update from translation team.
59812 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
59814         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59815         is added to the list.
59817 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59818             Ulrich Drepper  <drepper@gmail.com>
59820         * elf/dl-object.c (_dl_new_object): Don't append the new object to
59821         the global list here.  Move code to...
59822         (_dl_add_to_namespace_list): ...here.  New function.
59823         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59824         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59825         * elf/dl-load.c (lose): Don't remove the element from the list.
59826         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59827         (_dl_map_object): Likewise.
59829 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
59831         [BZ #12159]
59832         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59833         into all bytes of SSE register.
59834         Patch by Richard Li <richardpku@gmail.com>.
59836 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
59838         [BZ #12140]
59839         * malloc/malloc.c (_int_free): Fill correct number of bytes when
59840         perturbing.
59842 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
59844         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59845         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59846         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59847         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59849         submachine.
59850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59852 2010-10-22  Andreas Schwab  <schwab@redhat.com>
59854         * include/dlfcn.h (__RTLD_SECURE): Define.
59855         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
59856         mode & __RTLD_SECURE instead.
59857         (open_path): Rename preloaded parameter to secure.
59858         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59859         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59860         * elf/dl-deps.c (openaux): Likewise.
59861         * elf/rtld.c (struct map_args): Remove is_preloaded.
59862         (map_doit): Don't use it.
59863         (dl_main): Likewise.
59864         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59865         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59867 2010-09-09  Andreas Schwab  <schwab@redhat.com>
59869         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59870         (sysd-rules-targets): Remove duplicates.
59871         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59872         rtld-%.$o dependency.
59874 2010-10-18  Andreas Schwab  <schwab@redhat.com>
59876         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59877         _dl_map_object do it.
59879 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
59881         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59882         fast fma builtins, define the macros in the C99 standard.
59883         (FP_FAST_FMAF): Likewise.
59884         (FP_FAST_FMAL): Likewise.
59885         * sysdeps/x86_64/bits/mathdef.h: Likewise.
59887         * bits/mathdef.h: Update copyright year.
59888         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59890 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
59892         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59893         builtins, define the macros in the C99 standard.
59894         (FP_FAST_FMAF): Likewise.
59895         (FP_FAST_FMAL): Likewise.
59896         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59897         multiply/add.
59898         (FP_FAST_FMAF): Likewise.
59900 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
59902         [BZ #3268]
59903         * math/libm-test.inc (fma_test): Some new testcases.
59904         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59905         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59906         y and infinite z.  Do multiplication by C already in long double.
59907         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59908         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59909         y and infinite z.  Do bitwise or of inexact bit into u.d.
59910         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59911         * sysdeps/i386/fpu/s_fmaf.S: Removed.
59912         * sysdeps/i386/fpu/s_fma.S: Removed.
59913         * sysdeps/i386/fpu/s_fmal.S: Removed.
59915 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
59917         [BZ #3268]
59918         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59919         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59920         computation is not scheduled after fetestexcept.  Fix value
59921         of minimum denormal long double.
59923 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
59925         [BZ #3268]
59926         * math/libm-test.inc (fma_test): Add some more tests.
59927         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59928         correctly.
59930 2010-10-15  Andreas Schwab  <schwab@redhat.com>
59932         * scripts/data/localplt-s390-linux-gnu.data: New file.
59933         * scripts/data/localplt-s390x-linux-gnu.data: New file.
59935 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
59937         [BZ #3268]
59938         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59939         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59940         instead of dbl-64.
59941         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59942         inlines.
59943         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59945         if one of x and y is very large and the other is subnormal.
59946         * sysdeps/s390/fpu/s_fmaf.c: New file.
59947         * sysdeps/s390/fpu/s_fma.c: New file.
59948         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59949         * sysdeps/powerpc/fpu/s_fma.S: New file.
59950         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59951         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59952         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59954 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
59956         [BZ #3268]
59957         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59958         fma tests.
59959         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59960         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59961         * sysdeps/i386/i686/multiarch/s_fma.c: Include
59962         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59963         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59964         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59965         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59967 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
59969         [BZ #12078]
59970         * posix/regcomp.c (parse_branch): One more memory leak plugged.
59971         * posix/bug-regex31.input: Add test case.
59973 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59975         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59976         * posix/bug-regex31.input: New file.
59978         [BZ #12078]
59979         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59980         (parse_sub_exp): Fix last change, use postorder.
59982         * posix/bug-regex31.c: New file.
59983         * posix/Makefile: Add rules to build and run bug-regex31.
59985         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59987         [BZ #12078]
59988         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59990         [BZ #12108]
59991         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59992         to have entries in sys_siglist.
59994         [BZ #12093]
59995         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59996         be NULL.
59998 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
60000         [BZ #3268]
60001         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
60002         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
60003         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
60004         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
60005         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
60006         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
60007         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
60008         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
60009         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
60010         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
60011         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
60012         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
60013         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
60014         * math/ftestexcept.c (fetestexcept): Likewise.
60015         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
60016         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
60017         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
60018         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
60019         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
60020         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
60021         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
60023 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
60025         [BZ #12107]
60026         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
60027         newline.
60029 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
60031         * string/bug-strstr1.c: New file.
60032         * string/Makefile: Add rules to build and run bug-strstr1.
60034 2010-10-05  Eric Blake  <eblake@redhat.com>
60036         [BZ #12092]
60037         * string/str-two-way.h (two_way_long_needle): Always clear memory
60038         when skipping input due to the shift table.
60040 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
60042         [BZ #12005]
60043         * malloc/mcheck.c: Handle large requests.
60045         [BZ #12077]
60046         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
60047         for strncmp and strncasecmp.
60048         * string/stratcliff.c: Add tests for strcmp and strncmp.
60049         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
60051 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
60053         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
60054         __set_fpscr.
60056 2010-09-30  Andreas Jaeger  <aj@suse.de>
60058         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
60059         (CGROUP_SUPER_MAGIC): Define.
60060         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60061         Handle btrfs and cgroup file systems.
60062         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
60063         Likewise.
60065 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
60067         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
60068         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
60070 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60072         [BZ #12067]
60073         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
60074         trying to locate the ELF header.
60076 2010-09-27  Andreas Schwab  <schwab@redhat.com>
60078         [BZ #11611]
60079         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
60080         Mask out sign-bit copies when constructing f_fsid.
60082 2010-09-24  Petr Baudis <pasky@suse.cz>
60084         * debug/stack_chk_fail_local.c: Add missing licence exception.
60085         * debug/warning-nop.c: Likewise.
60087 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
60089         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
60090         implementing getdents64 using getdents syscall, set d_type if
60091         __ASSUME_GETDENTS32_D_TYPE.
60093 2010-09-16  Andreas Schwab  <schwab@redhat.com>
60095         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
60096         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
60098 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
60100         [BZ #12037]
60101         * posix/unistd.h: Undo change of feature selection for ftruncate from
60102         2010-01-11.
60104 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
60106         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
60107         detection.
60109 2010-09-20  Andreas Schwab  <schwab@redhat.com>
60111         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
60112         fanotify_mark.
60113         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60115 2010-09-14  Andreas Schwab  <schwab@redhat.com>
60117         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
60118         variables after CHECK_SP call.
60119         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
60121 2010-09-13  Andreas Schwab  <schwab@redhat.com>
60122             Ulrich Drepper  <drepper@redhat.com>
60124         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
60125         re-relocationg ld.so.
60126         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
60127         _dl_init_paths call.
60128         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
60129         here anymore.
60131 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
60133         * resolv/res_init.c (__res_vinit): Count the default server we added.
60135 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
60136             Ulrich Drepper  <drepper@redhat.com>
60138         [BZ #11968]
60139         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60140         (____longjmp_chk): Use %ebx for saving value across system call.
60141         Add unwind info.
60143 2010-09-06  Andreas Schwab  <schwab@redhat.com>
60145         * manual/Makefile: Don't mix pattern rules with normal rules.
60147 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60149         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60150         operation.
60151         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60152         * libio/iofopncook.c (_IO_cookie_init): Likewise.
60153         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60154         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60155         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60156         Likewise.
60158 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
60160         [BZ #11979]
60161         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60162         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60164 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
60166         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60167         * sysdeps/x86_64/addmul_1.S: Likewise.
60168         * sysdeps/x86_64/lshift.S: Likewise.
60169         * sysdeps/x86_64/mul_1.S: Likewise.
60170         * sysdeps/x86_64/rshift.S: Likewise.
60171         * sysdeps/x86_64/sub_n.S: Likewise.
60172         * sysdeps/x86_64/submul_1.S: Likewise.
60174 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60176         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60177         Define __sched_param instead of SCHED_* and sched_param when
60178         <bits/sched.h> is included with __need_schedparam defined.
60179         * bits/sched.h [__need_schedparam]
60180         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60181         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60182         (__defined_schedparam): Define to 1.
60183         (__sched_param): New structure, identical to sched_param.
60184         (__need_schedparam): Undefine.
60186 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
60188         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60189         (epoll_create1): Declare.
60191         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60193 2010-08-31  Andreas Schwab  <schwab@redhat.com>
60195         [BZ #7066]
60196         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60197         shifting retval into place.
60199 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
60201         * nis/rpcsvc/nis.h: Update copyright notice.
60202         * nis/rpcsvc/nis.x: Likewise.
60203         * nis/rpcsvc/nis_callback.h: Likewise.
60204         * nis/rpcsvc/nis_callback.x: Likewise.
60205         * nis/rpcsvc/nis_object.x: Likewise.
60206         * nis/rpcsvc/nis_tags.h: Likewise.
60207         * nis/rpcsvc/yp.h: Likewise.
60208         * nis/rpcsvc/yp.x: Likewise.
60209         * nis/rpcsvc/ypupd.h: Likewise.
60210         * nis/yp_xdr.c: Likewise.
60211         * nis/ypupdate_xdr.c: Likewise.
60213         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
60214         mainly the body of pmap_getport.  Add parameters to specify timeouts.
60215         (pmap_getport): Use __libc_rpc_getport.
60216         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60217         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60218         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60220 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
60222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60223         fanotify_mark.
60225 2010-08-27  Roland McGrath  <roland@redhat.com>
60227         * sysdeps/i386/i686/multiarch/Makefile
60228         (CFLAGS-varshift.c): New variable.
60230 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
60232         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60233         * sysdeps/i386/i686/multiarch/varshift.c: New file.
60235         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60237         * sysdeps/x86_64/strlen.S: Minimal code improvement.
60239 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
60241         * sysdeps/x86_64/strlen.S: Unroll the loop.
60242         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60243         strlen-sse2 strlen-sse2-bsf.
60244         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60245         __strlen_no_bsf if bit_Slow_BSF is set.
60246         (__strlen_sse42): Removed.
60247         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60248         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60250 2010-08-25  Roland McGrath  <roland@redhat.com>
60252         * sysdeps/x86_64/multiarch/varshift.S: File removed.
60253         * sysdeps/x86_64/multiarch/varshift.c: New file.
60254         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60255         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60256         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60257         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60259 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
60261         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60262         strlen-sse2 strlen-sse2-bsf.
60263         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60264         __strlen_sse2_bsf if bit_Slow_BSF is unset.
60265         (__strlen_sse2): Removed.
60266         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60267         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60269         bit_Slow_BSF for Atom.
60270         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60271         (index_Slow_BSF): Define.
60272         (HAS_SLOW_BSF): Define.
60274 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
60276         [BZ #10851]
60277         * resolv/res_init.c (__res_vinit): When no server address at all
60278         is given default to loopback.
60280 2010-08-24  Roland McGrath  <roland@redhat.com>
60282         * configure.in: Remove config-name.h generation.
60283         * configure: Regenerated.
60284         * config-name.in: File removed.
60285         * scripts/config-uname.sh: New file.
60286         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60287         ($(objdir)config-name.h): New target.
60289         * sunrpc/rpc_parse.h: Avoid nested comment.
60291 2010-08-24  Richard Henderson  <rth@redhat.com>
60292             Ulrich Drepper  <drepper@redhat.com>
60293             H.J. Lu  <hongjiu.lu@intel.com>
60295         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60296         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60297         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60298         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
60299         _mm_alignr_epi8 with _mm_loadu_si128.
60300         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60301         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60302         (__m128i_shift_right): Removed.
60303         * sysdeps/i386/i686/multiarch/varshift.h: New file.
60304         * sysdeps/i386/i686/multiarch/varshift.S: New file.
60305         * sysdeps/x86_64/multiarch/varshift.h: New file.
60306         * sysdeps/x86_64/multiarch/varshift.S: New file.
60308 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
60310         * configure.in: Move assembler checks to before sysdep dir checking.
60312 2010-08-20  Petr Baudis  <pasky@suse.cz>
60314         * LICENSES: Sync the sunrpc license.
60316 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
60318         * sunrpc/auth_des.c: Update copyright notice once again.
60319         * sunrpc/auth_none.c: Likewise.
60320         * sunrpc/auth_unix.c: Likewise.
60321         * sunrpc/authdes_prot.c: Likewise.
60322         * sunrpc/authuxprot.c: Likewise.
60323         * sunrpc/bindrsvprt.c: Likewise.
60324         * sunrpc/clnt_gen.c: Likewise.
60325         * sunrpc/clnt_perr.c: Likewise.
60326         * sunrpc/clnt_raw.c: Likewise.
60327         * sunrpc/clnt_simp.c: Likewise.
60328         * sunrpc/clnt_tcp.c: Likewise.
60329         * sunrpc/clnt_udp.c: Likewise.
60330         * sunrpc/clnt_unix.c: Likewise.
60331         * sunrpc/des_crypt.c: Likewise.
60332         * sunrpc/des_soft.c: Likewise.
60333         * sunrpc/get_myaddr.c: Likewise.
60334         * sunrpc/getrpcport.c: Likewise.
60335         * sunrpc/key_call.c: Likewise.
60336         * sunrpc/key_prot.c: Likewise.
60337         * sunrpc/openchild.c: Likewise.
60338         * sunrpc/pm_getmaps.c: Likewise.
60339         * sunrpc/pm_getport.c: Likewise.
60340         * sunrpc/pmap_clnt.c: Likewise.
60341         * sunrpc/pmap_prot.c: Likewise.
60342         * sunrpc/pmap_prot2.c: Likewise.
60343         * sunrpc/pmap_rmt.c: Likewise.
60344         * sunrpc/rpc/auth.h: Likewise.
60345         * sunrpc/rpc/auth_unix.h: Likewise.
60346         * sunrpc/rpc/clnt.h: Likewise.
60347         * sunrpc/rpc/des_crypt.h: Likewise.
60348         * sunrpc/rpc/key_prot.h: Likewise.
60349         * sunrpc/rpc/netdb.h: Likewise.
60350         * sunrpc/rpc/pmap_clnt.h: Likewise.
60351         * sunrpc/rpc/pmap_prot.h: Likewise.
60352         * sunrpc/rpc/pmap_rmt.h: Likewise.
60353         * sunrpc/rpc/rpc.h: Likewise.
60354         * sunrpc/rpc/rpc_des.h: Likewise.
60355         * sunrpc/rpc/rpc_msg.h: Likewise.
60356         * sunrpc/rpc/svc.h: Likewise.
60357         * sunrpc/rpc/svc_auth.h: Likewise.
60358         * sunrpc/rpc/types.h: Likewise.
60359         * sunrpc/rpc/xdr.h: Likewise.
60360         * sunrpc/rpc_clntout.c: Likewise.
60361         * sunrpc/rpc_cmsg.c: Likewise.
60362         * sunrpc/rpc_common.c: Likewise.
60363         * sunrpc/rpc_cout.c: Likewise.
60364         * sunrpc/rpc_dtable.c: Likewise.
60365         * sunrpc/rpc_hout.c: Likewise.
60366         * sunrpc/rpc_main.c: Likewise.
60367         * sunrpc/rpc_parse.c: Likewise.
60368         * sunrpc/rpc_parse.h: Likewise.
60369         * sunrpc/rpc_prot.c: Likewise.
60370         * sunrpc/rpc_sample.c: Likewise.
60371         * sunrpc/rpc_scan.c: Likewise.
60372         * sunrpc/rpc_scan.h: Likewise.
60373         * sunrpc/rpc_svcout.c: Likewise.
60374         * sunrpc/rpc_tblout.c: Likewise.
60375         * sunrpc/rpc_util.c: Likewise.
60376         * sunrpc/rpc_util.h: Likewise.
60377         * sunrpc/rpcinfo.c: Likewise.
60378         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60379         * sunrpc/rpcsvc/key_prot.x: Likewise.
60380         * sunrpc/rpcsvc/klm_prot.x: Likewise.
60381         * sunrpc/rpcsvc/mount.x: Likewise.
60382         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60383         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60384         * sunrpc/rpcsvc/rex.x: Likewise.
60385         * sunrpc/rpcsvc/rstat.x: Likewise.
60386         * sunrpc/rpcsvc/rusers.x: Likewise.
60387         * sunrpc/rpcsvc/sm_inter.x: Likewise.
60388         * sunrpc/rpcsvc/spray.x: Likewise.
60389         * sunrpc/rpcsvc/yppasswd.x: Likewise.
60390         * sunrpc/rtime.c: Likewise.
60391         * sunrpc/svc.c: Likewise.
60392         * sunrpc/svc_auth.c: Likewise.
60393         * sunrpc/svc_authux.c: Likewise.
60394         * sunrpc/svc_raw.c: Likewise.
60395         * sunrpc/svc_run.c: Likewise.
60396         * sunrpc/svc_simple.c: Likewise.
60397         * sunrpc/svc_tcp.c: Likewise.
60398         * sunrpc/svc_udp.c: Likewise.
60399         * sunrpc/svc_unix.c: Likewise.
60400         * sunrpc/svcauth_des.c: Likewise.
60401         * sunrpc/xcrypt.c: Likewise.
60402         * sunrpc/xdr.c: Likewise.
60403         * sunrpc/xdr_array.c: Likewise.
60404         * sunrpc/xdr_float.c: Likewise.
60405         * sunrpc/xdr_mem.c: Likewise.
60406         * sunrpc/xdr_rec.c: Likewise.
60407         * sunrpc/xdr_ref.c: Likewise.
60408         * sunrpc/xdr_sizeof.c: Likewise.
60409         * sunrpc/xdr_stdio.c: Likewise.
60411         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60412         handling.
60414 2010-08-19  Andreas Schwab  <schwab@redhat.com>
60416         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60418 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
60420         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60421         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60422         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60423         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60424         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60425         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60426         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60427         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60428         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60429         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60430         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60431         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60432         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60433         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60435 2010-07-26  Anton Blanchard  <anton@samba.org>
60437         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60438         * malloc/arena.c (heap_trim): Likewise.
60440 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
60442         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60443         here.  Not...
60444         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60445         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60447 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
60449         * sysdeps/i386/elf/Makefile: New file.
60451 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60453         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60454         from fanotify_init.
60455         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60456         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60458 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
60460         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60461         of strncasecmp_l.
60462         * sysdeps/multiarch/strcmp.S: Likewise.
60464 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
60466         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60467         strncase_l-nonascii.
60468         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60469         Add strncase_l-ssse3.
60470         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60471         * sysdeps/x86_64/strcmp.S: Likewise.
60472         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60473         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60474         * sysdeps/x86_64/strncase.S: New file.
60475         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60476         * sysdeps/x86_64/strncase_l.S: New file.
60477         * string/Makefile (strop-tests): Add strncasecmp.
60478         * string/test-strncasecmp.c: New file.
60480         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60481         warning.
60483         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60484         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60486 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60488         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60490 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
60492         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60493         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60494         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60496 2010-05-01  Alan Modra  <amodra@gmail.com>
60498         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60499         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60500         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60501         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60502         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60503         tidying.  Don't tail-call __sigjmp_save for static lib.
60504         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60505         save location.
60506         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60507         (CALL_MCOUNT): Add eh info, and nop after bl.
60508         (TAIL_CALL_SYSCALL_ERROR): New macro.
60509         (PSEUDO_RET): Use it.
60510         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60511         Correct save location of integer regs and cr.
60512         (_dl_profile_resolve): Correct cr save location.  Delete nops
60513         after bl when SHARED.  Reduce cfi size a little by better
60514         placement of cfi directives.
60515         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60516         make a stack frame.  Instead use parm save area as a temp.
60517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60518         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
60519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60520         Don't make a stack frame for parent, use parm save area.
60521         Increase child stack frame to 112 bytes.  Don't save unused reg,
60522         and adjust reg usage.  Set up cfi on error recovery and
60523         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60525         (__makecontext): Add dummy nop after jump to exit.
60526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60527         Use correct parm save area and cr save, reduce stack frame.
60528         Correct cfi for possible PSEUDO_RET frame setup.
60529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60530         Branch to local label emitted by PSEUDO_RET rather than
60531         __syscall_error.
60533 2010-08-12  Andreas Schwab  <schwab@redhat.com>
60535         [BZ #11904]
60536         * locale/programs/locale.c (print_assignment): New function.
60537         (show_locale_vars): Use it.
60539 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
60541         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60542         field.
60543         (struct statfs64): Likewise.
60544         (_STATFS_F_FLAGS): Define.
60545         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60546         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60547         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60548         (ST_VALID): Define locally.
60549         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60550         __statvfs_getflags, use the provided value.
60551         * sysdeps/unix/sysv/linux/kernel-features.h: Define
60552         __ASSUME_STATFS_F_FLAGS.
60554         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60556         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60557         Add sys/fanotify.h.
60558         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60559         fanotify_mask for GLIBC_2.13.
60560         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60561         fanotify_init and fanotify_mark.
60562         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60563         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60565         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60566         Add prlimit.
60567         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60568         prlimit64 for GLIBC_2.13.
60569         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60570         prlimit64.
60571         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60572         syscall.
60573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60574         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60575         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60576         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60577         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
60578         add prlimit alias.
60579         * sysdeps/unix/sysv/linux/prlimit.c: New file.
60581         [BZ #11903]
60582         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60583         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60585         * nss/Makefile: Add rules to build and run tst-nss-test1.
60586         * shlib-versions: Add entry for libnss_test1.
60587         * nss/nss_test1.c: New file.
60588         * nss/tst-nss-test1.c: New file.
60590         * nss/nsswitch.c (__nss_database_custom): Define new variable.
60591         (__nss_configure_lookup): Set appropriate entry in
60592         __nss_configure_lookup to true.
60593         * nss/nsswitch.h: Define enum with indeces of databases in
60594         databases and __nss_database_custom arrays.  Declare
60595         __nss_database_custom.
60596         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60597         to avoid using nscd when custom rules are installed.
60598         * nss/getXXbyYY_r.c: Likewise.
60599         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60601         * nss/nss_files/files-parse.c: Whitespace fixes.
60603 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
60605         [BZ #11883]
60606         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60607         * posix/fnmatch_loop.c: Likewise.
60609 2010-07-17  Andi Kleen  <ak@linux.intel.com>
60611         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60612         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60613         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60614         * Versions.def [GLIBC_2.13]: Add.
60616 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
60618         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60619         Also fail if tpwd after pwuid call is NULL.
60621 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60623         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60624         when converting to ms.
60626 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60628         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60629         EOPNOTSUPP errors with ENOTTY.
60630         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60631         EOPNOTSUPP errors with ENOTTY.
60633 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
60635         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60636         Add strcasecmp_l-ssse3.
60637         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60638         strcasecmp.
60639         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60640         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60641         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60643 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
60645         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60647         * string/Makefile (strop-tests): Add strcasecmp.
60648         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60649         strcasecmp_l-nonascii.
60650         (gen-as-const-headers): Add locale-defines.sym.
60651         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60652         * sysdeps/x86_64/strcasecmp.S: New file.
60653         * sysdeps/x86_64/strcasecmp_l.S: New file.
60654         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60655         * sysdeps/x86_64/locale-defines.sym: New file.
60656         * string/test-strcasecmp.c: New file.
60658         * string/test-strcasestr.c: Test both ends of the range of characters.
60659         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60661 2010-07-29  Roland McGrath  <roland@redhat.com>
60663         [BZ #11856]
60664         * manual/locale.texi (Yes-or-No Questions): Fix example code.
60666 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
60668         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60669         for ld.so.
60671 2010-07-27  Andreas Schwab  <schwab@redhat.com>
60673         * manual/memory.texi (Malloc Tunable Parameters): Document
60674         M_PERTURB.
60676 2010-07-26  Roland McGrath  <roland@redhat.com>
60678         [BZ #11840]
60679         * configure.in (-fgnu89-inline check): Set and substitute
60680         gnu89_inline, not libc_cv_gnu89_inline.
60681         * configure: Regenerated.
60682         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60684 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
60686         * string/test-strnlen.c: New file.
60687         * string/Makefile (strop-tests): Add strnlen.
60688         * string/tester.c (test_strnlen): Add a few more test cases.
60689         * string/tst-strlen.c: Better error reporting.
60691         * sysdeps/x86_64/strnlen.S: New file.
60693 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
60695         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60696         lower-latency instructions.
60698 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
60700         * string/test-strcasestr.c: New file.
60701         * string/test-strstr.c: New file.
60702         * string/Makefile (strop-tests): Add strstr and strcasestr.
60703         * string/str-two-way.h: Don't undefine MAX.
60704         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60706 2010-07-21  Andreas Schwab  <schwab@redhat.com>
60708         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60709         strcasestr-nonascii.
60710         (CFLAGS-strcasestr-nonascii.c): Define.
60711         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60712         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60713         Remove unused attribute.
60715 2010-07-20  Roland McGrath  <roland@redhat.com>
60717         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60718         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
60719         ld.so.cache was broken.  With it, there is no way to disable dsocaps
60720         like LD_HWCAP_MASK can disable hwcaps.
60722 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60724         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60726 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
60728         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60729         call in strcasestr.
60730         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60731         __strcasestr_sse42_nonascii.
60732         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60733         strcasestr-nonascii.c.
60734         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60736 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
60738         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60739         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60740         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60741         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60743 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
60745         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60746         fcntl.
60748 2010-07-06  Andreas Schwab  <schwab@redhat.com>
60750         [BZ #11577]
60751         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60752         dl_signal_cerror.
60754 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
60756         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60757         _PC_PIPE_BUF using F_GETPIPE_SZ.
60759 2010-07-05  Roland McGrath  <roland@redhat.com>
60761         * manual/arith.texi (Rounding Functions): Fix rint description
60762         implicit in round description.
60764 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
60766         * elf/Makefile: Fix linking for a few tests to make recent linker
60767         happy.
60769 2010-06-30  Andreas Schwab  <schwab@redhat.com>
60771         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60772         $(common-objpfx)libc_nonshared.a.
60774 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
60776         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60777         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60778         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60779         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60780         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60781         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60782         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60783         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60798         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60799         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60800         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60801         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60802         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60803         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60804         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60805         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60806         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60807         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60808         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60809         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60825 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
60827         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60828         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
60829         * string/memmove.c (memmove): Renamed to ...
60830         (MEMMOVE): ...this.  Default to memmove.
60831         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60832         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60833         (END_CHK): Define.
60834         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60835         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60836         mempcpy-ssse3-back memmove-ssse3-back.
60837         * sysdeps/x86_64/multiarch/bcopy.S: New file .
60838         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60839         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60840         * sysdeps/x86_64/multiarch/memcpy.S: New file.
60841         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60842         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60843         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60844         * sysdeps/x86_64/multiarch/memmove.c: New file.
60845         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60846         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60847         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60848         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60849         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60850         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60851         Define.
60852         (index_Fast_Copy_Backward): Define.
60853         (HAS_ARCH_FEATURE): Define.
60854         (HAS_FAST_REP_STRING): Define.
60855         (HAS_FAST_COPY_BACKWARD): Define.
60857 2010-06-21  Andreas Schwab  <schwab@redhat.com>
60859         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60860         Restore proper fallback handling.
60862 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
60864         [BZ #11701]
60865         * posix/group_member.c (__group_member): Correct checking loop.
60867         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60868         OOM in getpwuid_r correctly.  Return error number when the caller
60869         should return, otherwise -1.
60870         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60871         call returning > 0 value.
60872         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60874 2010-06-07  Andreas Schwab  <schwab@redhat.com>
60876         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60877         libc_nonshared.a from targets in modules-names.
60879 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
60881         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60882         requires it.
60884 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
60886         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60887         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60888         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60889         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60891 2010-06-02  Andreas Schwab  <schwab@redhat.com>
60893         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60895 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
60897         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60898         and F_GETPIPE_SZ.
60899         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60900         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60901         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60903         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60904         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60906 2010-06-14  Roland McGrath  <roland@redhat.com>
60908         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60910 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
60912         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60913         __REDIRECT followed by __THROW.
60914         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60915         * posix/getopt.h (getopt): Likewise.
60917 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60919         * hurd/lookup-at.c (__file_name_lookup_at): Accept
60920         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
60921         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60922         in AT_FLAGS.
60923         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60924         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60926 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
60928         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60930 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
60932         [BZ #11640]
60933         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60934         Properly check family and model.
60936 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
60938         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60940 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
60942         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60944 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
60946         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60947         symbol reference.
60949 2010-05-19  Andreas Schwab  <schwab@redhat.com>
60951         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60952         symbol reference.
60954 2010-05-21  Andreas Schwab  <schwab@redhat.com>
60956         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60957         and internal_recvmmsg.
60958         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60959         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60960         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60961         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60963         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60964         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60965         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60967 2010-05-20  Andreas Schwab  <schwab@redhat.com>
60969         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60971 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
60973         POWER7 optimizations.
60974         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60975         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60977 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
60979         * version.h: Update for 2.13 development version.
60981 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
60983         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60984         exceptions.  Return 0.
60986 2010-05-07  Roland McGrath  <roland@redhat.com>
60988         * elf/ldconfig.c (main): Add a const.
60990 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
60992         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60993         (args_options): Add no-idn option.
60994         (ahosts_keys_int): Add idn_flags to ai_flags.
60995         (parse_option): Handle 'i' option to clear idn_flags.
60997         * malloc/malloc.c (_int_free): Possible race in the most recently
60998         added check.  Only act on the data if no current modification
60999         happened.
61001 See ChangeLog.17 for earlier changes.