Remove ldbl-128ibm variants of complex math functions.
[glibc.git] / ChangeLog
blobfb0e2d30e38ad85d48aa3e7b926a05e2eaf7b3fc
1 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
3         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4         and redefine.
5         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6         and redefine.
7         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
8         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
9         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
11         [BZ #18553]
12         * resource/getpriority.c (getpriority): Rename to __getpriority
13         and define as weak alias of __getpriority.
14         * resource/setpriority.c (setpriority): Rename to __setpriority
15         and define as weak alias of __setpriority.
16         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
17         __getpriority and define as weak alias of __getpriority.
18         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
19         __setpriority and define as weak alias of __setpriority.
20         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
21         strong name.
22         (setpriority): Use __setpriority as strong name.
23         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
24         __getpriority and define as weak alias of __getpriority.
25         * include/sys/resource.h (__getpriority): Declare.  Use
26         libc_hidden_proto.
27         (__setpriority): Likewise.
28         (getpriority): Don't use libc_hidden_proto.
29         (setpriority): Likewise.
30         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
31         getpriority.  Call __setpriority instead of setpriority.
32         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
33         Remove variable.
35         [BZ #18547]
36         * misc/getttyent.c (getttynam): Rename to __getttynam and define
37         as weak alias of __getttynam.  Use prototype function definition.
38         Call __setttyent, __getttyent and __endttyent instead of
39         setttyent, getttyent and endttyent.
40         (getttyent): Rename to __getttyent and define as weak alias of
41         __getttyent.  Call __setttyent instead of setttyent.  Call
42         __fgets_unlocked instead of fgets_unlocked.
43         (setttyent): Rename to __setttyent and define as weak alias of
44         __setttyent.
45         (endttyent): Rename to __endttyent and define as weak alias of
46         __endttyent.
47         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
48         (__setttyent): Likewise.
49         (__endttyent): Likewise.
50         (getttyent): Don't use libc_hidden_proto.
51         (setttyent): Likewise.
52         (endttyent): Likewise.
53         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
54         __endttyent instead of setttyent, getttyent and endttyent.
55         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
56         Remove variable.
58         [BZ #18546]
59         * socket/recv.c (__recv): Use libc_hidden_def.
60         * socket/socket.c (__socket): Likewise.
61         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
62         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
63         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
64         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
65         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
66         libc_hidden_def.
67         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
68         libc_hidden_weak.
69         * include/sys/socket.h (__socket): Do not use attribute_hidden.
70         Use libc_hidden_proto.
71         (__recv): Likewise.
72         * socket/Versions (libc): Export __recv and __socket at version
73         GLIBC_PRIVATE.
74         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
75         instead of recv.
76         (init_mq_netlink): Call __socket instead of socket.
77         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
78         Remove variable.
80         [BZ #18545]
81         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
82         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
83         hidden_weak.
84         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
85         define as alias of __mq_timedsend.  Use hidden_weak.
86         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
87         __mq_timedsend as strong name.
88         (mq_timedreceive): Use __mq_timedreceive as strong name.
89         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
90         (__mq_timedreceive): Likewise.
91         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
92         __mq_timedreceive instead of mq_timedreceive.
93         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
94         instead of mq_timedsend.
95         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
96         Remove variable.
98         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
99         hidden_def and hidden_weak instead of libc_hidden_def and
100         libc_hidden_weak.
101         (top level): Refer to hidden_def in comment.
102         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
103         macro.  Use it instead of libc_hidden_def.
104         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
105         specify __GI_* name explicitly.
106         (mq_timedreceive): Likewise.
107         (mq_setattr): Likewise.
109         [BZ #18544]
110         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
111         __pthread_barrier_init and define as weak alias of
112         __pthread_barrier_init.
113         * sysdeps/sparc/nptl/pthread_barrier_init.c
114         (pthread_barrier_init): Likewise.
115         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
116         __pthread_barrier_wait and define as weak alias of
117         __pthread_barrier_wait.
118         * sysdeps/sparc/nptl/pthread_barrier_wait.c
119         (pthread_barrier_wait): Likewise.
120         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
121         (pthread_barrier_wait): Likewise.
122         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
123         (pthread_barrier_wait): Likewise.
124         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
125         (pthread_barrier_wait): Likewise.
126         * nptl/Versions (libpthread): Export __pthread_barrier_init and
127         __pthread_barrier_wait at version GLIBC_PRIVATE.
128         * include/pthread.h (__pthread_barrier_init): Declare.
129         (__pthread_barrier_wait): Likewise.
130         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
131         Call __pthread_barrier_wait instead of pthread_barrier_wait.
132         (helper_thread): Likewise.
133         (init_mq_netlink): Call __pthread_barrier_init instead of
134         pthread_barrier_init.
136         [BZ #18542]
137         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
138         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
139         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
140         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
141         vswscanf.
142         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
143         Remove variable.
145         [BZ #18540]
146         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
147         strong alias of _IO_fflush.  Use libc_hidden_def.
148         * libio/iofflush_u.c (fflush_unlocked): Rename to
149         __fflush_unlocked and define as weak alias of __fflush_unlocked.
150         Use libc_hidden_weak.
151         * include/stdio.h (__fflush_unlocked): Declare.  Use
152         libc_hidden_proto.
153         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
154         fflush_unlocked.
155         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
156         Remove variable.
158         [BZ #18539]
159         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
160         define as weak alias of __addseverity.
161         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
162         Remove variable.
163         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
164         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
165         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
167         [BZ #18536]
168         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
169         (__tfind): Likewise.
170         (__tdelete): Likewise.
171         (__twalk): Likewise.
172         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
173         __twalk to GLIBC_PRIVATE.
174         * include/search.h (__tsearch): Use libc_hidden_proto.
175         (__tfind): Likewise.
176         (__tdelete): Likewise.
177         (__twalk): Likewise.
178         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
179         Call __tdelete instead of tdelete.
180         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
181         tfind.  Call __tsearch instead of tsearch.
182         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
183         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
184         Remove variable.
185         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
187         [BZ #18534]
188         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
189         (dprintf): Define as a weak alias of __dprintf, not a strong
190         alias.
191         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
192         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
193         dprintf.
194         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
195         Remove variable.
196         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
197         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
199         [BZ #18533]
200         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
201         not a strong alias.
202         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
203         Remove variable.
205         [BZ #18532]
206         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
207         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
208         (in6addr_loopback): Rename to __in6addr_loopback and define as
209         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
210         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
211         libc_hidden_proto.
212         (__in6addr_any): Likewise.
213         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
214         in6addr_any.
215         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
216         variable.
217         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
219 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
221         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
222         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
223         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
224         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
225         redirections for pow.
226         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
227         * sysdeps/x86_64/fpu/Versions: New versions added.
228         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
229         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
230         build of SSE, AVX2 and AVX512 IFUNC versions.
231         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
232         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
233         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
234         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
235         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
236         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
237         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
238         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
239         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
240         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
241         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
242         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
243         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
244         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
245         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
246         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
247         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
248         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
249         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
250         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
251         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
252         * NEWS: Mention addition of x86_64 vector pow.
254         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
255         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
256         redirections for expf.
257         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
258         * sysdeps/x86_64/fpu/Versions: New versions added.
259         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
260         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
261         build of SSE, AVX2 and AVX512 IFUNC versions.
262         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
263         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
264         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
265         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
266         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
267         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
268         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
269         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
270         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
271         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
272         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
273         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
274         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
275         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
276         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
277         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
278         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
279         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
280         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
281         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
282         * NEWS: Mention addition of x86_64 vector expf.
284         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
285         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
286         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
287         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
288         redirections for exp.
289         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
290         * sysdeps/x86_64/fpu/Versions: New versions added.
291         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
292         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
293         build of SSE, AVX2 and AVX512 IFUNC versions.
294         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
295         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
296         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
297         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
298         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
299         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
300         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
301         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
302         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
303         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
304         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
305         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
306         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
307         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
308         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
309         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
310         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
311         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
312         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
313         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
314         * NEWS: Mention addition of x86_64 vector exp.
316         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
317         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
318         redirections for logf.
319         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
320         * sysdeps/x86_64/fpu/Versions: New versions added.
321         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
322         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
323         build of SSE, AVX2 and AVX512 IFUNC versions.
324         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
325         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
326         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
327         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
328         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
329         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
330         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
331         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
332         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
333         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
334         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
335         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
336         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
337         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
338         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
339         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
340         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
341         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
342         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
343         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
344         * NEWS: Mention addition of x86_64 vector logf.
346         * bits/libm-simd-decl-stubs.h: Added stubs for log.
347         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
348         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
349         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
350         redirections for log.
351         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
352         * sysdeps/x86_64/fpu/Versions: New versions added.
353         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
354         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
355         build of SSE, AVX2 and AVX512 IFUNC versions.
356         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
357         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
358         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
359         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
360         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
361         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
362         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
363         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
364         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
365         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
366         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
367         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
368         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log test.
369         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
370         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
371         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
372         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
373         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
374         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
375         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
376         * NEWS: Mention addition of x86_64 vector log.
378 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
380         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
381         cfi_adjust_cfa_offset argument.
382         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
383         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
385         [BZ #18034]
386         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
387         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
388         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
389         ordering using ldar.
390         (_dl_tlsdesc_dynamic): Likewise.
391         (_dl_tlsdesc_return_lazy): Likewise.
392         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
393         relaxed atomics instead of volatile and synchronize with release store.
394         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
395         volatile.
396         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
398 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
400         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
401         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
402         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
403         * sysdeps/x86_64/fpu/Versions: New versions added.
404         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
405         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
406         build of SSE, AVX2 and AVX512 IFUNC versions.
407         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
408         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
409         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
410         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
411         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
412         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
413         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
414         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
415         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
416         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
417         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
418         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
419         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
420         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
421         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
422         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
423         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
424         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
425         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
426         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
427         * NEWS: Mention addition of x86_64 vector sinf.
429 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
431         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
432         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
433         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
434         Remove variable.
435         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
436         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
438 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
440         [BZ #18530]
441         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
442         strong alias of _IO_fputs.  Use libc_hidden_def.
443         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
444         and define as weak alias of __fputs_unlocked.  Use
445         libc_hidden_weak.
446         * include/stdio.h (__fputs_unlocked): Declare.  Use
447         libc_hidden_proto.
448         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
449         fputs_unlocked.
451         [BZ #18529]
452         * resolv/netdb.h [__USE_POSIX]: Change condition to
453         [__USE_XOPEN2K].
454         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
455         not expect.
456         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
457         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
458         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
459         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
460         [XPG4 || UNIX98] (AI_ALL): Likewise.
461         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
462         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
463         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
464         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
465         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
466         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
467         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
468         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
469         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
470         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
471         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
472         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
473         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
474         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
475         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
476         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
477         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
478         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
479         [XPG4 || UNIX98] (gai_strerror): Likewise.
480         [XPG4 || UNIX98] (getaddrinfo): Likewise.
481         [XPG4 || UNIX98] (getnameinfo): Likewise.
483         [BZ #18528]
484         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
485         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
486         __USE_XOPEN2K8].
487         (getgrent): Likewise.
488         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
489         expect.
490         [XPG3 || POSIX2008] (endgrent): Likewise.
491         [XPG3] (setgrent): Likewise.
492         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
493         variable.
494         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
496         [BZ #18527]
497         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
498         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
499         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
500         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
501         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
502         * include/unistd.h (__getlogin_r): Declare.  Use
503         libc_hidden_proto.
504         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
505         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
506         variable.
507         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
508         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
509         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
511 2015-06-12  Martin Sebor  <msebor@redhat.com>
513         [BZ #18512]
514         * Makerules (check-install-supported): New target.
515         (install): Add check-install-supported as a dependency.
516         * manual/install.texi (Installing the C Library): Document
517         that overriding prefix and exec_prefix is not supported.
518         Mention DESTDIR.
519         * INSTALL: Regenerate from the above.
521 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
523         [BZ #18519]
524         * posix/Versions (libc): Export __libc_pread at version
525         GLIBC_PRIVATE.
526         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
527         instead of pread.
528         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
529         variable.
531         [BZ #18522]
532         * misc/efgcvt_r.c
533         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
534         (cvt_symbol): Use weak_alias instead of strong_alias.
535         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
536         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
537         Remove variable.
538         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
539         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
541         [BZ #18520]
542         * inet/herrno.c (h_errno): Rename to __h_errno.
543         (__libc_h_errno): Define as alias of __h_errno not h_errno.
544         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
545         to __h_errno instead of h_errno.
546         * nptl/herrno.c (h_errno): Rename to __h_errno.
547         (__h_errno_location): Refer to __h_errno not h_errno.
548         * resolv/Versions (h_errno): Rename to __h_errno.
549         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
550         Remove variable.
551         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
553 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
555         * configure.ac: More strict check for AVX512 assembler support.
556         * configure: Regenerated.
558         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
559         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
560         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
561         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
562         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
563         * sysdeps/x86_64/fpu/Versions: New versions added.
564         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
565         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
566         build of SSE, AVX2 and AVX512 IFUNC versions.
567         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
568         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
569         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
570         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
571         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
572         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
573         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
574         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
575         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
576         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
577         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
578         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
579         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin test.
580         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
581         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
582         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
583         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
584         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
585         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
586         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
587         * NEWS: Mention addition of x86_64 vector sin.
589 2015-06-11  Florian Weimer  <fweimer@redhat.com>
591         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
592         comment.
594 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
596         [BZ #18479]
597         * nptl/pt-interp.c: New file.
598         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
599         Add pt-interp.
600         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
601         $(common-objpfx)runtime-linker.h.
603 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
605         * Makeconfig (+interp): Remove unused variable.
606         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
607         only.  Depend on $(common-objpfx)runtime-linker.h instead of
608         $(elf-objpfx)runtime-linker.h.
609         ($(elf-objpfx)runtime-linker.h): Rename to
610         $(common-objpfx)runtime-linker.h and move ...
611         * Makerules [$(build-shared) = yes]: ... here.
612         * elf/interp.c: Include <runtime-linker.h> instead of
613         <elf/runtime-linker.h>.
615 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
617         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
618         (__gettimeofday_syscall): Remove vsyscall fallback.
619         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
620         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
621         Add syscall fallback function.
622         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
623         if vDSO is not present.
624         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
625         fallback function.
626         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
627         present.
628         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
629         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
631 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
633         [BZ #18497]
634         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
635         of wcscmp.
636         (wcscmp): Define as weak alias of WCSCMP.
637         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
638         wcscoll.
639         (USE_HIDDEN_DEF): Define.
640         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
641         __wcscoll.  Don't use libc_hidden_weak.
642         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
643         wcscmp.
644         * sysdeps/i386/i686/multiarch/wcscmp-c.c
645         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
646         __GI_wcscmp.
647         (weak_alias): Undefine and redefine.
648         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
649         __wcscmp and define as weak alias of __wcscmp.
650         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
651         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
652         (__wcscoll): Likewise.
653         (wcscmp): Don't use libc_hidden_proto.
654         (wcscoll): Likewise.
655         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
656         wcscoll.
657         * posix/regexec.c (check_node_accept_bytes): Likewise.
658         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
659         variable.
660         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
661         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
663         [BZ #18507]
664         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
665         __fstatvfs and define as weak alias of __fstatvfs.  Use
666         libc_hidden_weak.
667         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
668         and define as weak alias of __statvfs.  Use libc_hidden_weak.
669         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
670         Define as alias of __fstatvfs, not fstatvfs.
671         (fstatvfs64): Likewise.
672         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
673         Define as alias of __statvfs, not statvfs.
674         (statvfs64): Likewise.
675         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
676         Remove variable.
678 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
681         (HAVE_GETCPU_VSYSCALL): Define.
682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
683         (HAVE_GETCPU_VSYSCALL): Likewise.
684         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
685         * sysdeps/unix/sysv/linux/sched_getcpu.c
686         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
687         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
688         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
689         prototype.
690         * sysdeps/unix/sysv/linux/x86_64/init-first.c
691         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
692         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
693         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
694         Define.
695         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
696         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
697         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
698         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
700 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
702         * sysdeps/x86_64/fpu/Makefile: New file.
703         * sysdeps/x86_64/fpu/Versions: New file.
704         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
705         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
706         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
707         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
708         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
709         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
710         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
711         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
712         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
713         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
714         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
715         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
716         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
717         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
718         build of SSE, AVX2 and AVX512 IFUNC versions.
719         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
720         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
721         * sysdeps/x86_64/configure.ac: Options for libmvec build.
722         * sysdeps/x86_64/configure: Regenerated.
723         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
724         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
725         * manual/install.texi (Configuring and compiling): Document
726         --disable-mathvec.
727         * INSTALL: Regenerated.
728         * NEWS: Mention addition of libmvec and x86_64 vector cos.
730         * math/Makefile: Added rules for vector tests.
731         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
732         declaration under condition.
733         * math/test-double-vlen2.h: New file.
734         * math/test-double-vlen4.h: New file.
735         * math/test-double-vlen8.h: New file.
736         * math/test-vec-loop.h: Added initialization macro.
737         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
738         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
739         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
740         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
741         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
742         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
743         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
744         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
745         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
746         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
747         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
749         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
750         * sysdeps/x86_64/fpu/Versions: New versions added.
751         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
752         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
753         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
754         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
755         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
756         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
757         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
758         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
759         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
760         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
761         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
762         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
763         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
764         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
765         build of SSE, AVX2 and AVX512 IFUNC versions.
766         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
767         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
768         * NEWS: Mention addition of x86_64 vector cosf.
770         * math/Makefile: Added CFLAGS for new tests.
771         * math/test-float-vlen16.h: New file.
772         * math/test-float-vlen4.h: New file.
773         * math/test-float-vlen8.h: New file.
774         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
775         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
776         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
777         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
778         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
779         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
780         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
781         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
782         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
783         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
784         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
786 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
788         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
789         * locale/programs/ld-ctype.c: Likewise.
791 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
793         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
794         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
795         bit_ZMM16_31_state): New macro.
796         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
797         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
799 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
801         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
803 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
805         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
807 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
809         [BZ #18498]
810         * libio/memstream.c (open_memstream): Rename to __open_memstream
811         and define as weak alias of __open_memstream.
812         * include/stdio.h (__open_memstream): Declare.  Use
813         libc_hidden_proto.
814         (open_memstream): Don't use libc_hidden_proto.
815         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
816         open_memstream.
817         * posix/getopt.c (_getopt_internal_r): Likewise.
818         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
819         variable.
820         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
821         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
822         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
824         [BZ #18496]
825         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
826         instead of wcrtomb.
828         [BZ #18483]
829         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
830         [__USE_XOPEN2K8].  Remove redundant #endif.
831         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
832         Remove redundant #if.
833         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
834         Remove variable.
835         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
836         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
838         [BZ #18495]
839         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
840         (__iswlower): Likewise.
841         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
842         (__iswlower): Likewise.
843         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
844         instead of towlower.
845         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
846         instead of iswlower.  Call __towupper instead of towupper.
847         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
848         instead of iswalnum.
850 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
852         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
853         errors to stderr.
855 2015-06-05  Florian Weimer  <fweimer@redhat.com>
857         [BZ #15661]
858         [BZ #17322]
859         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
860         Check for overflow properly.  Check for O_APPEND.  Ignore large
861         file system block sizes.  Add comments about problems.
862         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
863         * manual/filesys.texi (Storage Allocation): New node.
865 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
867         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
868         cancellable syscalls.
869         (SYS_ify): Add guard to no redefine it.
870         (INLINE_SYSCALL): Likewise.
871         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
872         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
873         SYSCALL_CANCEL instead.
874         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
875         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
876         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
877         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
878         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
879         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
880         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
881         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
882         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
883         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
884         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
885         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
886         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
887         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
888         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
889         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
890         Likewise.
891         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
892         (__libc_pread64): Likewise.
893         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
894         (__libc_preadv): Likewise.
895         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
896         (__libc_readv64): Likewise.
897         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
898         (__libc_pwrite): Likewise.
899         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
900         (__libc_pwrite64): Likewise.
901         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
902         (__libc_pwritev): Likewise.
903         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
904         (__libc_pwritev64): Likewise.
905         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
906         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
907         (sync_file_range): Likewise.
908         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
909         Likewise.
910         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
911         Likewise.
912         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
913         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
914         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
915         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
916         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
917         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
918         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
919         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
921         Likewise.
922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
923         (__libc_read64): Likewise.
924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
925         Likewise.
926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
927         Likewise.
928         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
929         Likewise.
930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
931         Likewise.
932         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
933         (__libc_pread64): Likewise.
934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
935         Likewise.
936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
937         (__libc_pwrite64): Likewise.
938         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
939         (sync_file_range): Likewise.
940         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
941         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
942         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
943         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
944         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
945         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
946         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
947         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
948         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
949         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
950         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
951         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
952         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
953         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
954         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
955         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
956         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
957         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
958         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
959         Likewise.
960         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
961         Likewise.
962         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
963         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
964         Likewise.
965         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
966         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
967         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
968         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
969         Likewise.
970         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
971         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
972         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
973         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
974         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
976 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
978         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
979         Include dl-vdso.
980         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
981         Use VDSO routines for gettimeofday, clock_gettime if
982         available.
983         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
984         Declare VDSO symbols.
985         * sysdeps/unix/sysv/linux/arm/sysdep.h:
986         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
987         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
988         * sysdeps/unix/sysv/linux/arm/Versions: Add
989         __vdso_clock_gettime.
991 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
993         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
994         be an inline implementation regardless of library is built within.
995         (open_not_cancel_2): Likewise.
996         (__read_nocancel): Likewise.
997         (__write_nocancel): Likewise.
998         (openat_not_cancel): Likewise.
999         (openat_not_cancel_3): Likewise.
1000         (openat64_not_cancel): Likewise.
1001         (openat64_not_cancel_3): Likewise.
1002         (__close_nocancel): Likewise.
1003         (pause_not_cancel): Likewise.
1004         (nanosleep_not_cancel): Likewise.
1005         (sigsuspend_not_cancel): Likewise.
1007 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1009         [BZ #14958]
1010         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
1011         wake-up.
1012         (__pthread_rwlock_rdlock_slow): Likewise.
1013         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1014         Likewise.
1015         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
1016         Likewise.
1017         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
1018         * nptl/tst-rwlock16.c: New file.
1019         * nptl/Makefile (tests): Add new test.
1021 2015-06-04  Torvald Riegel  <triegel@redhat.com>
1023         [BZ #18324]
1024         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
1025         missing wake-up of readers.
1026         * nptl/tst-rwlock15.c: New file.
1027         * nptl/Makefile (tests): Add new test.
1029 2015-06-03  Roland McGrath  <roland@hack.frob.com>
1031         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
1032         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
1033         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
1034         and __nacl_supply_interface_rtld.
1035         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
1036         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
1037         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
1038         Add __nacl_supply_interface_rtld.
1039         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
1041 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1043         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
1044         isfinite.
1045         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
1046         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
1048 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
1050         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
1051         __signbit* with standard C99 macros.
1052         * math/e_exp10l.c: Likewise.
1053         * math/e_exp2l.c: Likewise.
1054         * math/e_scalb.c: Likewise.
1055         * math/e_scalbf.c: Likewise.
1056         * math/e_scalbl.c: Likewise.
1057         * math/s_ldexp.c: Likewise.
1058         * math/s_ldexpf.c: Likewise.
1059         * math/s_ldexpl.c: Likewise.
1060         * math/w_atan2.c: Likewise.
1061         * math/w_atan2f.c: Likewise.
1062         * math/w_atan2l.c: Likewise.
1063         * math/w_cosh.c: Likewise.
1064         * math/w_coshf.c: Likewise.
1065         * math/w_coshl.c: Likewise.
1066         * math/w_exp10.c: Likewise.
1067         * math/w_exp10f.c: Likewise.
1068         * math/w_exp10l.c: Likewise.
1069         * math/w_exp2.c: Likewise.
1070         * math/w_exp2f.c: Likewise.
1071         * math/w_exp2l.c: Likewise.
1072         * math/w_fmod.c: Likewise.
1073         * math/w_fmodf.c: Likewise.
1074         * math/w_fmodl.c: Likewise.
1075         * math/w_hypot.c: Likewise.
1076         * math/w_hypotf.c: Likewise.
1077         * math/w_hypotl.c: Likewise.
1078         * math/w_jnl.c: Likewise.
1079         * math/w_lgamma.c: Likewise.
1080         * math/w_lgamma_r.c: Likewise.
1081         * math/w_lgammaf.c: Likewise.
1082         * math/w_lgammaf_r.c: Likewise.
1083         * math/w_lgammal.c: Likewise.
1084         * math/w_lgammal_r.c: Likewise.
1085         * math/w_pow.c: Likewise.
1086         * math/w_powf.c: Likewise.
1087         * math/w_powl.c: Likewise.
1088         * math/w_remainder.c: Likewise.
1089         * math/w_remainderf.c: Likewise.
1090         * math/w_remainderl.c: Likewise.
1091         * math/w_scalb.c: Likewise.
1092         * math/w_scalbf.c: Likewise.
1093         * math/w_scalbl.c: Likewise.
1094         * math/w_scalbln.c: Likewise.
1095         * math/w_scalblnf.c: Likewise.
1096         * math/w_scalblnl.c: Likewise.
1097         * math/w_sinh.c: Likewise.
1098         * math/w_sinhf.c: Likewise.
1099         * math/w_sinhl.c: Likewise.
1100         * math/w_tgamma.c: Likewise.
1101         * math/w_tgammaf.c: Likewise.
1102         * math/w_tgammal.c: Likewise.
1103         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
1104         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
1105         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1106         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1107         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1108         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
1109         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
1110         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
1111         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
1112         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
1113         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
1114         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
1115         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1116         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
1117         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
1118         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
1119         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
1120         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
1121         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
1122         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
1123         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
1124         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
1125         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1126         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
1127         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
1128         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
1129         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
1130         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
1131         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
1132         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
1133         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
1134         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
1135         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
1136         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
1137         * stdio-common/printf_fp.c: Likewise.
1138         * stdio-common/printf_fphex.c: Likewise.
1139         * stdio-common/printf_size.c: Likewise.
1141 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
1143         [BZ #18470]
1144         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
1145         strnlen.
1146         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
1147         Remove variable.
1148         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1149         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1150         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1151         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1152         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1153         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1154         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1155         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1156         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1157         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1159         [BZ #18468]
1160         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
1161         weak alias of __wmemchr.  Use libc_hidden_weak.
1162         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
1163         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
1164         instead of wmemchr.
1166 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1168         [BZ #18383]
1169         * elf/tst-tlsalign-extern.c: New file.
1170         * elf/tst-tlsalign-extern-static.c: New file.
1171         * elf/tst-tlsalign-vars.c: New file.
1172         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
1173         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
1174         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
1175         ($(objpfx)tst-tlsalign-extern-static): Likewise.
1176         (test-xfail-tst-tlsalign-extern-static): New variable.
1178 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
1180         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
1181         Use variable name _sc_err instead of err.
1182         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
1183         instead of ret.
1184         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
1185         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
1186         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
1187         (INLINE_SYSCALL): Likewise.
1189         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
1190         * include/string.h (__strnlen): Use libc_hidden_proto.
1191         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
1192         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
1193         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
1194         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
1195         (libc_hidden_def): Undefine and redefine.
1196         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
1197         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
1198         __GI_strnlen.
1199         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
1200         libc_hidden_def.
1201         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
1203         [BZ #18469]
1204         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
1205         weak alias of __towlower.  Use libc_hidden_weak.
1206         (towupper): Rename to __towupper and define as weak alias of
1207         __towupper.  Use libc_hidden_weak.
1208         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
1209         (__towupper): Likewise.
1210         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
1211         __towlower instead of towlower.
1213 2015-06-02  Roland McGrath  <roland@hack.frob.com>
1215         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
1216         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
1218 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1220         * sysdeps/aarch64/libm-test-ulps: Update.
1222 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1224         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
1225         Define.
1226         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1227         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
1228         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1229         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1230         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
1231         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
1232         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
1234 2015-06-01  Martin Sebor  <msebor@redhat.com>
1236         [BZ #18116]
1237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
1238         (__setcontext): Use extended four-operand version of mtsf whenever
1239         possible.
1240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
1241         (__novec_swapcontext): Likewise.
1243 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
1245         * benchtests/scripts/compare_bench.py: New file.
1246         * benchtests/scripts/import_bench.py (mean): New function.
1247         (split_list): Likewise.
1248         (do_for_all_timings): Likewise.
1249         (compress_timings): Likewise.
1251         * benchtests/scripts/import_bench.py: New file.
1252         * benchtests/scripts/validate_benchout.py: Import import_bench
1253         instead of jsonschema.
1254         (validate_bench): Remove function.
1255         (main): Use import_bench.
1257 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
1259         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
1260         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
1262 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1266 2015-05-28  Roland McGrath  <roland@hack.frob.com>
1268         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
1269         set THREAD_SELF->tid to a magic value and futex-wake it.
1270         Pass its address to the thread_exit system call.
1271         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
1272         bit is clear.
1273         * sysdeps/nacl/lowlevellock.h: New file.
1274         * sysdeps/nacl/lll_timedwait_tid.c: New file.
1276         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
1277         Add TIMEOUT to current time, don't subtract it.
1279 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
1281         [BZ #18422]
1282         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
1283         ($(objpfx)tst-audit2.out): Also depend on
1284         $(objpfx)tst-auditmod9b.so.
1285         * elf/tst-audit2.c: Include <dlfcn.h>.
1286         (calloc_called): New.
1287         (calloc): Allow to be called more than once.
1288         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
1290 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
1292         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
1293         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
1295 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
1297         * stdlib/monetary.h: Fix comment.
1299 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
1301         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
1302         Avoid using variables in #defines that might cause shadowing.
1303         (INTERNAL_VSYSCALL_CALL): Likewise.
1305 2015-05-26  Roland McGrath  <roland@hack.frob.com>
1307         * sysdeps/nacl/lll_timedlock_wait.c: New file.
1309         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
1310         * nptl/lll_timedlock_wait.c: ... to this new file.
1311         * nptl/Makefile (libpthread-routines): Add it.
1312         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
1313         * nptl/lll_timedwait_tid.c: ... to this new file.
1314         * nptl/Makefile (libpthread-routines): Add it.
1315         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
1316         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
1317         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
1318         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
1319         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
1320         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
1321         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
1322         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
1323         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
1324         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
1326 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1328         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
1329         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
1330         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
1331         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
1332         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
1333         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
1334         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1335         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
1336         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1337         * sysdeps/unix/sysv/linux/tile/sysdep.h
1338         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
1339         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
1340         using vDSO syscall macro.
1342 2015-05-26  Andriy Rysin  <arysin@gmail.com>
1344         [BZ #17293]
1345         * uk_UA: Fix sorting order for Ukrainian locale
1347 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
1349         * stdlib/monetary.h: Fix comment.
1351 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1353         [BZ #18234]
1354         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
1355         st_mtim and st_ctim members.
1356         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
1357         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
1358         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
1359         (struct stat64): Likewise.
1360         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
1361         (struct stat64): Likewise.
1362         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
1363         (struct stat64): Likewise.
1365 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1367         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
1368         Define and include sysdep-vdso.h.
1369         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
1370         Likewise.
1371         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
1372         Likewise.
1373         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
1374         Define with VDSO_SYMBOL and use PTR_MANGLE.
1375         (__vdso_clock_gettime): Likewise.
1376         (__vdso_clock_getres): Likewise.
1377         (_libc_vdso_platform_setup): Likewise.
1378         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
1379         Likewise.
1380         (_libc_vdso_platform_setup): Likewise.
1381         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
1382         Likewise.
1383         (__vdso_clock_gettime): Likewise.
1384         (__vdso_clock_getres): Likewise.
1385         (__vdso_get_tbfreq): Likewise.
1386         (__vdso_getcpu): Likewise.
1387         (__vdso_time): Likewise.
1388         (__vdso_sigtramp_rt64): Likewise.
1389         (__vdso_signtramp32): Likewise.
1390         (__vdso_sigtramp_rt32): Likewise.
1391         (_libc_vdso_platform_setup): Likewise.
1392         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
1393         Likewise.
1394         (__vdso_clock_gettime): Likewise.
1395         (__vdso_clock_getres): Likewise.
1396         (_libc_vdso_platform_setup): Likewise.
1397         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
1398         Likewise.
1399         (__vdso_clock_gettime): Likewise.
1400         (_libc_vdso_platform_setup): Likewise.
1401         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1402         Likewise.
1403         (__vdso_getcpu): Likewise.
1404         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
1405         Use VDSO_SYMBOL macro to define.
1406         (__vdso_clock_gettime): Likewise.
1407         (__vdso_clock_getres): Likewise.
1408         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
1409         Likewise.
1410         (__vdso_clock_gettime): Likewise.
1411         (__vdso_clock_getres): Likewise.
1412         (__vdso_get_tbfreq): Likewise.
1413         (__vdso_getcpu): Likewise.
1414         (__vdso_time): Likewise.
1415         (__vdso_sigtramp_rt64): Likewise.
1416         (__vdso_signtramp32): Likewise.
1417         (__vdso_sigtramp_rt32): Likewise.
1418         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
1419         Likewise.
1420         (__vdso_clock_gettime): Likewise.
1421         (__vdso_clock_getres): Likewise.
1422         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
1423         Likewise.
1424         (__vdso_clock_gettime): Likewise.
1425         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
1426         Likewise.
1427         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
1428         macro.
1429         (INTERNAL_VSYSCALL): Likewise.
1430         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
1431         Remove macro.
1432         (INTERNAL_VSYSCALL): Likewise.
1433         (INTERNAL_VSYSCALL_NCS): Likewise.
1434         (INTERNAL_VSYSCALL_CALL): New macro.
1435         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1436         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
1437         Likewise.
1438         (INTERNAL_VSYSCALL): Likewise.
1439         (INTERNAL_VSYSCALL_NCS): Likewise.
1440         (INTERNAL_VSYSCALL_CALL): New macro.
1441         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
1442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1443         (INLINE_VSYSCALL): Remove macro.
1444         (INTERNAL_VSYSCALL): Remove macro.
1445         (INTERNAL_VSYSCALL_NCS): Remove macro.
1446         (INTERNAL_VSYSCALL_CALL): New macro.
1447         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
1448         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
1449         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1450         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
1451         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
1452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1453         (INLINE_VSYSCALL): Remove macro.
1454         (INTERNAL_VSYSCALL): Likewise.
1455         (INTERNAL_VSYSCALL_NCS): Likewise.
1456         (INTERNAL_VSYSCALL_CALL): New macro.
1457         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
1458         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
1459         PTR_DEMANGLE on vDSO pointer.
1460         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
1461         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
1462         macro.
1463         (INTERNAL_SYSCALL): Likewise.
1464         (INTERNAL_VSYSCALL_NCS): Remove macro.
1465         (INTERNAL_VSYSCALL_CALL): New macro.
1466         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
1467         Remove macro.
1468         (INTERNAL_VSYSCALL): Likewise.
1469         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
1470         sysdep-vdso.h instead of libc-vdso.h.
1471         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
1472         definition.
1473         (INLINE_VSYSCALL): Likewise.
1474         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
1475         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
1476         definition.
1477         (INLINE_VSYSCALL): Likewise.
1478         (INTERNAL_VSYSCALL): Likewise.
1479         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1480         * sysdeps/unix/sysv/linux/timespec_get.c
1481         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
1482         (timespec_get): Use ANSI prototype.
1483         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
1484         and definition for Linux.
1486 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
1488         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
1489         * include/libc-symbols.h: libmvec_hidden_* macro series added.
1491 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
1493         [BZ #18410]
1494         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
1495         for missing DT_PLTRELSZ.
1497 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
1499         Remove obsolete aliases that broke 'locale -a'
1500         [BZ #18412]
1501         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
1502         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
1503         breaking some applications that use 'locale -a' output.
1504         Change the encoding of this file from Latin-1 to ASCII to avoid
1505         other potential problems with people grepping this file.
1507 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1509         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
1510         -fasynchronous-unwind-tables.
1511         (CFLAGS-sendto.c): Likewise.
1512         (CFLAGS-sendmsg.c): Likewise.
1513         (CFLAGS-connect.c): Likewise.
1514         (CFLAGS-recvmsg.c): Likewise.
1515         (CFLAGS-recvfrom.c): Likewise.
1516         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
1517         (SOCKETCALL): New macro: non-cancellable socketcall.
1518         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
1519         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
1520         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
1521         * sysdeps/unix/sysv/linux/accept.c: New file.
1522         * sysdeps/unix/sysv/linux/bind.c: Likewise.
1523         * sysdeps/unix/sysv/linux/connect.c: Likewise.
1524         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
1525         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
1526         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
1527         * sysdeps/unix/sysv/linux/listen.c: Likewise.
1528         * sysdeps/unix/sysv/linux/recv.c: Likewise.
1529         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
1530         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
1531         * sysdeps/unix/sysv/linux/send.c: Likewise.
1532         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
1533         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
1534         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
1535         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
1536         * sysdeps/unix/sysv/linux/socket.c: Likewise.
1537         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
1538         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
1539         prototype.
1540         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
1541         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1542         instead of __internal_xxx function.
1543         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
1544         prototype.
1545         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
1546         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1547         instead of __internal_xxx function.
1548         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
1549         prototype.
1550         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
1551         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
1552         instead of __internal_xxx function.
1553         * sysdeps/unix/sysv/linux/accept.S: Remove file.
1554         * sysdeps/unix/sysv/linux/bind.S: Likewise.
1555         * sysdeps/unix/sysv/linux/connect.S: Likewise.
1556         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
1557         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
1558         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
1559         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
1560         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
1561         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
1562         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
1563         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
1564         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
1565         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
1566         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
1567         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
1568         * sysdeps/unix/sysv/linux/listen.S: Likewise.
1569         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
1570         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
1571         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
1572         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
1573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
1574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
1575         * sysdeps/unix/sysv/linux/recv.S: Likewise.
1576         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
1577         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
1578         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
1579         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1580         * sysdeps/unix/sysv/linux/send.S: Likewise.
1581         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
1582         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
1583         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
1584         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
1585         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
1586         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
1587         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
1588         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
1589         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
1590         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
1591         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
1592         socketcall is implemented in GLIBC.
1594 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1596         * soft-fp/fmadf4.c: Include <libc-internal.h>.
1597         (__fma): Ignore uninitialized warnings around packing.
1598         * soft-fp/fmasf4.c: Include <libc-internal.h>.
1599         (__fmaf): Ignore uninitialized warnings around packing.
1600         * soft-fp/fmatf4.c: Include <libc-internal.h>.
1601         (__fmal): Ignore uninitialized warnings around packing.
1603         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
1604         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1605         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
1606         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
1608         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
1609         switch statement into default case.
1610         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
1612         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
1613         a conditional in forcing "inexact".
1614         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
1615         Likewise.
1617 2015-05-22  Roland McGrath  <roland@hack.frob.com>
1619         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
1620         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
1621         for each INTERNAL_SYSCALL use.
1623 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
1625         [BZ #438]
1626         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
1627         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
1628         variable.
1630         [BZ #18444]
1631         * string/basename.c (basename): Rename to __basename and define as
1632         weak alias of __basename.  Use libc_hidden_weak.
1633         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
1634         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
1635         __basename instead of basename.
1636         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
1637         Remove variable.
1638         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1640 2015-05-18  Florian Weimer  <fweimer@redhat.com>
1642         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
1643         (_IO_JUMPS_FILE_plus): New.
1644         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
1645         _IO_CAST_FIELD_ACCESS.
1646         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
1647         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
1648         * libio/freopen.c (freopen): Likewise.
1649         * libio/freopen64.c (freopen64): Likewise.
1650         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
1651         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
1652         * libio/iofwide.c (_IO_fwide): Likewise.
1653         * libio/memstream.c (open_memstream): Likewise.
1654         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
1655         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
1656         * libio/oldiopopen.c (_IO_old_popen): Likewise.
1658 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
1660         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
1661         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
1662         NADJ.
1663         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
1664         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
1665         NADJ.
1666         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
1667         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
1668         NADJ.
1670         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
1671         (p == 4) case.
1673         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
1674         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
1675         Remove variable.
1676         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1677         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1678         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1680 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1682         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
1683         Adjust jump table label generation macros.
1685 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1687         * stdio-common/vfprintf.c (vfprintf): Move local variables
1688         args_malloced, specs, specs_malloced, and the code after
1689         do_positional to the printf_positional function.
1690         (printf_positional): New function.
1692 2015-05-21  Florian Weimer  <fweimer@redhat.com>
1694         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
1695         function.
1696         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
1697         STEP4_TABLE, process_arg): Move macro definitions
1698         out of the vfprintf function.  (Cosmetic change only.)
1700 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
1702         * benchtests/Makefile (stdio-common-bench): Define.
1703         (benchset): Add stdio-common-bench.
1704         * sprintf-inputs: New file.
1705         * sprintf-source.c: New file.
1707 2015-05-21  Andreas Schwab  <schwab@suse.de>
1709         [BZ #13028]
1710         [BZ #17053]
1711         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
1712         of struct __res_state.
1713         * resolv/res_send.c (__libc_res_nsend): Likewise.
1714         (get_nsaddr): New function.
1715         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
1716         statp directly.
1718 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
1720         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
1721         -D_POSIX_C_SOURCE=199506L.
1723         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
1725         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
1726         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
1727         Do not mention otherwise.
1728         [POSIX] (_XOPEN_VERSION): Do not expect.
1729         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
1730         [POSIX] (_POSIX2_C_BIND): Likewise.
1731         [POSIX] (_POSIX2_VERSION): Likewise.
1732         [POSIX] (_XOPEN_XPG2): Likewise.
1733         [POSIX] (_XOPEN_XPG3): Likewise.
1734         [POSIX] (_XOPEN_XPG4): Likewise.
1735         [POSIX] (_XOPEN_UNIX): Likewise.
1736         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
1737         [POSIX] (_POSIX_BARRIERS): Likewise.
1738         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
1739         [POSIX] (_POSIX_CPUTIME): Likewise.
1740         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
1741         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
1742         [POSIX] (_POSIX_SHELL): Likewise.
1743         [POSIX] (_POSIX_SPAWN): Likewise.
1744         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
1745         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
1746         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
1747         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
1748         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
1749         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
1750         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
1751         [POSIX] (_XBS5_LP64_OFF64): Likewise.
1752         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
1753         [POSIX] (_POSIX_TIMEOUTS): Likewise.
1754         [POSIX] (_POSIX2_PBS): Likewise.
1755         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
1756         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
1757         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
1758         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
1759         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
1760         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
1761         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
1762         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
1763         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
1764         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
1765         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
1766         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
1767         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
1768         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
1769         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
1770         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
1771         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
1772         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
1773         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
1774         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
1775         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
1776         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
1777         [POSIX] (_SC_2_C_BIND): Likewise.
1778         [POSIX] (_SC_2_C_VERSION): Likewise.
1779         [POSIX] (_SC_2_PBS): Likewise.
1780         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
1781         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
1782         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
1783         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
1784         [POSIX] (_SC_2_PBS_TRACK): Likewise.
1785         [POSIX] (_SC_ATEXIT_MAX): Likewise.
1786         [POSIX] (_SC_BARRIERS): Likewise.
1787         [POSIX] (_SC_BASE): Likewise.
1788         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
1789         [POSIX] (_SC_DEVICE_IO): Likewise.
1790         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
1791         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
1792         [POSIX] (_SC_FD_MGMT): Likewise.
1793         [POSIX] (_SC_FIFO): Likewise.
1794         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
1795         [POSIX] (_SC_FILE_LOCKING): Likewise.
1796         [POSIX] (_SC_FILE_SYSTEM): Likewise.
1797         [POSIX] (_SC_IOV_MAX): Likewise.
1798         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
1799         [POSIX] (_SC_NETWORKING): Likewise.
1800         [POSIX] (_SC_PAGE_SIZE): Likewise.
1801         [POSIX] (_SC_PASS_MAX): Likewise.
1802         [POSIX] (_SC_PIPE): Likewise.
1803         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
1804         [POSIX] (_SC_REGEXP): Likewise.
1805         [POSIX] (_SC_SHELL): Likewise.
1806         [POSIX] (_SC_SIGNALS): Likewise.
1807         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
1808         [POSIX] (_SC_SPIN_LOCKS): Likewise.
1809         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
1810         [POSIX] (_SC_USER_GROUPS): Likewise.
1811         [POSIX] (_SC_USER_GROUPS_R): Likewise.
1812         [POSIX] (_SC_STREAMS): Likewise.
1813         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
1814         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
1815         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
1816         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
1817         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
1818         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
1819         [POSIX] (_PC_FILESIZEBITS): Likewise.
1820         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
1821         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
1822         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
1823         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
1824         [POSIX] (uid_t): Likewise.
1825         [POSIX] (gid_t): Likewise.
1826         [POSIX] (off_t): Likewise.
1827         [POSIX] (pid_t): Likewise.
1828         [POSIX] (cuserid): Allow.
1829         (_SC_2_CHAR_TERM): Require constant.
1830         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
1831         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
1832         variable.
1834 2015-05-20  Roland McGrath  <roland@hack.frob.com>
1836         * sysdeps/nacl/pthread-pids.h: New file.
1837         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
1838         (create_thread): Use __nacl_get_tid to initialize PD->tid.
1840         * nptl/pthread-pids.h: New file.
1841         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
1842         * nptl/nptl-init.c: Include <pthread-pids.h>.
1843         (__pthread_initialize_minimal_internal):
1844         Call __pthread_initialize_pids instead of set_tid_address syscall.
1846         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
1847         * sysdeps/posix/usleep.c: ... here.
1849 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1851         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
1852         call_pselect6 object.
1853         [$(subdir) = io]: Remove call_sync_file_range object.
1854         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
1855         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
1856         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
1857         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
1859 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
1861         * math/s_cproj.c: Add include "math_private.h".
1862         * math/s_cprojf.c: Likewise.
1863         * math/s_cprojl.c: Likewise.
1865 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
1867         [BZ #18244]
1868         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
1869         high mantissa bit when testing whether P is a NaN.
1870         * math/libm-test.inc (remainder_test_data): Add more tests.
1871         (remquo_test_data): Likewise.
1873         [BZ #18049]
1874         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
1875         below -32, return the argument, with underflow if subnormal.
1876         * math/auto-libm-test-in: Add more tests of atanh.
1877         * math/auto-libm-test-out: Regenerated.
1879 2015-05-19  Roland McGrath  <roland@hack.frob.com>
1881         [BZ #18434]
1882         * nptl/tst-sem15.c: New file.
1883         * nptl/Makefile (tests): Add it.
1884         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
1885         s/<</>>/ to fix typo in EOVERFLOW check.
1886         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
1888 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1890         * manual/strings.texi (envz_remove): Fix typo in safety
1891         annotations.
1893 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
1894             Steve Ellcey  <sellcey@imgtec.com>
1896         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
1897         in order to avoid strict alias warnings.
1898         (iruserok_af): Ditto for ra.
1900 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
1902         [BZ #17581]
1903         * malloc/hooks.c
1904         (magicbyte): Convert to a function and avoid returning 0x01.
1905         (mem2mem_check): Avoid using a length byte equal to the magic byte.
1906         (mem2chunk_check): Fix unsigned comparisons to zero.
1907         Hoist defs of sz and magic.
1909 2015-05-19  Richard Henderson  <rth@redhat.com>
1911         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
1913         * sysdeps/alpha/fpu/libm-test-ulps: Update.
1915 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1917         [BZ #16159]
1918         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
1919         * malloc/arena.c (arena_lock): Check if arena is corrupt.
1920         (reused_arena): Find a non-corrupt arena.
1921         (heap_trim): Pass arena to unlink.
1922         * malloc/hooks.c (malloc_check_get_size): Pass arena to
1923         malloc_printerr.
1924         (top_check): Likewise.
1925         (free_check): Likewise.
1926         (realloc_check): Likewise.
1927         * malloc/malloc.c (malloc_printerr): Add arena argument.
1928         (unlink): Likewise.
1929         (munmap_chunk): Adjust.
1930         (ARENA_CORRUPTION_BIT): New macro.
1931         (arena_is_corrupt): Likewise.
1932         (set_arena_corrupt): Likewise.
1933         (sysmalloc): Use mmap if there are no usable arenas.
1934         (_int_malloc): Likewise.
1935         (__libc_malloc): Don't fail if arena_get returns NULL.
1936         (_mid_memalign): Likewise.
1937         (__libc_calloc): Likewise.
1938         (__libc_realloc): Adjust for additional argument to
1939         malloc_printerr.
1940         (_int_free): Likewise.
1941         (malloc_consolidate): Likewise.
1942         (_int_realloc): Likewise.
1943         (_int_memalign): Don't touch corrupt arenas.
1944         * malloc/tst-malloc-backtrace.c: New test case.
1946         * Makefile (summarize-tests): Fix return value on success.
1948         * manual/string.texi (Envz Functions): Add envz_remove.
1950 2015-05-18  Roland McGrath  <roland@hack.frob.com>
1952         * sysdeps/posix/opendir.c: Include <stdbool.h>.
1953         (invalid_name): New function, broken out of ...
1954         (__opendirat): ... here.  Call it.
1955         (need_isdir_precheck): New function, broken out of ...
1956         (__opendirat): ... here.  Call it.
1957         Use __fxstatat64, not __xstatat64.
1958         (opendir_oflags): New function, broken out of ...
1959         (__opendirat): ... here.  Call it.
1960         (opendir_tail): New function, broken out of ...
1961         (__opendirat): ... here.  Call it.
1962         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
1963         opendir_tail, rather than punting to __opendirat.
1964         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
1966 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
1968         * .gitignore: Ignore generated *.pyc.
1970 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
1972         * include/stdio.h: Define __need_wint_t.
1973         * test-skeleton.c: Avoid `for' loop initial declaration.
1974         * nptl/tst-initializers1.c: Use test-skeleton.c.
1976 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1978         [BZ #18418]
1979         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
1981 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
1983         [BZ #16352]
1984         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
1985         (__ieee754_atanh): Force underflow exception for results with
1986         small absolute value.
1987         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
1988         (__ieee754_atanhf): Force underflow exception for results with
1989         small absolute value.
1990         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
1991         (__ieee754_atanh): Force underflow exception for results with
1992         small absolute value.
1993         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
1994         (__ieee754_atanhf): Force underflow exception for results with
1995         small absolute value.
1996         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
1997         (__ieee754_atanhl): Force underflow exception for results with
1998         small absolute value.
1999         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
2000         (__ieee754_atanhl): Force underflow exception for results with
2001         small absolute value.
2002         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
2003         (__ieee754_atanhl): Force underflow exception for results with
2004         small absolute value.
2005         * math/auto-libm-test-in: Do not allow missing underflow
2006         exceptions from atanh.
2007         * math/auto-libm-test-out: Regenerated.
2009         [BZ #18221]
2010         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
2011         2**-28 as threshold for returning x or +/- 1/x.
2012         * math/auto-libm-test-in: Add more tests of tan.
2013         * math/auto-libm-test-out: Regenerated.
2015         [BZ #18220]
2016         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
2017         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
2018         * math/auto-libm-test-in: Add another test of lgamma.
2019         * math/auto-libm-test-out: Regenerated.
2021 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
2023         * stdio-common/printf_fp.c (___printf_fp): Use abs.
2024         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
2025         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
2026         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
2027         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
2028         (ADD2A): Use fabs.  (SUB2A): Use fabs.
2029         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
2030         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
2031         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
2032         (log1): Use fabs.  (my_log2): Use fabs.
2033         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
2034         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
2035         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
2036         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
2037         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
2038         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
2039         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
2040         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
2041         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
2042         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
2043         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
2045 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
2047         [BZ #18217]
2048         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
2049         as threshold for returning 1 - x.
2050         * math/auto-libm-test-in: Add more tests of erfc.
2051         * math/auto-libm-test-out: Regenerated.
2053 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
2055         [BZ #18196]
2056         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
2057         threshold for large arguments.
2058         * math/auto-libm-test-in: Add another test of atan.
2059         * math/auto-libm-test-out: Regenerated.
2061         [BZ #16339]
2062         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
2063         (__log1p): Force underflow exception for results with small
2064         absolute value.
2065         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
2066         (__log1pf): Force underflow exception for results with small
2067         absolute value.
2068         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
2069         (__log1p): Force underflow exception for results with small
2070         absolute value.
2071         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
2072         (__log1pf): Force underflow exception for results with small
2073         absolute value.
2074         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
2075         (__log1pl): Force underflow exception for results with small
2076         absolute value.
2077         * math/auto-libm-test-in: Do not allow missing underflow
2078         exceptions from log1p.
2079         * math/auto-libm-test-out: Regenerated.
2081 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
2082             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2084         [BZ #16704]
2085         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
2087 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
2089         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
2090         (libmvec): New variable.
2091         * configure.ac: Added option for mathvec build.
2092         * configure: Regenerated.
2093         * mathvec/Depend: New file.
2094         * mathvec/Makefile: New file.
2095         * shlib-versions: Added libmvec.
2096         * math/Makefile: Added rule for libm.so installation.
2098         * bits/math-vector.h: New file.
2099         * bits/libm-simd-decl-stubs.h: New header.
2100         * math/Makefile (headers): Added new header
2101         libm-simd-decl-stubs.h.
2102         * math/math.h (__MATHCALL_VEC): New macro.
2104         * math/gen-libm-have-vector-test.sh: Script generates series of macros
2105         for conditions in testing functions.
2106         * math/Makefile: Added call of libm-have-vector-test.sh.
2107         * math/libm-test.inc (HAVE_VECTOR): New macros.
2109         * math/libm-test.inc: START refactored.
2110         * math/test-double.c (TEST_MATHVEC): Add define.
2111         * math/test-float.c: Likewise.
2112         * math/test-idouble.c: Likewise.
2113         * math/test-ifloat.c: Likewise.
2114         * math/test-ildoubl.c: Likewise.
2115         * math/test-ldouble.c: Likewise.
2116         * sysdeps/generic/math-tests-arch.h
2117         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
2118         architecture check.
2120         * math/test-double.c (FUNC_TEST): New macro.
2121         * math/test-float.c: Likewise.
2122         * math/test-idouble.c: Likewise.
2123         * math/test-ifloat.c: Likewise.
2124         * math/test-ildoubl.c: Likewise.
2125         * math/test-ldouble.c: Likewise.
2126         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
2128 2015-05-13  Roland McGrath  <roland@hack.frob.com>
2130         * sysdeps/nacl/fdopendir.c: New file.
2132         * dirent/scandir-tail.c: New file.
2133         * dirent/scandir64-tail.c: New file.
2134         * dirent/Makefile (routines): Add them.
2135         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
2136         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
2137         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
2138         [!SCANDIR] (SCANDIR_TAIL): New macro.
2139         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
2140         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
2141         (SCANDIRAT): Macro removed.
2142         (SCANDIR_TAIL): New macro.
2143         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
2144         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
2145         (SCANDIRAT): Just call __opendirat and __scandir_tail.
2146         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
2147         (READDIR): Macro removed.
2148         (SCANDIR_TAIL): New macro.
2149         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
2150         (SCANDIR_TAIL): New macro.
2152         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
2153         * dirent/scandir-cancel.c: ... to this new file.
2154         * dirent/Makefile (routines): Add it.
2155         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
2156         * sysdeps/unix/sysv/linux/i386/scandir64.c
2157         (SKIP_SCANDIR_CANCEL): Macro removed.
2158         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
2160         * dirent/tst-scandir.c: New file.
2161         * dirent/tst-scandir64.c: New file.
2162         * dirent/Makefile (tests): Add them.
2164 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
2166         [BZ #18409]
2167         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
2169 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2171         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
2172         list.
2174 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
2176         * benchtests/bench-strcoll.c: New benchmark.
2177         * benchtests/Makefile: Generate locales and run benchmark.
2178         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
2179         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
2180         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
2181         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
2182         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
2183         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
2184         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
2185         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
2186         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
2187         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
2188         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
2189         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
2190         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
2191         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
2192         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
2193         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
2194         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
2195         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
2196         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
2197         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
2198         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
2199         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
2200         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
2201         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
2203 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
2205         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
2206         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2208 2015-05-12  Roland McGrath  <roland@hack.frob.com>
2210         * posix/uname-values.h: New file.
2211         * posix/uname.c: Include that instead of <config-name.h>.
2212         * sysdeps/nacl/uname-values.h: New file.
2213         * sysdeps/arm/nacl/uname-values.h: New file.
2215 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
2217         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
2218         splitting into fields.
2220 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
2222         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
2223         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
2224         * locale/localeinfo.h: Add enum collation_encoding_type.
2225         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
2226         * programs/ld-collate.c (collate_output): Add encoding type info.
2227         * string/strcoll_l.c (STRDIFF): New function.
2228         * (STRCOLL): Use STRDIFF to skip over equal prefix.
2229         * wcsmbs/wcscoll_l.c: Define STRDIFF.
2231 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
2233         [BZ #18397]
2234         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
2235         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
2236         <fpu_control.h> instead of <math/fpu_control.c>.
2237         * sysdeps/mips/mips32/fpu/Makefile: New file.
2239 2015-05-11  Andreas Schwab  <schwab@suse.de>
2241         [BZ #18007]
2242         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
2243         nss_endgrent.
2244         (_nss_compat_endgrent): Call nss_endgrent.
2245         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
2246         nss_endpwent.
2247         (_nss_compat_endpwent): Call nss_endpwent.
2248         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
2249         needent, call nss_setspent only if non-zero.
2250         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
2251         (internal_endspent): Don't call nss_endspent.
2252         (_nss_compat_endspent): Call nss_endspent.
2253         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
2254         Remove.  All uses removed.
2255         (internal_setent): Remove parameter stayopen, add parameter
2256         stream.  Use it instead of global variable.
2257         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
2258         (internal_endent, internal_getent): Add parameter stream.  Use it
2259         instead of global variable.
2260         (CONCAT(_nss_files_end,ENTNAME))
2261         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
2262         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
2263         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
2264         uses removed.
2265         (internal_setent, internal_endent): Add parameter stream.  Use it
2266         instead of global variable.
2267         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
2268         stream.
2269         (get_next_alias): Add parameter stream.
2270         (_nss_files_getaliasent_r): Pass global stream.
2271         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
2272         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
2273         (_nss_files_gethostbyname4_r): Pass local stream to
2274         internal_setent, internal_getent and internal_endent.  Remove
2275         locking.
2277 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2279         * tst-strfmon1.c (tests): Update expected currency symbol.
2281 2015-05-08  Roland McGrath  <roland@hack.frob.com>
2283         * sysdeps/nacl/gethostname.c: New file.
2285 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
2287         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
2288         and sinh.
2289         * math/auto-libm-test-out: Regenerated.
2290         * sysdeps/i386/fpu/libm-test-ulps: Update.
2291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2293 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
2295         [BZ #18125]
2296         * stdlib/tst-setcontext3.c: New file.
2297         * stdlib/tst-setcontext3.sh: New file.
2298         * stdlib/Makefile (tests): Add tst-setcontext3.
2299         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
2300         to verify test program created output file.
2301         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
2302         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
2303         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
2304         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
2306 2015-05-06  Roland McGrath  <roland@hack.frob.com>
2308         [BZ #18383]
2309         * elf/tst-tlsalign.c: New file.
2310         * elf/tst-tlsalign-static.c: New file.
2311         * elf/tst-tlsalign-lib.c: New file.
2312         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
2313         (tests-static): Add tst-tlsalign-static.
2314         (modules-names): Add tst-tlsalign-lib.
2315         (test-xfail-tst-tlsalign): New variable.
2316         (test-xfail-tst-tlsalign-static): New variable.
2318         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
2319         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
2321 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
2323         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
2324         csqrt, erfc, sin and sincos.
2325         * math/auto-libm-test-out: Regenerated.
2326         * sysdeps/i386/fpu/libm-test-ulps: Update.
2327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2329 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2331         * sysdeps/aarch64/libm-test-ulps: Update.
2333 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
2335         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
2336         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
2337         * math/auto-libm-test-out: Regenerated.
2338         * sysdeps/i386/fpu/libm-test-ulps: Update.
2339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2341 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
2343         [BZ #18265]
2344         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
2345         (wcsncpy): Likewise.
2347 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2349         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
2350         Assume __ASSUME_FALLOCATE is always true.
2351         * sysdeps/unix/sysv/linux/posix_fallocate64.c
2352         (__posix_fallocate64_l64): Likweise.
2353         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
2354         (posix_fallocate): Likewise.
2355         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
2356         (__posix_fallocate64_l64): Likewise.
2357         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2358         [!__ASSUME_FALLOCATE]: Add comment.
2360 2015-05-05  Florian Weimer  <fweimer@redhat.com>
2362         * sysdeps/unix/sysv/linux/i386/Makefile
2363         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
2364         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
2365         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
2366         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
2367         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
2368         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
2369         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
2371 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
2373         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
2374         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
2375         tgamma.
2376         * math/auto-libm-test-out: Regenerated.
2377         * sysdeps/i386/fpu/libm-test-ulps: Update.
2378         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2380 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2382         * math/auto-libm-test-in: Add more tests of tgamma.
2383         * math/auto-libm-test-out: Regenerated.
2384         * sysdeps/i386/fpu/libm-test-ulps: Update.
2385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2387         * math/auto-libm-test-in: Add more tests of tanh.
2388         * math/auto-libm-test-out: Regenerated.
2389         * sysdeps/i386/fpu/libm-test-ulps: Update.
2390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2392         * math/auto-libm-test-in: Add more tests of tan.
2393         * math/auto-libm-test-out: Regenerated.
2394         * sysdeps/i386/fpu/libm-test-ulps: Update.
2395         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2397         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
2398         * math/auto-libm-test-out: Regenerated.
2399         * sysdeps/i386/fpu/libm-test-ulps: Update.
2400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2402         * math/auto-libm-test-in: Add another test of pow.
2403         * math/auto-libm-test-out: Regenerated.
2404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2406         * math/auto-libm-test-in: Add more tests of lgamma.
2407         * math/auto-libm-test-out: Regenerated.
2408         * sysdeps/i386/fpu/libm-test-ulps: Update.
2409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2411         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
2412         log1p.
2413         * math/auto-libm-test-out: Regenerated.
2414         * sysdeps/i386/fpu/libm-test-ulps: Update.
2415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2417 2015-05-01  Mark Wielaard  <mjw@redhat.com>
2419         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
2420         Elf64_Chdr structs and ELFCOMPRESS constants.
2422 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
2424         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
2425         expm1.
2426         * math/auto-libm-test-out: Regenerated.
2427         * sysdeps/i386/fpu/libm-test-ulps: Update.
2428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2430         * math/auto-libm-test-in: Add more tests of erf and erfc.
2431         * math/auto-libm-test-out: Regenerated.
2432         * sysdeps/i386/fpu/libm-test-ulps: Update.
2433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2435 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2437         * config.h.in (HAVE_AARCH64_BE): Add.
2439 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
2441         * math/auto-libm-test-in: Add more tests of csqrt.
2442         * math/auto-libm-test-out: Regenerated.
2443         * sysdeps/i386/fpu/libm-test-ulps: Update.
2444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2446         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2447         * math/auto-libm-test-out: Regenerated.
2448         * sysdeps/i386/fpu/libm-test-ulps: Update.
2449         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2451         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
2453 2015-04-29  Roland McGrath  <roland@hack.frob.com>
2455         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
2456         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
2458         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
2459         (euidaccess, eaccess): Define as weak aliases.
2461         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
2462         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
2463         but __suseconds_t is often 'long int' so some sources assume that
2464         type is being used (e.g. they use %ld to print tv_usec).
2466 2015-04-29  Florian Weimer  <fweimer@redhat.com>
2468         [BZ #18007]
2469         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
2470         (CVE-2014-8121)
2471         * nss/tst-nss-getpwent.c: New file.
2472         * nss/Makefile (tests): Add new test.
2474 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
2476         [BZ #18346]
2477         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
2478         exponents less than 48 as cases where high part of mantissa needs
2479         examining to determine whether argument is integral.
2480         * math/libm-test.inc (round_test_data): Add more tests.
2482 2015-04-28  Mark Wielaard  <mjw@redhat.com>
2484         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
2486 2015-04-27  David S. Miller  <davem@davemloft.net>
2488         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
2489         __tls_get_addr.
2490         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2492 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
2494         [BZ#18333]
2495         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
2497 2015-04-27  Florian Weimer  <fweimer@redhat.com>
2499         [BZ#18333]
2500         * time/tzset.c (parse_tzname): Return error on memory allocation
2501         failure.
2502         * test-skeleton.c (struct temp_name_list): Change type of name
2503         member to non-const.
2504         (add_temp_file): Create a copy of the file name.
2505         (delete_temp_files): Deallocate memory.
2506         (create_temp_file): Add comment.
2508 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2510         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
2511         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
2513 2015-04-24  Roland McGrath  <roland@hack.frob.com>
2515         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
2516         * sysdeps/arm/configure: Regenerated.
2518 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2520         [BZ #17715]
2521         * time/tzfile.c (__tzfile_read): Check for large values of
2522         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
2523         * time/tzset.c (__tzstring_len): New function, based on the old
2524         __tzstring function.
2525         (__tzstring): Call __tzstring_len.
2526         (parse_tzname): New helper function extracted from
2527         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
2528         the input string.
2529         (parse_offset): New helper function extracted from
2530         __tzset_parse_tz.  Replace switch with fallthrough with
2531         initialization before sscanf.
2532         (parse_rule): Likewise.
2533         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
2534         new-style function definition.
2535         * timezone/Makefile (tests): Add tst-tzset.
2536         (tst-tzset.out): Dependencies on time zone files.
2537         (tst-tzset-ENV): Set TZDIR.
2538         (testdata/XT%): Copy crafted time zone files.
2539         * timezone/README: Mention crafted time zone files.
2540         * timezone/testdata/XT1, timezone/testdata/XT2,
2541         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
2542         files.
2543         * timezone/tst-tzset.c: New test.
2545 2015-04-24  Florian Weimer  <fweimer@redhat.com>
2547         * Makeconfig (+gccwarn): Remove -Winline.
2549 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2551         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
2553 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
2555         * NEWS: Mention sysconf() cache information support for s390.
2556         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
2558 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
2560         * math/k_casinh.c (__kernel_casinh): Use __copysign.
2561         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
2562         (__nearbyint): Likewise.
2563         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
2564         (copysignl): Likewise.
2566 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
2568         [BZ #18287]
2569         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
2570         based on padding.  (CVE-2015-1781)
2572 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2574         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
2575         libc-vdso.h.
2576         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
2577         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
2578         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
2579         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
2580         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
2581         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
2582         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
2583         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
2584         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
2585         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
2586         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2587         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
2588         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
2589         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
2590         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
2591         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
2592         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
2593         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
2594         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
2595         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
2596         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
2597         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
2598         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
2600 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
2602         * stdlib/setenv.c (__add_to_environ):
2603         Dump core quickly if setenv (..., NULL, ...) is called.
2604         This time, do it the right way, and pacify GCC with a pragma.
2606 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2608         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
2609         IMAP->l_prev cannot be null, and #if out the code for the contrary
2610         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
2611         believe that NS (&_dl_ns[NSID]) could point outside the array.
2613         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
2614         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
2615         before using NSID as an index.
2617 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
2619         [BZ #17825]
2620         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
2621         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
2622         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
2624 2015-04-17  Roland McGrath  <roland@hack.frob.com>
2626         Add preliminary port to Google Native Client on ARM.
2627         * abi-tags (.*-.*-nacl.*): New entry.
2628         * sysdeps/arm/nacl: New directory.
2629         * sysdeps/nacl: New directory.
2631 2015-04-16  David S. Miller  <davem@davemloft.net>
2633         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
2634         lowlevellock-futex.h
2636 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
2638         * sysdeps/tile/configure.ac: New file.
2639         * sysdeps/tile/configure: Regenerated.
2641 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2643         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
2644         conditionals for weak_alias and libc_hidden_weak.
2645         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
2646         libc_hidden_weak and weak_alias.
2647         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
2648         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
2649         and weak_alias for static one.
2651 2015-04-15  David S. Miller  <davem@davemloft.net>
2653         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
2655 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2657         [BZ #18206]
2658         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
2659           Use signed comparision instead of substraction to avoid
2660           overflow bug.
2661         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
2662           Take the sign of ret.
2663         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
2664           Do not expect precise return values. Only the sign matters.
2665         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
2666         * wcsmbs/test-wcsncmp.c: New File.
2667         * string/test-strncmp.c: Add wcsncmp support.
2669 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2671         [BZ #6792]
2672         * math/w_log1p.c: New file.
2673         * math/w_log1pf.c: Likewise.
2674         * math/w_log1pl.c: Likewise.
2675         * math/Makefile (libm-calls): Add w_log1p.
2676         * math/s_log1pl.c (log1pl): Remove weak_alias.
2677         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
2678         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
2679         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
2680         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
2681         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
2682         [NO_LONG_DOUBLE] (log1pl): Likewise.
2683         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
2684         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
2685         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
2686         (log1p): Remove long_double_symbol.
2687         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
2688         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
2689         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
2690         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
2691         remove weak_alias for corresponding log1p function.
2692         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
2693         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
2694         * sysdeps/ia64/fpu/w_log1p.c: New file.
2695         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
2696         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
2697         * math/libm-test.inc (log1p_test_data): Add errno expectations.
2699 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
2701         [BZ #18247]
2702         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
2703         decimal exponent by 1.
2704         * stdlib/tst-strtod-round-data: Add more tests.
2705         * stdlib/tst-strtod-round.c (tests): Regenerated.
2707 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
2709         * math/auto-libm-test-in: Add more tests of clog and clog10.
2710         * math/auto-libm-test-out: Regenerated.
2711         * sysdeps/i386/fpu/libm-test-ulps: Update.
2712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2714 2015-04-09  Roland McGrath  <roland@hack.frob.com>
2716         * Makeconfig (module-cppflags): Exclude all .v.i files.
2717         (skip-module-cppflags): Variable removed.
2719         * configure.ac (libc_config_ok): Initialize before reading
2720         preconfigure scripts, not after.
2721         * configure: Regenerated.
2723         * test-skeleton.c (TIMEOUT): Move #define to top level.
2724         (main): Grok environment variable TEST_DIRECT.  If set, print
2725         test expectation details into that file and then behave as if
2726         given --direct.
2728 2015-04-09  Florian Weimer  <fweimer@redhat.com>
2730         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
2731         warning on 32-bit.
2733 2015-04-08  David S. Miller  <davem@davemloft.net>
2735         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2737 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2739         * math/auto-libm-test-in: Add more tests of atanh.
2740         * math/auto-libm-test-out: Regenerated.
2741         * sysdeps/i386/fpu/libm-test-ulps: Update.
2742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2744         * math/auto-libm-test-in: Add more tests of atan.
2745         * math/auto-libm-test-out: Regenerated.
2746         * sysdeps/i386/fpu/libm-test-ulps: Update.
2747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2749 2015-04-08  Florian Weimer  <fweimer@redhat.com>
2751         * elf/pldd.c (main): Rewrite to use struct
2752         scratch_buffer instead of extend_alloca.
2753         * elf/pldd-xx.c (find_maps): Likewise.
2754         * grp/initgroups.c: Include <scratch_buffer.h> instead of
2755         <alloca.h>.
2756         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
2757         scratch_buffer instead of extend_alloca.
2758         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
2759         grp/compat-initgroups.c.
2760         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
2761         Rewrite to use struct scratch_buffer instead of extend_alloca.
2762         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
2763         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
2765 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
2767         * math/auto-libm-test-in: Add more tests of cbrt.
2768         * math/auto-libm-test-out: Regenerated.
2769         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2771         * math/auto-libm-test-in: Add more tests of cabs.
2772         * math/auto-libm-test-out: Regenerated.
2773         * sysdeps/i386/fpu/libm-test-ulps: Update.
2774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2776         [BZ #18210]
2777         [BZ #18211]
2778         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
2779         (__ieee754_atan2): Set FE_TONEAREST mode for internal
2780         computations.
2781         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
2782         clog10.
2783         * math/auto-libm-test-out: Regenerated.
2784         * sysdeps/i386/fpu/libm-test-ulps: Update.
2785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2787         [BZ #18197]
2788         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
2789         (atan): Set FE_TONEAREST mode for internal computations.
2790         * math/auto-libm-test-in: Add more tests of atan.
2791         * math/auto-libm-test-out: Regenerated.
2793 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
2795         [BZ #17930]
2796         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
2798 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2800         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
2802 2015-04-07  Florian Weimer  <fweimer@redhat.com>
2804         * include/scratch_buffer.h: New file.
2805         * malloc/scratch_buffer_grow.c: Likewise.
2806         * malloc/scratch_buffer_grow_preserve.c: Likewise.
2807         * malloc/scratch_buffer_set_array_size.c: Likewise.
2808         * malloc/tst-scratch_buffer.c: Likewise.
2809         * malloc/Makefile (routines): Add scratch_buffer_grow.
2810         (tests): Add test case.
2811         * malloc/Versions (GLIBC_PRIVATE): Export
2812         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
2813         __libc_scratch_buffer_set_array_size.
2815 2015-04-06  Richard Henderson  <rth@redhat.com>
2817         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
2818         * sysdeps/alpha/fpu/libm-test-ulps: Update.
2820         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
2821         unsigned int before printing.
2823 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2825         [BZ #17596]
2826         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
2827         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
2829 2015-04-02  Florian Weimer  <fweimer@redhat.com>
2831         * include/libc-internal.h (libc_max_align_t): Define.
2833 2015-04-02  Andreas Schwab  <schwab@suse.de>
2835         [BZ #16850]
2836         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
2838 2015-04-02  Mel Gorman  <mgorman@suse.de>
2840         [BZ #17195]
2841         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
2842         as well as the main arena.
2844 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2846         [BZ #18185]
2847         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
2848         sharing L2 cache to 2 for Silvermont/Knights Landing.
2850 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2852         [BZ #17711]
2853         * config.make.in (have-protected-data): New.
2854         * configure.ac: Check linker support for protected data symbol.
2855         * configure: Regenerated.
2856         * elf/Makefile (modules-names): Add tst-protected1moda and
2857         tst-protected1modb if $(have-protected-data) is yes.
2858         (tests): Add tst-protected1a and tst-protected1b if
2859         $(have-protected-data) is yes.
2860         ($(objpfx)tst-protected1a): New.
2861         ($(objpfx)tst-protected1b): Likewise.
2862         (tst-protected1modb.so-no-z-defs): Likewise.
2863         * elf/tst-protected1a.c: New file.
2864         * elf/tst-protected1b.c: Likewise.
2865         * elf/tst-protected1mod.h: Likewise.
2866         * elf/tst-protected1moda.c: Likewise.
2867         * elf/tst-protected1modb.c: Likewise.
2869 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
2871         [BZ #17711]
2872         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
2873         indicates it is called from do_lookup_x on relocation against
2874         protected data, skip the data definion in the executable from
2875         copy reloc.
2876         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
2877         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
2878         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
2879         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
2880         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
2881         otherwise to 0.
2882         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2883         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
2884         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
2885         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
2886         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
2887         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
2889 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
2891         * sysdeps/nptl/pthread.h: Remove duplicate definition of
2892         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
2894 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
2896         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
2897         THREAD_SETMEM_NC.
2898         * sysdeps/x86_64/nptl/tls.h: Ditto.
2900 2015-03-27  Roland McGrath  <roland@hack.frob.com>
2902         * dlfcn/tststatic.c (main): Converted to ...
2903         (do_test): ... this.
2904         (TEST_FUNCTION): New macro.
2905         Include test-skeleton.c.
2907 2015-03-26  Alan Modra  <amodra@gmail.com>
2909         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
2910         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
2911         zero for undefined weak.
2912         (elf_machine_plt_conflict): Similarly.
2914 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2916         * math/auto-libm-test-in: Add more tests of acosh, asinh and
2917         atanh.
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         * math/auto-libm-test-in: Add another test of asin.
2923         * math/auto-libm-test-out: Regenerated.
2924         * sysdeps/i386/fpu/libm-test-ulps: Update.
2925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2927         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
2928         Remove macro.
2929         (LLL_EBX_REG): Likewise.
2930         (LLL_ENTER_KERNEL): Likewise.
2932         * math/auto-libm-test-in: Add more tests of asin.
2933         * math/auto-libm-test-out: Regenerated.
2934         * sysdeps/i386/fpu/libm-test-ulps: Update.
2935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2937         [BZ #18138]
2938         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
2939         libc_do_syscall_args): New structure.
2940         (INTERNAL_SYSCALL_MAIN_0): New macro.
2941         (INTERNAL_SYSCALL_MAIN_1): Likewise.
2942         (INTERNAL_SYSCALL_MAIN_2): Likewise.
2943         (INTERNAL_SYSCALL_MAIN_3): Likewise.
2944         (INTERNAL_SYSCALL_MAIN_4): Likewise.
2945         (INTERNAL_SYSCALL_MAIN_5): Likewise.
2946         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
2947         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
2948         Replace conditional definitions by conditional definitions of ....
2949         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
2950         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
2951         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
2952         (libpthread-sysdep_routines): Add libc-do-syscall.
2953         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
2954         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
2955         to __NR_futex not 240.
2957 2015-03-25  Alan Modra  <amodra@gmail.com>
2959         * NEWS: Advertise TLS optimization.
2960         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
2961         (DT_PPC_NUM): Increment.
2962         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
2963         (CHECK_STATIC_TLS): Use here.
2964         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
2965         TLS descriptors.
2966         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2967         * sysdeps/powerpc/dl-tls.c: New file.
2968         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
2969         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
2970         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
2971         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
2972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
2973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
2974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
2976 2015-03-25  Alan Modra  <amodra@gmail.com>
2978         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
2979         for overlapping .opd entries" to "support...".
2980         * sysdeps/powerpc/powerpc64/configure: Regenerate
2982 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
2984         * math/auto-libm-test-in: Add more tests of acos.
2985         * math/auto-libm-test-out: Regenerated.
2986         * sysdeps/i386/fpu/libm-test-ulps: Update.
2987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2989         * math/auto-libm-test-in: Add more tests of expm1.
2990         * math/auto-libm-test-out: Regenerated.
2991         * sysdeps/i386/fpu/libm-test-ulps: Update.
2992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2994 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
2996         * math/auto-libm-test-in: Add more tests of cosh and sinh.
2997         * math/auto-libm-test-out: Regenerated.
2998         * sysdeps/i386/fpu/libm-test-ulps: Update.
2999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3001         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
3002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3004         * math/auto-libm-test-in: Add more tests of log2.
3005         * math/auto-libm-test-out: Regenerated.
3006         * sysdeps/i386/fpu/libm-test-ulps: Update.
3007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3009 2015-03-23  Roland McGrath  <roland@hack.frob.com>
3011         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
3012         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
3013         _IO_IS_APPENDING bit in READ_WRITE instead.
3015 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3017         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
3018         (__determine_cpumask_size): Replace extend_alloca with a
3019         variable-length array.  Do not treat res == 0 as an error.
3021 2015-03-23  Florian Weimer  <fweimer@redhat.com>
3023         [BZ #18100]
3024         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
3025         and integer overflow.
3026         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
3027         (main): Add integer overflow tests.
3028         * manual/pattern.texi (Calling Wordexp): Document additional use
3029         for WRDE_SYNTAX.
3031 2015-03-23  Alan Modra  <amodra@gmail.com>
3033         * config.h.in: Remove HAVE_ASM_PPC_REL16.
3034         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
3035         and false branch of conditional.
3036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3037         Likewise.
3039 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
3041         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
3042         libc-modules.h
3043         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
3044         unused declaration of _hurd_intr_rpc_msg_in_trap.
3045         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
3046         defined instead of whether it is non-zero.
3047         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
3048         input constraint instead of both input and output constraint.  Use ecx
3049         clobber instead of %ecx.
3050         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
3051         mutex_unlock): Use a statement expression instead of an expression list.
3052         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
3053         type to vm_size_t instead of vm_address_t.
3054         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
3055         defined instead of whether it is non-zero.
3056         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
3057         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
3058         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
3059         comparisons with mapaddr.
3060         * nscd/nscd-client.h: Include <time.h>.
3061         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
3062         9th parameter to __vm_region instead of int.
3063         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
3064         * scripts/check-local-headers.sh (exclude): Add device/,
3065         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
3066         cthreads.h.
3068 2015-03-19  Roland McGrath  <roland@hack.frob.com>
3070         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
3071         to account for alignment padding.
3072         * sysdeps/arm/memmove.S: Likewise.
3074 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
3076         * sysdeps/unix/sysv/linux/generic/README: New file.
3078 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
3080         [BZ #18138]
3081         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
3082         (futex_abstimed_wait)
3083         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
3084         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
3085         of lll_futex_timed_wait.
3087 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
3089         [BZ #17542]
3090         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
3092 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
3094         [BZ #17090]
3095         [BZ #17620]
3096         [BZ #17621]
3097         [BZ #17628]
3098         * NEWS: Update.
3099         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
3100         entries with Static TLS too.  Skip entries past the end of the
3101         allocated DTV, from Alan Modra.
3102         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
3103         Static TLS DTV entry set up from...
3104         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
3105         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
3106         * nptl/allocatestack.c (init_one_static_tls): ... and here...
3107         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
3108         for Static TLS.
3109         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
3110         that the slot we find is associated with the given map before
3111         using its generation count.
3112         * nptl_db/db_info.c: Include ldsodefs.h.
3113         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
3114         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
3115         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
3116         (link_map::l_tls_offset): New struct field.
3117         (dtv_t::counter): Likewise.
3118         (rtld_global): New struct.
3119         (_rtld_global): New rtld variable.
3120         (dl_tls_dtv_slotinfo_list): New rtld global field.
3121         (dtv_slotinfo_list): New struct.
3122         (dtv_slotinfo): Likewise.
3123         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
3124         (td_lookup): Rename to...
3125         (td_mod_lookup): ... this.  Use new mod parameter instead of
3126         LIBPTHREAD_SO.
3127         * nptl_db/td_thr_tlsbase.c: Include link.h.
3128         (dtv_slotinfo_list, dtv_slotinfo): New functions.
3129         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
3130         addresses even if the DTV is out of date or missing them.
3131         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
3132         index zero-length arrays.
3133         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
3134         (td_lookup): Make it a macro implemented in terms of...
3135         (td_mod_lookup): ... this declaration.
3136         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
3137         (DB_MAIN_VARIABLE): Likewise.
3139 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
3141         [BZ #18134]
3142         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
3144 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
3146         * stdlib/setenv.c (__add_to_environ): Revert previous change.
3148 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
3150         [BZ #18128]
3151         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
3152         (atomic_add, atomic_increment_and_test)
3153         (atomic_decrement_and_test): Fix 64-bit arithmetic.
3155 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
3157         * stdlib/setenv.c (__add_to_environ):
3158         Dump core quickly if setenv (..., NULL, ...) is called.
3160 2015-03-13  Roland McGrath  <roland@hack.frob.com>
3162         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
3163         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
3164         all the necessary asm magic in one place.
3165         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
3166         using those.
3168 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
3170         [BZ #14906]
3171         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
3172         traced file mtime. Use consistent log message.
3173         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
3174         (register_traced_file): Call install_watches. Always set mtime.
3175         (invalidate_cache): Iterate over all trace files. Call install_watches.
3176         (inotify_check_files): Don't inline. Handle watching parent
3177         directories and configuration file movement in and out.
3178         (handle_inotify_events): New function.
3179         (main_loop_poll): Call handle_inotify_events.
3180         (main_loop_epoll): Likewise.
3181         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
3182         (struct traced_file): Use array of inotify fds. Add parent directory,
3183         and basename.
3184         (struct database_dyn): Remove unused file_mtime.
3185         (init_traced_file): New inline function.
3186         (define_traced_file): New macro.
3187         * nss/nss_db/db-init.c: Use define_traced_file.
3188         (_nss_db_init): Use init_traced_file.
3189         * nss/nss_files/files-init.c: Use define_traced_file.
3190         (_nss_files_init): Use init_traced_file.
3192 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
3194         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
3195         [_LIBC]: Do not include <stdlib.h>.
3196         [!_LIBC] (abort): Remove declaration.
3197         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
3198         _FP_STATIC_ASSERT instead of conditionally calling abort.
3199         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
3200         (_FP_EXTEND_CNAN): Likewise.
3201         (FP_TRUNC): Likewise.
3202         (__FP_CLZ): Likewise.
3203         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
3205 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
3207         * manual/string.texi (XPG basename): Fix prototype.
3209 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3211         [BZ #18080]
3212         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
3213         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3214         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
3215         (__setcontext): Likewise.
3216         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
3217         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
3218         Call rt_sigprocmask syscall one time to set new signal mask
3219         and retrieve the current signal mask instead of two calls.
3220         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
3221         (__swapcontext): Likewise.
3222         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
3223         * stdlib/tst-setcontext2.c: New file.
3225 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3227         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3229 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
3231         [BZ #18093]
3232         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
3233         the wrong size.
3235 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3237         [BZ #18043]
3238         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
3240 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3242         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
3243         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
3244         Remove define.
3245         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
3246         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
3247         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
3248         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
3249         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
3250         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
3251         define.
3252         * nptl_db/td_symbol_list.c (td_lookup): Remove
3253         HAVE_ASM_GLOBAL_DOT_NAME code.
3254         * sysdeps/powerpc/powerpc64/configure.ac: Remove
3255         HAVE_ASM_GLOBAL_DOT_NAME check.
3256         * sysdeps/powerpc/powerpc64/configure: Regenerate.
3257         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
3258         (DOT_LABEL): Remove define.
3259         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
3260         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
3261         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
3262         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
3263         (__TLS_GET_ADDR): Likewise.
3264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
3265         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
3267 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
3269         [BZ #18111]
3270         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
3271         (_FPU_SETCW): Initialize cw from fpsr before storing.
3272         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
3273         (fesetexceptflag): Rewrite using fpu_control.h.
3274         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
3276 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
3278         [BZ #18110]
3279         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
3280         asms.
3281         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3283 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
3285         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
3286         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
3287         abort.
3288         (_FP_FMA): Likewise.
3289         (_FP_DIV): Likewise.
3291 2015-03-10  Roland McGrath  <roland@hack.frob.com>
3293         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
3294         with 0 in that case.
3295         * Makefile (summarize-tests): New canned sequence, factored out of
3296         commands for targets tests and xtests.  Display summary lines that
3297         don't start with PASS: or XFAIL: rather than ones that do start with
3298         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
3299         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
3300         do start with ERROR: or FAIL:.
3301         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
3302         (except for [$(build-shared) = yes]).
3303         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
3304         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
3305         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
3306         * nptl/Makefile: Revert 2015-03-04 changes.
3307         [$(CXX) empty] (tests-unsupported): New variable.
3308         * debug/Makefile: Likewise.
3310         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
3311         gnulib file.  Replace __attribute with __attribute__ throughout.
3313 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
3315         * sysdeps/hppa/fpu/libm-test-ulps: Update.
3317 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3319         [BZ #18104]
3320         * math/auto-libm-test-in: Add another test of pow.
3321         * math/auto-libm-test-out: Regenerated.
3323 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3325         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
3326         $(config-cflags-nofma).
3328 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
3330         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
3331         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
3332         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
3333         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
3334         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
3335         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
3336         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
3337         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
3338         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
3339         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
3340         Add comment on closing #endif.
3342 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3344         * posix/wordexp.c (CHAR_IN_SET): New macro.
3345         (parse_param): Use it.
3347 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3349         * sysdeps/powerpc/fpu/libm-test-ulps: update.
3351 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3353         [BZ #18043]
3354         * posix/wordexp.c (parse_param): Fix buffer overflow.
3355         * posix/wordexp-test.c (test_case): Add test case.
3357 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3359         [BZ #18042]
3360         * posix/wordexp.c (parse_backtick): Fix off-by-one.
3361         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
3363 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3365         [BZ #18043]
3366         * posix/wordexp-test.c (test_case): Add test for BZ #18043
3367         (do_bz18043): Delete.
3368         (at_page_end): New.
3369         (testit): Refactor to have words at the edge of unreadable page.
3371 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
3373         [BZ #16734]
3374         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
3375         Cleanup read-only streams as well.
3376         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
3378 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3380         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
3381         <bits/libc-lockP.h>
3383 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
3385         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
3386         on [__KERNEL__].
3387         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
3388         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
3389         * soft-fp/op-common.h (_FP_DECL): Likewise.
3391 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
3393         * elf/ifuncdep2.c (global): Replace
3394         __attribute__((visibility("protected"))) with
3395         asm (".protected global").
3396         * elf/ifuncmod1.c (global): Likewise.
3397         * elf/ifuncmod5.c (global): Likewise.
3399 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
3401         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
3402         <asm/sfp-machine.h> instead of <sfp-machine.h>.
3404 2015-03-06  Roland McGrath  <roland@hack.frob.com>
3406         * manual/install.texi (Configuring and compiling):
3407         Document test-wrapper-env-only.
3408         * INSTALL: Regenerated.
3410 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
3412         [BZ #18043]
3413         * posix/wordexp.c (parse_param): Fix buffer overflow.
3414         * posix/wordexp-test.c (do_bz18043): Add test case.
3416 2015-03-06  Vincent Bernat  <vincent@bernat.im>
3418         * time/tst-strptime2.c (do_test): Ensure failing tests are
3419         reported correctly.
3420         * time/tst-strptime3.c (do_test): Likewise.
3422 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
3424         Fix aio_error thread-safety.
3425         * sysdeps/pthread/aio_error.c: New file
3426         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
3427         synchronization.
3429 2015-03-06  Florian Weimer  <fweimer@redhat.com>
3431         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
3432         (group_number, vfprintf): Use it.
3433         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
3434         (JUMP, REF): Use it.
3435         (WORK_BUFFER_SIZE): New enum constant.
3436         (process_arg, vfprintf): Use it.
3438 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
3440         * manual/errno.texi (Error Messages): Complete example function
3441         by adding missing #define.
3442         (program_invocation_name): Add statement indicating GNU
3443         extension and reference which header file declares the variable.
3444         (program_invocation_short_name): Likewise.
3446 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
3448         * manual/errno.texi (Error Messages): Delete strerror ISO C89
3449         compatibility note.
3451 2015-03-05  Roland McGrath  <roland@hack.frob.com>
3453         * Makeconfig (test-wrapper-env-only): New variable.
3454         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
3455         then use that with $(test-wrapper-env-only) rather than using
3456         $(test-wrapper-env) $(run-program-env) $($*-ENV).
3458 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
3460         [BZ #18082]
3461         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
3462         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
3463         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
3464         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
3465         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
3466         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
3467         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
3468         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3469         Likewise.
3470         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
3471         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
3472         Likewise.
3473         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
3474         Likewise.
3475         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
3476         Likewise.
3477         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
3478         Likewise.
3479         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
3480         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
3481         Likewise.
3482         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
3483         Likewise.
3484         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
3485         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
3487 2015-03-04  Roland McGrath  <roland@hack.frob.com>
3489         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
3490         (ETH_ALEN): New macro.
3491         (struct ether_addr): Use it for length of ether_addr_octet.
3493         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
3494         (setdb): Don't call __nss_configure_lookup for "rpc".
3495         (do_test): Don't call test_rpc.
3496         (output_rpcent, test_rpc): Functions moved ...
3497         * sunrpc/test-rpcent.c: ... to this new file.
3498         * sunrpc/Makefile (tests): Add it.
3500         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
3501         __xpg_sigpause.
3502         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
3503         * nptl/tst-signal6.c: Likewise.
3504         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
3505         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
3507         * configure.ac (libc_cv_cxx_link_ok): New check.
3508         Reset CXX to empty if it fails to link.
3509         * configure: Regenerated.
3510         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
3511         bug-atexit3-lib only if $(CXX) is nonempty.
3512         * nptl/Makefile (tests): Likewise for tst-cancel24.
3513         (tests, tests-static): Likewise for tst-cancel24-static.
3514         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
3515         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
3516         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
3517         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
3519 2015-03-04  Andreas Schwab  <schwab@suse.de>
3521         [BZ #17631]
3522         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
3523         for non-GCC compilers.
3524         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
3525         Likewise.
3527 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
3529         [BZ #17776]
3530         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
3531         integer before bitwise and assembly operations.
3532         (feclearexcept): Likewise.
3533         * math/test-fenvinline.c: New file.
3534         * math/Makefile: Add test-fenvinline test.
3536 2015-03-03  Alan Modra  <amodra@gmail.com>
3538         [BZ #16512]
3539         * scripts/localplt.awk: Strip off symbol version.
3540         * NEWS: Mention bug fix.
3542 2015-03-02  Roland McGrath  <roland@hack.frob.com>
3544         * sysdeps/pthread/timer_routines.c
3545         (timer_free_list, thread_free_list, thread_active_list): Make static.
3547 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
3549         [BZ #17779]
3550         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3551         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3552         Undefine.
3553         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3554         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3555         Likewise.
3556         * sysdeps/unix/sysv/linux/sh/kernel-features.h
3557         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
3558         Likewise.
3560 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
3562         [BZ #18036]
3563         * posix/fnmatch_loop.c (END): Detect invalid pattern.
3564         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
3566 2015-03-02  Andreas Schwab  <schwab@suse.de>
3568         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
3569         variable name.
3571 2015-03-02  Florian Weimer  <fweimer@redhat.com>
3573         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
3574         Return error status.
3576 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
3578         [BZ #15969]
3579         * locale/findlocale.c (_nl_find_locale): Introduce const
3580         version of loc_name and drop unsafe type casts.
3582 2015-02-27  Roland McGrath  <roland@hack.frob.com>
3584         * dlfcn/tststatic2.c (main): Converted to ...
3585         (do_test): ... this.
3586         (TEST_FUNCTION): New macro.
3587         Include test-skeleton.c.
3589 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
3591         [BZ #17711]
3592         * elf/Makefile (tests): Add vismain only if PIE is enabled.
3593         (tests-pie): Add vismain.
3594         (CFLAGS-vismain.c): New.
3595         * elf/vismain.c: Add comments for PIE requirement.
3597 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3599         [BZ #18046]
3600         [BZ #18047]
3601         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
3602         0x1p-56L as threshold for just returning the argument.
3603         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
3604         0x1p-32L as threshold for just returning the argument.
3605         * math/auto-libm-test-in: Add more tests of atanh.
3606         * math/auto-libm-test-out: Regenerated.
3607         * sysdeps/i386/fpu/libm-test-ulps: Update.
3608         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
3610 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3612         * string/bcopy.c (bcopy): Call memmove for performance.
3614 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
3616         * string/bzero.c (__bzero): Call memset for performance.
3618 2015-02-27  John David Anglin  <dave.anglin@bell.net>
3620         [BZ #18068]
3621         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
3622         to 00100000.
3624 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
3626         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
3628 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3630         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
3631         (__kernel_standard): Use CSTR macro when setting exc.name.
3632         * sysdeps/ieee754/Makefile [$(subdir) = math]
3633         (CFLAGS-k_standard.c): Remove variable.
3635         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
3636         setting p and q from "else if" to "else".
3637         (qzero): Likewise.
3638         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
3639         (qone): Likewise.
3640         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
3641         (qzerof): Likewise.
3642         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
3643         (qonef): Likewise.
3644         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
3645         (qzero): Likewise.
3646         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
3647         (qone): Likewise.
3649         [BZ #18038]
3650         [BZ #18039]
3651         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
3652         return pi/2 for arguments below 0x1p-113L.
3653         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
3654         return pi/2 for arguments below 0x1p-106L.
3655         * math/auto-libm-test-in: Add more tests of acos.
3656         * math/auto-libm-test-out: Regenerated.
3658         [BZ #16351]
3659         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
3660         (MO): New macro.
3661         (__ieee754_asin): Force underflow exception for results with small
3662         absolute value.
3663         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
3664         (MO): New macro.
3665         (__ieee754_asinf): Force underflow exception for results with
3666         small absolute value.
3667         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
3668         (__ieee754_asin): Force underflow exception for results with small
3669         absolute value.
3670         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
3671         (__ieee754_asinf): Force underflow exception for results with
3672         small absolute value.
3673         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
3674         (__ieee754_asinl): Force underflow exception for results with
3675         small absolute value.
3676         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
3677         (__ieee754_asinl): Force underflow exception for results with
3678         small absolute value.
3679         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
3680         (__ieee754_asinl): Force underflow exception for results with
3681         small absolute value.
3682         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
3683         Include <math.h>.
3684         * math/auto-libm-test-in: Do not mark underflow exceptions as
3685         possibly missing for bug 16351.
3686         * math/auto-libm-test-out: Regenerated.
3688         [BZ #18030]
3689         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
3690         of power of 2 down when low part has opposite sign.
3691         * math/libm-test.inc (logb_test_data): Add more tests.
3693 2015-02-26  Andreas Schwab  <schwab@suse.de>
3695         [BZ #18032]
3696         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
3697         over collating symbol inside a bracket expression.  Minor cleanup.
3698         * posix/tst-fnmatch3.c (do_test): Add test case.
3700 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
3702         [BZ #18029]
3703         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
3704         Adjust exponent of power of 2 down when low part has opposite
3705         sign.
3706         * math/libm-test.inc (ilogb_test_data): Add more tests.
3708 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
3710         [BZ #15969]
3711         * locale/findlocale.c (_nl_find_locale): Fix constness error in
3712         the previous change.
3714         [BZ #15969]
3715         * locale/findlocale.c (_nl_find_locale): Retry archive search
3716         after alias expansion.
3718 2015-02-25  Roland McGrath  <roland@hack.frob.com>
3720         * iconv/tst-iconv3.c (main): Converted to ...
3721         (do_test): ... this.
3722         (TEST_FUNCTION): New macro.
3723         Include test-skeleton.c.
3725         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
3726         (convert): Make function static.
3727         (test_unalign): Likewise.  Add const to argument pointee types.
3728         (main): Replace with static function do_test.
3729         Print "Succeeded." only if RET is zero.
3730         (TEST_FUNCTION): New macro.
3731         Include test-skeleton.c.
3733         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
3734         returns a null pointer.
3736 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3738         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
3739         to __memcpy_ppc only for static builds.
3741 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
3743         [BZ #18020]
3744         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
3745         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
3746         * math/auto-libm-test-in: Add more tests of asinh.
3747         * math/auto-libm-test-out: Regenerated.
3748         * sysdeps/i386/fpu/libm-test-ulps: Update.
3749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3751 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
3753         [BZ #15850]
3754         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
3755         and ip6_mtuinfo definitions here.
3756         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
3757         in this define too.  Update comment.
3759 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
3761         * elf/sprof.c (load_shobj): Tweak error message to match others.
3763 2015-02-24  Kevin Easton  <kevin@guarana.org>
3765         [BZ #16145] (partial fix)
3766         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
3767         to reduce lock contention.
3769 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
3771         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
3772         (struct timex): Update time comment.
3773         (ADJ_SETOFFSET): Define.
3775 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3777         [BZ #18019]
3778         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
3779         2**56 not 2**28 as threshold for log (2x) formula.
3780         * math/auto-libm-test-in: Add more tests of acosh.
3781         * math/auto-libm-test-out: Regenerated.
3782         * sysdeps/i386/fpu/libm-test-ulps: Update.
3783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3785 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3787         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
3788         parenthesis around the buf assignment.
3789         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
3791 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
3793         [BZ #16783]
3794         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
3795         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
3796         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
3797         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3798         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
3799         * math/libm-test.inc (scalb_test_data): Add more tests.
3801 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
3803         [BZ #17916]
3804         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
3805         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
3807 2015-02-24  Eric Rannaud  <e@nanocritical.com>
3809         [BZ #17523]
3810         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
3811         * io/bits/fcntl2.h (open): Use it.
3812         (openat): Likewise.
3813         * io/open.c (__libc_open): Likewise.
3814         * io/open64.c (__libc_open64): Likewise.
3815         * io/open64_2.c (__open64_2): Likewise.
3816         * io/open_2.c (__open_2): Likewise.
3817         * io/openat.c (__openat): Likewise.
3818         * io/openat64.c (__openat64): Likewise.
3819         * io/openat64_2.c (__openat64_2): Likewise.
3820         * io/openat_2.c (__openat_2): Likewise.
3821         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
3822         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
3823         * sysdeps/posix/open64.c (__libc_open64): Likewise.
3824         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
3825         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
3826         (__open_nocancel): Likewise.
3827         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
3828         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
3829         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
3831 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3833         [BZ #14841]
3834         * resolv/gethnamaddr.c (getanswer): Skip logging if
3835         RES_USE_DNSSEC is set.
3836         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
3838 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3840         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
3842 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
3844         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
3845         201304L, for Unicode 7.
3847 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
3849         [BZ #17836]
3850         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
3851         shared library.  Add gmon-start.os otherwise.
3852         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
3853         $(objpfx)gmon-start.os if builing shared library.
3854         ($(objpfx)g$(static-start-installed-name)): Likewise.
3856 2015-02-23  Andreas Schwab  <schwab@suse.de>
3858         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
3860 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
3862         [BZ #17269]
3863         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
3864         (enlarge_userbuf): Likewise.
3866 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
3868         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
3869         * math/atest-exp.c (TIMEOUT): Adjust to 200.
3870         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
3871         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
3873 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
3875         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
3876         expression inside statement expression.
3878 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
3880         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
3881         <sysdeps/nptl/lowlevellock.h> and remove macros and
3882         functions that are now defined there.
3883         (SYS_futex): Remove.
3884         (lll_compare_and_swap): Remove.
3885         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
3887 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
3889         [BZ #17999]
3890         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
3891         instead of scandirat.
3892         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
3893         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
3894         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
3895         __scandirat.
3896         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
3897         (__scandirat): Declare.  Use libc_hidden_proto.
3898         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
3899         Remove variable.
3900         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
3902 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3904         [BZ #15319]
3905         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
3906         (MO): New macro.
3907         (__ieee754_atan2): For results with small absolute value, force
3908         underflow exception and remove excess range and precision from
3909         return value.
3910         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
3911         (MO): New macro.
3912         (__ieee754_atan2f): For results with small absolute value, force
3913         underflow exception and remove excess range and precision from
3914         return value.
3915         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
3916         (MO): New macro.
3917         (__atan): For results with small absolute value, force underflow
3918         exception and remove excess range and precision from return value.
3919         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
3920         (MO): New macro.
3921         (__atanf): For results with small absolute value, force underflow
3922         exception and remove excess range and precision from return value.
3923         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
3924         <math.h>.
3925         (__ieee754_atan2): Force underflow exception for results with
3926         small absolute value.
3927         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
3928         <math_private.h>.
3929         (atan): Force underflow exception for results with small absolute
3930         value.
3931         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
3932         (__atanf): Force underflow exception for results with small
3933         absolute value.
3934         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
3935         <math.h>.
3936         (__atanl): Force underflow exception for results with small
3937         absolute value.
3938         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
3939         (__atanl): Force underflow exception for results with small
3940         absolute value.
3941         * sysdeps/x86/fpu/bits/mathinline.h
3942         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
3943         (__ieee754_atan2): Only define inline for long double.
3944         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
3945         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
3946         * math/auto-libm-test-in: Do not mark underflow exceptions as
3947         possibly missing for bug 15319.  Add more tests of atan2.
3948         * math/auto-libm-test-out: Regenerated.
3949         * math/libm-test.inc (casin_test_data): Do not mark underflow
3950         exceptions as possibly missing for bug 15319.
3951         (casinh_test_data): Likewise.
3952         * sysdeps/i386/fpu/libm-test-ulps: Update.
3954 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
3956         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
3957         * sysdeps/mips/bits/endian.h: Fix comments.
3959 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
3961         [BZ #17996]
3962         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
3963         (hdestroy_r): Likewise.
3964         (hsearch_r): Likewise.
3965         (__hcreate_r): Declare and use libc_hidden_proto.
3966         (__hdestroy_r): Likewise.
3967         (__hsearch_r): Likewise.
3968         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
3969         (hcreate): Call __hcreate_r instead of hcreate_r.
3970         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
3971         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
3972         as weak alias of __hcreate_r.
3973         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
3974         __hdestroy_r.
3975         (hsearch_r): Rename to __hsearch_r and define as weak alias of
3976         __hsearch_r.
3977         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
3978         Remove variable.
3979         (test-xfail-XPG4/search.h/linknamespace): Likewise.
3980         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
3981         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
3982         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
3984 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
3986         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
3987         arena_lock into a single arena_get.
3989 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
3991         * dl-reloc.c: Inlucde libc-internal.h.
3992         (_dl_try_allocate_static_tls): Call ALIGN_UP.
3993         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
3994         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
3995         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
3996         (grow_heap): Likewise.
3997         * malloc/malloc.c: Include libc-internal.h.
3998         (do_check_malloc): Call powerof2.
3999         (sysmalloc): Use pagesize. Call ALIGN_UP.
4000         (systrim): Use pagesize.
4001         (mremap_chunk): Use pagesize. Call ALIGN_UP.
4002         (__libc_valloc): Use pagesize.
4003         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
4005 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4007         [BZ #17991]
4008         * include/sys/resource.h (__getrlimit64): Declare.  Use
4009         libc_hidden_proto.
4010         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
4011         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
4012         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
4013         getrlimit64.
4014         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
4015         __getrlimit64.
4016         [!getrlimit64] (getrlimit64): Define as weak alias of
4017         __getrlimit64.  Use libc_hidden_weak.
4018         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
4019         using __getrlimit64 not __new_getrlimit64.
4020         (__GI_getrlimit64): Likewise.
4021         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
4022         Likewise.
4023         (__GI_getrlimit64): Likewise.
4024         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
4025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
4026         (getrlimit): Add __getrlimit64 alias.
4027         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
4028         Likewise.
4029         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
4030         Remove variable.
4031         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4032         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4034 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
4036         * libio/fileops.c: Add missing sys/mman.h
4037         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
4039 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
4041         * manual/math.texi (Errors in Math Functions): Clarify goals
4042         regarding inexact and underflow exceptions.
4044 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4046         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
4047         * sysdeps/mips/memset.S: Ditto.
4049 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
4051         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
4053 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4055         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
4056         (__v1longjmp): Remove versioned symbol.
4057         (__v1siglongjmp): Remove alias and versioned symbol.
4058         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
4059         (__v2siglongjmp): Likewise.
4061 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4063         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
4065 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
4067         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
4069 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4071         [BZ #17987]
4072         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
4073         zero result does not depend on the sign resulting from
4074         subtraction.
4075         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4076         Likewise.
4077         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4078         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4079         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4080         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4081         * math/libm-test.inc (remquo_test_data): Add more tests.
4083 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
4085         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
4086         Problem reported by J William Piggott.
4088 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
4090         [BZ #17978]
4091         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
4092         products 4 * y and 2 * y where those would overflow.
4093         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4094         Likewise.
4095         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
4096         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
4097         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
4098         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
4099         * math/libm-test.inc (remquo_test_data): Add more tests.
4101         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
4103         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
4104         [defined _COMPILING_NEWLIB].
4105         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
4106         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
4108         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
4109         [!defined __mips_isa_rev || __mips_isa_rev < 6].
4111 2015-02-16  Torvald Riegel  <triegel@redhat.com>
4113         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
4114         acquired.
4116 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
4118         [BZ #17792]
4119         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
4120         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
4121         HOST_STACK_END_ADDR): Likewise.
4123 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
4125         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
4126         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
4127         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
4129 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4131         * sysdeps/generic/c++-types.data: New file.
4132         * sysdeps/generic/ld.abilist: New file.
4133         * sysdeps/generic/libBrokenLocale.abilist: New file.
4134         * sysdeps/generic/libanl.abilist: New file.
4135         * sysdeps/generic/libc.abilist: New file.
4136         * sysdeps/generic/libcrypt.abilist: New file.
4137         * sysdeps/generic/libdl.abilist: New file.
4138         * sysdeps/generic/libm.abilist: New file.
4139         * sysdeps/generic/libpthread.abilist: New file.
4140         * sysdeps/generic/libresolv.abilist: New file.
4141         * sysdeps/generic/librt.abilist: New file.
4143 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4145         [BZ #17569]
4146         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
4147         Compute absolute value of x as modified by fmod, not original
4148         value of x.
4149         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
4150         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
4151         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
4152         RUN_TEST_ffI_f1_mod8.
4153         (remquo_test_data): Add more tests.
4155 2015-02-13  Roland McGrath  <roland@hack.frob.com>
4157         * sysdeps/init_array/pt-crti.S: New file.
4159 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
4161         [BZ #17967]
4162         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
4163         __builtin_fmaf instead of relying on contraction of a * b + c.
4165 2015-02-12  J William Piggott  <elseifthen@gmx.com>
4167         [BZ #17969]
4168         * manual/time.texi: correct the zoneinfo path in the TZ Variable
4169         node.
4171 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4173         [BZ #17964]
4174         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
4175         __builtin_fma instead of relying on contraction of a * b + c.
4177 2015-02-12  Roland McGrath  <roland@hack.frob.com>
4179         * Makeconfig (ASFLAGS): Add -Werror=undef.
4180         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
4181         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
4182         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
4184         * Makeconfig (after-link): New variable.
4185         (+link-pie, +link-pie-tests): Use it.
4186         (+link-static, +link-static-tests): Likewise.
4187         (+link, +link-tests): Likewise.
4188         * Makerules (build-module, build-module-asneeded): Likewise.
4189         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
4190         Likewise.
4191         * elf/Makefile ($(objpfx)ld.so): Likewise.
4193 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
4195         [BZ #17965]
4196         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
4197         both struct timeval and struct timespec.
4199 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
4201         [BZ #16560]
4202         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4203         and redefine.
4204         (__ieee754_exp2l): Do not multiply small fractional parts by
4205         M_LN2l.
4206         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
4207         small argument.
4208         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4209         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
4210         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
4211         * math/auto-libm-test-in: Add more tests of exp2.
4212         * math/auto-libm-test-out: Regenerated.
4214 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4216         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
4217         unaligned path.
4219 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4221         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
4222         little endian.
4224 2015-02-12  Andreas Schwab  <schwab@suse.de>
4226         [BZ #15790]
4227         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
4228         Filter out elision flags from value returned in kind.
4229         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
4230         * nptl/tst-pthread-mutexattr.c: New file.
4232 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4234         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
4235         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
4236         into gnu-gnu, and update comment to refer to abi-tags.
4238 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
4240         [BZ #15467]
4241         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
4242         (__sincos): Set errno to EDOM for infinite argument.
4243         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
4244         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
4245         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
4246         (__sincosl): Set errno to EDOM for infinite argument.
4247         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
4248         (__sincosl): Set errno to EDOM for infinite argument.
4249         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
4250         (__sincosl): Set errno to EDOM for infinite argument.
4251         * math/libm-test.inc (sincos_test_data): Test errno setting.
4253 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
4255         * string/strxfrm_l.c: Remove #define STRCMP.
4256         * string/strcoll_l.c: Remove #define STRLEN.
4257         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
4258         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
4260 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
4262         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
4263         * sysdeps/mips/mips32/sfp-machine.h: ... here.
4264         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
4265         * sysdeps/mips/mips64/Makefile: ... here.
4266         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
4267         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
4268         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
4269         * sysdeps/mips/mips64/sfp-machine.h: ... here.
4270         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
4271         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
4272         * sysdeps/mips/mips64/n64/Implies: Likewise.
4274 2015-02-10  Roland McGrath  <roland@hack.frob.com>
4276         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
4277         <sys/time.h>, <string.h>, and <errno.h>.
4278         (dest_offset, dest_address, value, zero): Remove unused variables.
4279         (ldouble): Remove typedef.
4280         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
4281         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
4282         1).  Fix code style.
4283         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
4284         (check): Function removed.
4285         (CHECK): New macro.
4286         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
4287         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
4288         Don't call set_sigaction_FP and remove_sigaction_FP here.
4289         (ldouble_test): Just use 'long double' as macro argument, no need for
4290         the 'ldouble' typedef.
4291         (do_test): Set up SIGFPE handler at start, using plain signal rather
4292         than sigaction.  Fix code style.
4294 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
4296         [BZ #17949]
4297         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
4298         jump label.
4300 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4302         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
4303         * sysdeps/powerpc/powerpc32/configure: Regenerated.
4305         * sysdeps/powerpc/configure.ac: Remove file.
4306         * sysdeps/powerpc/configure: Likewise.
4308         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4309         [sysdep_routines]: Remove wordcopy-power6 object.
4310         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4311         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
4312         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
4313         (__memmove_ppc32): Likewise.
4314         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
4315         file.
4316         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
4317         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
4318         Remove preprocessor.
4320         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
4321         [sysdep_routines]: Remove wide chars objects.
4322         [wcsmbs]: New rule for wide char objects.
4324         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4325         Remove wordcopy-power6 obejct.
4326         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
4327         Use local call for wordcopy and memcpy symbols.
4328         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
4329         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
4330         implementation for loader.
4331         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
4333         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4334         Remove wordcopy-power7 object.
4335         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
4336         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
4337         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
4338         (_wordcopy_fwd_dest_aligned): Likewise.
4339         (_wordcopy_bwd_aligned): Likewise.
4340         (_wordcopy_bwd_dest_aligned): Likewise.
4342         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
4343         Rewrite to call __memmove_ppc instead of include default
4344         implementation.
4346         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4347         Remove wide chars objects.
4348         [wcsmbs]: New rule for wide char objects.
4350 2015-02-09  Andreas Schwab  <schwab@suse.de>
4352         [BZ #17912]
4353         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4354         in terms of __O_DIRECTORY.
4356 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4358         * time/getdate.c: Include <stdbool.h>.
4359         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
4360         call PTR_MANGLE.
4361         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
4362         PTR_DEMANGLE.
4364 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
4366         Add ersatz _Static_assert on older C hosts
4367         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
4368         pre-C11 C platform that is not known to support _Static_assert.
4370 2015-02-07  Richard Braun  <rbraun@sceen.net>
4372         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
4373         sigstate.
4374         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
4376 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4378         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4379         priority against unexistent AIO_PRIO_DELTA_MAX.
4380         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
4381         instead of int.
4382         * misc/fchflags.c (fchflags): Likewise.
4383         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
4384         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
4385         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
4386         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
4387         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
4388         Declare macros.
4389         [__USE_MISC] (chflags, fchflags): Declare functions.
4390         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
4391         EINVAL when nfds is greater than FD_SETSIZE.
4392         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
4393         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
4394         45.
4395         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
4396         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
4397         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
4398         MACH_RCV_TIMED_OUT.
4399         * hurd/hurd/signal.h (_hurd_self_sigstate,
4400         _hurd_critical_section_lock, _hurd_critical_section_unlock):
4401         Explicit casts from void *.
4402         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
4403         * abi-tags: Rename gnu-gnu os into gnu.
4405         [BZ #4719]
4406         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
4407         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
4408         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
4409         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
4410         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
4411         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
4413         [BZ #17944]
4414         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
4415         duplicates ADDR->sun_path with sockaddr LEN limitation.
4416         * sysdeps/mach/hurd/connect.c: Include <string.h>
4417         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
4418         * sysdeps/mach/hurd/sendmsg.c: Likewise.
4419         * sysdeps/mach/hurd/sendto.c: Likewise.
4420         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
4421         implementing it by hand.
4423 2015-02-06  Roland McGrath  <roland@hack.frob.com>
4425         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4426         Use sfi_breg on ldr.
4427         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
4428         Likewise.
4430         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
4431         it's defined.
4432         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
4433         Test SIGSETXID only if it's defined.
4435         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
4437         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
4438         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
4440         * nptl/tst-align2.c: Moved ...
4441         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
4442         * nptl/Makefile (tests): Remove tst-align2.
4443         * sysdeps/unix/sysv/linux/Makefile
4444         [$(subdir) = nptl] (tests): Add tst-align-clone.
4445         * nptl/tst-getpid1.c: Moved ...
4446         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
4447         * nptl/tst-getpid2.c: Moved ...
4448         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
4449         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
4450         * sysdeps/unix/sysv/linux/Makefile
4451         [$(subdir) = nptl] (tests): ... here.
4452         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
4453         * sysdeps/unix/sysv/linux/Makefile
4454         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
4456         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
4457         Drop trailing \n from perror argument.  Use return rather than exit.
4459         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
4460         on [SA_SIGINFO].
4461         * nptl/tst-cancel21.c (do_test): Likewise.
4462         * debug/tst-backtrace6.c: Include <signal.h> first thing.
4463         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
4464         [!SA_SIGINFO]: Make it a stub test.
4466         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
4467         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
4469         * posix/tst-getlogin.c: Move to ...
4470         * login/tst-getlogin.c: ... here.
4471         * posix/Makefile (tests): Move tst-getlogin to ...
4472         * login/Makefile (tests): ... here.
4474         * libio/tst-atime.c (do_test): Move local variables SV and E
4475         inside [ST_NOATIME] conditional.
4477         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
4479         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
4481         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
4482         (wait_code): New function replaces macro.
4483         Call nanosleep rather than syscall.
4485         * nptl/pt-system.c: Rewritten.  Put everything under
4486         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4487         Use IFUNC to redirect when possible.
4489         * nptl/pt-longjmp.c: Rewritten.  Put everything under
4490         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4491         Use IFUNC to redirect when possible.
4493         * nptl/pt-fork.c: Rewritten.  Put everything under
4494         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
4495         Use IFUNC to redirect when possible.
4496         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
4498         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
4499         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
4500         unconditionally nowadays.  This included the only reference to
4501         __vdso_clock_gettime that appears outside libc proper.
4502         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
4503         Remove version set (containing only __vdso_clock_gettime).
4504         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
4505         Add attribute_hidden.
4506         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
4507         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
4508         libc_hidden_data_def.
4509         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
4510         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
4512         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
4513         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
4514         setrpcent, and getrpcport to ...
4515         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
4516         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
4517         getrpcbynumber_r, and getrpcent_r to ...
4518         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
4519         * inet/getrpcbyname.c: Moved ...
4520         * sunrpc/getrpcbyname.c: ... here.
4521         * inet/getrpcbyname_r.c: Moved ...
4522         * sunrpc/getrpcbyname_r.c: ... here.
4523         * inet/getrpcbynumber.c: Moved ...
4524         * sunrpc/getrpcbynumber.c: ... here.
4525         * inet/getrpcbynumber_r.c: Moved ...
4526         * sunrpc/getrpcbynumber_r.c: ... here.
4527         * inet/getrpcent.c: Moved ...
4528         * sunrpc/getrpcent.c: ... here.
4529         * inet/getrpcent_r.c: Moved ...
4530         * sunrpc/getrpcent_r.c: ... here.
4531         * inet/Makefile (routines): Move those to ...
4532         * sunrpc/Makefile (routines): ... here.
4533         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
4534         the $(subdirs) list.
4535         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
4536         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
4537         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
4538         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
4540         * elf/Makefile (routines): Include $(all-dl-routines), not just
4541         $(dl-routines).
4542         (rtld-routines): Likewise.  Use = rather than :=.
4543         * sysdeps/aarch64/Makefile [$(subdir) = elf]
4544         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
4545         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
4546         * sysdeps/arm/Makefile: Likewise.
4547         * sysdeps/i386/Makefile: Likewise.
4548         * sysdeps/x86_64/Makefile: Likewise.
4549         * sysdeps/hppa/Makefile [$(subdir) = elf]
4550         (sysdep_routines, sysdep-rtld-routines): Don't add
4551         $(sysdep-dl-routines) to these.
4552         * sysdeps/ia64/Makefile: Likewise.
4553         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
4554         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
4555         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
4556         Don't add dl-static to these; sysdep-dl-routines alone is enough.
4557         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
4558         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
4559         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
4560         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
4561         * sysdeps/powerpc/Makefile [$(subdir) = elf]
4562         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
4563         these; sysdep-dl-routines alone is enough.
4565 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
4567         [BZ #17932]
4568         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
4569         where multiplication results in zero and third argument is finite
4570         and nonzero.
4571         * math/auto-libm-test-in: Add more tests of fma.
4572         * math/auto-libm-test-out: Regenerated.
4574         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
4575         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
4576         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
4577         (_FP_CMP_EQ): Likewise.
4578         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
4580         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
4581         extra argument CHECK_NAN.  Redefine as wrapper around
4582         _FP_EXTEND_CNAN.
4584 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
4586         * version.h (RELEASE): Set to "stable".
4587         (VERSION): Set to "2.21"
4588         * include/features.h (__GLIBC_MINOR__): Set to 21.
4590         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
4592 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
4593             Paul Eggert  <eggert@cs.ucla.edu>
4595         [BZ #16618]
4596         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
4597         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
4598         size in bytes. Store needed elements in wpmax. Use needed size
4599         in bytes for extend_alloca.
4601 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
4603         * manual/install.texi: Latest tested versions are GCC 4.9.2,
4604         binutls 2.25, and texinfo 5.2.
4605         * INSTALL: Regenerate.
4606         * sysdeps/nios2/configure: Regenerate.
4607         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
4608         * manual/contrib.texi: Update.
4609         * po/be.po: Update.
4610         * po/bg.po: Update.
4611         * po/ca.po: Update.
4612         * po/cs.po: Update.
4613         * po/da.po: Update.
4614         * po/de.po: Update.
4615         * po/el.po: Update.
4616         * po/eo.po: Update.
4617         * po/es.po: Update.
4618         * po/fi.po: Update.
4619         * po/fr.po: Update.
4620         * po/gl.po: Update.
4621         * po/hr.po: Update.
4622         * po/hu.po: Update.
4623         * po/ia.po: Update.
4624         * po/id.po: Update.
4625         * po/it.po: Update.
4626         * po/ja.po: Update.
4627         * po/ko.po: Update.
4628         * po/lt.po: Update.
4629         * po/nb.po: Update.
4630         * po/nl.po: Update.
4631         * po/pl.po: Update.
4632         * po/pt_BR.po: Update.
4633         * po/ru.po: Update.
4634         * po/rw.po: Update.
4635         * po/sk.po: Update.
4636         * po/sl.po: Update.
4637         * po/sv.po: Update.
4638         * po/tr.po: Update.
4639         * po/uk.po: Update.
4640         * po/vi.po: Update.
4641         * po/zh_CN.po: Update.
4642         * po/zh_TW.po: Update.
4644         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
4645         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
4646         * sysdeps/hppa/dl-irel.h: Remove #warning.
4647         * sysdeps/hppa/entry.h: Provide prototype for
4648         __canonicalize_funcptr_for_compare and cast argument.
4649         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
4650         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
4651         * sysdeps/hppa/sotruss-lib.c: New file.
4652         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
4653         (atomic_compare_and_exchange_val_acq): Use __typeof__.
4654         (atomic_compare_and_exchange_bool_acq): Likewise.
4655         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
4656         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
4658         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
4659         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
4660         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
4662 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
4664         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
4665         called function in non-PIC case.
4667 2015-01-31  David S. Miller  <davem@davemloft.net>
4669         * sysdeps/sparc/sparc32/bits/atomic.h
4670         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
4671         unlock not after it.
4672         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
4673         volatile register usage warnings from the compiler.
4675         * sysdeps/sparc/nptl/sem_init.c: Delete.
4676         * sysdeps/sparc/nptl/sem_post.c: Delete.
4677         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
4678         * sysdeps/sparc/nptl/sem_wait.c: Delete.
4679         * sysdeps/sparc/sparc32/sem_init.c: New file.
4680         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
4681         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
4682         padding explicitly initialized.
4683         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
4684         padding for in-semaphore spinlock.
4685         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
4686         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
4687         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
4688         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
4689         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
4690         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
4691         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
4692         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
4693         version.
4694         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
4695         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
4697 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
4699         [BZ #17801]
4700         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4701         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
4702         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
4703         New.
4704         (index_AVX_Fast_Unaligned_Load): Likewise.
4705         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
4706         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
4707         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
4708         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
4709         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
4710         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
4711         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
4712         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
4713         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
4715 2015-01-29  Andreas Schwab  <schwab@suse.de>
4717         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
4719 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
4721         [BZ #17892]
4722         * nscd/nscd_stat.c (send_stats): Initialize DATA.
4724 2015-01-28  Martin Sebor  <msebor@redhat.com>
4726         * math/README.libm-test: Clarify. Add "How to read the test output."
4728 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
4730         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
4731         Define to 0.
4733 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
4735         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
4736         (__HAVE_64B_ATOMICS): Define to 0.
4738 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4740         [BZ #17885]
4741         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
4742         value to set as new flag.
4744         [BZ #16576]
4745         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
4746         and use _ARCH_PPCSQ instead.
4747         (__ieee754_sqrt): Likewise.
4748         (__ieee754_sqrtf): Likewise.
4749         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
4750         _ARCH_PPCSQ is defined.
4751         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
4752         fsqrt instruction.
4753         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
4754         _ARCH_PPCSQ is defined.
4755         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
4756         fsqrts instruction.
4757         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
4759 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4761         * iconv/loop.c: Suppress array out of bound warning caused by GCC
4762         bug (GCC BZ #64739).
4764 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
4766         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
4767         Mark _retval as used.
4768         (lll_futex_wake_unlock): Likewise.
4769         (lll_futex_timed_wait_requeue_pi): Likewise.
4771         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4772         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
4773         register variables.
4775         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
4776         libm_hidden_def.
4778         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
4779         (__bswap_64): Mark as __always_inline.
4781 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
4783         [BZ #15378]
4784         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
4785         when none of the search directories exist.
4787 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
4789         [BZ #17869]
4790         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
4791         power8 in .machine directive.
4793         [BZ #17868]
4794         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
4795         set dependency from opd value.
4797 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4799         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4800         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
4801         architecture.
4803 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
4805         [BZ #17870]
4806         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
4807         with uint64_t.
4808         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
4809         (uint64_t) 1.
4810         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
4811         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
4812         Replace 1UL with (uint64_t) 1.
4813         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
4814         int with uint64_t.
4816 2015-01-23  Roland McGrath  <roland@hack.frob.com>
4818         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
4819         (if_freenameindex): Likewise.
4821         * resource/getrlimit64.c: Add missing libc_hidden_def.
4823 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
4825         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
4826         __label__.
4827         (_FP_FMA): Likewise.
4828         (_FP_TO_INT_ROUND): Likewise.
4829         (_FP_FROM_INT): Likewise.
4831 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4833         [BZ #16418]
4834         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4835         Make code racy and cancel safe.
4837 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
4839         * sysdeps/arm/unwind-resume.h: Fix copyright year.
4840         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
4841         attribution.
4843         * pwd/tst-getpw.c: Rewrite.
4845         [BZ #17702]
4846         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
4847         (modules-names): Add moddummy1 and moddummy2.
4848         ($(objpfx)tst-rec-dlopen): Define.
4849         * dlfcn/moddummy1.c: New file.
4850         * dlfcn/moddummy2.c: New file.
4851         * dlfcn/tst-rec-dlopen.c: New file.
4852         * elf/dl-cache.c (_dl_load_cache_lookup):
4853         Return char*. Copy result with alloca/strcpy/strdup.
4854         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
4855         returns char*. Free cached. If not saving realname
4856         free cached.
4857         * elf/dl-open.c (dl_open_worker): Do not assert that
4858         _r_debug->r_state is RT_CONSISTENT.
4859         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
4860         returns char*.
4862 2015-01-21  Torvald Riegel  <triegel@redhat.com>
4863             Carlos O'Donell  <carlos@redhat.com>
4865         [BZ #12674]
4866         * nptl/sem_waitcommon.c: New file.
4867         * nptl/sem_wait.c: Include sem_waitcommon.c.
4868         (__sem_wait_cleanup, do_futex_wait): Remove.
4869         (__new_sem_wait): Adapt.
4870         (__new_sem_trywait): New function.
4871         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
4872         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
4873         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
4874         (sem_timedwait): Adapt.
4875         * nptl/sem_post.c (__new_sem_post): Adapt.
4876         (futex_wake): New function.
4877         (__old_sem_post): Add release MO fence.
4878         * nptl/sem_open.c (sem_open): Adapt.
4879         * nptl/sem_init.c (__new_sem_init): Adapt.
4880         (futex_private_if_supported): New function.
4881         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
4882         (__old_sem_getvalue): Add using previous code.
4883         * sysdeps/nptl/internaltypes.h: Adapt.
4884         * nptl/tst-sem13.c (do_test): Adapt.
4885         * nptl/tst-sem11.c (main): Adapt.
4886         * nptl/sem_trywait.c: Remove.
4887         * nptl/DESIGN-sem.txt: Remove.
4888         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
4889         (gen-as-const-headers): Remove structsem.sym.
4890         * nptl/structsem.sym: Remove.
4891         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
4892         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
4893         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
4894         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
4895         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
4896         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
4897         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
4898         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
4899         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
4900         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
4901         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
4902         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
4903         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
4904         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
4905         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
4906         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
4907         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
4908         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
4909         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
4910         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
4911         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
4912         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
4914 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
4916         * INSTALL: Regenerated.
4918         * po/libc.pot: Regenerated.
4920 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
4921             Sandra Loosemore  <sandra@codesourcery.com>
4922             Andrew Jenner  <andrew@codesourcery.com>
4923             Joseph Myers  <joseph@codesourcery.com>
4924             Nathan Sidwell  <nathan@codesourcery.com>
4926         * NEWS: Mention new Nios II port.
4927         * sysdeps/nios2/Implies: New file.
4928         * sysdeps/nios2/Makefile: New file.
4929         * sysdeps/nios2/Subdirs: New file.
4930         * sysdeps/nios2/Versions: New file.
4931         * sysdeps/nios2/__longjmp.S: New file.
4932         * sysdeps/nios2/abort-instr.h: New file.
4933         * sysdeps/nios2/backtrace.c: New file.
4934         * sysdeps/nios2/bits/endian.h: New file.
4935         * sysdeps/nios2/bits/fenv.h: New file.
4936         * sysdeps/nios2/bits/link.h: New file.
4937         * sysdeps/nios2/bits/setjmp.h: New file.
4938         * sysdeps/nios2/bsd-_setjmp.S: New file.
4939         * sysdeps/nios2/bsd-setjmp.S: New file.
4940         * sysdeps/nios2/configure: New generated file.
4941         * sysdeps/nios2/configure.ac: New file.
4942         * sysdeps/nios2/crti.S: New file.
4943         * sysdeps/nios2/crtn.S: New file.
4944         * sysdeps/nios2/dl-init.c: New file.
4945         * sysdeps/nios2/dl-machine.h: New file.
4946         * sysdeps/nios2/dl-sysdep.h: New file.
4947         * sysdeps/nios2/dl-tls.h: New file.
4948         * sysdeps/nios2/dl-trampoline.S: New file.
4949         * sysdeps/nios2/gccframe.h: New file.
4950         * sysdeps/nios2/gmp-mparam.h: New file.
4951         * sysdeps/nios2/jmpbuf-offsets.h: New file.
4952         * sysdeps/nios2/jmpbuf-unwind.h: New file.
4953         * sysdeps/nios2/ldsodefs.h: New file.
4954         * sysdeps/nios2/libc-tls.c: New file.
4955         * sysdeps/nios2/libm-test-ulps: New file.
4956         * sysdeps/nios2/machine-gmon.h: New file.
4957         * sysdeps/nios2/math-tests.h: New file.
4958         * sysdeps/nios2/math_private.h: New file.
4959         * sysdeps/nios2/memusage.h: New file.
4960         * sysdeps/nios2/nptl/Makefile: New file.
4961         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
4962         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
4963         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
4964         * sysdeps/nios2/nptl/pthreaddef.h: New file.
4965         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
4966         * sysdeps/nios2/nptl/tls.h: New file.
4967         * sysdeps/nios2/preconfigure: New file.
4968         * sysdeps/nios2/s_fma.c: New file.
4969         * sysdeps/nios2/s_fmaf.c: New file.
4970         * sysdeps/nios2/setjmp.S: New file.
4971         * sysdeps/nios2/sfp-machine.h: New file.
4972         * sysdeps/nios2/sotruss-lib.c: New file.
4973         * sysdeps/nios2/stackguard-macros.h: New file.
4974         * sysdeps/nios2/stackinfo.h: New file.
4975         * sysdeps/nios2/start.S: New file.
4976         * sysdeps/nios2/sysdep.h: New file.
4977         * sysdeps/nios2/tls-macros.h: New file.
4978         * sysdeps/nios2/tst-audit.h: New file.
4979         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
4980         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
4981         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
4982         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
4983         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
4984         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
4985         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
4986         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
4987         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
4988         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
4989         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
4990         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
4991         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
4992         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
4993         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
4994         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
4995         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
4996         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
4997         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
4998         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
4999         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
5000         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
5001         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
5002         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
5003         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
5004         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
5005         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
5006         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
5007         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
5008         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
5009         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
5010         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
5011         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
5012         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
5013         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
5014         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
5015         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
5016         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
5017         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
5018         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
5019         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
5020         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
5021         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
5022         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
5024 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5026         [BZ #17844]
5027         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
5028         (getutent): Use weak_alias in non SHARED case
5029         and default_symbol_version in SHARED case.
5030         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
5031         (getutent_r, pututline): Likewise.
5032         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
5033         (getutid): Likewise.
5034         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
5035         (getutid_r): Likewise.
5036         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
5037         (getutline): Likewise.
5038         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
5039         (getutline_r): Likewise.
5040         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
5041         (updwtmp): Likewise.
5043 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5045         [BZ #17848]
5046         * sysdeps/s390/s390-32/memcmp.S
5047         (memcmp_g5): Rename to __memcmp_g5.
5048         * sysdeps/s390/s390-32/memcpy.S
5049         (memcpy_g5): Rename to __memcpy_g5.
5050         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5051         (memcpy_mvcle) Rename to __memcpy_mvcle.
5052         * sysdeps/s390/s390-32/memset.S
5053         (memset_g5): Rename to __memset_g5.
5054         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
5055         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5056         and use prefixed functions.
5057         * sysdeps/s390/s390-32/multiarch/memcmp.S
5058         (memcmp_z196): Rename to __memcmp_z196.
5059         (memcmp_z10): Rename to __memcmp_z10.
5060         (memcmp): Set alias to __memcmp_g5.
5061         (bcmp): Set alias to __memcmp_g5.
5062         * sysdeps/s390/s390-32/multiarch/memcpy.S
5063         (memcpy_z196): Rename to __memcpy_z196.
5064         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5065         (memcpy_z10): Rename to __memcpy_z10.
5066         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5067         (memcpy): Set alias to __memcpy_g5.
5068         * sysdeps/s390/s390-32/multiarch/memset.S
5069         (memset_z196): Rename to __memset_z196.
5070         Jump to __memset_mvcle instead of memset_mvcle.
5071         (memset_z10): Rename to __memset_z10.
5072         Jump to __memset_mvcle instead of memset_mvcle.
5073         (memset_mvcle) Rename to __memset_mvcle.
5074         (memset): Set alias to __memset_g5.
5075         * sysdeps/s390/s390-64/memcmp.S
5076         (memcmp_z900): Rename to __memcmp_z900.
5077         * sysdeps/s390/s390-64/memcpy.S
5078         (memcpy_z900): Rename to __memcpy_z900.
5079         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5080         (memcpy_mvcle) Rename to __memcpy_mvcle.
5081         * sysdeps/s390/s390-64/memset.S
5082         (memset_z900): Rename to __memset_z900.
5083         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
5084         (IFUNC_RESOLVE): Prefix ifunc-resolve function
5085         and use prefixed functions.
5086         * sysdeps/s390/s390-64/multiarch/memcmp.S
5087         (memcmp_z196): Rename to __memcmp_z196.
5088         (memcmp_z10): Rename to __memcmp_z10.
5089         (memcmp): Set alias to __memcmp_z900.
5090         (bcmp): Set alias to __memcmp_z900.
5091         * sysdeps/s390/s390-64/multiarch/memcpy.S
5092         (memcpy_z196): Rename to __memcpy_z196.
5093         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5094         (memcpy_z10): Rename to __memcpy_z10.
5095         Jump to __memcpy_mvcle instead of memcpy_mvcle.
5096         (memcpy): Set alias to __memcpy_z900.
5097         * sysdeps/s390/s390-64/multiarch/memset.S
5098         (memset_z196): Rename to __memset_z196.
5099         Jump to __memset_mvcle instead of memset_mvcle.
5100         (memset_z10): Rename to __memset_z10.
5101         Jump to __memset_mvcle instead of memset_mvcle.
5102         (memset_mvcle) Rename to __memset_mvcle.
5103         (memset): Set alias to __memset_z900.
5105 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
5107         [BZ #17748]
5108         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
5109         __fesetenv instead of fesetenv.
5111 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5113         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
5114         macro.
5116 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5118         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
5119         regression on LE.
5121         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
5122         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
5123         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5124         strncmp-power8 object.
5125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5126         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
5127         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
5128         * NEWS: Update.
5130 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5131             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5133         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
5134         trailing byte check.
5136 2015-01-13  David S. Miller  <davem@davemloft.net>
5138         * include/signal.h (__sigreturn): Guard with __USE_MISC.
5140 2015-01-13  Roland McGrath  <roland@hack.frob.com>
5142         * login/logout.c (logout): Use memset rather than bzero.
5143         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
5144         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
5145         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
5146         (_gethtbyaddr): Likewise.
5147         * locale/programs/simple-hash.c (bcopy): Macro removed.
5149 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5151         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5152         Add strcmp-power8 object.
5153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5154         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
5155         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
5156         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
5157         __strcmp_power8 implementation.
5158         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
5159         * NEWS: Update.
5161         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5162         Add strncpy-power8 and stpncpy-power8 objects.
5163         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5164         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
5165         implementations.
5166         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
5167         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
5168         __stpncpy_power8 implementation.
5169         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
5170         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
5171         __strncpy_power8 implementation.
5172         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
5173         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
5174         * NEWS: Update.
5176         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
5177         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
5178         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
5180         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5181         strncat-power8 object.
5182         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
5183         __strcat_power8 implementation.
5184         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5185         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
5186         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
5187         optimized strcat for power8.
5189         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
5190         strcpy-power8 and stpcpy-power8 objects.
5191         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5192         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
5193         implementations.
5194         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
5195         multiarch stpcpy implementation for POWER8.
5196         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
5197         multiarch strcpy implementation for POWER8.
5198         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
5199         __strcpy_power8 function.
5200         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
5201         stpcpy for POWER8.
5202         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
5203         strcpy for POWER8.
5204         * NEWS: Update.
5206 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
5208         [BZ #16009]
5209         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
5210         weights and rules. Use do_xfrm_cached if data fits in cache,
5211         do_xfrm otherwise.  Moved former main loop to...
5212         * (do_xfrm_cached): New function.
5213         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
5214         find_idx, find_position and stack_push.
5215         * (find_idx): New function.
5216         * (find_position): Likewise.
5217         * localedata/sort-test.sh: Added test run for do_xfrm.
5218         * localedata/xfrm-test.c (main): Added command line option
5219         -nocache to run the test with strings that are too large for
5220         the STRXFRM cache.
5222 2015-01-13  Torvald Riegel  <triegel@redhat.com>
5224         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
5225         variable to lll_futex_wake call, not the value itself.
5227 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
5229         [BZ #17803]
5230         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
5231         twom64.  Adjust value to 0x1p-64L.
5232         (__scalblnl): Only return standard underflowing result for K <=
5233         -64 not K <= -63; adjust exponent for underflowing result by 64
5234         not 63.
5235         * math/libm-test.inc (scalbn_test_data): Add more tests.
5236         (scalbln_test_data): Likewise.
5238         [BZ #17834]
5239         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
5240         0x1p63L.
5241         (__scalblnl): Get new exponent of adjusted subnormal value from ES
5242         not HX.
5243         * math/libm-test.inc (scalbn_test_data): Add more tests.
5244         (scalbln_test_data): Likewise.
5246 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5247             Stefani Seibold  <stefani@seibold.net>
5249         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
5250         (sysdep_routines): Add dl-vdso here, ...
5251         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
5252         (sysdep_routines): ... not here.
5253         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
5254         fallback when vDSO is not presented.
5255         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
5256         Define with libc_hidden_proto/libc_hidden_data_def definitions.
5257         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
5258         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
5259         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
5260         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
5261         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
5262         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
5263         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
5264         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
5265         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
5266         fallback configurable symbol when vDSO is not available.
5267         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
5268         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
5269         be able to redefine fallback symbol when vDSO is not available.
5270         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
5271         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
5273 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5275         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
5276         (TLS_INIT_TP): Add tm_capable initialization.
5277         (TLS_DEFINE_INIT_TP): Likewise.
5278         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
5279         TCB.
5280         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
5281         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
5282         calculation.
5283         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
5284         transactoion is lock elision is built and TCB tm_capable is set.
5285         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
5286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5287         (INTERNAL_SYSCALL_NCS): Likewise.
5288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5289         (INTERNAL_SYSCALL_NCS): Likewise.
5290         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
5292         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
5293         for powerpc.
5294         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5295         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
5296         and remove it for 32 bits case.
5297         [pthread_rwlock_t] (__rwelision): New field for lock elision.
5298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
5299         initialization.
5300         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
5301         Disable lock elision with rdlocks if elision is not available.
5303         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
5304         (sysdep_routines): Add lock elision objects.
5305         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5306         [pthread_mutex_t] (__spins): Rework to add lock elision field.
5307         [pthread_mutex_t] (__elision): Add field.
5308         [__PTHREAD_SPINS]: Adjust to init lock elision field.
5309         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
5310         elision definitions for powerpc.
5311         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
5312         implementation of lock elision for powerpc.
5313         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
5314         implementation of timed lock elision for powerpc.
5315         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
5316         implementation of trylock with lock elision for powerpc.
5317         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
5318         implementaion of unlock for lock elision for powerpc.
5319         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
5320         automatic enable lock elision for mutexes.
5321         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
5322         transaction execution definitions for powerpc.
5323         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
5324         definitions.
5325         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
5326         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
5327         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
5328         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
5329         * NEWS: Update.
5331 2015-01-09  Roland McGrath  <roland@hack.frob.com>
5333         * sysdeps/posix/shm-directory.c: Use <> rather than ""
5334         for #include of <shm-directory.h>.
5336 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
5338         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
5339         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
5341 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
5343         [BZ #17791]
5344         * NEWS: Mention bug fix.
5345         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
5346         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
5347         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
5349 2015-01-09  Torvald Riegel <triegel@redhat.com>
5351         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
5353 2015-01-09  Torvald Riegel <triegel@redhat.com>
5355         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
5357 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5359         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
5360         pointer and cast to uintptr_t.
5362 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5364         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
5365         removed.
5366         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
5368 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
5370         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
5371         of 0.
5373 2015-01-08  Roland McGrath  <roland@hack.frob.com>
5375         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
5376         <nptl/pthreadP.h> instead.
5377         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
5379         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
5380         already defined.
5381         [__SIGRTMIN] (init): Function removed.
5382         [__SIGRTMIN] (initialized): Variable removed.
5383         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
5384         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
5385         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
5386         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
5387         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
5388         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
5389         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
5390         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
5391         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
5392         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
5393         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
5394         * sysdeps/nptl/allocrtsig.c: New file.
5395         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
5396         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
5397         * sysdeps/generic/testrtsig.h: File removed.
5399         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
5400         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
5402         * nptl/nptl-init.c (pthread_functions): Conditionalize
5403         .ptr__nptl_setxid initialization on [SIGSETXID].
5405         * sysdeps/nptl/sys/procfs.h: New file.
5406         * nptl_db/Makefile (headers): Add it.
5407         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
5409         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
5410         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
5411         * nptl/pthread_attr_setaffinity.c: Include it.
5412         * nptl/pthread_setattr_default_np.c: Likewise.
5413         * nptl/check-cpuset.h: New file.
5415 2015-01-08  Richard Henderson  <rth@redhat.com>
5417         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
5418         (CFLAGS-tst-execstack-prog.c): Likewise.
5419         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
5421 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
5422             Sandra Loosemore  <sandra@codesourcery.com>
5423             Andrew Jenner  <andrew@codesourcery.com>
5424             Joseph Myers  <joseph@codesourcery.com>
5425             Nathan Sidwell  <nathan@codesourcery.com>
5427         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
5428         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
5429         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
5430         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
5431         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
5432         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
5433         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
5434         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
5435         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
5436         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
5437         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
5438         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
5439         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
5440         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
5441         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
5442         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
5443         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
5445 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5447         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
5448         timespec struct member in syscall macro.
5449         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
5450         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
5451         first timeval struct member in syscall macro.
5452         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
5454 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
5456         [BZ #17748]
5457         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
5458         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
5459         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
5460         __feupdateenv and define as weak alias of __feupdateenv.  Use
5461         libm_hidden_weak.
5462         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
5463         libm_hidden_def.
5464         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
5465         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
5466         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5467         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
5468         libm_hidden_def.
5469         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
5470         __feupdateenv and define as weak alias of __feupdateenv.  Use
5471         libm_hidden_weak.
5472         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
5473         libm_hidden_def.
5474         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
5475         __feupdateenv and define as weak alias of __feupdateenv.  Use
5476         libm_hidden_weak.
5477         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
5478         libm_hidden_def.
5479         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5480         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5481         (__feupdateenv): Likewise.
5482         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
5483         __feupdateenv and define as weak alias of __feupdateenv.  Use
5484         libm_hidden_weak.
5485         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5486         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
5487         libm_hidden_def.
5488         * sysdeps/tile/math_private.h (__feupdateenv): New inline
5489         function.
5490         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
5491         libm_hidden_def.
5492         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
5493         __feupdateenv instead of feupdateenv.
5494         (default_libc_feupdateenv_test): Likewise.
5495         (libc_feresetround_ctx): Likewise.
5497 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5499         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
5500         prototype.
5502 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
5504         * posix/regcomp.c (parse_bracket_exp): Initialize type to
5505         COLL_SYM in a couple of places to avoid uninitialized variable
5506         wanings on tilegx gcc 4.8.2.
5508 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5510         * sysdeps/aarch64/strcpy.S: New file.
5511         * sysdeps/aarch64/stpcpy.S: New file.
5512         * NEWS: Updated.
5514 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
5516         * sysdeps/aarch64/strrchr.S: New file.
5517         * NEWS: Updated.
5519 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
5521         [BZ #17658]
5522         * stdlib/setenv.c: Fix memory leak when setting large,
5523         duplicate string.
5525 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
5527         [BZ #17273]
5528         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
5529         and tabs from buffer before parsing fstab entry.
5530         * misc/tst-mntent.c (main): Add test for mount entry with
5531         trailing spaces and tabs.
5533 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
5535         [BZ #17748]
5536         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
5537         * math/fesetround.c (fesetround): Rename to __fesetround and
5538         define as weak alias of __fesetround.  Use libm_hidden_weak.
5539         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
5540         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
5541         * sysdeps/arm/fesetround.c (fesetround): Likewise.
5542         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
5543         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
5544         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
5545         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
5546         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
5547         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
5548         __fesetround_inline.
5549         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
5550         __fesetround_inline instead of __fesetround.
5551         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
5552         __fesetround and define as weak alias of __fesetround.  Use
5553         libm_hidden_weak.  Call __fesetround_inline instead of
5554         __fesetround.
5555         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
5556         __fesetround and define as weak alias of __fesetround.  Use
5557         libm_hidden_weak.
5558         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
5559         Likewise.
5560         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
5561         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
5562         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
5563         * sysdeps/tile/math_private.h (__fesetround): New inline function.
5564         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
5565         __fesetround and define as weak alias of __fesetround.  Use
5566         libm_hidden_weak.
5567         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
5568         __fesetround instead of fesetround.
5569         (default_libc_feholdexcept_setround): Likewise.
5570         (libc_feholdsetround_ctx): Likewise.
5571         (libc_feholdsetround_noex_ctx): Likewise.
5573         [BZ #17748]
5574         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
5575         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
5576         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5577         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5578         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5579         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
5580         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5581         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
5582         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5583         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5584         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5585         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5586         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5587         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5588         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
5589         libm_hidden_def.
5590         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
5591         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
5592         Likewise.
5593         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
5594         define as weak alias of __fesetenv.  Use libm_hidden_weak.
5595         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
5596         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
5597         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
5598         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
5599         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
5600         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
5601         __fesetenv instead of fesetenv.
5602         (libc_feresetround_noex_ctx): Likewise.
5603         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
5604         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
5605         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
5606         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
5607         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
5608         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
5609         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
5610         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
5611         (__feupdateenv): Likewise.
5612         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
5613         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
5614         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
5615         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
5617 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5619         [BZ #17806]
5620         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
5621         addresses have been freed.
5623 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
5625         * resolv/res_init.c (__res_vinit): Improve comments about nserv
5626         and nservall.
5628 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
5630         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
5631         Clean up check_pf allocation pattern. addresses
5633 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5635         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
5636         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
5637         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
5638         * nptl/pthread_exit.c (__pthread_exit): Likewise.
5639         * nptl/pthread_join.c (pthread_join): Likewise.
5640         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
5641         * sysdeps/posix/waitid.c (__waitid): Likewise.
5642         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
5643         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
5644         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
5645         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
5646         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
5647         Likewise.
5648         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
5649         (__libc_pread64): Likewise.
5650         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
5651         (__libc_pwrite): Likewise.
5652         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
5653         (__libc_pwrite64): Likewsie.
5654         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
5655         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
5656         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
5657         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
5658         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
5659         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
5660         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
5662         Likewise.
5663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
5664         (__libc_pread64): Likewise.
5665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
5666         Likewise.
5667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
5668         (__libc_pwrite64): Likewise.
5669         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
5670         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
5671         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
5672         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
5673         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5674         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5675         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
5676         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
5677         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
5678         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
5679         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
5680         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
5681         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
5682         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
5683         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
5684         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
5685         Likewise.
5687 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5689         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
5690         (CFLAGS-test-double.c): Likewise.
5691         (CFLAGS-test-ldouble.c): Likewise.
5692         (CPPFLAGS-test-ifloat.c): Likewise.
5693         (CPPFLAGS-test-idouble.c): Likewise.
5694         (CPPFLAGS-test-ildoubl.c): Likewise.
5695         (CFLAGS-test-test-fenv.c): Remove variable.
5696         (CFLAGS-test-misc.c): Likewise.
5698 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
5700         [BZ #17797]
5701         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
5702         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
5703         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
5704         CLOCKS_PER_SEC == 1000000.
5705         * time/clocktest.c (main): Replace %ld with %jd and cast to
5706         intmax_t.
5708 2015-01-05  Roland McGrath  <roland@hack.frob.com>
5710         * sysdeps/generic/unwind-resume.h: New file.
5711         * sysdeps/gnu/unwind-resume.c: Include it.
5712         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
5713         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
5714         argument list.
5715         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
5716         global rather than static.
5717         (_Unwind_Resume): Update user.
5718         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
5719         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
5720         rather than static.  Add __attribute__ ((cold)).
5721         (_Unwind_Resume, __gcc_personality_v0): Update callers.
5722         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
5723         * sysdeps/arm/arm-unwind-resume.S: New file.
5724         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
5725         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
5726         * sysdeps/arm/Makefile [$(subdir) = csu]
5727         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
5728         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
5729         Add rt-arm-unwind-resume.
5730         [$(subdir) = nptl]
5731         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5732         Add pt-arm-unwind-resume.
5733         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
5734         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
5736 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5738         [BZ #17748]
5739         * include/fenv.h (__feholdexcept): Declare.  Use
5740         libm_hidden_proto.
5741         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
5742         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
5743         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5744         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
5745         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
5746         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
5747         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
5748         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5749         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
5750         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
5751         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5752         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
5753         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
5754         (feholdexcept): Likewise.
5755         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
5756         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
5757         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
5758         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
5759         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
5760         __feholdexcept instead of feholdexcept.
5761         (default_libc_feholdexcept_setround): Likewise.
5763 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5765         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
5766         to avoid using stl/str to align destination.
5768 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5770         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
5772 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5774         [BZ #17796]
5775         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
5776         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
5777         Define as weak alias not strong alias.
5779 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
5781         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
5782         bltzal with addiupc.
5783         (RTLD_START): Ditto.
5785 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
5787         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
5788         for __vdso_* functions in declarations.
5789         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
5790         definitions.
5791         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
5792         INTERNAL_VSYSCALL): Use struct return types to check for error.
5794         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
5795         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
5796         function with cast from llround().
5797         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
5798         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
5799         Define.
5801 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
5803         [BZ #17793]
5804         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
5805         Define as weak alias not strong alias.
5807         [BZ #17635]
5808         * ctype/ctype-c99.c: New file.  isblank implementation moved from
5809         ...
5810         * ctype/ctype-extn.c: ... here.
5811         (__isblank_l): Move to ...
5812         * ctype/ctype-c99_l.c: ... here.  New file.
5813         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
5814         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
5815         Remove variable.
5816         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5817         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5818         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5819         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5820         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5822         [BZ #17777]
5823         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
5824         (posix_fadvise64): Define as weak alias not strong alias.
5825         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5826         (posix_fallocate64): Likewise.
5827         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
5828         Remove variable.
5829         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5830         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5831         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5832         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5833         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5835 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
5837         [BZ #16191]
5838         * NEWS: Mention bug fix.
5839         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
5840         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
5841         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
5842         (HOST_STACK_END_ADDR): Likewise.
5844 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5846         [BZ #17748]
5847         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
5848         * math/fegetround.c (fegetround): Rename to __fegetround and
5849         define as weak alias of __fegetround.  Use libm_hidden_weak.
5850         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
5851         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
5852         * sysdeps/arm/fegetround.c (fegetround): Likewise.
5853         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
5854         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
5855         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
5856         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
5857         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
5858         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
5859         Undefine after rather than before function definition; use
5860         parentheses around function name in definition.
5861         (__fegetround): Also undefine macro after function definition.
5862         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
5863         __fegetround and define as weak alias of __fegetround.  Use
5864         libm_hidden_weak.  Do not undefine as macro.
5865         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
5866         Likewise.
5867         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
5868         __fegetround and define as weak alias of __fegetround.  Use
5869         libm_hidden_weak.
5870         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
5871         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
5872         * sysdeps/tile/math_private.h (__fegetround): New inline function.
5873         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
5874         __fegetround and define as weak alias of __fegetround.  Use
5875         libm_hidden_weak.
5876         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
5877         __fegetround instead of fegetround.
5879         [BZ #17782]
5880         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
5881         Condition macro definition on [__USE_MISC].
5883         [BZ #17781]
5884         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
5885         (struct sigaction): Change type of sa_flags field to int.
5887         [BZ #17780]
5888         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
5889         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
5890         __glibc_reserved0.
5892         * nptl/version.c (banner): Use single year in copyright notice.
5894         * NEWS: Update copyright dates.
5895         * catgets/gencat.c (print_version): Likewise.
5896         * csu/version.c (banner): Likewise.
5897         * debug/catchsegv.sh: Likewise.
5898         * debug/pcprofiledump.c (print_version): Likewise.
5899         * debug/xtrace.sh (do_version): Likewise.
5900         * elf/ldconfig.c (print_version): Likewise.
5901         * elf/ldd.bash.in: Likewise.
5902         * elf/pldd.c (print_version): Likewise.
5903         * elf/sotruss.sh: Likewise.
5904         * elf/sprof.c (print_version): Likewise.
5905         * iconv/iconv_prog.c (print_version): Likewise.
5906         * iconv/iconvconfig.c (print_version): Likewise.
5907         * locale/programs/locale.c (print_version): Likewise.
5908         * locale/programs/localedef.c (print_version): Likewise.
5909         * login/programs/pt_chown.c (print_version): Likewise.
5910         * malloc/memusage.sh (do_version): Likewise.
5911         * malloc/memusagestat.c (print_version): Likewise.
5912         * malloc/mtrace.pl: Likewise.
5913         * manual/libc.texinfo: Likewise.
5914         * nptl/version.c (banner): Likewise.
5915         * nscd/nscd.c (print_version): Likewise.
5916         * nss/getent.c (print_version): Likewise.
5917         * nss/makedb.c (print_version): Likewise.
5918         * posix/getconf.c (main): Likewise.
5919         * scripts/test-installation.pl: Likewise.
5920         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
5922 2015-01-02  Will Newton  <will.newton@linaro.org>
5924         * sysdeps/arm/armv7/configure: Removed.
5925         * sysdeps/arm/armv7/configure.ac: Likewise.
5927 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
5929         * All files with FSF copyright notices: Update copyright dates
5930         using scripts/update-copyrights.
5931         * intl/plural.c: Regenerated.
5932         * locale/programs/charmap-kw.h: Likewise.
5933         * locale/programs/locfile-kw.h: Likewise.
5935 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
5937         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
5939 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
5941         [BZ #17748]
5942         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
5943         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
5944         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5945         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5946         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5947         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
5948         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5949         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
5950         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5951         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5952         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5953         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5954         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5955         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5956         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
5957         libm_hidden_def.
5958         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
5959         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
5960         Likewise.
5961         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
5962         define as weak alias of __fegetenv.  Use libm_hidden_weak.
5963         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
5964         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
5965         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
5966         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
5967         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
5968         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
5969         __fegetenv instead of fegetenv.
5970         (libc_feholdsetround_noex_ctx): Likewise.
5972 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5974         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
5975         (Elf_MIPS_ABIFlags_v0): New structure.
5976         (EF_MIPS_FP64): Define.
5977         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
5978         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
5979         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
5980         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
5981         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
5982         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
5983         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
5984         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
5985         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
5986         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
5987         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
5988         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
5989         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
5990         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
5991         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
5992         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
5993         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
5994         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
5995         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
5996         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
5997         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
5998         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
5999         field.
6000         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
6001         EF_MIPS_FP64.
6002         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
6003         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
6004         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
6005         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
6006         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
6007         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
6008         * sysdeps/mips/tst-abi-interlink.c: Likewise.
6009         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
6010         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
6011         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
6012         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
6013         record the current FP ABI extension.
6014         (mips-mode-switch): Define to show if kernel headers support mode
6015         switching.
6016         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
6017         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
6018         supported SYSV ABI version to 3.
6019         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
6020         feature.
6022 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6023             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6025         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
6026         path.
6027         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
6029 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
6031         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
6032         __fegetround and redefine to call __fegetround.  Remove condition
6033         on [!__NO_MATH_INLINES].
6034         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
6035         function.
6036         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
6037         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
6038         Remove macro.
6039         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
6040         instead of <fenv_libc.h>.
6041         (__llrintl): Call fegetround instead of __fegetround.
6042         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
6043         instead of <fenv_libc.h>.
6044         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
6045         (__lrintl): Call fegetround instead of __fegetround.
6046         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
6047         instead of <fenv_libc.h>.
6048         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
6049         (__rintl): Call fegetround instead of __fegetround.
6051 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6053         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6054         arrays.
6056 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6058         [BZ #17775]
6059         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
6060         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
6061         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
6063 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6065         * sysdeps/i386/tls-macros.h: Include <features.h>.
6066         (TLS_LE): Use non-PIC version for GCC >= 5.0.
6067         (TLS_IE): Likewise.
6068         (TLS_LD): Likewise.
6069         (TLS_GD): Likewise.
6070         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
6071         define for GCC >= 5.0.
6073 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
6075         * math/test-fenv.c (test_single_exception, set_single_exc,
6076         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
6077         feexcp_mask_test, feenable_test, fe_single_test): Add
6078         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
6079         case where they are not used.
6080         * math/libm-test.inc: Likewise.
6081         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
6082         unused in the absence of FP rounding/exception support.
6083         * stdio-common/tst-printf-round.c: Likewise.
6084         * stdlib/tst-strtod-round.c: Likewise.
6085         * stdlib/tst-strtod-underflow.c: Likewise.
6087 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
6089         [BZ #17723]
6090         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
6091         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6092         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6093         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6094         libm_hidden_weak.
6095         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
6096         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6097         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
6098         libm_hidden_def.
6099         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6100         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6101         libm_hidden_weak.
6102         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
6103         Likewise.
6104         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
6105         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6106         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6107         libm_hidden_weak.
6108         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6109         libm_hidden_def.
6110         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
6111         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
6112         (__feraiseexcept): Likewise.
6113         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
6114         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
6115         libm_hidden_weak.
6116         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
6117         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
6118         libm_hidden_def.
6119         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
6120         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
6121         Use libm_hidden_def.
6122         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
6123         libm_hidden_def.
6124         (feraiseexcept): Define as weak not strong alias.  Use
6125         libm_hidden_weak.
6126         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
6127         New inline function.  Factored out of ...
6128         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
6129         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
6130         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
6131         feraiseexcept.
6132         * math/w_acos.c (__acos): Likewise.
6133         * math/w_asin.c (__asin): Likewise.
6134         * math/w_ilogb.c (__ilogb): Likewise.
6135         * math/w_j0.c (y0): Likewise.
6136         * math/w_j1.c (y1): Likewise.
6137         * math/w_jn.c (yn): Likewise.
6138         * math/w_log.c (__log): Likewise.
6139         * math/w_log10.c (__log10): Likewise.
6140         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
6141         * sysdeps/aarch64/fpu/math_private.h
6142         (libc_feupdateenv_test_aarch64): Likewise.
6143         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
6144         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
6145         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
6146         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
6147         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
6148         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
6149         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
6150         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
6151         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
6152         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
6154 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
6156         [BZ #17732]
6157         * io/test-utime.c (main): Replace %ld with %jd and cast to
6158         intmax_t.
6159         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
6160         * nptl/tst-mutex5.c: Include <stdint.h>.
6161         (do_test): Replace %ld with %jd and cast to intmax_t.
6162         * posix/tst-regex.c (run_test): Likewise.
6163         (run_test_backwards): Likewise.
6164         * rt/tst-clock.c: Include <stdint.h>.
6165         (clock_test): Replace %ld with %jd and cast to intmax_t.
6166         * rt/tst-cpuclock1.c: Include <stdint.h>.
6167         (do_test): Replace %lu with %ju and cast to uintmax_t.
6168         * rt/tst-cpuclock2.c: Include <stdint.h>.
6169         (do_test): Replace %lu with %ju and cast to uintmax_t.
6170         * rt/tst-mqueue1.c: Include <stdint.h>.
6171         (check_attrs): Replace %ld with %jd and cast to intmax_t.
6172         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
6173         intmax_t.
6174         * rt/tst-mqueue4.c (do_test): Likewise.
6175         * rt/tst-timer4.c: Include <stdint.h>.
6176         (check_ts): Replace %ld with %jd and cast to intmax_t.
6177         (do_test): Likewise.
6178         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
6179         and cast to intmax_t.
6180         * sysdeps/pthread/tst-timer.c (main): Likewise.
6181         * time/clocktest.c (main): Likewise.
6182         * time/tst-posixtz.c (do_test): Likewise.
6183         * timezone/tst-timezone.c (main): Likewise.
6185 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
6186             H.J. Lu  <hongjiu.lu@intel.com>
6188         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
6189         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
6190         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
6191         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
6192         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
6193         version if bit_Fast_Unaligned_Load is set.
6194         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
6195         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
6196         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
6197         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
6198         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
6199         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
6200         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
6201         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
6202         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
6203         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
6204         to 4.
6205         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
6206         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
6207         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
6208         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
6210 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
6212         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
6213         instead of #if to avoid a Wundef warning.
6214         * stdlib/tst-limits.c (do_test): Likewise.
6216         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
6217         parallel other exception macros.
6218         (fegetenv): Convert from macro to extern inline so that it applies
6219         retroactively to inline functions already seen by the compiler.
6220         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
6222         * posix/Makefile (before-compile): Use $(objpfx) for
6223         posix-conf-vars-def.h.
6225 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6227         * posix/getconf.c (main): Use size_t for type of I.
6228         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
6229         NSPEC.
6231         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
6232         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
6233         * posix/posix-envs.def: Likewise.
6234         * sysdeps/posix/sysconf.c: Likewise.
6235         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
6236         (specs): Remove array.
6237         * scripts/gen-posix-conf-vars.awk: Support generation of specs
6238         array.
6240         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
6241         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
6242         (__sysconf): Use CONF_IS_* macros.
6244         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
6245         ($(objpfx)posix-conf-vars-def.h): New target.
6246         * posix/posix-conf-vars.list: New file.
6247         * posix/posix-conf-vars.h: New file.
6248         * posix/confstr.c: Include posix-conf-vars.h.
6249         (confstr): Use CONF_IS_* macros.
6250         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
6251         CONF_IS_* macros.
6252         * scripts/gen-posix-conf-vars.awk: New file.
6254 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
6256         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
6257         fegetround): Add no-op macros to avoid linknamespace issues.
6259         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
6260         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
6262         * sysdeps/unix/sysv/linux/tile/sysdep.h
6263         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
6264         assembly-specific section to avoid a redefinition warning.
6266         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
6267         long before casting to pointer to avoid a cast warning.
6269 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
6271         * sysdeps/tile/tilegx/Implies: New file.
6273 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
6275         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
6277 2014-12-23  Florian Weimer  <fweimer@redhat.com>
6279         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
6281 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6283         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
6284         not define.
6285         * sysdeps/unix/sysv/linux/utimes.c: Do not include
6286         <kernel-features.h>.
6287         (__utimes) [__NR_utimes]: Make code unconditional.
6288         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
6289         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6290         (__ASSUME_UTIMES): Do not undefine.
6291         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6292         (__ASSUME_UTIMES): Likewise.
6293         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6294         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
6295         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
6296         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
6298 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6300         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
6302 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
6304         [BZ #17747]
6305         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
6306         alias to weak alias for j0l, y0l.
6307         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
6308         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
6310         [BZ #17746]
6311         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
6312         conversion.
6314 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
6316         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
6317         to zero if not already defined.
6319 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6321         [BZ #17724]
6322         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
6323         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
6324         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
6325         (char *) casts added.
6326         * sysdeps/ieee754/k_standardf.c: New file.
6327         * sysdeps/ieee754/k_standardl.c: Likewise.
6328         * math/Makefile (libm-support): Remove k_standard.
6329         (libm-calls): Add k_standard.
6331 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6333         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
6334         Optimize to avoid an unnecessary FPCR read.
6336 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6338         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
6339         Optimize to reduce FPCR/FPSR accesses.
6341 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6343         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
6344         Call libc_fetestexcept_aarch64.
6346 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
6348         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
6349         Call libc_fesetround_aarch64.
6351 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
6353         [BZ #17733]
6354         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
6355         (__bind): Do not define as weak alias.
6356         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
6357         define.
6358         (__getsockname): Do not define as weak alias.
6360 2014-12-22  Will Newton  <will.newton@linaro.org>
6362         * manual/install.texi: Document that we require bison 2.7
6363         or above.
6364         * INSTALL: Regenerate.
6365         * configure.ac: Use AC_CHECK_PROG_VER instead of
6366         AC_PATH_PROG when checking for bison and check for
6367         version 2.7 or above.
6368         * configure: Regenerate.
6370 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
6372         [BZ #17745]
6373         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
6374         * sysdeps/tile/ffsll.c (ffsll): To here.
6376         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
6378 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6380         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
6381         if not defined.
6382         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
6383         definition.
6384         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6385         hidden ___tls_get_addr.
6386         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
6387         hidden __tls_get_addr.
6388         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
6389         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
6390         Likewise.
6392 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
6394         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
6395         _dl_init call.
6397 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
6399         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
6400         from "call _dl_init@PLT".
6401         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
6403 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
6405         * manual/search.texi: (Array Sort Function): Clarify stable sorting
6406         guarantees.
6408 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
6410         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
6412 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6414         [BZ #17744]
6415         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
6416         strnlen.
6418 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6420         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
6421         of multu on MIPSr6.
6422         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
6423         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
6424         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
6425         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
6426         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
6428 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
6430         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
6431         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
6432         (PTR_SUBU): Use subu for mips32r6/mips64r6.
6433         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
6434         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
6435         mips32r6/mips64r6.
6436         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
6438 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
6440         * string/strncat.c (STRNCAT): Simplify implementation.
6442 2014-12-19  David S. Miller  <davem@davemloft.net>
6444         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
6445         access the quad as both a long double and as a series of 4 words.
6447         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
6448         link_map->l_info array access.
6450 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
6452         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
6454         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
6455         * math/atest-exp2.c (TIMEOUT): Likewise.
6456         * math/atest-sincos.c (TIMEOUT): Likewise.
6458 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6460         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
6461         -Wno-error with -fno-builtin-lround.
6463 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6465         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
6466         Contains futex constants and functions moved over from ...
6467         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
6468         <lowlevellock-futex.h>.
6469         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6470         (lll_timedwait_tid): Add comments and parentheses around macro
6471         arguments.
6473 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6475         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
6476         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
6477         (__lll_private_flag): Remove.
6478         (lll_futex_wait): Likewise.
6479         (lll_futex_timed_wait): Likewise.
6480         (lll_futex_wake): Likewise.
6481         (lll_futex_requeue): Likewise.
6482         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
6483         (__lll_timedwait_tid): Spell out argument names.
6484         (lll_timedwait_tid): Add comments and parentheses around macro
6485         arguments.
6486         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
6487         LLL_SHARED and LLL_PRIVATE usable from assembly code.
6489 2014-12-19  Torvald Riegel  <triegel@redhat.com>
6491         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
6492         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
6493         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
6494         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
6495         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
6496         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
6497         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
6498         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
6499         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
6500         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
6501         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
6502         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
6503         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
6504         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
6505         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
6506         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
6507         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
6508         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
6509         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
6511 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6513         * sysdeps/x86_64/x32/Makefile: New file.
6515 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
6517         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
6518         1L with (mp_limb_t) 1.
6520 2014-12-17  Roland McGrath  <roland@hack.frob.com>
6522         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
6523         * nptl/libc_pthread_init.c: ... here.
6524         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
6525         * nptl/register-atfork.c: ... here.
6527         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
6528         Use pthread_sigmask rather than INTERNAL_SYSCALL.
6529         Use assert_perror to check its return value.
6530         (__gai_create_helper_thread): Likewise.
6532         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
6534         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
6536 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
6538         [BZ #17725]
6539         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
6540         __profil_counter.
6541         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
6542         Likewise.
6543         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
6544         Likewise.
6545         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
6546         Likewise.
6547         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
6548         (profil_counter): Likewise.
6549         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
6550         (profil_counter): Likewise.
6551         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
6552         Likewise.
6553         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
6554         Likewise.
6555         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
6556         (profil_counter): Likewise.
6557         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
6558         Likewise.
6559         [!__profil_counter] (profil_counter): Define as weak alias of
6560         __profil_counter.
6561         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
6562         (profil_counter): Rename to __profil_counter.
6563         [!__profil_counter] (profil_counter): Define as weak alias of
6564         __profil_counter.
6565         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
6566         (profil_counter): Rename to __profil_counter.
6567         [!__profil_counter] (profil_counter): Define as weak alias of
6568         __profil_counter.
6569         * sysdeps/posix/profil.c: Update comment referring to
6570         profil_counter.
6571         (__profil): Use __profil_counter instead of profil_counter.
6572         * sysdeps/posix/sprofil.c (profil_counter): Rename to
6573         __profil_counter.  Use __profil_counter_ushort and
6574         __profil_counter_uint in definitions.
6575         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
6576         instead of profil_counter_uint and profil_counter_ushort.
6578         [BZ #17722]
6579         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
6580         define as weak alias of __inet_makeaddr.
6581         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
6582         as weak alias of __inet_addr.
6583         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
6584         as weak alias of __inet_pton.  Use libc_hidden_weak.
6585         * include/arpa/inet.h (__inet_pton): Declare.  Use
6586         libc_hidden_proto.
6587         (inet_makeaddr): Don't use libc_hidden_proto.
6588         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
6589         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
6590         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
6591         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
6592         Remove variable.
6593         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6594         (test-xfail-POSIX/time.h/linknamespace): Likewise.
6596 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
6598         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
6600 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6602         * stdio-common/bug-vfprintf-nargs.c (do_test):
6603         Cast value to intptr_t to avoid format warning
6604         for usage with PRIdPTR printing macro.
6606 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
6608         * libio/tst-widetext.c (do_test):
6609         Use format type %td instead of %Zd for ptrdiff_t
6610         in order to avoid format warning.
6612 2014-12-17  Andreas Schwab  <schwab@suse.de>
6614         * nscd/mem.c (gc): Add size_t cast to match printf format.
6616 2014-12-16  Roland McGrath  <roland@hack.frob.com>
6618         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
6619         (init): Apply PTR_MANGLE to pointers before storing them.
6620         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
6621         before using them.
6623 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
6625         [BZ #17719]
6626         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
6627         define as weak alias of __memrchr.
6628         (__memrchr): Do not define as strong alias of memrchr.
6629         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
6630         Remove variable.
6631         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6632         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6633         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6635         [BZ #17717]
6636         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
6637         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
6638         (if_indextoname): Rename to __if_indextoname and define as weak
6639         alias of __if_indextoname.  Use libc_hidden_weak.
6640         (if_freenameindex): Rename to __if_freenameindex and define as
6641         weak alias of __if_freenameindex.
6642         (if_nameindex): Rename to __if_nameindex and define as weak alias
6643         of __if_nameindex.
6644         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
6645         __if_nametoindex and define as weak alias of __if_nametoindex.
6646         Use libc_hidden_weak.
6647         (if_freenameindex): Rename to __if_freenameindex and define as
6648         weak alias of __if_freenameindex.
6649         (if_nameindex): Rename to __if_nameindex and define as weak alias
6650         of __if_nameindex.
6651         (if_indextoname): Rename to __if_indextoname and define as weak
6652         alias of __if_indextoname.  Use libc_hidden_weak.
6653         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
6654         __if_nametoindex and define as weak alias of __if_nametoindex.
6655         Use libc_hidden_weak.
6656         (if_freenameindex): Rename to __if_freenameindex and define as
6657         weak alias of __if_freenameindex.  Use libc_hidden_weak.
6658         (if_nameindex_netlink): Use __if_freenameindex instead of
6659         if_freenameindex.
6660         (if_nameindex): Rename to __if_nameindex and define as weak alias
6661         of __if_nameindex.  Use libc_hidden_weak.
6662         (if_indextoname): Rename to __if_indextoname and define as weak
6663         alias of __if_indextoname.  Use libc_hidden_weak.
6664         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
6665         libc_hidden_proto.
6666         [!_ISOMAC] (__if_freenameindex): Likewise.
6667         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
6668         if_nametoindex.
6669         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
6670         variable.
6671         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6672         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6673         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6674         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6675         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6676         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6677         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6679         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
6680         Remove variable.
6681         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6682         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6684 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6686         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
6687         subscript above bounds'
6689         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
6690         bounds.
6692 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
6694         * libio/tst-fopenloc.c: Use test-skeleton.c.
6696         * stdlib/tst-bsearch.c: Use test-skeleton.c.
6697         (entry): Rename to ITEM.
6698         (do_test, comp): Adjust.
6700         * stdio-common/tst-fseek.c: Use test-skeleton.c.
6702 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6704         * string/tester.c: Include <libc-internal.h>.
6705         (test_memset): Ignore -Wmemset-transposed-args.
6707 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6709         * misc/tst-mntent2.c (do_test): Fix warning.
6711 2014-12-16  Torvald Riegel  <triegel@redhat.com>
6713         * elf/tst-unique4lib.cc(a): Mark as used.
6715 2014-12-16  Florian Weimer  <fweimer@redhat.com>
6717         [BZ #17630]
6718         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
6719         names.
6721 2014-12-16  Allan McRae  <allan@archlinux.org>
6723         * stdio-common/Makefile (tests): Re-add bug26.
6725 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
6727         [BZ #17657]
6728         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
6729         static array.
6731 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
6733         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
6734         (__lll_lock_wait): Likewise.
6735         (__lll_timedlock_wait): Likewise.
6736         (__lll_timedwait_tid): Likewise.
6737         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
6738         (__lll_robust_timedlock_wait): Likewise.
6739         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
6740         (lll_cond_trylock): Likewise.
6741         (__lll_lock): Likewise.
6742         (__lll_robust_lock): Likewise.
6743         (__lll_cond_lock): Likewise.
6744         (lll_robust_cond_lock): Likewise.
6745         (__lll_timedlock): Likewise.
6746         (__lll_robust_timedlock): Likewise.
6747         (__lll_unlock): Likewise.
6748         (__lll_robust_unlock): Likewise.
6749         (lll_wait_tid): Likewise.
6750         (lll_timedwait_tid): Likewise.
6752 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6754         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
6756 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6758         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
6760 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6762         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
6763         * stdio-common/tst-sprintf.c: Likewise.
6765 2014-12-15  Torvald Riegel  <triegel@redhat.com>
6767         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
6769 2014-12-15  Jeff Law  <law@redhat.com>
6771         [BZ #16617]
6772         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
6773         on the heap.  (CVE-2012-3406)
6774         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
6775         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
6776         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
6778 2014-12-15  Will Newton  <will.newton@linaro.org>
6780         * manual/install.texi: Bump required version of texinfo
6781         to 4.7 from 4.5.
6782         * INSTALL: Regenerated.
6783         * configure.ac: Check for makeinfo version 4.7 and above.
6784         * configure: Regenerated.
6786 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6788         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
6789         PREFIX, string constant to insert between directory and name.
6790         * sysdeps/posix/shm_open.c: Update caller.
6791         * sysdeps/posix/shm_unlink.c: Likewise.
6792         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
6793         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
6794         (SEM_SHM_PREFIX): New macro.
6795         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
6796         [$(have-thread-library) = no].
6797         * nptl/Makefile (libpthread-routines): Add shm-directory.
6798         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
6799         * sysdeps/nptl/shm-directory.h: New file.
6800         * sysdeps/posix/shm-directory.c
6801         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
6802         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
6803         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
6804         INTERNAL_SYSCALL.
6805         (__where_is_shmfs): Function removed.
6806         (mountpoint, defaultmount, defaultdir, __namedsem_once):
6807         Variables removed.
6808         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
6809         Use SHM_GET_NAME.
6810         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
6812         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
6813         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
6814         unconditional for use inside libpthread.
6815         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
6817 2014-12-12  Roland McGrath  <roland@hack.frob.com>
6819         * nptl/pthread_getaffinity.c: New file.
6820         * nptl/pthread_setaffinity.c: New file.
6821         * nptl/pthread_getname.c: New file.
6822         * nptl/pthread_setname.c: New file.
6824         * nptl/pthread_create.c (START_THREAD_DEFN)
6825         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
6827 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6828             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6830         * resolv/res_send.c (send_vc): Disable warning resplen may
6831         be used uninitialized.
6833 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
6835         * nptl/tst-mutex6.c
6836         (ATTR_NULL): New define checks ATTR against NULL.
6837         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
6838         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
6840 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
6842         [BZ #17581]
6843         * malloc/hooks.c
6844         (mem2mem_check): Revert my previous change.
6845         (malloc_check_get_size): Revert my previous change.
6846         (mem2chunk_check): Revert my previous change.
6848 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6850         * sysdeps/posix/shm-directory.c: New file.
6851         * sysdeps/posix/shm-directory.h: New file.
6852         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
6853         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
6854         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
6855         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
6856         Transmute EPERM to EACCES.
6857         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
6858         from ...
6859         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
6860         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
6862 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6864         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
6865         pointer and cast to uintptr_t.
6866         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
6867         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
6868         Add cast to avoid warning.
6869         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
6871 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6873         * nptl/semaphore.h: Move to ...
6874         * sysdeps/pthread/semaphore.h: ... here.
6875         * Makefile (installed-headers): Change nptl/semaphore.h to
6876         sysdeps/pthread/semaphore.h.
6878 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6880         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
6881         generated error format strings.
6883         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
6884         -Wformat-extra-args warnings for scanf formats.
6885         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
6886         test of zero-length format (duh).
6887         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
6888         corner-case scanf format test.
6889         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
6890         generated fprintf format string.
6891         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
6892         corner-case sprintf format tests.
6893         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
6894         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
6895         -Wformat-extra-args warnings throughout.
6896         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
6897         (CFLAGS-scanf4.c): Likewise.
6898         (CFLAGS-scanf7.c): Likewise.
6899         (CFLAGS-tst-sprintf.c): Likewise.
6900         (CFLAGS-tst-printf.c): Likewise.
6901         (CFLAGS-tst-printfsz.c): Likewise.
6903 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
6905         * include/cpio.h: New file.
6906         * include/fmtmsg.h: Likewise.
6908         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
6909         corresponding format argument to size_t.
6910         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
6911         arguments.
6912         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
6913         corresponding format argument to size_t.
6914         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
6915         arguments.
6916         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
6917         corresponding format argument to size_t.
6918         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
6919         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
6920         (CFLAGS-tst-mbswcs2.c): Likewise.
6921         (CFLAGS-tst-mbswcs3.c): Likewise.
6922         (CFLAGS-tst-mbswcs4.c): Likewise.
6923         (CFLAGS-tst-mbswcs5.c): Likewise.
6924         (CFLAGS-tst-trans.c): Likewise
6926 2014-12-11  Roland McGrath  <roland@hack.frob.com>
6928         * posix/regexbug1.c (main): Use "%s" format with regerror results,
6929         rather than assuming they won't contain any '%'s.
6931 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
6933         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
6934         inhibit_loop_to_libcall to avoid recursive calls.
6935         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
6936         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
6938 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
6940         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
6941         prototype.
6943 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6945         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
6946         integer value instead of boolean.
6948 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
6950         * malloc/malloc.c: Fix powerof2 check.
6952 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6954         * locale/programs/locfile.h (maybe_swap_uint32):
6955         Remove inline and add unused attribute.
6957 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
6959         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6960         Truncating assembler expression to a .long expression.
6962 2014-12-11  Andreas Schwab  <schwab@suse.de>
6964         * elf/rtld.c (struct map_args): Constify str member.
6965         (do_preload): Constify fname argument.
6967 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6969         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
6970         constants definition.
6972 2014-12-11  Andreas Schwab  <schwab@suse.de>
6974         [BZ #16657]
6975         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
6976         FORCE_ELISION instead of DO_ELISION.
6977         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
6978         Remove.
6979         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
6980         Likewise.
6982         * iconvdata/gconv-modules: Remove duplicate entry.
6984 2014-12-11  Will Newton  <will.newton@linaro.org>
6986         Merge gettext 0.19.3 into intl/.
6988         This involves a number of cosmetic changes to comments
6989         and ANSI function definitions and prototypes throughout
6990         all the files. The gettext copyright header is used but
6991         with the date ranges taken from the glibc copy.
6993         * NEWS: Add gettext merge to 2.21.
6994         * intl/bindtextdom.c: Switch to gettext copyright.
6995         Use ANSI definitions and prototypes.
6996         Use gl_* locking primitives rather than __libc_* ones.
6997         Use __builtin_expect rather than __glibc_likely/unlikely.
6998         * intl/dcgettext.c: Switch to gettext copyright.
6999         Use ANSI definitions and prototypes.
7000         * intl/dcigettext.c: Switch to gettext copyright.
7001         Use ANSI definitions and prototypes.
7002         (INTDIV0_RAISES_SIGFPE): New define.
7003         Use gl_* locking primitives rather than __libc_* ones.
7004         Include eval-plural.h instead of plural-eval.c.
7005         Use __builtin_expect rather than __glibc_likely/unlikely.
7006         * intl/dcngettext.c: Switch to gettext copyright.
7007         Use ANSI definitions and prototypes.
7008         * intl/dgettext.c: Likewise.
7009         * intl/dngettext.c: Likewise.
7010         * intl/plural-eval.c: Renamed to...
7011         * intl/eval-plural.h: ...this.
7012         * intl/explodename.c: Switch to gettext copyright.
7013         Use ANSI definitions and prototypes.
7014         (_nl_explode_name): Use strchr instead of __rawmemchr.
7015         * intl/finddomain.c: Switch to gettext copyright.
7016         Use ANSI definitions and prototypes.
7017         Use gl_* locking primitives rather than __libc_* ones.
7018         (_nl_find_domain): Use malloc rather than alloca for
7019         allocation of temporary locale name.
7020         * intl/gettext.c: Switch to gettext copyright.
7021         Use ANSI definitions and prototypes.
7022         * intl/gettextP.h: Switch to gettext copyright.
7023         Use ANSI definitions and prototypes.
7024         Use gl_* locking primitives rather than __libc_* ones.
7025         * intl/gmo.h: Switch to gettext copyright.
7026         (struct sysdep_string): Move struct segment_pair outside of
7027         struct definition.
7028         * intl/hash-string.c: Use ANSI definitions and prototypes.
7029         * intl/hash-string.h: Switch to gettext copyright.
7030         Use ANSI definitions and prototypes.
7031         * intl/l10nflist.c: Switch to gettext copyright.
7032         Use ANSI definitions and prototypes.
7033         (_nl_normalize_codeset): Avoid integer overflow.
7034         * intl/loadinfo.h: Switch to gettext copyright.
7035         Use ANSI definitions and prototypes.
7036         (LIBINTL_DLL_EXPORTED): New define.
7037         (PATH_SEPARATOR): New define.
7038         * intl/loadmsgcat.c: Switch to gettext copyright.
7039         * intl/localealias.c: Switch to gettext copyright.
7040         Use ANSI definitions and prototypes.
7041         (_nl_expand_alias): Use PATH_SEPARATOR.
7042         * intl/ngettext.c: Switch to gettext copyright.
7043         Use ANSI definitions and prototypes.
7044         * intl/plural-exp.c: Likewise.
7045         * intl/plural-exp.h: Switch to gettext copyright.
7046         Use ANSI definitions and prototypes.
7047         (struct expression): Move definition of enum operator outside
7048         of struct definition.
7049         * intl/plural.c: Regenerate.
7050         * intl/plural.y: Switch to gettext copyright.
7051         Use ANSI definitions and prototypes.
7052         Port to bison 3.0.
7053         * intl/textdomain.c: Switch to gettext copyright.
7054         Use ANSI definitions and prototypes.
7055         Use gl_* locking primitives rather than __libc_* ones.
7057 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
7059         * debug/warning-nop.c: Add used atrribute.
7061 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7063         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
7065         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
7066         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
7067         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
7069 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7070             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7072         [BZ #17634]
7073         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
7074         Undefine after defining function.  Define as weak alias of
7075         __wcschr.  Use libc_hidden_weak.
7076         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
7077         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
7078         (libc_hidden_def): Also define __GI___wcschr alias.
7079         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
7080         __wcschr and define as weak alias of __wcschr.
7081         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
7082         __wcschr.
7083         [!WCSCHR] (DEFAULT_WCSCHR): Define.
7084         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
7085         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
7086         libc_hidden_weak.  Do not use libc_hidden_def.
7087         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
7088         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
7089         __GI___wcschr alias.
7090         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
7091         [IS_IN (libc)] (wcschr): Define as macro expanding to
7092         __redirect_wcschr.
7093         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
7094         [IS_IN (libc)] (__wcschr_power6): Likewise.
7095         [IS_IN (libc)] (__wcschr_power7): Likewise.
7096         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
7097         instead of wcschr.
7098         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
7099         __libc_wcschr.
7100         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
7101         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
7102         __wcschr and define as weak alias of __wcschr.  Use
7103         libc_hidden_builtin_def.
7104         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
7105         as weak alias of __wcschr.  Use libc_hidden_weak.
7106         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
7107         wcschr.
7108         * time/era.c (_nl_init_era_entries): Likewise.
7109         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
7110         variable.
7111         (test-xfail-XPG3/time.h/linknamespace): Likewise.
7112         (test-xfail-XPG4/time.h/linknamespace): Likewise.
7114 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7116         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
7117         format for long int variable.
7119 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
7121         [BZ #10672]
7122         * manual/search.texi: (Array Sort Function): Remove claim how to make
7123         qsort stable.
7125 2014-12-10  Andreas Schwab  <schwab@suse.de>
7127         [BZ #12847]
7128         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
7129         user-controlled locks.
7131 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
7133         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
7134         register.
7136 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
7138         * configure.ac (--disable-werror): New configure option.
7139         (enable_werror): New AC_SUBST.
7140         * configure: Regenerated.
7141         * config.make.in (enable-werror): New variable.
7142         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
7143         -Wno-error=undef.
7144         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
7145         * manual/install.texi (Configuring and compiling): Document
7146         --disable-werror.
7147         * INSTALL: Regenerated.
7148         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
7149         (CFLAGS-tst-chk2.c): Likewise.
7150         (CFLAGS-tst-chk3.c): Likewise.
7151         (CFLAGS-tst-chk4.cc): Likewise.
7152         (CFLAGS-tst-chk5.cc): Likewise.
7153         (CFLAGS-tst-chk6.cc): Likewise.
7154         (CFLAGS-tst-lfschk1.c): Likewise.
7155         (CFLAGS-tst-lfschk2.c): Likewise.
7156         (CFLAGS-tst-lfschk3.c): Likewise.
7157         (CFLAGS-tst-lfschk4.cc): Likewise.
7158         (CFLAGS-tst-lfschk5.cc): Likewise.
7159         (CFLAGS-tst-lfschk6.cc): Likewise.
7161         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
7162         (main): Disable -Wdeprecated-declarations around calls to
7163         register_printf_function.
7165         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
7166         (do_test): Disable -Wdiv-by-zero around some calls to
7167         fwrite_unlocked and fread_unlocked.
7169         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
7170         (DIAG_POP_NEEDS_COMMENT): Likewise.
7171         (_DIAG_STR1): Likewise.
7172         (_DIAG_STR): Likewise.
7173         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
7174         * stdio-common/bug21.c: Include <libc-internal.h>.
7175         (do_test): Disable -Wformat around call to sscanf.
7176         * stdio-common/scanf14.c: Include <libc-internal.h>.
7177         (main): Disable -Wformat around some calls to scanf functions.
7179 2014-12-09  Torvald Riegel  <triegel@redhat.com>
7181         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
7183 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7185         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
7186         stack variable alignment.
7188 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
7190         [BZ #17682]
7191         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
7192         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
7193         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
7194         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
7195         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
7196         __getrlimit instead of getrlimit.
7197         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
7198         __gettimeofday instead of gettimeofday.
7199         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7200         Likewise.
7201         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
7202         Likewise.
7203         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
7204         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
7205         Remove variable.
7206         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
7207         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
7209 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7211         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
7212         for wide-character tests.
7214 2014-12-04  Roland McGrath  <roland@hack.frob.com>
7216         * io/openat64.c: #include <libc-internal.h>
7217         (__openat64): Prototypify.  Use ignore_value on MODE.
7218         * io/openat.c: Likewise.
7219         * misc/reboot.c: #include <libc-internal.h>
7220         (reboot): Prototypify.  Use ignore_value on HOWTO.
7221         * misc/ptrace.c: #include <libc-internal.h>
7222         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
7224 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
7226         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
7227         XPG4, UNIX98 and XOPEN2K.
7228         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
7229         Remove variable.
7230         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
7232 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7234         * libio/fileops.c: Use ISO C style for function definitions.
7235         * libio/iofopen.c: Likewise.
7236         * libio/wfileops.c: Likewise.
7238         [BZ #17653]
7239         * libio/fileops.c (_IO_new_file_underflow): Unset cached
7240         offset on EOF.
7241         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
7242         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
7243         (fgets_func): Function pointer to fgets and fgetws.
7244         (do_ftell_test): Add test to verify ftell value after read
7245         EOF.
7246         (do_test): Set fgets_func.
7248         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
7249         O_TRUNC flag for w and w+ modes.
7250         (do_rewind_test): Likewise.
7251         (do_ftell_test): Likewise.
7252         (do_write_test): Likewise.
7254         [BZ #17647]
7255         * libio/fileops.c (do_ftell): Seek only when there are
7256         unflushed writes.
7257         * libio/wfileops.c (do_ftell_wide): Likewise.
7258         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
7259         test case.
7260         (do_one_test): Call it.
7262 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
7264         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
7265         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
7266         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
7267         Remove variable.
7268         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
7269         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
7270         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
7272 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7274         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
7275         Remove variable.
7276         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
7278         [BZ #17668]
7279         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
7280         as weak alias of __getifaddrs.  Use libc_hidden_weak.
7281         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7282         __freeifaddrs.  Use libc_hidden_weak.
7283         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
7284         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
7285         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7286         __freeifaddrs.  Use libc_hidden_weak.
7287         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
7288         __getifaddrs and define as weak alias of __getifaddrs.  Use
7289         libc_hidden_weak.
7290         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
7291         __freeifaddrs.  Use libc_hidden_weak.
7292         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
7293         Remove variable.
7294         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
7295         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
7297 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
7299         [BZ #17601]
7300         * sysdeps/mips/start.S (__start): Use indirect jump to call
7301         __libc_start_main.
7303 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
7305         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
7307         * nptl/tst-mutex1.c: Include <stdbool.h>.
7308         [!ATTR] (ATTR_NULL): New macro.
7309         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
7310         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
7311         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
7313         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
7314         to char *.
7316         [BZ #17665]
7317         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
7318         Change conditional to [__USE_MISC].
7320         [BZ #17664]
7321         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
7322         fgets_unlocked.
7323         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
7324         __fgets_unlocked.
7325         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
7326         fgets_unlocked.
7327         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
7328         Remove variable.
7329         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
7330         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
7331         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
7332         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
7333         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
7334         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
7335         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
7336         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
7337         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
7339         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
7341 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7343         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7344         Remove strpbrk objects.
7345         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7346         (__libc_ifunc_impl_list): Remove strpbrk implementation.
7347         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
7348         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
7349         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
7350         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
7352         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7353         Remove strcspn objects.
7354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7355         (__libc_ifunc_impl_list): Remove strcspn implementation.
7356         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
7357         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
7358         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
7359         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
7361         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7362         Remove strspn objetcs.
7363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7364         (__libc_ifunc_impl_list): Remove strspn implementation.
7365         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
7366         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7367         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
7368         * sysdeps/powerpc/powerpc64/strspn.S: New file.
7370 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
7372         [BZ #17581]
7373         * malloc/hooks.c
7374         (mem2mem_check): Add a terminator to the chain of checking blocks.
7375         (malloc_check_get_size): Use it here.
7376         (mem2chunk_check): Ditto.
7378 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7380         * sysdeps/powerpc/powerpc64/strtok.S: New file.
7381         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
7383 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
7385         * bits/ioctl-types.h: Indent preprocessor directives correctly.
7387         * nptl/nptl-init.c: Include libc-internal.h.
7388         (__pthread_initialize_minimal_internal): Use ROUND_UP.
7390         * elf/ldconfig.c (search_dir): Expand comment.
7392 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
7394         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
7395         variable.
7396         (linknamespace-symlist-stdlibs-tests): Likewise.
7397         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
7398         instead of $(objpfx)symlist-stdlibs.
7399         (linknamespace-libs-isoc): New variable.
7400         (linknamespace-libs): Use $(linknamespace-libs-isoc).
7401         (linknamespace-libs-ISO): New variable.
7402         (linknamespace-libs-ISO99): Likewise.
7403         (linknamespace-libs-ISO11): Likewise.
7404         (linknamespace-libs-XPG3): Likewise.
7405         (linknamespace-libs-XPG4): Likewise.
7406         (linknamespace-libs-POSIX): Likewise.
7407         (linknamespace-libs-UNIX98): Likewise.
7408         (linknamespace-libs-XOPEN2K): Likewise.
7409         (linknamespace-libs-POSIX2008): Likewise.
7410         (linknamespace-libs-XOPEN2K8): Likewise.
7411         ($(objpfx)symlist-stdlibs): Replace by
7412         $(linknamespace-symlist-stdlibs-tests).  Use
7413         $(linknamespace-libs-$*) as set of libraries.
7414         ($(linknamespace-header-tests)): Update dependencies.  Use
7415         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
7416         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
7417         * conform/linknamespace.pl: Remove comment about considering
7418         definitions of symbols from irrelevant libraries.
7420 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
7422         [BZ #13862]
7423         * elf/dl-tls.c: Include <atomic.h>.
7424         (oom): Remove #ifdef SHARED/#endif.
7425         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
7426         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
7427         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
7428         big enough.
7429         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
7430         * nptl/Makefile (tests): Add tst-stack4.
7431         (modules-names): Add tst-stack4mod.
7432         ($(objpfx)tst-stack4): New.
7433         (tst-stack4mod.sos): Likewise.
7434         ($(objpfx)tst-stack4.out): Likewise.
7435         ($(tst-stack4mod.sos)): Likewise.
7436         (clean): Likewise.
7437         * nptl/tst-stack4.c: New file.
7438         * nptl/tst-stack4mod.c: Likewise.
7440 2014-11-27  J. Brown  <jb999@gmx.de>
7442         * sysdeps/x86/bits/string.h: Add recent CPUs.
7444 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7446         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
7447         sigblock.
7449         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
7450         feof.
7452         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
7453         variable.
7455 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7457         * nscd/connections.c: Include libc-internal.h because of macro
7458         usage ignore_value.
7460 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7462         * string/bits/string3.h (__warn_memset_zero_len): Don't
7463         declare for gcc newer than 5.0.
7464         (memset): Don't test for zero-length __LEN for gcc newer than
7465         5.0.
7467 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
7469         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
7470         size_t for %zu format.
7472         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
7473         difference, not %ju.
7475 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7477         * include/libc-internal.h (ignore_value): New macro.
7478         * nscd/connections.c (restart): Wrap calls to setuid and setgid
7479         with ignore_value.
7481         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
7482         definition.
7484         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
7485         pthread_cleanup_push to void *.
7487         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
7488         Undefine.
7490         [BZ #16619]
7491         [BZ #16740]
7492         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
7493         instead of 1L << 52.
7495         * libio/bug-rewind.c (do_test): Check fwscanf return values.
7496         * libio/bug-rewind2.c (do_test): Likewise.
7498         * debug/test-stpcpy_chk-ifunc.c: Remove file.
7499         * debug/test-strcpy_chk-ifunc.c: Likewise.
7500         * wcsmbs/test-wcschr-ifunc.c: Likewise.
7501         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
7502         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
7503         * wcsmbs/test-wcslen-ifunc.c: Likewise.
7504         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
7505         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
7506         * Rules [$(multi-arch) = no] (tests): Do not filter out
7507         $(tests-ifunc).
7508         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
7509         * debug/Makefile (tests-ifunc): Remove variable.
7510         (tests): Do not add $(tests-ifunc).
7511         * wcsmbs/Makefile (tests-ifunc): Remove variable.
7512         (tests): Do not add $(tests-ifunc).
7513         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
7514         [TEST_IFUNC]: Remove conditionals.
7515         * string/test-string.h (TEST_IFUNC): Remove macro.
7516         [TEST_IFUNC]: Remove conditionals.
7518         * string/test-strchr.c [!WIDE] (L): New macro.
7519         [WIDE] (L): Likewise.
7520         (check1): Use CHAR instead of char.  Use L on string and character
7521         constants.
7523 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
7525         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
7526         tests.
7527         * sysdeps/powerpc/bits/atomic.h
7528         (__arch_atomic_exchange_and_add_32_acq): Add definition.
7529         (__arch_atomic_exchange_and_add_32_rel): Likewise.
7530         (atomic_exchange_and_add_acq): Likewise.
7531         (atomic_exchange_and_add_rel): Likewise.
7532         * sysdeps/powerpc/powerpc32/bits/atomic.h
7533         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7534         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7535         * sysdeps/powerpc/powerpc64/bits/atomic.h
7536         (__arch_atomic_exchange_and_add_64_acq): Add definition.
7537         (__arch_atomic_exchange_and_add_64_rel): Likewise.
7539 2014-11-26  Torvald Riegel  <triegel@redhat.com>
7541         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
7542         Change synchronization of __sched_fifo_min_prio and
7543         __sched_fifo_max_prio.
7544         * nptl/pthread_mutexattr_getprioceiling.c
7545         (pthread_mutexattr_getprioceiling): Likewise.
7546         * nptl/pthread_mutexattr_setprioceiling.c
7547         (pthread_mutexattr_setprioceiling): Likewise.
7548         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
7549         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
7550         Likewise.
7552 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
7554         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
7555         void.
7557 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7559         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
7560         third argument const.
7562 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
7564         fnmatch: work around GCC compiler warning bug with uninit var
7565         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
7566         This works around a bug with x86-64 GCC 4.9.2 and earlier
7567         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
7568         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
7569         used uninitialized in this function [-Wmaybe-uninitialized]".
7571 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
7573         * posix/bug-regex31.c (main): Return RES not 0.
7575 2014-11-25  Anton Blanchard <anton@samba.org>
7577         * sysdeps/powerpc/bits/atomic.h
7578         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
7580 2014-11-24  Sterling Augustine  <saugustine@google.com>
7582         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
7584 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
7586         [BZ #17608]
7587         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
7589 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
7591         [BZ #17633]
7592         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
7593         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
7594         variable.
7595         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
7596         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
7598 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7600         * string/strncpy.c (strncpy): Improve performance by using memset.
7602 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
7604         * string/strcpy.c (strcpy):
7605         Improve performance by using strlen and memcpy.
7607 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
7609         * string/strcoll_l.c (get_next_seq): __always_inline.
7610         * string/strcoll_l.c (do_compare): __always_inline.
7612 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7614         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
7615         defined.
7616         * include/mqueue.h: Likewise.
7617         * include/stdlib.h: Likewise.
7619         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
7620         (get_null_defines): Adjust.
7621         * sunrpc/Makefile: Adjust comment.
7622         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
7623         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
7624         (CFLAGS-interp.c): Likewise.
7625         (CFLAGS-ldconfig.c): Likewise.
7626         (CPPFLAGS-.os): Likewise.
7627         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
7628         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
7629         * extra-modules.mk (extra-modules.mk): Likewise.
7630         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
7631         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
7632         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
7633         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
7634         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
7635         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
7636         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
7637         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
7638         * iconvdata/Makefile (CPPFLAGS): Likewise.
7639         (cpp-srcs-left): Add libof for all iconvdata routines.
7640         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
7641         * include/assert.h: Likewise.
7642         * include/ctype.h: Likewise.
7643         * include/errno.h: Likewise.
7644         * include/libc-symbols.h: Likewise.
7645         * include/math.h: Likewise.
7646         * include/netdb.h: Likewise.
7647         * include/resolv.h: Likewise.
7648         * include/stdio.h: Likewise.
7649         * include/stdlib.h: Likewise.
7650         * include/string.h: Likewise.
7651         * include/sys/stat.h: Likewise.
7652         * include/wctype.h: Likewise.
7653         * intl/l10nflist.c: Likewise.
7654         * libidn/idn-stub.c: Likewise.
7655         * libio/libioP.h: Likewise.
7656         * nptl/libc_multiple_threads.c: Likewise.
7657         * nptl/pthreadP.h: Likewise.
7658         * posix/regex_internal.h: Likewise.
7659         * resolv/res_hconf.c: Likewise.
7660         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
7661         * sysdeps/arm/memmove.S: Likewise.
7662         * sysdeps/arm/sysdep.h: Likewise.
7663         * sysdeps/generic/_itoa.h: Likewise.
7664         * sysdeps/generic/symbol-hacks.h: Likewise.
7665         * sysdeps/gnu/errlist.awk: Likewise.
7666         * sysdeps/gnu/errlist.c: Likewise.
7667         * sysdeps/i386/i586/memcpy.S: Likewise.
7668         * sysdeps/i386/i586/memset.S: Likewise.
7669         * sysdeps/i386/i686/memcpy.S: Likewise.
7670         * sysdeps/i386/i686/memmove.S: Likewise.
7671         * sysdeps/i386/i686/mempcpy.S: Likewise.
7672         * sysdeps/i386/i686/memset.S: Likewise.
7673         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
7674         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
7675         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
7676         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
7677         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
7678         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
7679         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
7680         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
7681         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
7682         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
7683         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
7684         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
7685         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
7686         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
7687         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
7688         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
7689         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
7690         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
7691         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
7692         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
7693         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
7694         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
7695         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
7696         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
7697         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
7698         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
7699         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
7700         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
7701         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
7702         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
7703         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
7704         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
7705         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
7706         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
7707         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
7708         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
7709         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
7710         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
7711         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
7712         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
7713         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
7714         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
7715         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
7716         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
7717         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
7718         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
7719         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
7720         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
7721         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
7722         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
7723         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
7724         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
7725         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
7726         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
7727         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
7728         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
7729         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
7730         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
7731         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
7732         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
7733         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
7734         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
7735         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
7736         * sysdeps/nptl/bits/libc-lock.h: Likewise.
7737         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
7738         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
7739         * sysdeps/posix/closedir.c: Likewise.
7740         * sysdeps/posix/opendir.c: Likewise.
7741         * sysdeps/posix/readdir.c: Likewise.
7742         * sysdeps/posix/rewinddir.c: Likewise.
7743         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
7744         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
7745         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
7746         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7747         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
7748         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
7749         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
7750         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
7751         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
7752         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
7753         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
7754         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
7755         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
7756         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
7757         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
7758         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
7759         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
7760         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
7761         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
7762         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
7763         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
7764         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
7765         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
7766         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
7767         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
7768         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
7769         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
7770         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
7771         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
7772         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
7773         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
7774         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
7775         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
7776         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
7777         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
7778         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
7779         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
7780         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
7781         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
7782         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
7783         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
7784         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
7785         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
7786         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
7787         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
7788         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
7789         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
7790         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
7791         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
7792         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
7793         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
7794         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
7795         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
7796         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
7797         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
7798         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
7799         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
7800         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
7801         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
7802         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
7803         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
7804         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
7805         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
7806         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
7807         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
7808         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
7809         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
7810         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
7811         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
7812         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
7813         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
7814         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
7815         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
7816         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
7817         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
7818         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
7819         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
7820         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
7821         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
7822         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
7823         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
7824         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
7825         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
7826         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
7827         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
7828         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
7829         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
7830         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
7831         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
7832         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
7833         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
7834         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
7835         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
7836         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
7837         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
7838         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
7839         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
7840         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
7841         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
7842         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
7843         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
7844         * sysdeps/unix/alpha/sysdep.S: Likewise.
7845         * sysdeps/unix/alpha/sysdep.h: Likewise.
7846         * sysdeps/unix/make-syscalls.sh: Likewise.
7847         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
7848         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7849         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
7850         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
7851         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
7852         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
7853         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
7854         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7855         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
7856         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
7857         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7858         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
7859         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7860         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7861         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
7862         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
7863         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7864         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7865         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7866         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
7867         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
7868         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7869         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
7870         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
7871         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
7872         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
7873         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
7875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
7876         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
7877         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7878         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
7879         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
7880         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7881         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7882         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
7883         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
7884         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7885         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7886         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
7887         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7888         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
7889         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7890         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
7891         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7892         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
7893         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7894         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
7895         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
7896         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7897         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7898         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
7899         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7900         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
7901         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
7902         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7903         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
7904         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7905         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
7906         * sysdeps/x86_64/memcpy.S: Likewise.
7907         * sysdeps/x86_64/memmove.c: Likewise.
7908         * sysdeps/x86_64/memset.S: Likewise.
7909         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
7910         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
7911         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
7912         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
7913         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
7914         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
7915         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
7916         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
7917         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7918         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7919         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7920         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7921         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
7922         * sysdeps/x86_64/multiarch/memset.S: Likewise.
7923         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7924         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
7925         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
7926         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
7927         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
7928         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
7929         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
7930         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
7931         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
7932         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
7933         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
7934         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
7935         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
7936         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
7937         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
7938         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
7939         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
7940         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
7941         * sysdeps/x86_64/strcmp.S: Likewise.
7943         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
7945         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
7946         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
7947         * elf/rtld-Rules: Likewise.
7948         * elf/setup-vdso.h: Likewise.
7949         * include/assert.h: Likewise.
7950         * include/bits/stdlib-float.h: Likewise.
7951         * include/errno.h: Likewise.
7952         * include/sys/stat.h: Likewise.
7953         * include/unistd.h: Likewise.
7954         * sysdeps/aarch64/setjmp.S: Likewise.
7955         * sysdeps/alpha/setjmp.S: Likewise.
7956         * sysdeps/arm/__longjmp.S: Likewise.
7957         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
7958         * sysdeps/arm/setjmp.S: Likewise.
7959         * sysdeps/arm/sysdep.h: Likewise.
7960         * sysdeps/generic/_itoa.h: Likewise.
7961         * sysdeps/generic/dl-sysdep.h: Likewise.
7962         * sysdeps/generic/ldsodefs.h: Likewise.
7963         * sysdeps/i386/dl-tls.h: Likewise.
7964         * sysdeps/i386/setjmp.S: Likewise.
7965         * sysdeps/m68k/setjmp.c: Likewise.
7966         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
7967         * sysdeps/mach/hurd/opendir.c: Likewise.
7968         * sysdeps/posix/getcwd.c: Likewise.
7969         * sysdeps/posix/opendir.c: Likewise.
7970         * sysdeps/posix/profil.c: Likewise.
7971         * sysdeps/powerpc/dl-procinfo.h: Likewise.
7972         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7973         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
7974         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7975         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7976         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
7977         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7978         * sysdeps/s390/dl-tls.h: Likewise.
7979         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7980         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7981         * sysdeps/sh/sh3/setjmp.S: Likewise.
7982         * sysdeps/sh/sh4/setjmp.S: Likewise.
7983         * sysdeps/unix/alpha/sysdep.h: Likewise.
7984         * sysdeps/unix/arm/sysdep.S: Likewise.
7985         * sysdeps/unix/i386/sysdep.S: Likewise.
7986         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7987         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7988         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7989         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7990         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7991         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
7992         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7993         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7994         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
7995         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
7996         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
7997         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7998         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8001         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8002         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8003         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8004         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8005         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8006         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8007         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8008         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8009         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8010         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8011         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8012         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8013         * sysdeps/unix/x86_64/sysdep.S: Likewise.
8014         * sysdeps/x86_64/setjmp.S: Likewise.
8016         * include/math.h: Use IS_IN instead of IS_IN_libm.
8017         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
8018         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8019         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
8020         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
8021         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
8022         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
8023         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
8024         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
8025         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
8026         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
8027         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
8028         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8029         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
8030         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8031         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8032         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
8033         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
8034         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8035         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
8036         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
8037         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
8038         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
8039         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
8040         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
8041         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
8042         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
8043         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
8044         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
8045         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
8046         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8047         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
8048         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
8049         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
8050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8051         Likewise.
8052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
8053         Likewise.
8054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
8055         Likewise.
8056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
8057         Likewise.
8058         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
8059         Likewise.
8060         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
8061         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
8062         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
8063         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
8064         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
8065         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
8066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
8068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
8069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
8070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
8071         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
8072         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
8073         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
8074         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
8075         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
8076         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
8077         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
8078         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
8079         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
8080         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
8081         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
8082         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
8083         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
8084         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
8085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
8086         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
8088         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
8089         * nptl/pthreadP.h: Likewise.
8090         * nptl_db/structs.def: Likewise.
8091         * sysdeps/arm/sysdep.h: Likewise.
8092         * sysdeps/nptl/bits/libc-lock.h: Likewise.
8093         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
8094         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
8095         * sysdeps/unix/alpha/sysdep.h: Likewise.
8096         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8097         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8098         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8099         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8100         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8101         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8102         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8103         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8104         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8105         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8106         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8107         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8108         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8109         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
8111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
8112         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8113         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8114         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8115         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8116         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8117         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8118         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8119         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8120         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
8121         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8123         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
8124         * nptl/pthreadP.h: Likewise.
8125         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
8126         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
8127         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
8128         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
8129         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
8130         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
8131         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8132         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
8133         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
8134         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
8135         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
8136         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
8137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8138         Likewise.
8139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8140         Likewise.
8141         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
8142         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
8143         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
8144         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
8145         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
8146         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
8147         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
8148         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
8150         * dlfcn/dladdr.c: Use IS_IN.
8151         * dlfcn/dladdr1.c: Likewise.
8152         * dlfcn/dlclose.c: Likewise.
8153         * dlfcn/dlerror.c: Likewise.
8154         * dlfcn/dlinfo.c: Likewise.
8155         * dlfcn/dlmopen.c: Likewise.
8156         * dlfcn/dlopen.c: Likewise.
8157         * dlfcn/dlsym.c: Likewise.
8158         * dlfcn/dlvsym.c: Likewise.
8160         * include/ifaddrs.h: Use IS_IN.
8161         * inet/check_pf.c: Likewise.
8162         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8163         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
8165         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
8166         IS_IN_ldconfig.
8167         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
8168         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
8170         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
8171         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
8172         IS_IN (libc).
8174         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
8176         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
8177         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
8178         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
8179         * include/libc-symbols.h (IS_IN_LIB): New macro.
8180         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
8181         * include/netdb.h: Likewise.
8182         * include/stap-probe.h: Remove all uses of IN_LIB.
8184         * Makeconfig (module-cppflags-real): Define MODULE_NAME
8185         instead of IN_MODULE.
8186         * include/libc-symbols.h (IN_MODULE): Define using
8187         MODULE_NAME.
8188         (PASTE_NAME, PASTE_NAME1): New macros.
8189         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
8190         of IN_LIB.
8191         (STAP_PROBE_ASM): Likewise.
8193 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8195         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
8196         __mach_init in dlopened libc.
8198 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
8200         * sysdeps/arm/preconfigure.ac: Delete EABI check.
8201         * sysdeps/arm/preconfigure: Regenerate.
8203 2014-11-21  Roland McGrath  <roland@hack.frob.com>
8205         * nptl/pthread_create.c (__pthread_create_2_1): Set
8206         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
8207         when copying values from IATTR into PD.
8209 2014-11-21  Will Newton  <will.newton@linaro.org>
8210             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
8212         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
8213         Refactor inline-asm.  Also add comment.
8215         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
8216         ElfW macro instead of hardcoded Elf64 types.
8217         (la_aarch64_gnu_pltenter): Likewise.
8218         * sysdeps/aarch64/dl-machine.h
8219         (elf_machine_runtime_setup): Use ElfW(Addr).
8221         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
8222         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
8223         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
8224         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
8225         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
8226         (R_AARCH64_TLS_DTPMOD64): Rename to ..
8227         (R_AARCH64_TLS_DTPMOD): This.
8228         (R_AARCH64_TLS_DTPREL64): Rename to ...
8229         (R_AARCH64_TLS_DTPREL): This.
8230         (R_AARCH64_TLS_TPREL64): Rename to ...
8231         (R_AARCH64_TLS_TPREL): This.
8232         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
8233         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
8234         R_AARCH64_TLS_TPREL64.
8235         (elf_machine_rela): Likewise.
8237 2014-11-21  Torvald Riegel  <triegel@redhat.com>
8239         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
8240         by setting it to 0.  64b atomics are not supported currently.
8242 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8244         [BZ #16469]
8245         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
8246         search domain names.
8248 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8250         [BZ #16469]
8251         * NEWS: Update.
8252         * resolv/res_query.c (__libc_res_nquerydomain): Retain
8253         trailing dot.
8254         * posix/tst-getaddrinfo5.c: New.
8255         * posix/Makefile (tests): Add it.
8257 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8259         [BZ #14498]
8260         * NEWS: Fixed.
8261         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
8262         after parsing line but before break_if_match.
8263         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
8264         if there is a protocol mismatch.
8266 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
8268         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
8269         because the potential race is on the user-supplied stream.
8271 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8273         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
8274         string literal if not passed a buffer.
8275         * manual/job.texi (ctermid): Update reasoning, note deviation
8276         from posix, suggest mtasurace when not passed a buffer, for
8277         future non-preliminary safety notes.
8279 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8281         * manual/users.texi (cuserid): Fix MT-Safety note for the case
8282         of not passing it a buffer.
8283         Reported by Peng Haitao.
8285 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
8287         * manual/Makefile ($(objpfx)stamp-summary): Require
8288         check-safety.sh to pass.
8289         * manual/check-safety.sh: Wish for verification that every
8290         @deftypefn and @deftypefun is followed by a @safety remark.
8292 2014-11-20  Roland McGrath  <roland@hack.frob.com>
8294         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
8296         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
8297         PTHREAD_CANCEL_ASYNCHRONOUS.
8298         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
8299         send SIGCANCEL.
8301         * nptl/default-sched.h: New file.
8302         * sysdeps/unix/sysv/linux/default-sched.h: New file.
8303         * nptl/pthread_create.c: Include it.
8304         (__pthread_create_2_1): Use collect_default_sched instead of making
8305         Linux syscalls here directly.
8307 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8309         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
8310         __pthread_once): Use C11 atomics.
8312 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8314         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
8316 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8318         * include/atomic.h (__atomic_link_error, __atomic_check_size,
8319         atomic_thread_fence_acquire, atomic_thread_fence_release,
8320         atomic_thread_fence_seq_cst, atomic_load_relaxed,
8321         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
8322         atomic_compare_exchange_weak_relaxed,
8323         atomic_compare_exchange_weak_acquire,
8324         atomic_compare_exchange_weak_release,
8325         atomic_exchange_acquire, atomic_exchange_release,
8326         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
8327         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
8328         atomic_fetch_and_acquire,
8329         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
8331 2014-11-20  Torvald Riegel  <triegel@redhat.com>
8333         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
8334         USE_ATOMIC_COMPILER_BUILTINS): Define.
8335         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
8336         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8337         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
8338         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8339         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
8340         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8341         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
8342         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8343         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
8344         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8345         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
8346         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8347         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
8348         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8349         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
8350         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8351         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8352         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8353         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8354         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8355         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
8356         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8357         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
8358         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8359         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
8360         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8361         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
8362         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8363         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
8364         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8365         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
8366         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8367         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
8368         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8369         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
8370         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8371         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
8372         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8373         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
8374         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
8376 2014-11-19  Roland McGrath  <roland@hack.frob.com>
8378         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
8379         the sched_priority value here.  It was already checked when the user
8380         called pthread_attr_setschedparam.
8382         * nptl/tst-bad-schedattr.c: New file.
8383         * nptl/Makefile (tests): Add it.
8385 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
8386             Florian Weimer  <fweimer@redhat.com>
8387             Joseph Myers  <joseph@codesourcery.com>
8388             Adam Conrad  <adconrad@0c3.net>
8389             Andreas Schwab  <schwab@suse.de>
8390             Brooks  <bmoses@google.com>
8392         [BZ #17625]
8393         * wordexp-test.c (__dso_handle): Add prototype.
8394         (__register_atfork): Likewise.
8395         (__app_register_atfork): New function.
8396         (registered_forks): New global.
8397         (register_fork): New function.
8398         (test_case): Add 3 new tests for WRDE_CMDSUB.
8399         (main): Call __app_register_atfork.
8400         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
8401         fork count is non-zero fail the test.
8402         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
8403         is set.
8404         (parse_dollars): Remove check for WRDE_NOCMD.
8405         (parse_dquote): Likewise.
8407 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8409         * Makeconfig (built-modules): List non-library modules to be
8410         built.
8411         (module-cppflags): Include libc-modules.h for
8412         everything except shlib-versions.v.i.
8413         (CPPFLAGS): Use it.
8414         (before-compile): Add libc-modules.h.
8415         ($(common-objpfx)libc-modules.h,
8416         $(common-objpfx)libc-modules.stmp): New targets.
8417         (common-generated): Add libc-modules.h and libc-modules.stmp.
8418         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
8419         * include/libc-symbols.h: Don't include libc-modules.h.
8420         * include/libc-modules.h: Remove file.
8421         * scripts/gen-libc-modules.awk: New script to generate
8422         libc-modules.h.
8423         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
8424         Depend on libc-modules.stmp.
8426         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
8428         * Makeconfig (in-module): Get value of libof set for the
8429         translation unit.
8430         (CPPFLAGS): Use $(in-module).
8431         * Makerules: Don't suffix routine names for nonlib.
8432         * include/libc-modules.h: New file.
8433         * include/libc-symbols.h: Include libc-modules.h
8434         (IS_IN): New macro to replace IS_IN_* macros.
8435         * elf/Makefile: Set libof-* for each routine.
8436         * elf/rtld-Rules: Likewise.
8437         * extra-modules.mk: Likewise.
8438         * iconv/Makefile: Likewise.
8439         * iconvdata/Makefile: Likewise.
8440         * locale/Makefile: Likewise.
8441         * malloc/Makefile: Likewise.
8442         * nss/Makefile: Likewise.
8443         * sysdeps/gnu/Makefile: Likewise.
8444         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
8445         * sysdeps/unix/sysv/linux/Makefile: Likewise.
8446         * sysdeps/s390/s390-64/Makefile: Likewise.
8447         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
8448         CPPFLAGS for nscd instead of nonlib.
8450 2014-11-18  Roland McGrath  <roland@hack.frob.com>
8452         * nptl/createthread.c: New file.
8454         * nptl/createthread.c: Moved ...
8455         * sysdeps/unix/sysv/linux/createthread.c: ... here.
8457         * nptl/createthread.c: Add proper top-line comment.
8458         (do_clone): Folded into ...
8459         (create_thread): ... here.  Take new arguments STOPPED_START and
8460         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
8461         increment __nptl_threads, do event-reporting logic, do
8462         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
8463         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
8464         resource cleanup if sched_setaffinity or sched_setscheduler fails,
8465         just send SIGCANCEL.
8466         * nptl/pthread_create.c: Forward-declare create_thread before
8467         including createthread.c.
8468         (start_thread): Use new macro START_THREAD_DEFN to replace defining
8469         declaration, and new macro START_THREAD_SELF to replace argument.
8470         Remove return statement.
8471         (report_thread_creation): New function.
8472         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
8473         synchronization logic, and __nptl_nthreads increment here, around
8474         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
8475         PD->parent_cancelhandling here, before create_thread.  When
8476         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
8477         __deallocate_stack, and ENOMEM translation here.
8479 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
8481         [BZ #17616]
8482         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
8483         (mptwo): Rename to __mptwo.
8484         (__inv): Use __mptwo instead of mptwo.
8485         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
8486         (mptwo): Rename to __mptwo.
8487         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
8488         of mpone and __mptwo instead of mptwo.
8489         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
8490         instead of mpone.
8491         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8492         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
8493         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
8494         of mpone and __mptwo instead of mptwo.
8495         (__mpranred): Use __mpone instead of mpone.
8496         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
8497         variable.
8498         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8499         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8500         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8501         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8502         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8503         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8504         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8505         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8506         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8507         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8508         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8509         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8510         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8511         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8512         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8513         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8514         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8515         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8516         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8518 2014-11-18  Tom de Vries  <tom@codesoucery.com>
8520         * manual/signal.texi (Primitives Interrupted by Signals): In section,
8521         replace BSD Handler xref with BSD Signal Handling.
8523 2014-11-17  Richard Henderson  <rth@redhat.com>
8525         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
8526         (_FP_PACK_RAW_2): Remove.
8527         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
8528         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
8529         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
8530         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
8531         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
8532         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
8533         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
8534         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
8535         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
8536         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
8537         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
8538         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
8539         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
8540         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
8541         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
8542         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
8544 2014-11-14  Roland McGrath  <roland@hack.frob.com>
8546         * signal/signal.h [__USE_MISC]
8547         (struct sigvec): Remove type.
8548         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
8549         (sigvec): Remove declaration.
8550         * sysdeps/posix/sigvec.c: Moved ...
8551         * signal/sigvec.c: ... here, replacing old file.
8552         (struct sigvec): New type, copied from old signal.h definition.
8553         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
8554         (__sigvec): Convert definition to prototype.
8555         (sigvec): Replace weak_alias with compat_symbol.
8556         * signal/Versions (libc: GLIBC_2.21): New version set.
8557         * include/signal.h: Remove __sigvec declaration.
8558         * sysdeps/unix/bsd/sigvec.c: Remove file.
8559         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
8560         * manual/signal.texi (BSD Handler): Remove subsection.
8561         Move siginterrupt up to ...
8562         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
8563         (Blocking in BSD): Fold subsection into its parent.
8564         * NEWS: Mention sigvec removal.
8566 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8568         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
8569         (DLA_FMS): Make definition conditional only on [__FMA4__].
8570         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
8571         definition.
8573         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
8574         Make definition conditional only on [PROF].
8575         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
8576         definition.
8577         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
8578         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
8580         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
8581         !__GNUC__].
8582         * include/signal.h (__sigpause): Move declaration above call to
8583         libc_hidden_proto.
8584         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
8585         variable.
8586         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8587         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8589 2014-11-14  David S. Miller  <davem@davemloft.net>
8591         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
8592         Define before including <string/memcpy.c> and <string/mempcpy.c>.
8594 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
8596         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
8597         * configure: Regenerated.
8598         * manual/install.texi (Tools for Compilation): Document a
8599         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
8600         compiler verified to work.
8601         * INSTALL: Regenerated.
8603         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
8604         redeclare with asm name.
8605         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
8606         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
8607         including <string.h>.
8608         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8609         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
8610         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8611         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
8612         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8613         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
8614         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
8616 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
8618         * stdlib/strtol.c (__strtol): Use prototype definition.
8620         [BZ #17594]
8621         * stdlib/strtol.c (SYM__): New macro.
8622         (SYM__1): Likewise.
8623         (__strtol): Likewise.
8624         (strtol): Rename to __strtol and define as weak alias of
8625         __strtol.  Use libc_hidden_weak.
8627 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8629         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
8630         Use numbered labels in inline assembly.
8632 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8634         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
8635         Add setjmp LIBC_PROBE.
8636         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
8637         Likewise.
8638         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
8639         Add longjmp, longjmp_target LIBC_PROBE.
8640         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
8641         Likewise.
8643 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8645         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
8646         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
8647         to get rid of unused variable warning.
8649 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8651         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
8652         Check for unwind_backtrace ==  NULL only in SHARED case.
8653         (__backchain_backtrace): Compile only in SHARED case.
8654         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
8655         Likewise.
8656         (__backchain_backtrace): Declare as static.
8658 2014-11-12  Roland McGrath  <roland@hack.frob.com>
8660         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
8661         (__libc_multiple_threads_ptr): Variable moved ...
8662         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
8664 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
8666         * conform/GlibcConform.pm: New file.
8667         * conform/conformtest.pl: Use GlibcConform module.
8668         * conform/linknamespace.pl: New file.
8669         * conform/list-header-symbols.pl: Likewise.
8670         * conform/Makefile (linknamespace-symlists-base): New variable.
8671         (linknamespace-symlists-tests): Likewise.
8672         (linknamespace-header-base): Likewise.
8673         (linknamespace-header-tests): Likewise.
8674         (tests-special): Add new tests.
8675         ($(linknamespace-symlists-tests)): New rule.
8676         (linknamespace-libs): New variable.
8677         ($(objpfx)symlist-stdlibs): New rule.
8678         ($(linknamespace-header-tests)): Likewise.
8679         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
8680         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
8681         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
8682         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
8683         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
8684         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
8685         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
8686         (test-xfail-ISO/math.h/linknamespace): Likewise.
8687         (test-xfail-ISO/signal.h/linknamespace): Likewise.
8688         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
8689         (test-xfail-ISO/time.h/linknamespace): Likewise.
8690         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
8691         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
8692         (test-xfail-ISO99/math.h/linknamespace): Likewise.
8693         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
8694         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
8695         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
8696         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
8697         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
8698         (test-xfail-ISO11/math.h/linknamespace): Likewise.
8699         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
8700         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
8701         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
8702         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
8703         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
8704         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
8705         (test-xfail-XPG3/math.h/linknamespace): Likewise.
8706         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
8707         (test-xfail-XPG3/search.h/linknamespace): Likewise.
8708         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
8709         (test-xfail-XPG3/time.h/linknamespace): Likewise.
8710         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
8711         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
8712         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
8713         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
8714         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
8715         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
8716         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
8717         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
8718         (test-xfail-XPG4/math.h/linknamespace): Likewise.
8719         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
8720         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
8721         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
8722         (test-xfail-XPG4/search.h/linknamespace): Likewise.
8723         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
8724         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
8725         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
8726         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
8727         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
8728         (test-xfail-XPG4/time.h/linknamespace): Likewise.
8729         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
8730         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
8731         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
8732         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
8733         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
8734         (test-xfail-POSIX/math.h/linknamespace): Likewise.
8735         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
8736         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
8737         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
8738         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
8739         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
8740         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
8741         (test-xfail-POSIX/time.h/linknamespace): Likewise.
8742         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
8743         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
8744         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
8745         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
8746         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
8747         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
8748         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
8749         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
8750         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
8751         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
8752         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
8753         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
8754         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
8755         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
8756         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
8757         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
8758         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
8759         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
8760         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
8761         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
8762         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
8763         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
8764         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
8765         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
8766         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
8767         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
8768         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
8769         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
8770         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
8771         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
8772         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
8773         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
8774         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
8775         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
8776         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
8777         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
8778         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
8779         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
8780         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
8781         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
8782         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
8783         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
8784         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
8785         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
8786         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
8787         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
8788         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
8789         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
8790         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
8791         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
8792         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
8793         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
8794         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
8795         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
8796         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
8797         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
8798         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
8799         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
8800         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
8801         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
8802         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
8803         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
8804         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
8805         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
8806         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
8807         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
8808         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
8809         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
8810         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
8811         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
8812         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
8813         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
8814         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
8815         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
8816         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
8817         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
8818         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
8819         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
8820         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
8821         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
8822         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
8823         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
8824         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
8825         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
8826         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
8827         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
8828         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
8829         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
8830         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
8831         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
8832         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
8833         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
8834         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
8835         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
8836         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
8837         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
8838         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
8839         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
8841         [BZ #17589]
8842         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
8843         of fgets_unlocked.
8845         [BZ #17585]
8846         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
8847         (memmem): Rename to __memmem and define as weak alias of
8848         __memmem.  Use libc_hidden_weak.
8849         (__memmem): Use libc_hidden_def.
8850         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
8851         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
8852         memmem.
8854         [BZ #17582]
8855         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
8856         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
8857         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
8858         and define as weak alias of __fgets_unlocked.  Use
8859         libc_hidden_weak.
8860         (__fgets_unlocked): Use libc_hidden_def.
8861         * include/stdio.h (__fgets_unlocked): Declare.  Use
8862         libc_hidden_proto.
8863         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
8864         __fgets_unlocked instead of fgets_unlocked.
8865         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
8866         (GET_NPROCS_CONF_PARSER): Likewise.
8867         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
8868         (GET_NPROCS_CONF_PARSER): Likewise.
8870         [BZ #17574]
8871         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
8872         weak alias of __wmemset.  Use libc_hidden_weak.
8873         (__wmemset): Use libc_hidden_def.
8874         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
8875         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
8876         of wmemset.
8878         [BZ #17573]
8879         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
8880         with asm name __mempcpy.
8881         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
8883         [BZ #17572]
8884         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
8885         and define as weak alias of __rawmemchr.
8886         (__rawmemchr): Do not define as strong alias of rawmemchr.
8888         [BZ #17571]
8889         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
8890         alias of __qsort_r.
8891         (qsort): Call __qsort_r instead of qsort_r.
8892         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
8893         (__qsort_r): Declare.  Call libc_hidden_proto.
8894         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
8895         instead of qsort_r.
8896         * nscd/gai.c (__qsort_r): Define to qsort_r.
8897         * posix/tst-rfc3484.c (__qsort_r): Likewise.
8898         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
8899         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
8901         [BZ #17570]
8902         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
8903         define as weak alias of __malloc_info.
8905         [BZ #17584]
8906         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
8907         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8908         (__rewinddir): Use libc_hidden_def.
8909         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
8910         as weak alias of __rewinddir.  Don't use libc_hidden_def.
8911         (__rewinddir): Use libc_hidden_def.
8912         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
8913         weak alias of __rewinddir.  Don't use libc_hidden_def.
8914         (__rewinddir): Use libc_hidden_def.
8915         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
8916         (__rewinddir): Use libc_hidden_proto.
8917         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
8918         rewinddir.
8919         (__getcwd): Use __rewinddir instead of rewinddir.
8921         [BZ #17583]
8922         * libio/fileno.c (fileno): Rename to __fileno and define as weak
8923         alias of __fileno.  Use libc_hidden_weak.
8924         (__fileno): Use libc_hidden_def.
8925         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
8926         * libio/ftello.c (ftello): Rename to __ftello and define as weak
8927         alias of __ftello.
8928         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
8929         __ftello.
8930         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
8931         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
8932         libc_hidden_def.
8933         (fread_unlocked): Don't use libc_hidden_ver.
8934         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
8935         and define as weak alias of __fread_unlocked.  Don't use
8936         libc_hidden_def.
8937         (__fread_unlocked): Use libc_hidden_def.
8938         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
8939         (ftello): Don't use libc_hidden_proto.
8940         (__ftello): Declare.  Use libc_hidden_proto.
8941         (fread_unlocked): Don't use libc_hidden_proto.
8942         (__fread_unlocked): Declare.  Use libc_hidden_proto.
8943         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
8944         and __ftello instead of fileno, fread_unlocked and ftello.
8946 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8948         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
8949         GOT12.
8950         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
8951         Likewise.
8952         (_dl_start_user): Likewise.
8953         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
8955 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
8956             Siddhesh Poyarekar  <siddhesh@redhat.com>
8958         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
8959         Move argv and envp down instead of moving argc up.
8960         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
8962 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
8964         [BZ #17506]
8965         * test-skeleton.c (main): Return successful if one of
8966         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
8967         * string/tst-strcoll-overflow.c: Define expected status.
8969 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
8971         [BZ #17475]
8972         * locale/iso-639.def: Define Bhili and Tulu language codes.
8974 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
8976         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
8978 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
8980         [BZ #17555]
8981         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
8983 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
8985         * configure.ac: Updated check of minimal required version to
8986         2.22.
8987         * manual/install.texi (Tools for Compilation): Updated version
8988         number.
8989         * configure: Regenerated.
8990         * INSTALL: Likewise.
8992 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
8994         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
8995         __tls_get_addr.
8997 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
8999         * include/sys/wait.h (__libc_waitpid): Remove declaration.
9000         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
9001         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9002         libc_hidden_weak.
9003         (waitpid): Define as alias of __waitpid.
9004         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
9005         __waitpid.
9006         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9007         libc_hidden_weak.
9008         (waitpid): Define as alias of __waitpid.
9009         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
9010         __libc_waitpid alias.
9011         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
9012         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
9013         Likewise.
9014         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
9015         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
9016         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
9017         alias.
9018         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
9019         __waitpid.
9020         (__waitpid): Don't define as alias.  Use libc_hidden_def not
9021         libc_hidden_weak.
9022         (waitpid): Define as alias of __waitpid.
9024 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
9026         * manual/llio.texi: Add comment that write safety has been
9027         fixed in Linux.
9029         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
9030         (localplt-build-dso): Add elf/ld.so.
9031         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
9032         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
9033         and free for ld.so.
9034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
9035         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
9036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
9037         Likewise.
9038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9039         Likewise.
9040         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
9041         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
9042         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
9043         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
9044         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9045         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
9046         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
9047         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
9048         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9049         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
9050         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
9052 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
9054         [BZ #14132]
9055         * include/libc-symbols.h (INTUSE): Remove macro.
9056         (INTDEF): Likewise.
9057         (INTVARDEF): Likewise.
9058         (_INTVARDEF): Likewise.
9059         (INTDEF2): Likewise.
9060         (INTVARDEF2): Likewise.
9061         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
9062         rtld_hidden_def instead of INTVARDEF.
9063         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
9064         (_dl_starting_up_internal): Remove declaration.
9065         (_dl_starting_up): Use rtld_hidden_proto.
9066         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
9067         declaration.
9068         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
9069         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
9070         _dl_starting_up.
9071         * elf/dl-writev.h (_dl_writev): Likewise.
9072         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
9073         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
9074         _dl_starting_up_internal.
9076 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9078         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
9079         test-skeleton.c.
9081 2014-11-05  Will Newton  <will.newton@linaro.org>
9083         * benchtests/Makefile: (bench-malloc): Add malloc thread
9084         scalability benchmark.
9085         * benchtests/bench-malloc-threads.c: New file.
9087 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
9089         * sysdeps/aarch64/strchrnul.S: New file.
9091 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9093         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
9094         definition.
9095         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
9096         Likwise.
9097         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
9098         Likewise.
9099         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
9100         Likewise.
9101         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
9102         Likewise.
9103         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
9104         Likewise.
9106 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
9108         * catgets/test-gencat.c: Use test-skeleton.c.
9109         * catgets/tst-catgets.c: Likewise.
9110         * csu/tst-empty.c: Likewise.
9111         * elf/tst-audit2.c: Likewise.
9112         * elf/tst-global1.c: Likewise.
9113         * elf/tst-pathopt.c: Likewise.
9114         * elf/tst-piemod1.c: Likewise.
9115         * elf/tst-tls10.c: Likewise.
9116         * elf/tst-tls11.c: Likewise.
9117         * elf/tst-tls12.c: Likewise.
9118         * gnulib/tst-gcc.c: Likewise.
9119         * iconvdata/tst-e2big.c: Likewise.
9120         * iconvdata/tst-loading.c: Likewise.
9121         * iconv/tst-iconv1.c: Likewise.
9122         * iconv/tst-iconv2.c: Likewise.
9123         * inet/test-inet6_opt.c: Likewise.
9124         * inet/tst-gethnm.c: Likewise.
9125         * inet/tst-network.c: Likewise.
9126         * inet/tst-ntoa.c: Likewise.
9127         * intl/tst-codeset.c: Likewise.
9128         * intl/tst-gettext2.c: Likewise.
9129         * intl/tst-gettext3.c: Likewise.
9130         * intl/tst-ngettext.c: Likewise.
9131         * intl/tst-translit.c: Likewise.
9132         * io/test-stat.c: Likewise.
9133         * libio/test-fmemopen.c: Likewise.
9134         * libio/tst-freopen.c: Likewise.
9135         * libio/tst-sscanf.c: Likewise.
9136         * libio/tst-ungetwc1.c: Likewise.
9137         * libio/tst-ungetwc2.c: Likewise.
9138         * libio/tst-widetext.c: Likewise.
9139         * localedata/tst-ctype.c: Likewise.
9140         * localedata/tst-digits.c: Likewise.
9141         * localedata/tst-leaks.c: Likewise.
9142         * localedata/tst-mbswcs1.c: Likewise.
9143         * localedata/tst-mbswcs2.c: Likewise.
9144         * localedata/tst-mbswcs3.c: Likewise.
9145         * localedata/tst-mbswcs4.c: Likewise.
9146         * localedata/tst-mbswcs5.c: Likewise.
9147         * localedata/tst-setlocale.c: Likewise.
9148         * localedata/tst-trans.c: Likewise.
9149         * localedata/tst-wctype.c: Likewise.
9150         * localedata/tst-xlocale1.c: Likewise.
9151         * login/tst-grantpt.c: Likewise.
9152         * malloc/tst-calloc.c: Likewise.
9153         * malloc/tst-malloc.c: Likewise.
9154         * malloc/tst-mallocstate.c: Likewise.
9155         * malloc/tst-mcheck.c: Likewise.
9156         * malloc/tst-mtrace.c: Likewise.
9157         * malloc/tst-obstack.c: Likewise.
9158         * math/atest-exp2.c: Likewise.
9159         * math/atest-exp.c: Likewise.
9160         * math/atest-sincos.c: Likewise.
9161         * math/test-matherr.c: Likewise.
9162         * math/test-misc.c: Likewise.
9163         * math/test-powl.c: Likewise.
9164         * math/tst-definitions.c: Likewise.
9165         * misc/tst-dirname.c: Likewise.
9166         * misc/tst-efgcvt.c: Likewise.
9167         * misc/tst-fdset.c: Likewise.
9168         * misc/tst-hsearch.c: Likewise.
9169         * misc/tst-mntent2.c: Likewise.
9170         * nptl/tst-sem7.c: Likewise.
9171         * nptl/tst-sem8.c: Likewise.
9172         * nptl/tst-sem9.c: Likewise.
9173         * nss/test-netdb.c: Likewise.
9174         * posix/tst-fnmatch.c: Likewise.
9175         * posix/tst-getlogin.c: Likewise.
9176         * posix/tst-gnuglob.c: Likewise.
9177         * posix/tst-mmap.c: Likewise.
9178         * pwd/tst-getpw.c: Likewise.
9179         * resolv/tst-inet_ntop.c: Likewise.
9180         * rt/tst-timer.c: Likewise.
9181         * stdio-common/test-fseek.c: Likewise.
9182         * stdio-common/test-popen.c: Likewise.
9183         * stdio-common/test-vfprintf.c: Likewise.
9184         * stdio-common/tst-cookie.c: Likewise.
9185         * stdio-common/tst-fileno.c: Likewise.
9186         * stdio-common/tst-gets.c: Likewise.
9187         * stdio-common/tst-obprintf.c: Likewise.
9188         * stdio-common/tst-perror.c: Likewise.
9189         * stdio-common/tst-sprintf2.c: Likewise.
9190         * stdio-common/tst-sprintf3.c: Likewise.
9191         * stdio-common/tst-sprintf.c: Likewise.
9192         * stdio-common/tst-swprintf.c: Likewise.
9193         * stdio-common/tst-tmpnam.c: Likewise.
9194         * stdio-common/tst-unbputc.c: Likewise.
9195         * stdio-common/tst-wc-printf.c: Likewise.
9196         * stdlib/tst-environ.c: Likewise.
9197         * stdlib/tst-fmtmsg.c: Likewise.
9198         * stdlib/tst-limits.c: Likewise.
9199         * stdlib/tst-rand48-2.c: Likewise.
9200         * stdlib/tst-rand48.c: Likewise.
9201         * stdlib/tst-random2.c: Likewise.
9202         * stdlib/tst-random.c: Likewise.
9203         * stdlib/tst-strtol.c: Likewise.
9204         * stdlib/tst-strtoll.c: Likewise.
9205         * stdlib/tst-tls-atexit.c: Likewise.
9206         * stdlib/tst-xpg-basename.c: Likewise.
9207         * string/test-ffs.c: Likewise.
9208         * string/tst-bswap.c: Likewise.
9209         * string/tst-inlcall.c: Likewise.
9210         * string/tst-strtok.c: Likewise.
9211         * string/tst-strxfrm.c: Likewise.
9212         * sysdeps/x86_64/tst-audit10.c: Likewise.
9213         * sysdeps/x86_64/tst-audit3.c: Likewise.
9214         * sysdeps/x86_64/tst-audit4.c: Likewise.
9215         * sysdeps/x86_64/tst-audit5.c: Likewise.
9216         * time/tst-ftime_l.c: Likewise.
9217         * time/tst-getdate.c: Likewise.
9218         * time/tst-mktime3.c: Likewise.
9219         * time/tst-mktime.c: Likewise.
9220         * time/tst-posixtz.c: Likewise.
9221         * time/tst-strptime2.c: Likewise.
9222         * time/tst-strptime3.c: Likewise.
9223         * wcsmbs/tst-btowc.c: Likewise.
9224         * wcsmbs/tst-mbrtowc.c: Likewise.
9225         * wcsmbs/tst-mbsrtowcs.c: Likewise.
9226         * wcsmbs/tst-wchar-h.c: Likewise.
9227         * wcsmbs/tst-wcpncpy.c: Likewise.
9228         * wcsmbs/tst-wcrtomb.c: Likewise.
9229         * wcsmbs/tst-wcsnlen.c: Likewise.
9230         * wcsmbs/tst-wcstof.c: Likewise.
9232 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
9234         [BZ #14132]
9235         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
9236         INTDEF.
9237         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
9238         declaration.
9239         (_dl_mcount): Use rtld_hidden_proto.
9240         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
9241         _dl_mcount.
9242         * elf/rtld.c (_rtld_global_ro): Likewise.
9244         [BZ #14132]
9245         * elf/dl-init.c (_dl_init): Don't use INTDEF.
9246         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
9247         of _dl_init_internal.
9248         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
9249         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
9250         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
9251         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
9252         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
9253         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
9254         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
9255         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
9256         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
9257         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
9258         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
9259         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
9260         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
9261         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
9262         * sysdeps/tile/dl-start.S (_start): Likewise.
9263         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
9264         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
9266         [BZ #14132]
9267         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
9268         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
9269         (rtld_progname): Make macro definition unconditional.
9270         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
9271         INTDEF.
9272         (dlmopen_doit): Do not use INTUSE with _dl_argv.
9273         (dl_main): Likewise.
9274         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9275         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
9276         instead of _dl_argv_internal.
9277         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
9278         __GI__dl_argv instead of INTUSE(_dl_argv).
9279         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
9280         __GI__dl_argv instead of _dl_argv_internal.
9282         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
9283         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
9284         macro.
9285         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
9286         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
9287         New macro.
9288         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
9289         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
9290         macro.
9291         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
9292         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
9294 2014-11-04  Andreas Schwab  <schwab@suse.de>
9296         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
9298 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9300         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
9301         mtvsrd instruction in binary form.
9303 2014-11-03  Andreas Schwab  <schwab@suse.de>
9305         [BZ #17522]
9306         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
9307         for less than MB_LEN_MAX use a local buffer of that size.
9308         * libio/tst-fputws.c: New file.
9309         * libio/Makefile (tests): Add tst-fputws.
9311 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
9313         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
9314         the size of the fpu_fr.fpu_dregs[] array.
9316 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
9318         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
9319         (__nanosleep): Do not define as alias.
9320         (nanosleep): Define as alias of __nanosleep.
9321         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
9322         __libc_nanosleep name.
9324 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9326         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
9327         install.texi in comment.
9329 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9331         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
9332         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
9333         ... add here and use lwsync or sync ...
9334         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
9335         ... and add here using lwsync.
9337 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
9339         * elf/dl-machine-reject-phdr.h: New file.
9340         * elf/dl-load.c: #include that.
9341         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
9342         if that returned true.
9344 2014-10-31  Roland McGrath  <roland@hack.frob.com>
9346         [BZ #17496]
9347         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
9348         gen-as-const-headers chunk.  Add a big scare comment after the last
9349         safe place to touch before-compile.
9351 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
9353         * manual/install.texi (Tools for Compilation): Update autoconf
9354         version requirements.
9355         * INSTALL: Regenerated.
9357         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
9358         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
9359         (__libc_pselect): Likewise.
9361         [BZ #14138]
9362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
9363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9367 2014-10-31  Torvald Riegel  <triegel@redhat.com>
9369         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
9370         correct barrier instruction.
9371         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
9372         Likewise.
9373         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
9374         Likewise.
9376 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9378         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
9379         after defining inlines.  Instead, just use parens to defeat macro
9380         expansion of __isctype in its declaration.
9382 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9384         * include/sys/uio.h (__libc_readv): Remove declaration.
9385         (__libc_writev): Likewise.
9386         * misc/readv.c (__libc_readv): Rename to __readv.
9387         (__readv): Do not define as alias.
9388         (readv): Define as alias of __readv.
9389         * misc/writev.c (__libc_writev): Rename to __writev.
9390         (__writev): Do not define as alias.
9391         (writev): Define as alias of __writev.
9392         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
9393         (__readv): Do not define as alias.
9394         (readv): Define unconditionally as alias of __readv.
9395         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
9396         (__writev): Do not define as alias.
9397         (writev): Define unconditionally as alias of __writev.
9398         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
9399         name.
9400         (writev): Do not define __libc_writev name.
9402 2014-10-30  Roland McGrath  <roland@hack.frob.com>
9404         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
9405         (convert_charseq): New function, broken out of ...
9406         (use_from_charmap): ... here.  Call it.
9407         (use_to_charmap): Use convert_charseq and free instead of duplicating
9408         its code with a variable-length stack struct.
9410 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
9412         * include/fcntl.h (__libc_creat): Remove declaration.
9413         * io/creat.c (__libc_creat): Rename to creat.
9414         (creat): Do not define as alias.
9415         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
9416         of creat instead of __libc_creat.
9417         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
9418         to creat.
9419         (creat): Do not define as alias.
9420         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
9421         __libc_creat.
9422         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
9423         __libc_creat name.
9424         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
9425         Likewise.
9427 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
9429         * manual/llio.texi: Add comments discussing why write() may be
9430         considered MT-unsafe on Linux.
9432 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
9434         * dl-load.c (local_strdup): Remove.
9435         (expand_dynamic_string_token): Use __strdup.
9436         (decompose_rpath): Likewise.
9437         (_dl_map_object): Likewise.
9439 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
9441         [BZ #14132]
9442         * sysdeps/generic/unwind-dw2-fde.c
9443         (__register_frame_info_bases_internal): Do not declare.
9444         (__register_frame_info_table_bases_internal): Likewise.
9445         (__deregister_frame_info_bases_internal): Likewise.
9446         (__register_frame_info_bases): Declare and use hidden_proto before
9447         definition.  Use hidden_def instead of INTDEF.
9448         (__register_frame_info_table_bases): Likewise.
9449         (__deregister_frame_info_bases): Likewise.
9450         (__register_frame_info): Do not use INTUSE.
9451         (__register_frame): Likewise.
9452         (__register_frame_info_table): Likewise.
9453         (__register_frame_table): Likewise.
9454         (__deregister_frame_info): Likewise.
9455         (__deregister_frame): Likewise.
9457 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
9459         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9460         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
9461         not undefine.
9462         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
9463         Likewise.
9464         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
9465         Likewise.
9467 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
9469         [BZ #14138]
9470         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
9471         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
9472         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
9473         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
9474         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
9475         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
9476         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
9477         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
9478         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
9479         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
9480         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
9481         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
9482         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
9483         syscall.
9484         (setfsuid): Likewise.
9485         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
9486         (setfsuid): Likewise.
9487         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
9488         (setfsuid): Likewise.
9489         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
9490         Likewise.
9491         (setfsuid): Likewise.
9492         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
9493         (setfsuid): Likewise.
9494         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
9495         Likewise.
9496         (setfsuid): Likewise.
9498 2014-10-27  Andreas Schwab  <schwab@suse.de>
9500         [BZ #17501]
9501         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
9502         check for Slow_SSE4_2 feature bit.
9503         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
9504         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
9505         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
9506         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
9508 2014-10-24  Roland McGrath  <roland@hack.frob.com>
9510         * configure.ac: Validate compiler version with a empirical test of
9511         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
9512         $CC -v output.
9513         * configure: Regenerated.
9515         * inet/htons.c (htons): Prototypify.
9516         * inet/htonl.c (htonl): Likewise.
9518 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9520         * string/strncat.c (strncat): Improve performance by using strlen.
9522 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9524         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
9526 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9528         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
9529         Call libc_fetestexcept_aarch64.
9531 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9533         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
9534         Call libc_feholdexcept_aarch64.
9536 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9538         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
9539         Call get_rounding_mode.
9541 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9543         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
9544         Simplify logic.
9546 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
9548         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
9549         Simplify logic.
9551 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
9553         [BZ #14138]
9554         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
9555         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
9556         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
9557         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
9558         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
9559         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
9560         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
9561         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
9562         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
9563         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
9564         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
9565         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
9566         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
9567         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
9568         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
9569         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
9570         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
9571         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
9572         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
9573         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
9574         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
9575         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
9576         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
9577         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
9578         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
9579         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
9580         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
9581         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
9582         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
9583         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
9584         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
9585         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
9586         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
9587         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
9588         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
9589         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
9590         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
9591         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
9592         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
9593         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
9594         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
9595         syscall.
9596         (geteuid): Likewise.
9597         (getgid): Likewise.
9598         (getuid): Likewise.
9599         (getresgid): Likewise.
9600         (getresuid): Likewise.
9601         (getgroups): Likewise.
9602         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
9603         (geteuid): Likewise.
9604         (getgid): Likewise.
9605         (getuid): Likewise.
9606         (getresgid): Likewise.
9607         (getresuid): Likewise.
9608         (getgroups): Likewise.
9609         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
9610         (geteuid): Likewise.
9611         (getgid): Likewise.
9612         (getuid): Likewise.
9613         (getresgid): Likewise.
9614         (getresuid): Likewise.
9615         (getgroups): Likewise.
9616         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
9617         Likewise.
9618         (geteuid): Likewise.
9619         (getgid): Likewise.
9620         (getuid): Likewise.
9621         (getresgid): Likewise.
9622         (getresuid): Likewise.
9623         (getgroups): Likewise.
9624         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
9625         (geteuid): Likewise.
9626         (getgid): Likewise.
9627         (getuid): Likewise.
9628         (getresgid): Likewise.
9629         (getresuid): Likewise.
9630         (getgroups): Likewise.
9631         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
9632         Likewise.
9633         (geteuid): Likewise.
9634         (getgid): Likewise.
9635         (getuid): Likewise.
9636         (getgroups): Likewise.
9638         [BZ #14138]
9639         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
9640         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
9641         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
9642         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
9643         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
9644         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
9645         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
9646         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
9647         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
9648         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
9649         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
9650         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
9651         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
9652         __chown.
9653         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
9654         (lchown): Likewise.
9655         (fchown): Likewise.
9656         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
9657         Likewise.
9658         (lchown): Likewise.
9659         (fchown): Likewise.
9660         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
9661         (lchown): Likewise.
9662         (fchown): Likewise.
9663         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
9664         Likewise.
9665         (lchown): Likewise.
9666         (fchown): Likewise.
9668 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9670         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
9671         Simplify logic.
9673 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9675         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9676         Cleanup logic.
9678 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9680         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
9681         Remove unused include.
9683 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
9685         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
9686         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
9687         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
9688         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
9690 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
9691             Helge Deller <deller@gmx.de>
9693         [BZ #17508]
9694         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
9695         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
9696         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
9698 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
9700         [BZ #14132]
9701         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
9702         Remove macro definition.
9703         (__ashrdi3_v_glibc20): Likewise.
9704         (__lshrdi3_v_glibc20): Likewise.
9705         (__cmpdi2_v_glibc20): Likewise.
9706         (__ucmpdi2_v_glibc20): Likewise.
9707         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
9708         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9709         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9710         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9711         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9712         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
9714 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9716         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
9717         old GNU extension [0] syntax.
9718         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
9719         alloca rather than an array member with variable length.
9720         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
9721         * nscd/nscd.c (invalidate_db): New function, broken out of ...
9722         (parse_opt): ... here.  Likewise use alloca there.
9723         Validate the -i argument before checking for rootness.
9724         (send_shutdown): New function, broken out of ...
9725         (parse_opt): ... here.
9727 2014-10-22  Roland McGrath  <roland@hack.frob.com>
9729         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
9730         macro to get at the _rt_local_ro field.
9731         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
9732         ([PIC] case) or _dl_hwcap ([!PIC] case).
9733         * sysdeps/arm/setjmp.S: Likewise.
9735         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
9736         * sysdeps/arm/configure.ac: New check to define it.
9737         * sysdeps/arm/configure: Regenerated.
9738         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
9739         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
9740         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
9741         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
9742         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
9743         Use move/movt pair instead of a load.
9744         (LDST_GLOBAL): Macro removed.
9745         (LDR_GLOBAL): New macro replaces it.
9746         (LDR_HIDDEN): New macro.
9747         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
9748         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
9750         * setjmp/tst-setjmp-static.c: New file.
9751         * setjmp/Makefile (tests): Add it.
9752         (tests-static): New variable.
9754 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
9756         [BZ #17485]
9757         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
9759 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
9761         [BZ #14132]
9762         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
9764 2014-10-21  Roland McGrath  <roland@hack.frob.com>
9766         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
9768 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9770         * io/fts.c (dirent_not_directory): New function.
9771         (fts_build): Call it.
9773 2014-10-20  Roland McGrath  <roland@hack.frob.com>
9775         * nptl/version.c (__nptl_main): Use normal __write rather than
9776         INTERNAL_SYSCALL.
9777         (banner): Update copyright years.
9779         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
9780         gettimeofday.
9781         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9782         * nptl/pthread_cond_timedwait.c: Likewise.
9783         * nptl/pthread_mutex_timedlock.c: Likewise.
9784         * nptl/sem_timedwait.c: Likewise.
9786         * sysdeps/nptl/bits/libc-lock.h
9787         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9788         (__libc_lock_init_recursive): Return void, not 0.
9789         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
9790         (__libc_rwlock_init): Likewise.
9791         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
9793 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9795         [BZ #15215]
9796         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
9797         (__pthread_once_slow): ... here.
9798         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
9799         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
9801 2014-10-20  Torvald Riegel  <triegel@redhat.com>
9803         [BZ #15215]
9804         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
9805         __PTHREAD_ONCE_FORK_GEN_INCR): New.
9806         * sysdeps/nptl/fork.c (__libc_fork): Use them.
9807         * nptl/pthread_once.c (__pthread_once): Likewise.
9808         Update comments.
9810 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
9812         [BZ #14138]
9813         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
9814         name.
9815         (writev): Use __libc_writev as strong name.
9816         * sysdeps/unix/sysv/linux/readv.c: Remove file.
9817         * sysdeps/unix/sysv/linux/writev.c: Likewise.
9819 2014-10-17  Roland McGrath  <roland@hack.frob.com>
9821         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
9823         * sysdeps/i386/nptl/tls.h
9824         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
9825         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
9826         New macros.
9827         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
9828         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
9829         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
9830         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
9831         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
9832         Call CHECK_THREAD_SYSINFO instead of doing an assert.
9834         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
9835         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
9836         on [__NR_futex].
9837         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
9838         broken out of ...
9839         (__pthread_mutex_init): ... here.  Call it.
9840         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
9841         Conditionalize PI cases on [__NR_futex].
9842         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9843         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
9844         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9846         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
9847         conditional on [SIGSETXID].
9848         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
9849         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
9850         is defined.  Likewise for SIGSETXID.
9851         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
9852         Conditionalize definitions on [SIGSETXID].
9853         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
9854         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
9855         unblocking on [SIGCANCEL].
9857         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
9858         [__NR_set_robust_list].
9860 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9862         * string/strcoll_l.c (get_next_seq): Fix up formatting.
9863         (do_compare): Likewise.
9865 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
9867         [BZ #15884]
9868         * string/strcoll_l.c: Don't include stdio.h.
9869         (coll_seq): Remove members idxarr and rulearr.
9870         (get_next_seq_cached): Remove function.
9871         (get_next_seq): Likewise.
9872         (get_next_seq_nocache): Rename to get_next_seq.
9873         (do_compare): Remove function.
9874         (do_compare_nocache): Rename to do_compare.
9875         (STRCOLL): Remove weight and rules cache.
9877 2014-10-16  Roland McGrath  <roland@hack.frob.com>
9879         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
9880         * sysdeps/arm/sfp-machine.h: ... to here.
9881         * sysdeps/arm/Implies: Remove arm/soft-fp.
9883 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
9885         * conform/data/sys/utsname.h-data (*_t): Allow.
9886         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
9887         [POSIX] (WEXITED): Do not expect constant.
9888         [POSIX] (WSTOPPED): Likewise.
9889         [POSIX] (WNOHANG): Likewise.
9890         [POSIX] (WNOWAIT): Likewise.
9891         [POSIX] (siginfo_t): Do not expect type or elements.
9892         [POSIX] (pid_t): Do not expect type.
9893         [POSIX] (signal.h): Do not allow header.
9894         [POSIX] (sys/resource.h): Likewise.
9895         [POSIX] (si_*): Do not allow pattern.
9896         [POSIX] (W*): Likewise.
9897         [POSIX] (P_*): Likewise.
9898         [POSIX] (BUS_*): Likewise.
9899         [POSIX] (CLD_*): Likewise.
9900         [POSIX] (FPE_*): Likewise.
9901         [POSIX] (ILL_*): Likewise.
9902         [POSIX] (POLL_*): Likewise.
9903         [POSIX] (SEGV_*): Likewise.
9904         [POSIX] (SI_*): Likewise.
9905         [POSIX] (TRAP_*): Likewise.
9906         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
9907         variable.
9909 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
9911         [BZ #12926]
9912         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
9913         infinite loop when __recvmsg returns 0.
9915 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
9917         * CANCEL-FCT-WAIVE: Remove file.
9918         * CANCEL-FILE-WAIVE: Likewise.
9920         [BZ #14132]
9921         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
9922         instead of INTVARDEF.
9923         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9924         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
9925         rtld_hidden_data_def instead of INTVARDEF.
9926         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
9927         * elf/dl-deps.c (expand_dst): Likewise.
9928         * elf/dl-load.c (_dl_dst_count): Likewise.
9929         (_dl_dst_substitute): Likewise.
9930         (decompose_rpath): Likewise.
9931         (_dl_init_paths): Likewise.
9932         (open_path): Likewise.
9933         (_dl_map_object): Likewise.
9934         * elf/rtld.c (dl_main): Likewise.
9935         (process_dl_audit): Likewise.
9936         (process_envvars): Likewise.
9937         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
9938         Remove declaration.
9939         (__libc_enable_secure): Use rtld_hidden_proto.
9941 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9943         * elf/dl-load.c
9944         (add_path): New function broken out of _dl_rtld_di_serinfo.
9945         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
9947 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
9949         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
9950         parentheses around macro arguments.
9951         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
9952         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
9953         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
9954         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
9955         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
9956         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9957         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9958         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
9959         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
9960         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
9961         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
9962         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
9963         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
9964         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
9965         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
9966         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
9967         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
9968         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
9969         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
9970         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
9971         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
9972         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
9973         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
9974         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
9975         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
9976         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
9977         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
9978         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
9979         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
9980         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
9981         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
9982         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
9983         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
9984         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
9985         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
9986         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
9987         Likewise.
9988         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
9989         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
9990         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
9991         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
9992         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
9993         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
9994         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
9995         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
9996         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
9997         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
9998         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
9999         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
10000         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
10001         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
10002         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
10003         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
10004         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
10005         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
10006         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
10007         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
10008         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
10009         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
10010         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
10011         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
10012         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
10013         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
10014         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
10015         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
10016         (_FP_FRAC_SRS_1): Likewise.
10017         (_FP_FRAC_CLZ_1): Likewise.
10018         (_FP_MUL_MEAT_1_imm): Likewise.
10019         (_FP_MUL_MEAT_1_wide): Likewise.
10020         (_FP_MUL_MEAT_1_hard): Likewise.
10021         (_FP_SQRT_MEAT_1): Likewise.
10022         (_FP_FRAC_ASSEMBLE_1): Likewise.
10023         (_FP_FRAC_DISASSEMBLE_1): Likewise.
10024         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
10025         (__FP_CLZ_2): Likewise.
10026         (_FP_MUL_MEAT_2_wide): Likewise.
10027         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10028         (_FP_MUL_MEAT_2_gmp): Likewise.
10029         (_FP_MUL_MEAT_2_120_240_double): Likewise.
10030         (_FP_SQRT_MEAT_2): Likewise.
10031         (_FP_FRAC_ASSEMBLE_2): Likewise.
10032         (_FP_FRAC_DISASSEMBLE_2): Likewise.
10033         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
10034         (_FP_FRAC_CLZ_4): Likewise.
10035         (_FP_MUL_MEAT_4_wide): Likewise.
10036         (_FP_MUL_MEAT_4_gmp): Likewise.
10037         (_FP_SQRT_MEAT_4): Likewise.
10038         (_FP_FRAC_ASSEMBLE_4): Likewise.
10039         (_FP_FRAC_DISASSEMBLE_4): Likewise.
10040         * soft-fp/op-common.h (_FP_CMP): Likewise.
10041         (_FP_CMP_EQ): Likewise.
10042         (_FP_CMP_UNORD): Likewise.
10043         (_FP_TO_INT): Likewise.
10044         (_FP_FROM_INT): Likewise.
10045         [!__FP_CLZ] (__FP_CLZ): Likewise.
10046         (_FP_DIV_HELP_imm): Likewise.
10047         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
10048         Likewise.
10049         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
10050         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
10051         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
10052         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
10053         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
10054         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10055         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10056         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
10057         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
10058         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
10059         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
10060         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
10061         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
10062         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
10063         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
10064         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
10065         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
10066         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
10067         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
10068         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
10069         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
10070         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
10071         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
10072         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
10073         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
10074         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
10075         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
10076         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
10077         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
10078         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
10079         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
10080         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
10081         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
10082         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
10083         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
10084         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
10085         (FP_UNPACK_RAW_SP): Likewise.
10086         (FP_PACK_RAW_S): Likewise.
10087         (FP_PACK_RAW_SP): Likewise.
10088         (FP_UNPACK_S): Likewise.
10089         (FP_UNPACK_SP): Likewise.
10090         (FP_UNPACK_SEMIRAW_S): Likewise.
10091         (FP_UNPACK_SEMIRAW_SP): Likewise.
10092         (FP_PACK_S): Likewise.
10093         (FP_PACK_SP): Likewise.
10094         (FP_PACK_SEMIRAW_S): Likewise.
10095         (FP_PACK_SEMIRAW_SP): Likewise.
10096         (_FP_SQRT_MEAT_S): Likewise.
10097         (FP_CMP_S): Likewise.
10098         (FP_CMP_EQ_S): Likewise.
10099         (FP_CMP_UNORD_S): Likewise.
10100         (FP_TO_INT_S): Likewise.
10101         (FP_FROM_INT_S): Likewise.
10103         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
10105         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
10106         (FP_EX_INVALID_IMZ): Likewise.
10107         (FP_EX_INVALID_IMZ_FMA): Likewise.
10108         (FP_EX_INVALID_ISI): Likewise.
10109         (FP_EX_INVALID_ZDZ): Likewise.
10110         (FP_EX_INVALID_IDI): Likewise.
10111         (FP_EX_INVALID_SQRT): Likewise.
10112         (FP_EX_INVALID_CVI): Likewise.
10113         (FP_EX_INVALID_VC): Likewise.
10114         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
10115         "invalid" exceptions.
10116         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
10117         (_FP_ADD_INTERNAL): Likewise.
10118         (_FP_MUL): Likewise.
10119         (_FP_FMA): Likewise.
10120         (_FP_DIV): Likewise.
10121         (_FP_CMP_CHECK_NAN): Likewise.
10122         (_FP_SQRT): Likewise.
10123         (_FP_TO_INT): Likewise.
10124         (FP_EXTEND): Likewise.
10126 2014-10-09  Allan McRae  <allan@archlinux.org>
10128         * po/fr.po: Update French translation from translation project.
10130 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
10132         [BZ #14132]
10133         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
10134         of INTDEF.
10135         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
10136         (__cxa_atexit): Use libc_hidden_proto.
10137         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
10139         [BZ #14132]
10140         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
10141         declaration.
10142         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
10143         [!_ISOMAC] (__iswspace_l_internal): Likewise.
10144         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
10145         [!_ISOMAC] (__iswctype_internal): Likewise.
10146         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
10147         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
10148         alias.
10149         (fcntl): Remove __fcntl_internal alias.
10150         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
10151         __connect_internal alias.
10152         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
10153         Likewise.
10155         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
10156         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
10157         FP_DENORM_ZERO.
10158         (_FP_CHECK_FLUSH_ZERO): New macro.
10159         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
10160         (_FP_CMP): Likewise.
10161         (_FP_CMP_EQ): Likewise.
10162         (_FP_TO_INT): Do not set inexact for subnormal arguments if
10163         FP_DENORM_ZERO.
10164         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
10165         (FP_TRUNC): Likewise.
10167         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
10168         treated as invalid conversion, not as normal exponent.
10170         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
10171         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
10172         (_FP_CMP_EQ): Likewise.
10173         (_FP_CMP_UNORD): Likewise.
10174         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
10175         (FP_CMP_EQ_D): Likewise.
10176         (FP_CMP_UNORD_D): Likewise.
10177         * soft-fp/extended.h (FP_CMP_E): Likewise.
10178         (FP_CMP_EQ_E): Likewise.
10179         (FP_CMP_UNORD_E): Likewise.
10180         * soft-fp/quad.h (FP_CMP_Q): Likewise.
10181         (FP_CMP_EQ_Q): Likewise.
10182         (FP_CMP_UNORD_Q): Likewise.
10183         * soft-fp/single.h (FP_CMP_S): Likewise.
10184         (FP_CMP_EQ_S): Likewise.
10185         (FP_CMP_UNORD_S): Likewise.
10186         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
10187         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
10188         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
10189         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
10190         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
10191         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
10192         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
10193         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
10194         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
10195         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
10196         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
10197         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
10198         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
10199         to FP_CMP_Q.
10200         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
10201         FP_CMP_Q.
10202         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
10203         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
10204         FP_CMP_EQ_Q.
10205         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
10206         FP_CMP_Q.
10207         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
10208         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
10209         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
10210         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
10211         FP_CMP_EQ_Q.
10212         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
10213         FP_CMP_Q.
10214         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
10215         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
10216         FP_CMP_EQ_Q.
10217         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
10218         FP_CMP_Q.
10219         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
10220         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
10221         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
10222         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
10223         FP_CMP_EQ_Q.
10225         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
10226         a subnormal result, set the underflow exception if trapping on
10227         underflow is enabled.
10228         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
10229         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
10230         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
10231         redefine to 0.
10232         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
10233         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10234         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
10235         * soft-fp/extendxftf2.c (__extendxftf2): Use
10236         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
10238         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
10239         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
10240         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10241         FP_HANDLE_EXCEPTIONS.
10242         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
10243         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10244         FP_HANDLE_EXCEPTIONS.
10245         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
10246         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10247         FP_HANDLE_EXCEPTIONS.
10248         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
10249         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
10250         FP_HANDLE_EXCEPTIONS.
10252 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
10254         [BZ #14132]
10255         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
10256         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
10257         use INTUSE.
10258         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
10259         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
10260         Remove alias.
10261         (__adjtimex): Define using libc_hidden_ver.
10262         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
10263         Remove declaration.
10264         (ntp_gettime): Call __adjtimex directly.
10265         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
10266         Remove declaration.
10267         (ntp_gettimex): Call __adjtimex directly.
10268         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
10269         __adjtimex_internal alias.
10271 2014-10-08  Roland McGrath  <roland@hack.frob.com>
10273         [BZ #17460]
10274         * nscd/nscd.c (more_help): Rewrite list of tables collection
10275         using xstrdup and asprintf.
10277         * nscd/nscd_conf.c: Remove local xstrdup declaration.
10279 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10280             Roland McGrath  <roland@hack.frob.com>
10282         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
10283         (do_lookup_unique): ... local function 'enter' here; update callers.
10285 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
10287         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
10288         compat_symbol calls on [SHARED].
10289         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
10290         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
10291         Remove.
10292         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10293         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
10294         (oldsetrlimit): Remove.
10295         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10296         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10297         (lchown): New syscall entry.
10298         (oldsetrlimit): Remove.
10299         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10300         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
10301         (oldsetrlimit): Remove.
10302         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
10304         [BZ #14138]
10305         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
10306         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
10307         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
10308         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
10309         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10310         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
10311         (fchown): Likewise.
10312         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
10313         (fchown): Likewise.
10314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
10315         Likewise.
10317 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10319         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
10320         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
10321         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
10322         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
10323         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
10324         Likewise.
10325         (__old_sem_post): Likewise.
10327 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
10329         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
10330         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
10331         HAVE_CLOCK_GETTIME_VSYSCALL macros.
10332         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
10333         Use INLINE_VSYSCALL macro.
10334         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
10335         __vdso_clock_gettime.
10336         * sysdeps/unix/sysv/linux/tile/init-first.c
10337         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
10338         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
10339         __vdso_clock_gettime.
10341         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
10342         to set up frame more cleanly.
10344         * sysdeps/tile/memcmp.c: New file.
10346         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
10348         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
10349         * sysdeps/tile/tilegx/strcasestr.c: New file.
10350         * sysdeps/tile/tilegx/strnlen.c: New file.
10351         * sysdeps/tile/tilegx/strstr.c: New file.
10353         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
10355 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
10357         * nptl/tst-setuid3.c: Write errors to stdout.
10359 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10361         * elf/dl-deps.c
10362         (preload): New functions broken out of _dl_map_object_deps.
10363         (_dl_map_object_deps):  Remove a nested function. Update call sites.
10365 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
10367         [BZ #14138]
10368         * sysdeps/unix/sysv/linux/execve.c: Remove file.
10369         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
10371 2014-10-01  Steve Ellcey  <sellcey@mips.com>
10373         * sysdeps/mips/strcmp.S: New.
10375 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
10377         [BZ #14138]
10378         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
10379         (linkat): Likewise.
10380         (mkdirat): Likewise.
10381         (readlinkat): Likewise.
10382         (renameat): Likewise.
10383         (symlinkat): Likewise.
10384         (unlinkat): Likewise.
10385         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
10386         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
10387         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
10388         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
10389         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
10390         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
10391         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
10393 2014-09-30  Will Newton  <will.newton@linaro.org>
10395         * math/math.h: Define long double math functions if
10396         _LIBC_TEST is defined.
10397         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
10399         * localedata/Makefile: Move assignment to tests-special
10400         into an ifdef testing run-built-tests.
10401         * timezone/Makefile: Likewise.
10403 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
10405         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
10406         with $(BASH) not $(SHELL).
10408 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
10409             Matthew LeGendre  <legendre1@llnl.gov>
10411         [BZ #17411]
10412         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
10413         l_reloc_result.
10415 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10417         * stdio-common/printf_fp.c
10418         (hack_digit): New function, broken out of ...
10419         (__printf_fp): ... local function here.  Update call sites.
10420         hack_digit now takes an additional parameter that is a pointer
10421         to a struct of the referenced locals.  Those locals moved inside
10422         the struct and references updated.
10424 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
10426         * aclocal.m4: Require autoconf 2.69.
10427         * configure: Regenerated.
10428         * sysdeps/aarch64/configure: Likewise.
10429         * sysdeps/alpha/configure: Likewise.
10430         * sysdeps/arm/armv7/configure: Likewise.
10431         * sysdeps/arm/configure: Likewise.
10432         * sysdeps/ia64/configure: Likewise.
10433         * sysdeps/mach/configure: Likewise.
10434         * sysdeps/mips/configure: Likewise.
10435         * sysdeps/s390/configure: Likewise.
10436         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
10437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
10439         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
10440         file.
10441         * sysdeps/ia64/configure.ac: Likewise.
10443 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
10445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
10446         specify symbol version for ld.so.  Do not include entry for
10447         libpthread.
10448         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10449         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10450         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10452         [BZ #14171]
10453         * Makeconfig [$(build-shared) = yes]
10454         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
10455         makefiles.
10456         [$(build-shared) = yes && $(soversions.mk-done) = t]
10457         ($(common-objpfx)gnu/lib-names.h): Remove rule.
10458         [$(build-shared) = yes && $(soversions.mk-done) = t]
10459         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
10460         to Makerules.
10461         [$(build-shared) = yes && $(soversions.mk-done) = t]
10462         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
10463         here.
10464         [$(build-shared) = yes && $(soversions.mk-done) = t]
10465         (common-generated): Don't append gnu/lib-names.h and
10466         gnu/lib-names.stmp here.
10467         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
10468         (lib-names-h-abi): New variable.
10469         [$(build-shared) = yes && $(soversions.mk-done) = t]
10470         (lib-names-stmp-abi): Likewise.
10471         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10472         abi-variants] (before-compile): Append
10473         $(common-objpfx)$(lib-names-h-abi).
10474         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10475         abi-variants] (common-generated): Append gnu/lib-names.h.
10476         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10477         abi-variants] (install-others-nosubdir): Depend on
10478         $(inst_includedir)/$(lib-names-h-abi).
10479         [$(build-shared) = yes && $(soversions.mk-done) = t &&
10480         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
10481         [$(build-shared) = yes && $(soversions.mk-done) = t]
10482         ($(common-objpfx)$(lib-names-h-abi)): New rule.
10483         [$(build-shared) = yes && $(soversions.mk-done) = t]
10484         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
10485         [$(build-shared) = yes && $(soversions.mk-done) = t]
10486         (common-generated): Append $(lib-names-h-abi) and
10487         $(lib-names-stmp-abi).
10488         * scripts/lib-names.awk: Do not handle multi being set.
10489         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
10490         Remove variable.
10491         (abi-lp64_be-ld-soname): Likewise.
10492         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
10493         Likewise.
10494         (abi-hard-ld-soname): Likewise.
10495         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
10496         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
10497         Remove variable.
10498         (abi-o32_hard-ld-soname): Likewise.
10499         (abi-o32_soft_2008-ld-soname): Likewise.
10500         (abi-o32_hard_2008-ld-soname): Likewise.
10501         (abi-n32_soft-ld-soname): Likewise.
10502         (abi-n32_hard-ld-soname): Likewise.
10503         (abi-n32_soft_2008-ld-soname): Likewise.
10504         (abi-n32_hard_2008-ld-soname): Likewise.
10505         (abi-n64_soft-ld-soname): Likewise.
10506         (abi-n64_hard-ld-soname): Likewise.
10507         (abi-n64_soft_2008-ld-soname): Likewise.
10508         (abi-n64_hard_2008-ld-soname): Likewise.
10509         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
10510         Likewise.
10511         (abi-64-v2-ld-soname): Likewise.
10512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
10513         ld.so entries.
10514         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
10515         variable.
10516         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
10517         entry.
10518         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
10519         variable.
10520         (abi-64-ld-soname): Likewise.
10521         (abi-x32-ld-soname): Likewise.
10522         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
10523         entry.
10524         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10526 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
10528         [BZ #14138]
10529         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
10530         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
10531         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
10532         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
10533         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
10534         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
10535         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
10536         syscall entry for GLIBC_2.2 symbol version.
10537         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
10538         Likewise.
10539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
10540         (setrlimit): Likewise.
10541         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
10542         Likewise.
10544 2014-09-23  Will Newton  <will.newton@linaro.org>
10546         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
10547         _LINUX_ARM_SYSDEP_H include guard too.
10548         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
10549         define.
10551 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10553         * sysdeps/unix/sysv/linux/eventfd.c:
10554         Make first argument unsigned.
10555         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
10556         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
10558 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
10560         * socket/recvmmsg.c (recvmmsg): Drop const argument.
10561         * socket/sys/socket.h: Likewise
10562         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
10564 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10566         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
10568 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
10570         * time/tst-ftime.c: New test.
10571         * time/Makefile (tests): Add tst-ftime.
10573 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
10575         * soft-fp/extended.h: Fix comment formatting.
10576         * soft-fp/op-1.h: Likewise.
10577         * soft-fp/op-2.h: Likewise.
10578         * soft-fp/op-4.h: Likewise.
10579         * soft-fp/op-8.h: Likewise.
10580         * soft-fp/op-common.h: Likewise.
10581         * soft-fp/soft-fp.h: Likewise.
10583         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
10585 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
10587         [BZ #6652]
10588         * Makeconfig (soversions-default-setname): Remove variable.
10589         ($(common-objpfx)soversions.i): Don't pass default_setname to
10590         soversions.awk.
10591         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
10592         oldest_abi to abi-versions.awk.
10593         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
10594         * config.make.in (oldest-abi): Remove variable.
10595         * configure.ac (--enable-oldest-abi): Remove configure option.
10596         * configure: Regenerated.
10597         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
10598         text.
10599         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
10600         * scripts/soversions.awk: Do not handle default_setname variable.
10601         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
10602         variable.
10603         * sysdeps/mach/hurd/configure: Regenerated.
10604         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
10605         variable.
10606         * sysdeps/unix/sysv/linux/configure: Regenerated.
10608 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10610         * elf/Makefile (CFLAGS-interp.c): Remove.
10611         ($(elf-objpfx)runtime-linker.h): Generate header with linker
10612         path string.
10613         * elf/interp.c: Include generated runtime-linker.h
10615         * Makerules (lib%.so): Don't include $(+interp) in
10616         prerequisites.
10617         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
10618         * dlfcn/eval.c: Remove file.
10620         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
10621         macros.
10623         [BZ #17266]
10624         * misc/sys/cdefs.h: Define __extern_always_inline for clang
10625         4.2 and newer.
10627         [BZ #17370]
10628         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
10630 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10631             Jakub Jelinek  <jakub@redhat.com>
10633         [BZ #17266]
10634         * libio/stdio.h: Check definition of __fortify_function
10635         instead of __extern_always_inline to include bits/stdio2.h.
10636         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
10637         check if __extern_always_inline is defined.
10638         [__USE_MISC || __USE_XOPEN]: Likewise.
10639         [__USE_ISOC99] Likewise.
10640         * misc/sys/cdefs.h (__fortify_function): Define only if
10641         __extern_always_inline is defined.
10642         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
10643         __extern_always_inline and __extern_inline only for g++-4.3
10644         and newer or a compatible gcc.
10646 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
10648         [BZ #17371]
10649         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
10650         last change to handle zero prefix length.
10652 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10654         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
10655         _SC_REGEX_VERSION.
10657         * posix/getconf.c (vars): Add _POSIX_IPV6 and
10658         _POSIX_RAW_SOCKETS.
10660 2014-09-13  Allan McRae  <allan@archlinux.org>
10662         * po/ru.po: Update Russian translation from translation project.
10664 2014-09-12  Roland McGrath  <roland@hack.frob.com>
10666         * locale/programs/locale.c (show_locale_vars): Inline local function
10667         into its sole call site.  Clean up some style nits.
10668         (print_item): New function, broken out of ...
10669         (show_info): ... local function here.  Clean up style nits.
10671         * locale/programs/ld-ctype.c (set_one_default): New function, broken
10672         out of ...
10673         (set_class_defaults): ... local function set_default here.
10674         Define set_default as a macro locally to pass constant parameters.
10675         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
10676         rather than a shared local.
10678         * stdlib/rpmatch.c (try): New function, broken out of ...
10679         (rpmatch): ... local function here.  Also, prototypify definition.
10681 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
10683         * scripts/soversions.awk: Do not handle configuration names.
10684         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
10685         vendor and os variables to soversions.awk.
10686         * configure.ac: Do not modify gnu-* host_os.
10687         * configure: Regenerated
10688         * shlib-versions: Remove first column with configuration names.
10689         * nptl/shlib-versions: Likewise.
10690         * nptl_db/shlib-versions: Likewise.
10691         * sysdeps/hppa/shlib-versions: Likewise.
10692         * sysdeps/m68k/shlib-versions: Likewise.
10693         * sysdeps/mach/hurd/shlib-versions: Likewise.
10694         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
10695         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
10696         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
10697         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
10698         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
10699         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
10700         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
10701         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
10702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10703         Likewise.
10704         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10705         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10706         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10707         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10708         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10709         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
10710         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
10711         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
10713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10714         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
10715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
10716         Regenerated.
10717         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
10718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
10719         Condition symbol version definitions on [HAVE_ELFV2_ABI].
10721         * shlib-versions: Remove OS-specific entries.  Moved to files in
10722         sysdeps.
10723         * sysdeps/mach/hurd/shlib-versions: New file.
10724         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
10726         * nptl/shlib-versions: Remove architecture-specific entries.
10727         Moved to files in sysdeps.
10728         * shlib-versions: Likewise.
10729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
10730         file.
10731         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
10732         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
10733         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
10734         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
10736         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
10737         (UDP_NO_CHECK6_RX): Likewise.
10739 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10741         * sysdeps/posix/sysconf.c (__sysconf): Spell
10742         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
10744 2014-08-12  Florian Weimer  <fweimer@redhat.com>
10746         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
10747         loading.
10748         * iconv/Versions (__gconv_transliterate): Export for use from
10749         gconv modules.
10750         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
10751         (struct __gconv_trans_data, __gconv_trans_fct,
10752         __gconv_trans_context_fct, __gconv_trans_query_fct,
10753         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
10754         definitions.
10755         (struct __gconv_step_data): Remove __trans member.
10756         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
10757         longer hidden.  Remove unused trans_data argument.
10758         * iconv/gconv_int.h (struct trans_struct): Remove definition.
10759         (__gconv_translit_find): Remove declaration.
10760         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
10761         prototype.
10762         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
10763         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
10764         trans_data argument.  Add hidden definition.
10765         (__gconv_translit_find): Remove.
10766         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
10767         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
10768         * iconv/skeleton.c: Remove transliteration initialization.
10769         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
10770         __gconv_step_data initialization.
10771         * libio/iofwide.c (__libio_translit_): Remove.
10772         (_IO_fwide): Adjust struct __gconv_step_data initialization.
10773         * wcsmbs/btowc.c (__btowc): Likewise.
10774         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
10775         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
10776         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10777         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10778         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
10779         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10780         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10781         * wcsmbs/wctob.c (wctob): Likewise.
10783 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
10785         [BZ #16194]
10786         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
10787         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
10788         register usage.
10789         * sysdeps/x86/Makefile: Adjust.
10791 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10792             Roland McGrath  <roland@hack.frob.com>
10794         * locale/weight.h: Add include guard.
10795         (findidx): Make static rather than auto; take new parameters
10796         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
10797         * locale/weightwc.h: Likewise.
10798         * posix/fnmatch_loop.c
10799         (FCT): Change type of EXTRA from int32_t to wint_t.
10800         Don't include either header inside the function.
10801         Call FINDIDX rather than findidx, and pass new arguments.
10802         #undef FINDIDX at the end of the file.
10803         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
10804         FINDIDX before including fnmatch_loop.c for the non-wide version.
10805         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
10806         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
10807         for the wide version.
10808         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
10809         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
10810         Pass new arguments to findidx.
10811         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
10812         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
10813         Don't #include it inside the function.  Pass new arguments to findidx.
10814         * posix/regex_internal.h
10815         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
10816         (re_string_elem_size_at): Don't #include it inside the function.
10817         Pass new arguments to findidx.
10818         * string/strcoll_l.c: #include WEIGHT_H at top level.
10819         (get_next_seq): Don't #include it inside the function.
10820         Pass new arguments to findidx.
10821         (get_next_seq_nocache): Likewise.
10822         * string/strxfrm_l.c: #include WEIGHT_H at top level.
10823         (STRXFRM): Don't #include it inside the function.
10824         Pass new arguments to findidx.
10826 2014-09-11  Florian Weimer  <fweimer@redhat.com>
10828         [BZ #17344]
10829         * malloc/malloc.c (unlink): Turn asserts into a call to
10830         malloc_printerr.
10832 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
10834         [BZ #17370]
10835         * libio/wfileops (do_ftell_wide): Free OUT.
10837 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
10839         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
10841 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
10843         [BZ #17363]
10844         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
10845         group if the current group is empty.
10847 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10849         * benchtests/bench-memset.c (test_main): Add more test from size
10850         from 32 to 512 bytes.
10851         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10852         Add POWER8 memset object.
10853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10854         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
10855         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
10856         implementation.
10857         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
10858         Likewise.
10859         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
10860         multiarch POWER8 memset optimization.
10861         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
10862         POWER8 memset optimization.
10864         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10865         Remove bzero multiarch objects.
10866         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
10867         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
10868         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
10869         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
10870         Remove define.
10871         [__bzero]: Redefine to specific name.
10872         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
10873         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
10874         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
10875         define.
10876         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10877         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10879 2014-09-10  Florian Weimer  <fweimer@redhat.com>
10881         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
10882         warnings into errors.
10884         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
10885         __cxa_thread_atexit_impl prototype.
10887 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10889         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
10890         Fix capitalization of error message.
10892 2014-09-09  Steve Ellcey  <sellcey@mips.com>
10894         * sysdeps/mips/preconfigure: Modify ABI tests.
10896 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
10898         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
10900 2014-09-07  Roland McGrath  <roland@hack.frob.com>
10901             Carlos O'Donell  <carlos@systemhalted.org>
10903         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
10904         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
10905         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
10906         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
10907         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
10908         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
10909         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
10910         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
10911         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
10912         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
10913         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
10914         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
10915         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
10916         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
10917         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
10918         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
10919         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
10920         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
10921         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
10922         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
10923         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
10924         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
10925         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
10926         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
10927         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
10928         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
10929         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
10930         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
10931         Deconditionalize the code that was previously under [RESET_PID].
10932         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
10933         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
10934         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
10935         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
10936         include sysdep.h.
10938 2014-09-08  Allan McRae  <allan@archlinux.org>
10940         * version.h (RELEASE): Set to "development".
10941         (VERSION): Set to "2.20.90"
10943 2014-09-07  Allan McRae  <allan@archlinux.org
10945         * version.h (RELEASE): Set to "stable".
10946         (VERSION): Set to "2.20"
10947         * include/features.h (__GLIBC_MINOR__): Set to 20.
10949         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
10950         Liebler.
10952         * po/ko.po: Update Korean translation from translation project.
10954 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
10956         [BZ #17354]
10957         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
10958         macro for handling signed relocations.
10960 2014-09-03  Florian Weimer  <fweimer@redhat.com>
10962         [BZ #17325]
10963         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
10964         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
10965         assert.
10966         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
10967         * iconvdata/ibm935.c (BODY): Likewise.
10968         * iconvdata/ibm937.c (BODY): Likewise.
10969         * iconvdata/ibm939.c (BODY): Likewise.
10970         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
10971         assert.
10972         * iconvdata/Makefile (iconv-test.out): Pass module list to test
10973         script.
10974         * iconvdata/run-iconv-test.sh: New test loop for checking for
10975         decoder crashers.
10977 2014-09-02  Khem Raj  <raj.khem@gmail.com>
10979         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
10980         libm_hidden_ver.
10982 2014-09-01  Allan McRae  <allan@archlinux.org>
10984         * po/eo.po: Update Esperanto translation from translation project.
10986         * po/ca.po: Update Catalan translation from translation project.
10988 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10990         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
10991         __proc_dostop call.
10993 2014-08-27  Mark Wielaard  <mjw@redhat.com>
10995         [BZ #17319]
10996         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
10997         to call set_thread_area instead of hand written asm.
10998         (__NR_set_thread_area): Removed define.
10999         (TLS_FLAG_WRITABLE): Likewise.
11000         (__ASSUME_SET_THREAD_AREA): Remove check.
11001         (TLS_EBX_ARG): Remove define.
11002         (TLS_LOAD_EBX): Likewise.
11004 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11006         Simplify atomicity of socket creation in bind.
11008         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
11009         looking up the name after linking the file.
11011 2014-08-27  Allan McRae  <allan@archlinux.org>
11013         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11015 2014-08-26  Florian Weimer  <fweimer@redhat.com>
11017         [BZ #17187]
11018         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
11019         trans_compare, open_translit, __gconv_translit_find):
11020         Remove module loading code.
11022 2014-08-26  Allan McRae  <allan@archlinux.org>
11024         * po/vi.po: Update Vietnamese translation from translation project.
11026         * po/uk.po: Update Ukrainian translation from translation project.
11028         * po/fr.po: Update French translation from translation project.
11030         * po/ru.po: Update Russian translation from translation project.
11032         * po/pl.po: Update Polish translation from translation project.
11034         * po/cs.po: Update Czech translation from translation project.
11036         * po/de.po: Update German translation from translation project.
11038         * po/bg.po: Update Bulgarian translation from translation project.
11040         * po/sv.po: Update Sweedish translation from translation project.
11042         * po/nl.po: Update Dutch translation from translation project.
11044         * po/es.po: Update Spanish translation from translation project.
11046 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11048         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
11050         * catgets/Makefile (CPPFLAGS-gencat): Remove.
11051         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
11052         (CPPFLAGS-iconvconfig): Likewise.
11053         * timezone/Makefile (CPPFLAGS-zic): Likewise.
11055         * include/libc-symbols.h: Remove unnecessary check for
11056         NOT_IN_libc.
11057         * nptl/pthreadP.h: Likewise.
11058         * sysdeps/aarch64/setjmp.S: Likewise.
11059         * sysdeps/alpha/setjmp.S: Likewise.
11060         * sysdeps/arm/sysdep.h: Likewise.
11061         * sysdeps/i386/setjmp.S: Likewise.
11062         * sysdeps/m68k/setjmp.c: Likewise.
11063         * sysdeps/posix/getcwd.c: Likewise.
11064         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11065         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
11066         * sysdeps/s390/s390-32/setjmp.S: Likewise.
11067         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11068         * sysdeps/sh/sh3/setjmp.S: Likewise.
11069         * sysdeps/sh/sh4/setjmp.S: Likewise.
11070         * sysdeps/unix/alpha/sysdep.h: Likewise.
11071         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
11072         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
11073         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
11074         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
11075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
11076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11077         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11078         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11079         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
11080         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
11081         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
11082         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
11083         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
11084         * sysdeps/x86_64/setjmp.S: Likewise.
11086 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
11088         [BZ #17263]
11089         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
11090         <stdint.h>.
11091         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
11092         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
11094 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11096         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
11098         [BZ #17262]
11099         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
11100         and __x86_64__ when disabling x87 inline functions.
11102 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
11104         [BZ #17259]
11105         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
11106         asm statement with __cpuid_count.
11108 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
11110         * configure.ac: Change __ehdr_start code to dereference the struct.
11111         Run readelf on the output to look for relocations.
11112         * configure: Regenerated.
11114 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
11116         [BZ #17261]
11117         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
11118         value to 0.
11119         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
11121 2014-08-12  Roland McGrath  <roland@hack.frob.com>
11123         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
11125 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
11127         [BZ #16892]
11128         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
11129         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
11131 2014-08-12  Sean Anderson  <seanga2@gmail.com>
11133         * malloc/malloc.c: Fix typo in comment.
11135 2014-08-09  Allan McRae  <allan@archlinux.org>
11137         * Regenerate libc.po.
11139 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
11141         * intl/tst-gettext2.sh: Check every lang file for creation.
11143 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11145         * sysdeps/aarch64/fpu/math_private.h
11146         (libc_feholdsetround_noex_aarch64_ctx): New function.
11148 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
11150         * sysdeps/arm/armv6/strcpy.S (strcpy):
11151         Fix performance issue in misaligned cases.
11153 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11155         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
11156         Move definition from termios.h.
11157         (struct termio): Likewise.
11158         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11159         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11160         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11161         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11162         Likewise.
11163         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
11164         Move definition to ioctl-types.h
11165         (struct termio): Likewise.
11166         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11167         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
11168         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
11169         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
11170         Likewise.
11172 2014-08-05  Richard Henderson  <rth@redhat.com>
11174         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
11175         exceptions.
11176         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
11177         Add fraiseexcpt.
11178         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
11179         Use __feraiseexcept.
11180         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
11181         Protect libm symbols with IS_IN_libm.
11183         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
11185 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
11187         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
11189 2014-08-04  Will Newton  <will.newton@linaro.org>
11191         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
11192         file.
11194 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
11196         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
11197         variants for each function.
11199 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11201         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
11202         appended ...
11203         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
11204         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
11205         appended ...
11206         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
11207         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
11208         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
11209         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
11210         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
11211         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
11212         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
11213         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
11214         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
11215         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
11216         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
11217         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
11218         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
11219         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
11220         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
11221         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
11222         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
11223         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
11224         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
11225         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
11226         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
11227         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
11228         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
11229         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
11230         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
11231         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
11232         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
11233         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
11234         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
11235         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
11236         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
11237         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
11238         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
11239         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
11240         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
11241         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
11242         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
11243         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
11244         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
11245         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
11246         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
11247         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
11248         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
11249         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
11250         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
11251         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
11252         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
11253         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
11254         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
11255         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
11256         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
11257         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
11258         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
11259         Update #include.
11260         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
11261         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
11263 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11265         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
11266         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
11267         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
11268         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
11269         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
11270         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
11272 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11274         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
11275         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
11276         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11277         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
11279 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11281         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
11282         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
11283         (__libc_vfork): Define function under this name.
11284         (__vfork): Define as an alias.
11285         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
11286         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
11288 2014-08-04  Roland McGrath  <roland@hack.frob.com>
11290         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
11291         that was previously under [RESET_PID].
11292         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
11294 2014-08-04  Andreas Schwab  <schwab@suse.de>
11296         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
11298 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
11300         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
11301         (main): Likewise.
11303 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11305         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
11307 2014-08-01  Richard Henderon  <rth@redhat.com>
11309         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
11310         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
11311         typo in exact zero test.
11312         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11313         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11314         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11316 2014-08-01  Roland McGrath  <roland@hack.frob.com>
11318         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
11319         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
11320         * sysdeps/arm/sysdep.h: ... here.
11321         [!__ASSEMBLER__]: Include <stdint.h>.
11323 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
11325         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
11326         (HAVE_WCTYPE_H): Likewise.
11327         (HAVE_ISWCTYPE): Likewise.
11328         (ENABLE_NLS): Likewise.
11329         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
11330         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
11332         * posix/regex_internal.c: Check if DEBUG is defined and is
11333         set.
11335         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
11336         (HAVE_MBSRTOWCS): Likewise.
11337         * posix/fnmatch.c: Include string.h unconditionally.
11339 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
11341         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
11342         reversal.
11344 2014-07-31  Roland McGrath  <roland@hack.frob.com>
11346         * sysdeps/generic/safe-fatal.h: New file.
11347         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
11348         * nptl/forward.c: Include it.
11349         (__pthread_unwind): Use __safe_fatal as default action, rather
11350         than a bogus use of INTERNAL_SYSCALL that could never work.
11352         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
11353         * configure.ac (libc_cv_builtin_trap): New test.
11354         * configure: Regenerated.
11355         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
11356         (ABORT_INSTRUCTION): Define using __builtin_trap.
11358         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
11359         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
11360         * sysdeps/nptl/nptl-signals.h: New file.
11361         * nptl/pthreadP.h: Include <nptl-signals.h>.
11363 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11365         * sysdeps/s390/s390-64/utf16-utf32-z9.c
11366         (ONE_DIRECTION): Define.
11367         * sysdeps/s390/s390-64/utf8-utf16-z9.c
11368         (ONE_DIRECTION): Define.
11369         * sysdeps/s390/s390-64/utf8-utf32-z9.c
11370         (ONE_DIRECTION): Define.
11372 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
11374         * sysdeps/s390/Makefile: Delete file.
11375         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
11376         * sysdeps/s390/__longjmp.c: Delete file.
11377         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
11378         Remove fields __flags and __reserved.
11379         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
11380         and add versioning.
11381         * sysdeps/s390/rtld-__longjmp.c: Delete file.
11382         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
11383         * sysdeps/s390/rtld-setjmp.S: Likewise.
11384         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
11385         * sysdeps/s390/s390-32/__longjmp.c: ... here.
11386         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
11387         * sysdeps/s390/s390-32/setjmp.S: ... here.
11388         Add versioning.
11389         (__sigsetjmp): Remove setting __flags field.
11390         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
11391         * sysdeps/s390/s390-64/__longjmp.c: ... here.
11392         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
11393         * sysdeps/s390/s390-64/setjmp.S: ... here.
11394         Add versioning.
11395         (__sigsetjmp): Remove setting __flags field.
11396         * sysdeps/s390/setjmp.S: Delete file.
11397         * sysdeps/s390/sigjmp.c: Likewise.
11398         * sysdeps/s390/v1-longjmp.c: Likewise.
11399         * sysdeps/s390/v1-setjmp.h: Likewise.
11400         * sysdeps/s390/v1-sigjmp.c: Likewise.
11401         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
11402         Remove v1-longjmp_chk.
11403         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
11404         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
11405         Include debug/longjmp_chk.c and add versioning.
11406         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
11407         Include nptl/pt-longjmp.c and add versioning.
11408         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
11409         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
11410         Include __longjmp.c.
11411         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
11412         Move to ...
11413         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
11414         (__getcontext): Remove setting __flags field.
11415         Add versioning.
11416         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
11417         Don't restore upper high grps.
11418         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
11419         Likewise.
11420         (__swapcontext): Remove setting uc_flags field.
11421         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
11422         Delete file.
11423         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
11424         Include __longjmp.c.
11425         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
11426         Move to ...
11427         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
11428         (__getcontext): Remove setting __flags field.
11429         Add versioning.
11430         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
11431         (__swapcontext): Remove setting uc_flags field.
11432         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
11433         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
11434         Remove fields uc_high_gprs and __reserved.
11435         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
11436         New file with reverted content.
11437         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
11438         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
11439         Regenerated.
11440         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
11441         Regenerated.
11443 2014-07-31  Andreas Schwab  <schwab@suse.de>
11445         * config.h.in (HAVE_IFUNC): Define to 0.
11446         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
11447         definedness.
11449 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
11451         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11452         memmove-avx-unaligned, memcpy-avx-unaligned and
11453         mempcpy-avx-unaligned.
11454         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11455         Add tests for AVX memcpy functions.
11456         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
11457         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
11458         memcpy_chk.
11459         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
11460         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
11461         memmove_chk.
11462         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
11463         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
11464         mempcpy_chk.
11465         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
11466         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
11467         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
11469 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11471         [BZ #17213]
11472         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
11473         powerpc64le.
11475 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
11477         [BZ #16839]
11478         * manual/llio.texi: Add section about open file description locks.
11479         * manual/examples/ofdlocks.c: Example of open file description
11480         lock usage.
11481         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
11482         F_OFD_SETLK, and F_OFD_SETLKW.
11484 2014-07-23  Allan McRae  <allan@archlinux.org>
11486         * po/es.po: Update Spanish translation from translation project.
11488 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
11490         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
11492 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
11494         [BZ #17078]
11495         * sysdeps/arm/dl-machine.h (elf_machine_rela)
11496         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
11497         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
11499 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
11501         [BZ #17088]
11502         * math/fesetenv.c (__fesetenv)
11503         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
11504         * math/feupdateenv.c (__feupdateenv)
11505         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
11507         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
11508         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11509         (__ASSUME_SOCKETCALL): Do not define.
11511         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
11512         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
11513         (__ASSUME_SOCKETCALL): Do not define.
11514         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
11515         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11516         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11517         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
11518         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11519         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
11520         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11521         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11523         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
11524         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
11525         (__ASSUME_SOCKETCALL): Do not define.
11526         (__ASSUME_IPC64): Define unconditionally.
11527         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11528         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11529         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
11530         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11531         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
11532         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11533         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
11534         Likewise.
11536         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
11537         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
11538         (__ASSUME_SOCKETCALL): Do not define.
11539         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
11540         (__ASSUME_FUTEX_LOCK_PI): Likewise.
11541         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11542         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
11543         (__ASSUME_REQUEUE_PI): Define unconditionally.
11544         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
11545         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
11546         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11547         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
11548         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11549         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11551         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
11552         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
11553         (__ASSUME_SOCKETCALL): Do not define.
11554         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
11555         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11556         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11557         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
11558         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11559         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
11561         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
11562         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
11563         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
11564         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
11565         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
11566         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
11567         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
11568         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
11569         (__ASSUME_GETCPU_SYSCALL): Likewise.
11571         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
11572         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
11573         cases for individual architectures.
11574         * sysdeps/gnu/configure: Regenerated.
11575         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
11576         LIBC_SLIBDIR_RTLDDIR.
11577         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
11578         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
11579         LIBC_SLIBDIR_RTLDDIR.
11580         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
11581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
11582         LIBC_SLIBDIR_RTLDDIR.
11583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
11584         Regenerated.
11585         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
11586         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
11587         file.
11588         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
11589         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
11590         file.
11591         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
11592         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
11593         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
11594         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
11596         * sysdeps/aarch64/shlib-versions: Move to ...
11597         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
11598         * sysdeps/alpha/shlib-versions: Move to ...
11599         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
11600         * sysdeps/arm/shlib-versions: Move to ...
11601         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
11602         * sysdeps/hppa/shlib-versions: Move all contents except for
11603         libgcc_s entry to ...
11604         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
11605         entry from ...
11606         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
11607         * sysdeps/ia64/shlib-versions: Move to ...
11608         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
11609         entry from ...
11610         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
11611         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
11612         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
11613         * sysdeps/microblaze/shlib-versions: Move to ...
11614         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
11615         * sysdeps/mips/shlib-versions: Move to ...
11616         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
11617         entry from ...
11618         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
11619         * sysdeps/tile/shlib-versions: Move to ...
11620         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
11621         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
11622         from ...
11623         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
11624         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
11625         entry from ...
11626         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
11628 2014-07-17  Will Newton  <will.newton@linaro.org>
11630         * sysdeps/arm/bits/atomic.h
11631         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
11632         (__arch_compare_and_exchange_bool_16_int): Likewise.
11633         (__arch_compare_and_exchange_bool_64_int): Likewise.
11635         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
11636         into an #else block.
11638 2014-07-16  Roland McGrath  <roland@hack.frob.com>
11640         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
11641         just Linux configurations.  Test empirically that the compiler sets
11642         __ARM_EABI__, rather than using the tuple to decide.
11643         * sysdeps/arm/preconfigure: Regenerated.
11644         * sysdeps/unix/sysv/linux/arm/configure: File removed.
11645         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
11646         contents appended ...
11647         * sysdeps/arm/configure.ac: ... here.
11648         * sysdeps/arm/configure: Regenerated.
11650 2014-07-15  Roland McGrath  <roland@hack.frob.com>
11652         * nptl/pthread_kill.c: New file.
11653         * nptl/pthread_sigmask.c: New file.
11654         * nptl/pthread_sigqueue.c: New file.
11656         * sysdeps/nptl/lowlevellock.h: New file.
11657         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
11658         * sysdeps/nptl/lowlevellock-futex.h: New file.
11660         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
11661         Remove dead declarations.
11663 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
11665         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
11666         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
11667         config-cflags-avx2.
11668         * sysdeps/x86_64/configure.ac: Likewise.
11669         * sysdeps/i386/configure: Regenerated.
11670         * sysdeps/x86_64/configure: Likewise.
11671         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
11672         memset-avx2 only if config-cflags-avx2 is yes.
11673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11674         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
11675         defined.
11676         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
11677         only if HAVE_AVX2_SUPPORT is defined.
11678         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11680 2014-07-14  Alan Modra  <amodra@gmail.com>
11682         [BZ #17153]
11683         * elf/elf.h (DT_PPC64_NUM): Correct value.
11684         * NEWS: Add to fixed bug list.
11686 2014-07-13  Jim Meyering  <meyering@fb.com>
11688         [BZ 17150]
11689         regex: don't deref NULL upon heap allocation failure
11690         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
11691         failure in one more place.
11692         To trigger the segfault, configure grep -with-included-regex,
11693         build it, and run these commands:
11694         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
11696 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
11698         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
11700 2014-07-11  Richard Henderson  <rth@redhat.com>
11702         * sysdeps/aarch64/libm-test-ulps: Update.
11704 2014-07-10  Florian Weimer  <fweimer@redhat.com>
11706         [BZ #17135]
11707         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
11708         * nptl/allocatestack.c (__nptl_setxid_error): New function.
11709         (__nptl_setxid): Initialize error member.  Call
11710         __nptl_setxid_error.
11711         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
11712         * nptl/descr.h (struct xid_command): Add error member.
11713         * nptl/tst-setuid3.c: New file.
11714         * nptl/Makefile (tests): Add it.
11716 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11718         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
11719         New define.
11720         (__lll_trylock): Use __lll_base_trylock.
11721         (__lll_cond_trylock): Likewise.
11723 2014-07-10  Roland McGrath  <roland@hack.frob.com>
11725         * nptl/pthread_create.c (start_thread): Use atomic_or and
11726         lll_futex_wake directly rather than lll_robust_dead.
11727         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11728         (lll_robust_dead): Macro removed.
11729         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
11730         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11731         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11732         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11733         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11734         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11735         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11736         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11737         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11738         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11739         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11740         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11741         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11742         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11743         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11745         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
11746         Use atomic_compare_and_exchange_val_acq directly rather than
11747         lll_robust_trylock.
11748         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
11749         (__lll_robust_trylock, lll_robust_trylock): Removed.
11750         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
11751         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
11752         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
11753         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
11754         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
11755         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
11756         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
11757         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
11758         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
11759         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
11760         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
11761         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
11762         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
11763         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
11765 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11767         * manual/locale.texi (Locale Names): New section documenting
11768         locale name syntax.  Adjust menu and node chaining accordingly.
11769         (Choosing Locale): Reference Locale Names, Locale Categories.
11770         Mention setting LC_ALL=C.  Reflect that name syntax is now
11771         documented.
11772         (Locale Categories): New section title.  Reference Locale Names.
11773         LC_ALL is an environment variable, but not a category.
11774         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
11775         description, now in Locale Name.  Reference that section.  Locale
11776         name syntax is now documented.
11778 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11780         [BZ #17137]
11781         * locale/findlocale.c (name_present, valid_locale_name): New
11782         functions.
11783         (_nl_find_locale): Use the loc_name variable to store name
11784         candidates.  Call name_present and valid_locale_name to check and
11785         validate locale names.  Return an error if the locale is invalid.
11787 2014-07-02  Florian Weimer  <fweimer@redhat.com>
11789         * locale/setlocale.c (setlocale): Use strdup for allocating
11790         composite name copy.
11792 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11794         Sync up with gnulib.
11795         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
11796         [!_LIBC && ENABLE_NLS]: Include gettext.h.
11797         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
11798         and _GL_ARG_NONNULL.
11799         [USE_UNLOCKED_IO]: Include unlocked-io.h.
11800         [!_LIBC]: Include code for Windows and Cygwin.
11801         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
11802         Include prototype for int strerror_r.
11803         [!_LIBC] (is_open): New function.
11804         (flush_stdout): New function.
11805         (print_errno_message): Use it.
11806         (error): Likewise.
11807         (error_at_line): Likewise.
11808         (error_tail) Add function attribute macros.  Use
11809         __builtin_expect.
11811         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
11813         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
11815         * io/ftw.c: Include sys/param.h unconditionally.
11817         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
11819         [BZ #17125]
11820         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
11821         libc_freeres_ptr.
11822         (freecache): New function to free CACHE on exit.
11824         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
11825         initialization.
11827 2014-07-09  David S. Miller  <davem@davemloft.net>
11829         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11831         * sysdeps/sparc/nptl/internaltypes.h: Delete.
11832         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
11833         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
11834         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
11835         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
11836         * sysdeps/sparc/nptl/sem_init.c: Likewise.
11837         * sysdeps/sparc/nptl/sem_post.c: Likewise.
11838         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
11839         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
11840         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
11841         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
11842         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
11843         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
11845 2014-07-09  Andreas Schwab  <schwab@suse.de>
11847         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
11848         output.
11849         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
11850         (do_test): Likewise.
11852         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
11854 2014-07-09  Will Newton  <will.newton@linaro.org>
11856         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
11857         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
11858         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
11859         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
11860         * sysdeps/hppa/start.S (_start): Likewise.
11862 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
11864         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
11866         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
11867         defined.
11869 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11871         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
11872         after checking that it is non-NULL.
11874         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
11876 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11878         * sysdeps/powerpc/memmove.c: Remove file.
11879         * sysdeps/powerpc/powerpc32/power4/memcopy.h
11880         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
11881         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
11882         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
11883         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
11884         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
11885         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
11886         string memmove instead of removed powerpc one.
11888         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11889         [weak_alias]: Fix compiler warning due trailing data.
11890         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
11891         [weak_alias]: Likewise.
11892         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
11893         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
11895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11896         (__libc_ifunc_impl_list): Add memmove functions.
11898 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
11900         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
11901         Remove code.
11902         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
11903         Likewise
11904         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
11905         Likewise
11906         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
11907         Likewise
11908         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
11909         Likewise
11910         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
11911         Likewise
11912         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
11913         Likewise
11914         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
11915         Likewise
11916         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
11917         Likewise
11918         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
11919         Likewise
11920         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
11921         Likewise
11922         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
11923         Likewise
11924         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
11925         Likewise
11926         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
11927         Likewise
11928         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
11929         Likewise
11930         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
11931         Likewise
11932         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
11933         Likewise
11935 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11937         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
11938         to avoid alignment traps in non-cacheable memory.
11939         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11941         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
11942         multiarch objects.
11943         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
11944         file: multiarch power7 memmove.
11945         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
11946         multiarch default memmove.
11947         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
11948         multiarch memove for powerpc32/power4.
11950         * string/bcopy.c: Use full path to include memmove.c.
11951         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
11952         multiarch objects.
11953         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
11954         bcopy for powerpc64.
11955         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
11956         bcopy for powerpc64.
11957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
11958         and memmove implementations.
11959         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
11960         optimized multiarch memmove for POWER7/powerpc64.
11961         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
11962         default multiarch memmove for powerpc64.
11963         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
11964         multiarch for powerpc64.
11965         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
11966         for POWER7/powerpc64.
11967         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
11968         memmove for POWER7/powerpc64.
11970         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
11971         glibc default one.
11973         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
11974         __ELF_NATIVE_CLASS equal to 64.
11976 2014-07-07  Roland McGrath  <roland@hack.frob.com>
11978         * sysdeps/nptl/lowlevellock.h: File removed.
11980         * NEWS: NPTL is no longer an add-on!
11981         * nptl/internaltypes.h: Moved ...
11982         * sysdeps/nptl/internaltypes.h: ... here.
11983         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
11984         * sysdeps/nptl/fork.c: Likewise.
11985         * sysdeps/nptl/gai_misc.h: Likewise.
11986         * sysdeps/nptl/librt-cancellation.c: Likewise.
11987         * sysdeps/nptl/jmp-unwind.c: Likewise.
11988         * sysdeps/nptl/setxid.h: Likewise.
11989         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
11990         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
11991         * sysdeps/unix/sysv/linux/arm/Implies: New file.
11992         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
11993         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
11994         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
11995         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
11996         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
11997         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
11998         * sysdeps/unix/sysv/linux/mips/Implies: New file.
11999         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
12000         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
12001         * sysdeps/unix/sysv/linux/sh/Implies: New file.
12002         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
12003         * sysdeps/unix/sysv/linux/tile/Implies: New file.
12004         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
12005         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
12006         * nptl/Makeconfig: Moved ...
12007         * sysdeps/nptl/Makeconfig: ... here.
12008         * nptl/configure: File removed.
12009         * nptl/ANNOUNCE: File removed.
12010         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
12011         * sysdeps/unix/sysv/linux/configure: Regenerated.
12013         * nptl/Makefile (routines): Add libc_pthread_init,
12014         libc_multiple_threads, register-atfork and unregister-atfork.
12015         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
12016         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
12017         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
12018         pthread-pi-defines.sym, structsem.sym.
12019         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
12020         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
12021         [$(subdir) = nptl] (tests): Add tst-setgetname.
12022         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
12023         * sysdeps/unix/sysv/linux/sigaction.c: Just include
12024         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
12025         [!LIBC_SIGACTION]: Remove aliases.
12026         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
12027         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
12028         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
12029         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
12030         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
12031         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
12032         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
12033         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
12034         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
12035         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
12036         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
12037         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
12038         __libc_allocate_rtsig_private.
12039         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
12040         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
12041         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
12042         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
12043         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
12044         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
12045         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
12046         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
12047         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
12048         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
12049         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
12050         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
12051         * nptl/internaltypes.h: ... here.
12052         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
12053         * sysdeps/nptl/jmp-unwind.c: ... here.
12054         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
12055         * nptl/libc-lowlevellock.c: ... here.
12056         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
12057         * nptl/libc_multiple_threads.c: ... here.
12058         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
12059         * nptl/libc_pthread_init.c: ... here.
12060         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
12061         * nptl/lowlevelbarrier.sym: ... here.
12062         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
12063         * nptl/lowlevelcond.sym: ... here.
12064         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
12065         * nptl/lowlevellock.c: ... here.
12066         * nptl/lowlevellock.h: Moved ...
12067         * sysdeps/nptl/lowlevellock.h: ... here.
12068         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
12069         * nptl/lowlevelrobustlock.c: ... here.
12070         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
12071         * nptl/lowlevelrobustlock.sym: ... here.
12072         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
12073         * nptl/lowlevelrwlock.sym: ... here.
12074         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
12075         * nptl/pt-fork.c: ... here.
12076         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
12077         * nptl/pthread-pi-defines.sym: ... here.
12078         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
12079         * nptl/pthread_attr_getaffinity.c: ... here.
12080         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
12081         * nptl/pthread_attr_setaffinity.c: ... here.
12082         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
12083         * nptl/pthread_mutex_cond_lock.c: ... here.
12084         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12085         Update #include.
12086         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
12087         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
12088         * nptl/pthread_once.c: ... here, replacing old file.
12089         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
12090         * nptl/pthread_yield.c: ... here.
12091         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
12092         * nptl/register-atfork.c: ... here.
12093         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
12094         * nptl/sem_post.c: ... here.
12095         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
12096         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
12097         * nptl/sem_timedwait.c: ... here.
12098         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
12099         * nptl/sem_trywait.c: ... here.
12100         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
12101         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
12102         * nptl/sem_wait.c: ... here.
12103         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
12104         * nptl/structsem.sym: ... here.
12105         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
12106         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
12107         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
12108         * nptl/unregister-atfork.c: ... here.
12109         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
12110         * nptl/unwindbuf.sym: ... here.
12111         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
12112         * sysdeps/nptl/fork.c: ... here.
12113         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
12114         * sysdeps/nptl/fork.h: ... here.
12115         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
12116         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
12117         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
12118         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
12119         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
12120         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
12121         * sysdeps/unix/sysv/linux/getpid.c: ... here.
12122         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
12123         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
12124         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
12125         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
12126         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
12127         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
12128         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
12129         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
12130         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
12131         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
12132         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
12133         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
12134         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
12135         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
12136         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
12137         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
12138         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
12139         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
12140         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
12141         * sysdeps/unix/sysv/linux/raise.c: ... here.
12142         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
12143         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
12144         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
12145         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
12146         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
12147         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
12148         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
12149         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
12150         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
12151         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
12152         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
12153         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
12154         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
12155         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
12156         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
12158 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12160         * sysdeps/generic/memcopy.h: Add comment for
12161         MEMCPY_OK_FOR_FWD_MEMMOVE.
12163 2014-07-04  Will Newton  <will.newton@linaro.org>
12165         * string/memchr.c: Merge from gnulib.
12166         [_LIBC]: Remove conditionals.
12167         (__ptr_t): Remove define.
12168         (LONG_MAX_32_BITS): Likewise.
12169         (LONG_MAX): Likewise.
12170         (MEMCHR): Use ANSI prototype and optimize algorithm.
12172         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
12174 2014-07-03  Roland McGrath  <roland@hack.frob.com>
12176         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
12177         (lll_futex_timed_wait_bitset): Fix syscall argument count.
12179         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
12180         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
12181         in a bare environment with no <stdlib.h> installed.
12182         * sysdeps/nptl/configure: Regenerated.
12184         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
12186         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
12187         AC_EGREP_CPP for kernel header checks, so they only succeed if
12188         including <linux/version.h> actually works right.
12189         * sysdeps/unix/sysv/linux/configure: Regenerated.
12191         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
12192         value so it's not diagnosed as unused.
12194         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
12195         thing) with "ifeq ($(subdir),rt)".
12197 2014-07-03  Richard Henderson  <rth@redhat.com>
12199         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
12200         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
12201         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
12203         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
12204         (math_force_eval): New.
12206         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
12207         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
12209         * sysdeps/alpha/fpu/s_round.c: Remove file.
12210         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
12212         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
12213         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
12214         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
12215         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
12216         (_dl_start, print_statistics): Likewise.
12217         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
12218         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
12220         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12221         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12222         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12223         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12224         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12225         (HP_SMALL_TIMING_AVAIL): Define.
12226         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12227         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12228         (HP_SMALL_TIMING_AVAIL): Define.
12229         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12230         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
12232         * sysdeps/aarch64/hp-timing.h: New file.
12234         * sysdeps/generic/hp-timing.h: Remove dead comment.
12235         * sysdeps/generic/hp-timing-common.h: New file.
12236         * sysdeps/alpha/hp-timing.h: Include it.
12237         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
12238         * sysdeps/i386/i686/hp-timing.h: Likewise.
12239         * sysdeps/ia64/hp-timing.h: Likewise.
12240         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12241         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12242         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
12243         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
12244         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
12245         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
12246         (hp_timing_t): New.
12248         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
12249         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
12250         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
12251         * elf/rtld.c (_dl_start_final): Likewise.
12252         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
12253         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12254         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12255         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12256         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12257         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12258         (HP_TIMING_DIFF_INIT): Remove.
12259         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12260         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
12261         (HP_TIMING_DIFF_INIT): Remove.
12262         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
12263         * sysdeps/i386/i686/hp-timing.c: Remove file.
12264         * sysdeps/x86_64/hp-timing.c: Remove file.
12265         * sysdeps/ia64/hp-timing.c: Remove file.
12266         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
12267         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
12268         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
12269         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
12271         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
12272         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
12273         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
12274         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12275         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
12276         (HP_TIMING_ACCUM): Remove.
12277         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12278         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
12279         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
12281         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
12282         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
12283         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
12284         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
12285         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
12286         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12287         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
12288         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
12290         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
12292 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
12294         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
12296 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12298         Sync up with gettext.
12299         * intl/loadmsgcat.c: Define O_BINARY if not defined.
12300         [_MSC_VER]: Include malloc.h
12301         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
12302         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
12303         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
12304         TEMP_FAILURE_RETRY.  Cast return of alloca.
12305         [!_LIBC] Call gl_rwlock_init.
12306         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
12308 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12310         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
12311         before checking its value.
12313 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12315         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
12317         * debug/memcpy_chk.c: Don't include pagecopy.h.
12318         * debug/mempcpy_chk.c: Likewise.
12319         * string/memcpy.c: Likewise.
12320         * string/memmove.c: Likewise.
12321         * sysdeps/powerpc/memmove.c: Likewise.
12322         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
12323         definition of PAGE_COPY_FWD_MAYBE here...
12324         * sysdeps/generic/pagecopy.h: ... from here.
12325         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
12327 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12328             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12330         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
12331         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
12332         optimizations.
12333         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12334         (__libc_ifunc_impl_list): Likewise.
12335         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
12336         multiarch strcat for PPC64.
12337         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
12338         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
12340 2014-07-02  Roland McGrath  <roland@hack.frob.com>
12342         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
12344 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12346         * intl/loadmsgcat.c: Remove declaration of
12347         get_sysdep_segment_value.
12348         (get_sysdep_segment_value): Use ISO C style.
12349         (_nl_load_domain): Use ISO C style.  Get rid of redundant
12350         semicolon.  Fix typo and formatting in comment.
12351         (_nl_unload_domain): Use ISO C style.
12353         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
12355 2014-07-02  Will Newton  <will.newton@linaro.org>
12357         * malloc/obstack.c: Merge from gnulib master.
12358         [HAVE_CONFIG_H]: Remove conditional code.
12359         [!_LIBC]: Include config.h.
12360         [!ELIDE_CODE]: Don't include inttypes.h, include
12361         stdint.h unconditionally.
12362         (print_and_abort): Mark as _Noreturn.
12363         (_obstack_allocated_p): Mark as __attribute_pure__.
12364         (obstack_free): Rename to __obstack_free.
12365         [!__attribute__]: Remove conditional code.
12366         * malloc/obstack.h: Merge from gnulib master.
12367         [__cplusplus]: Move conditional down.
12368         [!__attribute_pure__]: Define __attribute_pure__ here
12369         if it is not already defined.
12370         (_obstack_memory_used): Mark as __attribute_pure__.
12371         [!__obstack_free]: Define as obstack_free.
12372         [__GNUC__]: Remove check for ancient NeXT gcc.
12374 2014-07-02  Will Newton  <will.newton@linaro.org>
12375             Paul Eggert  <eggert@cs.ucla.edu>
12377         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
12379 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12381         * resolv/gethnamaddr.c: Add comment warning that the file is
12382         not maintained.
12384 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
12386         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
12387         entries.
12389         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
12390         entry for aio_cancel and aio_cancel64.
12391         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
12392         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
12393         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
12394         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
12395         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
12396         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
12397         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
12398         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
12399         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
12400         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
12401         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
12402         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
12403         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
12405 2014-07-01  Roland McGrath  <roland@hack.frob.com>
12407         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
12408         * nptl/pthread_mutex_lock.c: Likewise.
12409         * nptl/pthread_mutex_timedlock.c: Likewise.
12410         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
12412 2014-07-01  Richard henderson  <rth@redhat.com>
12414         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
12415         (__isnan, __isnanl): Remove.
12416         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
12418         * sysdeps/alpha/fpu/libm-test-ulps: Update.
12420 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12422         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12424 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
12426         * resolv/nss_dns/dns-host.c (getanswer_r)
12427         [MULTI_PTRS_ARE_ALIASES]: Remove code.
12429 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
12431         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12432         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
12433         undefine.
12434         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
12435         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
12437 2014-07-01  Roland McGrath <roland@hack.frob.com>
12439         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
12440         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
12442         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
12443         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
12445         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
12446         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
12447         ... here.
12448         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
12449         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
12451         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
12452         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
12453         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
12454         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
12456         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
12457         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
12458         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
12459         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
12460         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
12461         Moved ...
12462         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
12463         ... here.
12464         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
12465         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
12466         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
12467         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
12468         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
12469         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
12470         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
12471         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
12472         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
12473         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
12474         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
12475         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
12476         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
12477         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
12478         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
12479         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
12480         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
12481         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
12482         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
12483         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
12484         ... here.
12485         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
12486         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
12487         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
12488         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
12489         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
12490         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
12491         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
12492         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
12494 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
12496         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
12497         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
12498         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
12499         Add sysdep.
12501 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12505 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12507         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12508         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12510         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
12512         * sysdeps/arm/libm-test-ulps: Regenerated.
12514 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12515             Roland McGrath <roland@hack.frob.com>
12517         * test-skeleton.c (signal_handler): Kill the whole process group
12518         before killing the child individually.
12519         (main): Report any failure on `setpgid'.
12521 2014-06-30  Roland McGrath  <roland@hack.frob.com>
12523         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
12524         from _TLS_H to _ARM_NPTL_TLS_H.
12525         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
12526         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
12528 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
12530         [BZ #16539]
12531         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
12532         (__expm1l): Return argument unchanged when small but not
12533         subnormal.
12535         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
12536         include macro name.
12537         (_FP_UNPACK_RAW_1_P): Likewise.
12538         (_FP_PACK_RAW_1): Likewise.
12539         (_FP_PACK_RAW_1_P): Likewise.
12540         (_FP_MUL_MEAT_1_wide): Likewise.
12541         (_FP_MUL_MEAT_DW_1_hard): Likewise.
12542         (_FP_MUL_MEAT_1_hard): Likewise.
12543         (_FP_DIV_MEAT_1_imm): Likewise.
12544         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
12545         (_FP_DIV_MEAT_1_udiv): Likewise.
12546         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
12547         (_FP_UNPACK_RAW_2): Likewise.
12548         (_FP_UNPACK_RAW_2_P): Likewise.
12549         (_FP_PACK_RAW_2): Likewise.
12550         (_FP_PACK_RAW_2_P): Likewise.
12551         (_FP_MUL_MEAT_DW_2_wide): Likewise.
12552         (_FP_MUL_MEAT_2_wide): Likewise.
12553         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
12554         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
12555         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
12556         (_FP_MUL_MEAT_2_gmp): Likewise.
12557         (_FP_DIV_MEAT_2_udiv): Likewise.
12558         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
12559         (_FP_FRAC_SRL_4): Likewise.
12560         (_FP_FRAC_SRST_4): Likewise.
12561         (_FP_FRAC_SRS_4): Likewise.
12562         (_FP_UNPACK_RAW_4): Likewise.
12563         (_FP_UNPACK_RAW_4_P): Likewise.
12564         (_FP_PACK_RAW_4): Likewise.
12565         (_FP_PACK_RAW_4_P): Likewise.
12566         (_FP_MUL_MEAT_DW_4_wide): Likewise.
12567         (_FP_MUL_MEAT_4_wide): Likewise.
12568         (_FP_MUL_MEAT_4_gmp): Likewise.
12569         (umul_ppppmnnn): Likewise.
12570         (_FP_DIV_MEAT_4_udiv): Likewise.
12571         (__FP_FRAC_ADD_4): Likewise.
12572         (__FP_FRAC_SUB_3): Likewise.
12573         (__FP_FRAC_SUB_4): Likewise.
12574         (__FP_FRAC_DEC_3): Likewise.
12575         (__FP_FRAC_DEC_4): Likewise.
12576         (__FP_FRAC_ADDI_4): Likewise.
12577         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
12578         (_FP_FRAC_SRL_8): Likewise.
12579         (_FP_FRAC_SRS_8): Likewise.
12581         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
12582         include macro name.
12583         (FP_UNPACK_RAW_EP): Likewise.
12584         (FP_PACK_RAW_E): Likewise.
12585         (FP_PACK_RAW_EP): Likewise.
12586         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
12587         (_FP_ISSIGNAN): Likewise.
12588         (_FP_ADD_INTERNAL): Likewise.
12589         (_FP_FMA): Likewise.
12590         (_FP_CMP): Likewise.
12591         (_FP_SQRT): Likewise.
12592         (_FP_TO_INT): Likewise.
12593         (_FP_FROM_INT): Likewise.
12594         (FP_EXTEND): Likewise.
12595         (_FP_DIV_MEAT_N_loop): Likewise.
12597 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
12599         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
12600         throughout.
12602 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
12604         [BZ #17097]
12605         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
12606         result with correct sign in case of exponents that produce
12607         overflow except for X very close to 1.
12609 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
12611         mktime: merge #if/#ifdef usage from glibc
12612         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
12613         as that works with both Glibc's and Gnulib's style.
12614         See thread starting at Siddhesh Poyarekar's bug report at:
12615         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
12617 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12619         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
12620         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
12621         * sysdeps/tile/tilegx/memmove.c: Remove file.
12623 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12625         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
12626         abi-name definition.
12627         * scripts/soversions.awk: Do not handle or generate ABI lines.
12628         * shlib-versions: Remove ABI entries.
12629         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
12630         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
12632 2014-06-27  Roland McGrath  <roland@hack.frob.com>
12634         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
12635         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
12636         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
12637         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
12638         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
12639         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
12640         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
12641         Moved ...
12642         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
12643         ... here.
12644         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
12645         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
12646         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
12647         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
12648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
12649         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
12650         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
12651         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
12652         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
12653         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
12654         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
12655         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
12656         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
12657         Moved ...
12658         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
12659         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
12660         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
12661         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
12662         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
12663         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
12664         Moved ...
12665         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
12666         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
12667         Moved ...
12668         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
12669         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
12670         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
12671         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
12672         Moved ...
12673         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
12674         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
12675         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
12676         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
12677         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
12678         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
12679         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
12680         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
12681         Moved ...
12682         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
12683         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
12684         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
12685         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
12686         Moved ...
12687         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
12688         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
12689         Moved ...
12690         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
12691         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
12692         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
12693         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
12694         Moved ...
12695         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
12696         ... here.
12697         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
12698         Identical file removed.
12699         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
12700         Moved ...
12701         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
12702         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
12703         Identical file removed.
12704         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
12705         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
12706         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
12707         Moved ...
12708         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
12709         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
12710         Identical file removed.
12711         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
12712         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
12713         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
12714         Identical file removed.
12715         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
12716         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
12717         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
12718         Identical file removed.
12719         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
12720         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
12721         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
12722         Identical file removed.
12723         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
12724         Moved ...
12725         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
12726         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
12727         Identical file removed.
12728         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
12729         Moved ...
12730         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
12731         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
12732         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
12733         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
12734         Identical file removed.
12735         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
12736         Moved ...
12737         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
12738         ... here.
12739         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
12740         Identical file removed.
12741         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
12742         Moved ...
12743         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
12744         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
12745         Identical file removed.
12746         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
12747         Moved ...
12748         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
12749         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
12750         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
12751         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
12752         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
12753         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
12754         Moved ...
12755         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
12756         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
12757         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
12759         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
12760         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
12761         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
12762         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
12763         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
12765 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
12767         [BZ #17092]
12768         * nscd/nscd.c (monitor_child): Return exit status of child
12769         instead of return value from wait syscall.
12771 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
12773         * configure.ac (libc_commonpagesize): Remove variable.
12774         (libc_relro_required): Likewise.
12775         (libc_cv_z_relro): Remove configure test.
12776         * configure: Regenerated.
12777         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
12778         variable.
12779         (libc_relro_required): Likewise.
12780         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
12781         (libc_relro_required): Likewise.
12782         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
12783         (libc_relro_required): Likewise.
12784         * sysdeps/arm/preconfigure: Regenerated.
12785         * sysdeps/ia64/preconfigure: Remove file.
12786         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
12787         variable.
12788         (libc_relro_required): Likewise.
12790         [BZ #16561]
12791         [BZ #16562]
12792         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
12793         (__ieee754_yn): Set FE_TONEAREST mode internally and then
12794         recompute overflowing results in original rounding mode.
12795         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
12796         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
12797         recompute overflowing results in original rounding mode.
12798         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
12799         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12800         recompute overflowing results in original rounding mode.
12801         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
12802         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12803         recompute overflowing results in original rounding mode.
12804         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
12805         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
12806         recompute overflowing results in original rounding mode.
12807         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
12808         (libc_feholdsetround_ctx): New macro.
12809         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
12810         * sysdeps/i386/fpu/libm-test-ulps: Update.
12811         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
12813 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12815         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
12816         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
12817         corresponding .cpsetup call.
12819 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12821         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
12822         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
12823         * sysdeps/arm/Makefile [$(subdir) = csu]
12824         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
12825         (static-only-routines): Add aeabi_read_tp here.
12826         (shared-only-routines): Add libc-aeabi_read_tp here.
12827         (CFLAGS-libc-start.c): Add -fexceptions here.
12828         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
12829         (sysdep_routines, static-only-routines, shared-only-routines):
12830         Don't add to these here.
12831         (CFLAGS-libc-start.c): Likewise.
12833         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
12834         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12835         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
12836         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12837         * sysdeps/arm/Makefile [$(subdir) = rt]
12838         (librt-sysdep_routines, librt-shared-only-routines):
12839         Append rt-aeabi_unwind_cpp_pr1 here.
12840         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
12841         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
12842         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
12843         (libpthread-sysdep_routines, libpthread-shared-only-routines):
12844         Append nptl-aeabi_unwind_cpp_pr1 here.
12845         (tests): Filter out tst-cleanupx4 here.
12846         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
12847         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
12848         Don't do those here.
12850 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12852         * scripts/list-sources.sh: Do not handle ports specially.
12854 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12856         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
12857         * sysdeps/arm/feupdateenv.c: Likewise.
12859         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
12861 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12863         * manual/texinfo.tex: Update to version 2014-05-05.10 with
12864         trailing whitespace removed.
12865         * scripts/config.guess: Update to version 2014-03-23.
12866         * scripts/config.sub: Update to version 2014-05-01
12867         * scripts/install-sh: Update to version 2013-12-25.23.
12868         * scripts/move-if-change: Update from gnulib.
12870 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12872         * debug/memmove_chk.c: Remove pagecopy.h include.
12874 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
12876         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
12877         identical to gnulib mktime.
12879 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
12881         * configure.ac: Do not test for machine being rs6000.  Do not test
12882         for powerpc*-*soft.
12883         * configure: Regenerated.
12885         [BZ #11505]
12886         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
12887         test.
12888         * configure: Regenerated.
12889         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
12890         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
12891         Remove configure test.
12892         * sysdeps/arm/configure: Regenerated.
12893         * sysdeps/nptl/configure.ac: Do not check
12894         libc_cv_asm_cfi_directives.
12895         * sysdeps/nptl/configure: Regenerated.
12896         * sysdeps/x86_64/nptl/configure.ac: Remove file.
12897         * sysdeps/x86_64/nptl/configure: Remove generated file.
12898         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
12899         unconditional.
12900         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
12902 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12904         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
12905         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
12906         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
12907         it is defined.
12909         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
12910         instead of whether it is defined.
12911         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
12912         * sysdeps/hppa/dl-machine.h: Likewise.
12913         * sysdeps/ia64/dl-machine.h: Likewise.
12914         * sysdeps/m68k/dl-machine.h: Likewise.
12915         * sysdeps/microblaze/dl-machine.h: Likewise.
12916         * sysdeps/mips/dl-machine.: Likewise.
12917         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
12918         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12919         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
12920         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
12921         * sysdeps/sh/dl-machine.h: Likewise.
12922         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
12923         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
12924         * sysdeps/tile/dl-machine.h: Likewise.
12925         * sysdeps/x86_64/dl-machine.h: Likewise.
12927         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
12928         code.
12929         (verify_persistent_db): Likewise.
12931 2014-06-26  Roland McGrath  <roland@hack.frob.com>
12933         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
12934         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
12935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
12936         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
12937         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
12938         Moved ...
12939         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
12940         ... here.
12941         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
12942         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
12943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
12944         Identical file removed.
12945         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
12946         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
12947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
12948         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
12949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
12950         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
12951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
12952         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
12953         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
12954         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
12955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
12956         Moved ...
12957         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
12958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
12959         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
12960         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
12961         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
12962         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
12963         Moved ...
12964         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
12965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
12966         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
12967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
12968         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
12969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
12970         Identical file removed.
12971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
12972         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
12973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
12974         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
12975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
12976         Moved ...
12977         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
12978         ... here.
12979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
12980         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
12981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
12982         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
12983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
12984         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
12985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
12986         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
12987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
12988         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
12989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
12990         Moved ...
12991         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
12992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
12993         Moved ...
12994         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
12995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
12996         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
12997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
12998         Moved ...
12999         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
13000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
13001         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
13003         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
13004         folded into ...
13005         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
13006         * sysdeps/unix/sysv/linux/s390/Versions
13007         (libpthread: GLIBC_2.19): New version set.
13008         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
13009         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
13010         (librt: GLIBC_2.3.3): New version set.
13011         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
13012         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
13013         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
13014         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
13015         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
13016         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
13017         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
13018         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
13019         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
13020         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
13021         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
13022         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
13023         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
13024         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
13025         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
13026         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
13027         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
13028         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
13029         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
13030         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
13031         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
13032         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
13033         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
13034         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
13035         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
13036         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
13037         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
13038         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
13039         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
13040         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
13041         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
13042         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
13043         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
13044         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
13045         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
13046         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
13047         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
13048         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
13049         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
13050         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
13051         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
13052         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
13053         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
13054         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
13055         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
13057         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
13058         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
13059         (__libc_vfork): Define the function under this name.
13060         [!NOT_IN_libc] (__vfork): Make this an alias.
13061         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
13063         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
13064         (__libc_vfork): Define the function under this name.
13065         [!NOT_IN_libc] (__vfork): Make this an alias.
13066         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
13067         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
13068         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
13069         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
13070         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
13071         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
13073         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
13074         code that was previously under [RESET_PID].
13075         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13076         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
13077         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
13079         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
13080         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
13081         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
13082         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
13083         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
13084         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
13085         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
13086         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
13087         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
13088         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
13089         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
13090         Moved ...
13091         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
13092         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
13093         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
13094         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
13095         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
13096         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
13097         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
13098         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
13099         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
13100         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
13101         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
13102         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
13103         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
13104         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
13105         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
13106         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
13107         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
13108         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
13109         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
13110         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
13111         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
13112         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
13113         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
13114         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
13115         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
13116         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
13117         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
13118         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
13119         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
13121 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13123         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
13124         that was previously under [RESET_PID].
13125         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
13127 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13129         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
13130         not undefine and redefine.
13131         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
13132         [O_CLOEXEC]: Make code unconditional.
13133         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
13134         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
13135         <kernel-features.h>.
13136         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
13137         conditional variable definition.
13138         (shm_open) [O_CLOEXEC]: Make code unconditional.
13139         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
13140         code.
13142         * configure.ac (USE_REGPARMS): Don't define here.
13143         * configure: Regenerated.
13144         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
13145         * sysdeps/i386/configure: Regenerated.
13147         * nptl/createthread.c: Don't include kernel-features.h.
13148         * nptl/pthread_cancel.c: Likewise.
13149         * nptl/pthread_condattr_setclock.c: Likewise.
13150         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
13151         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
13152         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
13153         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
13154         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
13155         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
13156         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13157         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
13158         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13159         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
13160         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
13161         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
13162         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
13163         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
13164         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
13165         * nscd/gai.c: Likewise.
13166         * nss/nss_db/db-open.c: Likewise.
13167         * sysdeps/generic/ldsodefs.h: Likewise.
13168         * sysdeps/sh/nptl/tls.h: Likewise.
13169         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
13170         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
13171         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
13172         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
13173         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
13174         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
13175         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
13176         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13177         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
13178         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
13179         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
13180         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
13181         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
13182         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
13183         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
13184         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
13185         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
13186         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
13187         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
13188         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
13189         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
13190         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
13191         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
13192         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
13193         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
13194         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
13195         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
13196         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
13197         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
13198         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
13199         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
13200         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
13201         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
13202         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
13203         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
13204         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
13205         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13206         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
13207         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
13208         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
13209         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
13210         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
13211         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
13212         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13213         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13214         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
13215         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
13216         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
13217         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
13218         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
13219         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
13220         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
13221         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
13222         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
13223         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
13224         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13225         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
13226         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
13227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
13229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
13230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
13231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
13232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
13233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
13234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
13235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
13236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
13237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
13239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
13240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
13241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
13243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
13244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
13245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
13246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
13247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
13248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13249         * sysdeps/unix/sysv/linux/pread.c: Likewise.
13250         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
13251         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
13252         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
13253         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
13254         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
13255         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
13256         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
13257         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
13258         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
13259         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
13260         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
13261         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
13262         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
13263         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
13264         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
13265         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
13266         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
13267         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
13268         * sysdeps/unix/sysv/linux/system.c: Likewise.
13269         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
13270         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
13271         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
13272         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
13273         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
13274         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
13275         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13277         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
13278         * configure: Regenerated.
13279         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
13281         * configure.ac (base_machine): Do not set specially for particular
13282         machines here.
13283         * configure: Regenerated.
13284         * sysdeps/powerpc/preconfigure: Move machine and base_machine
13285         settings from configure.ac.
13286         * sysdeps/i386/preconfigure: New file.
13287         * sysdeps/s390/preconfigure: Likewise.
13288         * sysdeps/sh/preconfigure: Likewise.
13289         * sysdeps/sparc/preconfigure: Likewise.
13291 2014-06-25  Roland McGrath  <roland@hack.frob.com>
13293         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
13294         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
13295         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
13296         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
13297         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
13298         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
13299         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
13300         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
13301         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
13302         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
13303         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
13304         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
13305         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
13306         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
13307         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
13308         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
13309         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
13310         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
13311         * sysdeps/sparc/sparc64/Makefile: ... appended here.
13313         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
13314         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
13315         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
13316         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
13317         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
13318         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
13319         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
13320         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
13321         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
13322         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
13323         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
13324         * sysdeps/sparc/sparc32/sem_post.c: ... here.
13325         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
13326         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
13327         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
13328         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
13329         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
13330         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
13331         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
13332         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
13333         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
13334         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
13335         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
13336         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
13337         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
13338         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
13339         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
13340         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
13341         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
13342         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
13343         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
13344         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
13345         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
13346         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
13347         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
13348         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
13349         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
13350         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
13352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
13353         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
13354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
13355         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
13356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
13357         Moved ...
13358         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
13359         ... here.
13360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
13361         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
13362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
13363         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
13364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
13365         Moved ...
13366         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
13367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
13368         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
13369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
13370         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
13371         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
13372         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
13373         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13374         Moved ...
13375         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
13376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
13377         Moved ...
13378         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
13379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
13380         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
13381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
13382         Moved ...
13383         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
13384         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
13385         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
13386         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
13387         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
13388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
13389         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
13390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
13391         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
13392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
13393         Moved ...
13394         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
13395         ... here.
13396         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
13397         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
13398         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
13399         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
13400         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
13401         Moved ...
13402         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
13403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
13404         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
13405         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
13406         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
13407         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
13408         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
13409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13410         Moved ...
13411         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
13412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
13413         Moved ...
13414         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
13415         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
13416         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
13417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
13418         Moved ...
13419         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
13420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
13421         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
13422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
13423         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
13425 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13427         * timezone/checktab.awk: Update from tzcode 2014e.
13428         * timezone/private.h: Likewise.
13429         * timezone/tzfile.h: Likewise.
13430         * timezone/zdump.c: Likewise.
13431         * timezone/zic.c: Likewise.
13433         * sysdeps/unix/sysv/linux/kernel-features.h
13434         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
13435         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
13436         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
13437         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
13438         Remove conditional code.
13440 2014-06-25  Will Newton  <will.newton@linaro.org>
13442         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
13443         (_dl_arm_cap_flags): Add HWCAP2 values.
13444         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
13445         (_DL_HWCAP_COUNT): Increase to 37.
13446         (_DL_HWCAP_LAST): New define.
13447         (_DL_HWCAP2_LAST): New define.
13448         (_dl_procinfo): Add support for printing
13449         AT_HWCAP2 entries.
13450         (_dl_string_hwcap): Use _dl_hwcap_string.
13452 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13456 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
13458         * README: Do not mention ports directory.
13460         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
13461         Remove macro.
13462         * sysdeps/unix/sysv/linux/futimes.c: Do not include
13463         <kernel-features.h>.
13464         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
13465         conditional variable definition.
13466         (__futimes): Update comment.
13467         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
13468         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
13470         [BZ #16560]
13471         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
13472         arguments close to 0.
13473         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
13474         Likewise.
13475         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
13476         Likewise.
13477         * math/auto-libm-test-in: Add more tests of exp10.
13478         * math/auto-libm-test-out: Regenerated.
13479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13481         * sysdeps/unix/sysv/linux/kernel-features.h
13482         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
13483         * sysdeps/unix/sysv/linux/readv.c: Do not include
13484         <kernel-features.h>.
13485         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13486         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13487         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13488         unconditional.
13489         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13490         conditional code.
13491         * sysdeps/unix/sysv/linux/writev.c: Do not include
13492         <kernel-features.h>.
13493         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
13494         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
13495         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
13496         unconditional.
13497         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
13498         conditional code.
13500 2014-06-25  Will Newton  <will.newton@linaro.org>
13502         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
13503         comment changes throughout the file.  Remove checks
13504         for HAVE_*_H definitions that are not required.
13505         (__gen_tempname): Call abort if an unknown kind value is
13506         passed.
13508 2014-06-25  Andreas Schwab  <schwab@suse.de>
13510         [BZ #17086]
13511         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
13512         scalbln, scalblnf, scalblnl in libc.
13514 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13516         [BZ #17086]
13517         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
13518         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
13519         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
13521 2014-06-24  Roland McGrath  <roland@hack.frob.com>
13523         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
13524         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
13525         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
13526         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
13527         Update #include.
13528         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
13529         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
13530         Update #include.
13531         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
13532         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
13533         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
13534         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
13535         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
13536         * sysdeps/x86/bits/pthreadtypes.h: ... here.
13537         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
13538         * sysdeps/x86/bits/semaphore.h: ... here.
13539         * sysdeps/x86/nptl/elide.h: Moved ...
13540         * sysdeps/x86/elide.h: ... here.
13541         * sysdeps/x86_64/nptl/Implies: File removed.
13542         * sysdeps/i386/nptl/Implies: File removed.
13544 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
13546         [BZ #16539]
13547         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
13548         return the argument for normal arguments with exponent below -64.
13549         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
13550         Likewise.
13551         * math/auto-libm-test-in: Add another test of expm1.
13552         * math/auto-libm-test-out: Regenerated.
13554         [BZ #16287]
13555         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
13556         calling __erfcl for arguments at least 16.
13557         * math/auto-libm-test-in: Add more tests of erf.
13558         * math/auto-libm-test-out: Regenerated.
13560         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
13561         individual architectures.
13562         * sysdeps/unix/sysv/linux/configure: Regenerated.
13563         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
13564         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
13565         * sysdeps/unix/sysv/linux/powerpc/configure.ac
13566         (ldd_rewrite_script): Define variable.
13567         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
13568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
13569         file.
13570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
13571         generated file.
13572         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
13573         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
13574         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
13575         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
13576         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
13577         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
13578         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
13579         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
13581 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13583         [BZ #17084]
13584         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
13585         Rename member __data.d to __data.__elision_data.
13587 2014-06-24  Wilco  <wdijkstr@arm.com>
13589         * NEWS: Add 16918 to fixed bug list.
13591 2014-06-24  Wilco  <wdijkstr@arm.com>
13593         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
13595 2014-06-24  Wilco  <wdijkstr@arm.com>
13597         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
13598         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
13599         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
13600         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
13601         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
13602         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
13603         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
13604         Use _FPU_MASK_RM.
13606 2014-06-24  Wilco  <wdijkstr@arm.com>
13608         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
13610 2014-06-24  Wilco  <wdijkstr@arm.com>
13612         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
13613         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
13614         * sysdeps/arm/fesetround.c (fesetround): Remove space.
13615         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
13617 2014-06-24  Wilco  <wdijkstr@arm.com>
13619         [BZ #16918]
13620         * sysdeps/arm/feupdateenv.c (feupdateenv):
13621         Rewrite to reduce FPSCR accesses and fix return value.
13623 2014-06-24  Wilco  <wdijkstr@arm.com>
13625         * sysdeps/arm/fclrexcpt.c (feclearexcept):
13626         Optimize to avoid unnecessary FPSCR writes.
13627         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
13628         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
13629         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
13630         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
13632 2014-06-24  Wilco  <wdijkstr@arm.com>
13634         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
13635         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
13636         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
13637         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
13638         Call libc_fetestexcept_vfp.
13639         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
13640         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
13641         __SOFTFP__ ifdef so that they can be built for softfp.
13643 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13645         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
13646         argument type signed char.
13648         * Makerules (check-abi): Dump diff of symlist if the test
13649         fails.
13651 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13653         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
13654         using abort.
13656         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13657         Remove unused variable ST.
13659 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
13661         [BZ #16354]
13662         [BZ #17061]
13663         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
13664         small arguments before calling __expm1.
13665         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
13666         small arguments before calling __expm1f.
13667         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
13668         small arguments before calling __expm1l.
13669         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
13670         Likewise.
13671         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
13672         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
13673         spurious underflow for some cosh tests.
13674         * math/auto-libm-test-out: Regenerated.
13675         * sysdeps/i386/fpu/libm-test-ulps: Update.
13677         [BZ #17050]
13678         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
13679         (__ieee754_y1): Set errno if return value overflows.
13680         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
13681         (__ieee754_y1f): Set errno if return value overflows.
13682         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
13683         (__ieee754_y1l): Set errno if return value overflows.
13684         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
13685         (__ieee754_y1l): Set errno if return value overflows.
13686         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
13687         * math/auto-libm-test-out: Regenerated.
13689         * math/gen-auto-libm-tests.c: Document use of
13690         ignore-zero-inf-sign.
13691         (input_flag_type): Add value flag_ignore_zero_inf_sign.
13692         (input_flags): Add ignore-zero-inf-sign.
13693         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
13694         * math/gen-libm-test.pl (generate_testfile): Handle
13695         ignore-zero-inf-sign.
13696         * math/auto-libm-test-in: Mark some cpow tests with
13697         ignore-zero-inf-sign and some with xfail-rounding.
13698         * math/auto-libm-test-out: Regenerated.
13699         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
13700         * sysdeps/i386/fpu/libm-test-ulps: Update.
13701         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13703         [BZ #16315]
13704         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
13705         overflowing or underflowing operations take place with sign of
13706         result.
13707         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13708         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13709         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
13710         (__ieee754_pow): Recompute overflowing and underflowing results in
13711         original rounding mode.
13712         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
13713         (__powl_helper): Allow negative argument X and scale negated value
13714         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
13715         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
13716         overflowing or underflowing operations take place with sign of
13717         result.
13718         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
13719         Include <math.h>.
13720         * math/auto-libm-test-in: Add more tests of pow.
13721         * math/auto-libm-test-out: Regenerated.
13722         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
13723         (pow_tonearest_test_data): Remove.
13724         (pow_test_tonearest): Likewise.
13725         (pow_towardzero_test_data): Likewise.
13726         (pow_test_towardzero): Likewise.
13727         (pow_downward_test_data): Likewise.
13728         (pow_test_downward): Likewise.
13729         (pow_upward_test_data): Likewise.
13730         (pow_test_upward): Likewise.
13731         (main): Don't call removed functions.
13732         * sysdeps/i386/fpu/libm-test-ulps: Update.
13733         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13735 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
13738         Moved ...
13739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
13740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
13741         Moved ...
13742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
13743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
13744         Moved ...
13745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
13746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
13747         Moved ...
13748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
13749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
13750         File removed.
13751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
13752         File removed.
13753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
13754         File removed.
13755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
13756         File removed.
13757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
13758         File removed.
13759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
13760         File removed.
13761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
13762         File removed.
13763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13764         File removed.
13765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
13766         File removed.
13767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
13768         File removed.
13769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
13770         File removed.
13771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
13772         File removed.
13773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
13774         Moved ...
13775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
13776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
13777         Moved ...
13778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
13779         ... here.
13780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
13781         Moved ...
13782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
13783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
13784         Moved ...
13785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
13786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
13787         Moved ...
13788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
13789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
13790         Moved ...
13791         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
13792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
13793         Moved ...
13794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
13795         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
13796         Moved ...
13797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
13798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
13799         Moved ...
13800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
13801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
13802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
13803         ... here.
13804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
13805         Moved ...
13806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
13807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
13808         Moved ...
13809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
13810         ... here.
13811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
13812         Moved ...
13813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13814         ... here.
13815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13816         Moved ...
13817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
13818         ... here.
13819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
13820         Moved ...
13821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
13822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
13823         Moved ...
13824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
13825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
13826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
13827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
13828         Moved ...
13829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
13830         ... here.
13831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
13832         Moved ...
13833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
13834         ... here.
13835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
13836         Moved ...
13837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
13838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
13839         Moved ...
13840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
13841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
13842         Moved ...
13843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
13844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
13845         Moved ...
13846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
13847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
13848         Moved ...
13849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
13850         ... here.
13851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
13852         Moved ...
13853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
13854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
13855         Moved ...
13856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
13857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
13858         Moved ...
13859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
13860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
13861         Moved ...
13862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
13863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
13864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
13865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
13866         Moved ...
13867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
13868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
13869         Moved ...
13870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
13871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
13872         Moved ...
13873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
13874         ... here.
13875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13876         Moved ...
13877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
13878         ... here.
13879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
13880         Moved ...
13881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
13882         ... here.
13883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
13884         Moved ...
13885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
13886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
13887         Moved ...
13888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
13889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
13890         Moved ...
13891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
13892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
13893         Moved ...
13894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
13895         ... here.
13896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
13897         Moved ...
13898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
13899         ... here.
13900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
13901         Moved ...
13902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
13903         ... here.
13904         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
13905         Moved ...
13906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
13907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
13908         Moved ...
13909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
13911 2014-06-23  Will Newton  <will.newton@linaro.org>
13912             Wilco  <wdijkstr@arm.com>
13914         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
13915         implementation.  Include get-rounding-mode.h.
13916         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
13917         [!libc_feholdsetround_noex_ctx]: Define
13918         libc_feholdsetround_noex_ctx.
13919         [!libc_feholdsetround_noexf_ctx]: Define
13920         libc_feholdsetround_noexf_ctx.
13921         [!libc_feholdsetround_noexl_ctx]: Define
13922         libc_feholdsetround_noexl_ctx.
13923         (libc_feholdsetround_ctx): New function.
13924         (libc_feresetround_ctx): New function.
13925         (libc_feholdsetround_noex_ctx): New function.
13926         (libc_feresetround_noex_ctx): New function.
13928 2014-06-23  Roland McGrath  <roland@hack.frob.com>
13930         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
13931         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
13932         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
13933         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
13934         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
13935         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
13937         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
13938         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
13939         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
13940         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
13941         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
13942         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
13943         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
13944         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
13945         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
13946         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
13947         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
13948         Moved ...
13949         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
13950         ... here.
13951         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
13952         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
13953         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
13954         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
13955         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
13956         Moved ...
13957         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
13958         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
13959         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
13960         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
13961         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
13962         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
13963         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
13964         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
13965         Moved ...
13966         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
13967         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
13968         Moved ...
13969         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
13970         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
13971         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
13972         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
13973         Moved ...
13974         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
13975         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
13976         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
13977         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
13978         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
13979         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
13980         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
13981         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
13982         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
13983         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
13984         Moved ...
13985         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
13986         ... here.
13987         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
13988         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
13989         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
13990         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
13991         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
13992         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
13993         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
13994         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
13995         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
13996         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
13997         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
13998         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
13999         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
14000         Moved ...
14001         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
14002         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
14003         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
14004         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
14005         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
14006         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
14007         Moved ...
14008         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
14009         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
14010         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
14011         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
14012         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
14014         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
14015         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
14016         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
14017         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
14018         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
14019         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
14020         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
14021         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
14022         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
14023         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
14024         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14025         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
14026         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
14027         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
14028         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
14029         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
14030         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
14031         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
14032         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
14033         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
14034         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
14035         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
14036         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
14037         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
14038         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
14039         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
14040         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
14041         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
14043 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
14045         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
14046         (FALLOC_FL_COLLAPSE_RANGE): New macro.
14047         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
14048         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
14049         (IPV6_PMTUDISC_INTERFACE): Likewise.
14050         (IPV6_PMTUDISC_OMIT): Likewise.
14052 2014-06-23  Andreas Schwab  <schwab@suse.de>
14054         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
14055         Remove unused errout label.
14057 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14059         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
14060         macro: hardware supports Vector Crypto instructions.
14062 2014-06-23  Will Newton  <will.newton@linaro.org>
14064         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
14065         rather than __builtin_expect.
14067         * elf/dl-lookup.c (undefined_msg): Remove variable.
14068         (_dl_lookup_symbol_x): Replace undefined_msg with string
14069         literal.
14071         * elf/dl-lookup.c (do_lookup_unique): New function.
14072         (do_lookup_x): Move STB_GNU_UNIQUE handling code
14073         to a separate function.
14075 2014-06-23  Andreas Schwab  <schwab@suse.de>
14077         [BZ #17079]
14078         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
14079         before reading the next line.
14081 2014-06-23  Will Newton  <will.newton@linaro.org>
14083         * test-skeleton.c (signal_handler): Use printf and %m
14084         rather than perror.  Use printf rather than fprintf to
14085         stderr.  Use puts rather than fputs to stderr.
14086         (main): Likewise.
14088 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
14090         * nscd/nscd.c (thread_info_t): Remove typedef.
14091         (thread_info): Remove variable.
14093 2014-06-21  Allan McRae  <allan@archlinux.org>
14095         * NEWS: Mention CVE-2014-4043.
14097 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14099         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
14100         * nptl/smp.h: ... here.
14102         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
14104         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
14105         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
14106         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
14107         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
14109         * nptl/allocatestack.c: Include <stack-aliasing.h>.
14110         * nptl/stack-aliasing.h: New file.
14111         * sysdeps/i386/i686/stack-aliasing.h: New file.
14112         * sysdeps/i386/i686/nptl/Makefile: File removed.
14113         * sysdeps/x86_64/stack-aliasing.h: New file.
14114         * sysdeps/x86_64/nptl/Makefile
14115         (CFLAGS-pthread_create.c): Variable removed.
14117         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
14118         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
14119         old file.
14120         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
14121         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
14122         old file.
14124 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
14126         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14127         (__ASSUME_SIGFRAME_V2): Remove macro.
14128         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
14129         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
14130         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
14131         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
14132         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
14133         Declare as function.  Remove conditional macro definitions.
14134         (__default_rt_sa_restorer): Likewise.
14135         (__default_sa_restorer_v1): Remove declaration.
14136         (__default_sa_restorer_v2): Likewise.
14137         (__default_rt_sa_restorer_v1): Likewise.
14138         (__default_rt_sa_restorer_v2): Likewise.
14139         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
14140         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
14141         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
14143 2014-06-20  Roland McGrath  <roland@hack.frob.com>
14145         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
14146         (libpthread-routines): Add sysdep.
14147         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
14148         * sysdeps/unix/sysv/linux/sparc/Versions
14149         (libpthread: GLIBC_2.3.3): New version set.
14150         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
14151         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
14152         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
14153         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
14154         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
14155         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
14156         Moved ...
14157         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
14158         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
14159         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
14160         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
14161         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
14162         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
14163         * sysdeps/sparc/nptl/sem_init.c: ... here.
14164         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
14165         * sysdeps/sparc/nptl/sem_post.c: ... here.
14166         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
14167         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
14168         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
14169         * sysdeps/sparc/nptl/sem_wait.c: ... here.
14170         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
14171         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
14172         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
14173         (libpthread-routines): Add cpu_relax.
14174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
14175         File removed.
14176         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
14177         (librt: GLIBC_2.3.3): New version set.
14178         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
14179         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
14180         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
14181         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
14182         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
14183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
14184         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
14185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
14186         Moved ...
14187         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
14188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
14189         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
14190         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
14191         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
14192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
14193         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
14194         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
14195         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
14196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
14197         Moved ...
14198         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
14199         Update #include.
14200         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
14201         Moved ...
14202         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
14203         Update #include.
14204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
14205         Moved ...
14206         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
14207         Update #include.
14208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
14209         Moved ...
14210         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
14211         Update #include.
14212         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
14213         Moved ...
14214         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
14215         Update #include.
14216         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
14217         Moved ...
14218         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
14219         Update #include.
14220         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
14221         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
14222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
14223         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
14224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
14225         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
14226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
14227         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
14228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
14229         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
14230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14231         Moved ...
14232         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
14233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
14234         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
14235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
14236         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
14238 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14240         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
14241         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
14242         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
14243         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
14244         * nscd/nscd.c: Likewise.
14245         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
14246         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
14247         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
14248         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
14250         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
14251         <kernel-features.h>.
14252         (init_mq_netlink): Remove conditional have_sock_cloexec
14253         definitions.  Remove code conditional on have_sock_cloexec < 0.
14254         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
14255         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
14256         * sysdeps/unix/sysv/linux/opensock.c: Do not include
14257         <kernel-features.h>.
14258         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
14259         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
14261 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14263         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14264         Add tests for memset_chk and memset.
14266         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
14267         with AVX2_Usable.
14269 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14271         [BZ #16046]
14272         * elf/tst-dl-iter-static.c: New file.
14273         * elf/Makefile (tests-static): Add tst-dl-iter-static.
14275         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
14276         error.
14278 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14280         * sysdeps/unix/sysv/linux/kernel-features.h
14281         (__ASSUME_F_GETOWN_EX): Remove macro.
14282         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
14283         <kernel-features.h>.
14284         (miss_F_GETOWN_EX): Remove variable or macro.
14285         (do_fcntl): Do not check miss_F_GETOWN_EX.
14286         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
14288         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
14289         Remove macro.
14290         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
14291         [!__ASSUME_AT_RANDOM]: Remove conditional code.
14292         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
14294         * sysdeps/unix/sysv/linux/kernel-features.h
14295         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
14296         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
14297         [ADJ_OFFSET_SS_READ]: Make code unconditional.
14298         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
14300 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
14302         [BZ #17075]
14303         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
14304         Fix calculation of the symbol's value.
14305         * sysdeps/arm/tst-armtlsdescloc.c: New file.
14306         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
14307         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
14308         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
14309         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
14310         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
14311         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
14312         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
14313         (modules-names): Add `tst-armtlsdescmod',
14314         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
14315         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
14316         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14317         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
14318         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
14319         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
14320         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
14321         ($(objpfx)tst-armtlsdescloc): New dependency.
14322         ($(objpfx)tst-armtlsdescextnow): Likewise.
14323         ($(objpfx)tst-armtlsdescextlazy): Likewise.
14324         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
14325         TLS scheme support.
14326         * sysdeps/arm/configure: Regenerate.
14328 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
14330         * include/fcntl.h (__atfct_seterrno): Remove prototype.
14331         (__atfct_seterrno_2): Likewise.
14332         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
14333         <kernel-features.h>.
14334         (__ASSUME_ATFCTS): Do not undefine and redefine.
14335         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
14336         (__have_atfcts): Remove conditional definition.
14337         (__fxstatat([__NR_fstatat64]: Make code unconditional.
14338         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
14339         unreachable if [__ASSUME_ATFCTS].
14340         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
14341         not undefine and redefine.
14342         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
14343         <kernel-features.h>.
14344         (faccessat) [__NR_faccessat]: Make code unconditional.
14345         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
14346         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
14347         <kernel-features.h>.
14348         (fchmodat) [__NR_fchmodat]: Make code unconditional.
14349         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14350         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
14351         <kernel-features.h>.
14352         (fchownat) [__NR_fchownat]: Make code unconditional.
14353         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
14354         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
14355         <kernel-features.h>.
14356         (futimesat) [__NR_futimesat]: Make code unconditional.
14357         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
14358         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
14359         <kernel-features.h>.
14360         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14361         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14362         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
14363         <kernel-features.h>.
14364         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
14365         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14366         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
14367         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
14368         <kernel-features.h>.
14369         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
14370         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14371         * sysdeps/unix/sysv/linux/linkat.c: Do not include
14372         <kernel-features.h>.
14373         (linkat) [__NR_linkat]: Make code unconditional.
14374         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14375         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
14376         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
14377         <kernel-features.h>.
14378         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
14379         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
14380         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
14381         <kernel-features.h>.
14382         (mkdirat) [__NR_mkdirat]: Make code unconditional.
14383         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
14384         * sysdeps/unix/sysv/linux/openat.c: Do not include
14385         <kernel-features.h>.
14386         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
14387         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
14388         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
14389         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
14390         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
14391         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
14392         <kernel-features.h>.
14393         (readlinkat) [__NR_readlinkat]: Make code unconditional.
14394         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
14395         result of INLINE_SYSCALL directly, not via int variable.
14396         * sysdeps/unix/sysv/linux/renameat.c: Do not include
14397         <kernel-features.h>.
14398         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
14399         (renameat) [__NR_renameat]: Make code unconditional.
14400         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
14401         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
14402         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
14403         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
14404         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
14405         (__ASSUME_ATFCTS): Do not undefine and redefine.
14406         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
14407         <kernel-features.h>.
14408         (symlinkat) [__NR_symlinkat]: Make code unconditional.
14409         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14410         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
14411         <kernel-features.h>.
14412         (unlinkat) [__NR_unlinkat]: Make code unconditional.
14413         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
14414         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
14415         (__ASSUME_ATFCTS): Do not undefine and redefine.
14416         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
14417         <kernel-features.h>.
14418         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
14419         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
14420         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
14421         <kernel-features.h>.
14422         (__xmknodat) [__NR_mknodat]: Make code unconditional.
14423         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
14425 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
14427         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
14429 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
14431         [BZ #17069]
14432         * posix/regcomp.c (parse_reg_exp): Deallocate partially
14433         constructed tree before returning error.
14434         * posix/bug-regexp36.c: Expand test case.
14436 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
14438         [BZ #6803]
14439         * math/libm-test.inc (scalbln_test_date):
14440         Add errno expectations.
14441         * math/w_scalblnf.c: New File.
14442         Add wrapper which checks for setting errno to ERANGE.
14443         Add weak_alias for corresponding scalbln function.
14444         * math/w_scalbln.c: Likewise.
14445         * math/w_scalblnl.c: Likewise.
14446         * math/Makefile (libm-calls): Add w_scalbln.
14447         * sysdeps/ieee754/flt-32/s_scalblnf.c:
14448         Remove weak_alias for corresponding scalbln function.
14449         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
14450         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
14451         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
14452         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14453         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
14454         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
14455         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
14456         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
14457         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
14458         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
14459         Remove long_double_symbol for scalblnl function in libm, libc.
14460         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
14461         Add wrapper which checks for setting errno to ERANGE.
14462         Add long_double_symbol for scalblnl function in libm, libc.
14463         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
14464         Remove long_double_symbol for scalblnl in libm.
14465         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
14466         Add wrapper which checks for setting errno to ERANGE.
14467         Add long_double_symbol for scalblnl function in libm.
14468         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
14469         Do not use wrapper because of own implementation.
14471 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
14473         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
14474         3 bytes for __pad1 for x32.
14475         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
14477 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
14478             H.J. Lu  <hongjiu.lu@intel.com>
14480         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
14481         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
14482         * sysdeps/x86_64/multiarch/memset.S: Likewise.
14483         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14484         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
14486 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
14488         [BZ #17069]
14489         * posix/regcomp.c (parse_expression): Deallocate partially
14490         constructed tree before returning error.
14491         * posix/Makefile.c (tests): Add bug-regex36.
14492         (generated): Add bug-regex36.mtrace.
14493         (tests-special): Add $(objpfx)bug-regex36-mem.out
14494         (bug-regex36-ENV): New variable.
14495         ($(objpfx)bug-regex36-mem.out): New rule.
14496         * posix/bug-regex36.c: New file.
14498 2014-06-19  Will Newton  <will.newton@linaro.org>
14500         * malloc/malloc.c (systrim): If extra is zero then return
14501         early.
14503 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14505         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
14507 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
14509         * sysdeps/aarch64/strchr.S: New file.
14511 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14513         [BZ #17022]
14514         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
14515         from arguments -2 or below.
14516         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14517         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
14519 2014-06-18  Andreas Schwab  <schwab@suse.de>
14521         [BZ #17062]
14522         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
14523         of a bracket expr not to run off the end of the string.
14524         * posix/Makefile (tests): Add tst-fnmatch3.
14525         * posix/tst-fnmatch3.c: New file.
14527 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
14529         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
14530         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
14531         [$(cross-compiling) = no]: Likewise.
14532         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
14533         [$(cross-compiling) = no]: Likewise.
14535 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14537         [BZ #17031]
14538         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
14539         double, adjusted for any remainder from the high double.
14540         * math/libm-test.inc (nearbyint): Add tests.
14541         (rint): Likewise.
14543 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14545         * nptl/sysdeps/powerpc/Makefile: Moved ...
14546         * sysdeps/powerpc/nptl/Makefile: ... here.
14547         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
14548         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
14549         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
14550         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
14551         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
14552         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
14553         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
14554         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
14555         * nptl/sysdeps/powerpc/tls.h: Moved ...
14556         * sysdeps/powerpc/nptl/tls.h: ... here.
14558 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
14560         [BZ #16681]
14561         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
14562         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
14563         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
14564         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
14565         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
14566         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
14567         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
14568         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
14569         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
14571 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
14573         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
14575 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
14577         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
14578         defined operator.
14580         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
14581         $TIMEOUTFACTOR.
14583 2014-06-16  Florian Weimer  <fweimer@redhat.com>
14585         [BZ #17058]
14586         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
14587         non-executed part of the test.
14589 2014-06-16  Andreas Schwab  <schwab@suse.de>
14591         * string/bits/string2.h (strdup, strndup): Update feature guard.
14593 2014-06-14  David S. Miller  <davem@davemloft.net>
14595         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14597 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
14599         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
14600         that was previously under [RESET_PID].
14601         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
14603         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
14604         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
14605         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
14606         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14607         (__libc_vfork): New strong alias.
14608         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
14610 2014-06-14 Andi Kleen  <ak@linux.intel.com>
14612         * sysdeps/generic/elide.h: New file.
14614 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
14616         * Makefile (installed-headers): Adjust path of pthread.h header.
14618 2014-06-13  Roland McGrath  <roland@hack.frob.com>
14620         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
14621         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
14622         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
14623         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
14625         * nptl/sysdeps/s390/Makefile: Moved ...
14626         * sysdeps/s390/nptl/Makefile: ... here.
14627         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
14628         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
14629         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
14630         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
14631         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
14632         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
14633         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
14634         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
14635         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
14636         * sysdeps/s390/nptl/pthreaddef.h: ... here.
14637         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
14638         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
14639         * nptl/sysdeps/s390/tls.h: Moved ...
14640         * sysdeps/s390/nptl/tls.h: ... here.
14642         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
14643         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
14645 2014-06-13  David S. Miller  <davem@davemloft.net>
14647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
14648         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
14649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
14650         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
14651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
14652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
14653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
14654         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
14655         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
14656         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
14657         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
14658         Remove RESET_PID cpp guards.
14659         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
14660         Remove RESET_PID cpp guards.
14661         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
14663 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
14665         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
14666         __sp to uintptr_t.
14668 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14670         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
14671         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
14672         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
14673         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
14674         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
14675         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
14676         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
14677         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
14678         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
14679         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
14680         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
14681         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
14682         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
14683         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
14684         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
14685         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
14686         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
14687         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
14688         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
14689         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
14691         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
14692         (pthread_rwlock_rdlock): Add elision.
14693         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
14694         (pthread_rwlock_wrlock): Add elision.
14695         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
14696         (pthread_rwlock_trywrlock): Add elision.
14697         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
14698         (pthread_rwlock_tryrdlock): Add elision.
14699         * nptl/pthread_rwlock_unlock.c: Include elide.h.
14700         (pthread_rwlock_tryrdlock): Add elision unlock.
14701         * nptl/sysdeps/pthread/pthread.h:
14702         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
14703         (PTHREAD_RWLOCK_INITIALIZER,
14704         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
14705         Handle new elision field.
14706         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
14707         * sysdeps/arm/nptl/bits/pthreadtypes.h
14708         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14709         * sysdeps/sh/nptl/bits/pthreadtypes.h
14710         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14711         * sysdeps/tile/nptl/bits/pthreadtypes.h
14712         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14713         * sysdeps/a/nptl/bits/pthreadtypes.h
14714         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14715         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14716         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14717         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14718         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14719         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
14720         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14721         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14722         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14723         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14724         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14725         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14726         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14727         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14728         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14729         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
14730         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14731         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
14732         (elision_init): Set try_xbegin to zero when no RTM.
14733         * sysdeps/x86/nptl/bits/pthreadtypes.h
14734         (pthread_rwlock_t): Change __pad1 to __rwelision.
14735         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
14737 2014-06-13  Andi Kleen  <ak@linux.intel.com>
14739         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
14740         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
14741         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
14742         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
14744 2014-06-13  Meador Inge  <meadori@codesourcery.com>
14746         [BZ #16996]
14747         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
14748         that the cached result has been set before returning it.
14750 2014-06-12  Roland McGrath  <roland@hack.frob.com>
14752         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
14753         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
14754         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
14755         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
14756         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
14757         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
14759         * nptl/sysdeps/sparc/Makefile: Moved ...
14760         * sysdeps/sparc/nptl/Makefile: ... here.
14761         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
14762         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
14763         * nptl/sysdeps/sparc/tls.h: Moved ...
14764         * sysdeps/sparc/nptl/tls.h: ... here.
14765         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
14766         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
14767         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
14768         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
14769         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
14770         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
14771         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
14772         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
14773         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
14774         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
14775         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
14776         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
14777         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
14778         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
14779         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
14780         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
14781         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
14782         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
14783         Update #include.
14784         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
14785         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
14786         Update #include.
14787         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
14788         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
14789         Update #include.
14790         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
14791         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
14792         Update #include.
14794         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
14796         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
14797         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
14799         * sysdeps/pthread/posix-timer.h: Include <list.h>.
14800         (struct list_links): Type removed.
14801         (struct thread_node, struct timer_node): Replace struct list_links
14802         with struct list_head.
14803         (list_unlink_ip): Likewise.
14804         * sysdeps/pthread/timer_routines.c
14805         (timer_free_list, thread_free_list, thread_active_list): Likewise.
14806         (list_append, list_insbefore): Likewise.
14807         (list_init): Function removed.
14808         (thread_init, init_module): Use INIT_LIST_HEAD instead.
14809         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
14810         * sysdeps/pthread/Makefile: ... here, new file.
14812         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
14813         * sysdeps/nptl/Implies: ... here.
14814         * sysdeps/unix/sysv/linux/Implies: Add nptl.
14815         * nptl/sysdeps/pthread/list.h: Moved ...
14816         * include/list.h: ... here.
14817         * nptl/sysdeps/pthread/createthread.c: Moved ...
14818         * nptl/createthread.c: ... here.
14819         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
14820         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
14821         * nptl/pt-longjmp.c: ... here.
14822         * nptl/sysdeps/pthread/Makefile: Moved ...
14823         * sysdeps/nptl/Makefile: ... here.
14824         * nptl/sysdeps/pthread/Subdirs: Moved ...
14825         * sysdeps/nptl/Subdirs: ... here.
14826         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
14827         * sysdeps/nptl/aio_misc.h: ... here.
14828         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
14829         * sysdeps/nptl/bits/libc-lock.h: ... here.
14830         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
14831         * sysdeps/nptl/bits/libc-lockP.h: ... here.
14832         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
14833         * sysdeps/nptl/bits/stdio-lock.h: ... here.
14834         * nptl/sysdeps/pthread/configure: Moved ...
14835         * sysdeps/nptl/configure: ... here.
14836         * nptl/sysdeps/pthread/configure.ac: Moved ...
14837         * sysdeps/nptl/configure.ac: ... here.
14838         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
14839         * sysdeps/nptl/gai_misc.h: ... here.
14840         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
14841         * sysdeps/nptl/librt-cancellation.c: ... here.
14842         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
14843         * sysdeps/nptl/malloc-machine.h: ... here.
14844         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
14845         * sysdeps/nptl/pthread-functions.h: ... here.
14846         * nptl/sysdeps/pthread/pthread.h: Moved ...
14847         * sysdeps/nptl/pthread.h: ... here.
14848         * nptl/sysdeps/pthread/setxid.h: Moved ...
14849         * sysdeps/nptl/setxid.h: ... here.
14850         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
14851         * sysdeps/nptl/sigfillset.c: ... here.
14852         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
14853         * sysdeps/nptl/tcb-offsets.h: ... here.
14854         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
14855         * sysdeps/nptl/tst-mqueue8x.c: ... here.
14856         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
14857         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
14858         * nptl/sysdeps/pthread/allocalim.h: Moved ...
14859         * sysdeps/pthread/allocalim.h: ... here.
14860         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
14861         * sysdeps/pthread/bits/sigthread.h: ... here.
14862         * nptl/sysdeps/pthread/flockfile.c: Moved ...
14863         * sysdeps/pthread/flockfile.c: ... here.
14864         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
14865         * sysdeps/pthread/ftrylockfile.c: ... here.
14866         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
14867         * sysdeps/pthread/funlockfile.c: ... here.
14868         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
14869         * sysdeps/pthread/posix-timer.h: ... here.
14870         * nptl/sysdeps/pthread/timer_create.c: Moved ...
14871         * sysdeps/pthread/timer_create.c: ... here.
14872         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
14873         * sysdeps/pthread/timer_delete.c: ... here.
14874         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
14875         * sysdeps/pthread/timer_getoverr.c: ... here.
14876         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
14877         * sysdeps/pthread/timer_gettime.c: ... here.
14878         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
14879         * sysdeps/pthread/timer_routines.c: ... here.
14880         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
14881         * sysdeps/pthread/timer_settime.c: ... here.
14882         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
14883         * sysdeps/pthread/tst-timer.c: ... here.
14884         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
14885         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
14887         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
14888         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
14890         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
14891         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
14892         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
14893         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
14894         Update #include target.
14895         * nptl/sysdeps/i386/i686/Makefile: Moved ...
14896         * sysdeps/i386/i686/nptl/Makefile: ... here.
14897         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
14898         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
14899         Update #include target.
14900         * nptl/sysdeps/i386/i686/tls.h: Moved ...
14901         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
14902         * nptl/sysdeps/i386/Makefile: Moved ...
14903         * sysdeps/i386/nptl/Makefile: ... here.
14904         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
14905         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
14906         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
14907         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
14908         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
14909         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
14910         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
14911         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
14912         * sysdeps/i386/nptl/pthreaddef.h: ... here.
14913         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
14914         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
14915         * nptl/sysdeps/i386/tls.h: Moved ...
14916         * sysdeps/i386/nptl/tls.h: ... here.
14918         * sysdeps/sh/Makefile [$(subdir) = csu]
14919         (gen-as-const-headers): Add tcb-offsets.sym.
14920         * nptl/sysdeps/sh/Makefile: File removed.
14921         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
14922         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
14923         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
14924         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
14925         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
14926         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
14927         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
14928         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
14929         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
14930         * sysdeps/sh/nptl/pthreaddef.h: ... here.
14931         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
14932         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
14933         * nptl/sysdeps/sh/tls.h: Moved ...
14934         * sysdeps/sh/nptl/tls.h: ... here.
14935         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
14936         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
14937         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
14938         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
14939         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
14940         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
14941         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
14942         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
14943         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
14944         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
14945         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
14946         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
14947         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
14948         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
14949         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
14950         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
14951         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
14952         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
14953         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
14954         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
14955         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
14956         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
14957         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
14958         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
14959         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
14960         Moved ...
14961         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
14962         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
14963         Moved ...
14964         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
14965         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
14966         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
14967         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
14968         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
14969         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
14970         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
14971         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
14972         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
14973         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
14974         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
14975         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
14976         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
14977         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
14978         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
14979         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
14980         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
14981         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
14982         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
14984 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
14986         * posix/spawn_faction_addopen.c: Include string.h.
14988 2014-06-11  Roland McGrath  <roland@hack.frob.com>
14990         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
14991         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
14992         * nptl/sysdeps/x86_64/Makefile: Moved ...
14993         * sysdeps/x86_64/nptl/Makefile: ... here.
14994         * nptl/sysdeps/x86_64/configure: Moved ...
14995         * sysdeps/x86_64/nptl/configure: ... here.
14996         * nptl/sysdeps/x86_64/configure.ac: Moved ...
14997         * sysdeps/x86_64/nptl/configure.ac: ... here.
14998         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
14999         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
15000         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
15001         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
15002         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
15003         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
15004         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
15005         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
15006         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
15007         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
15008         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
15009         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
15010         * nptl/sysdeps/x86_64/tls.h: Moved ...
15011         * sysdeps/x86_64/nptl/tls.h: ... here.
15012         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
15013         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
15014         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
15015         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
15017         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
15019 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15021         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15023 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
15025         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
15026         type.
15027         [POSIX] (off_t): Likewise.
15028         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
15029         [POSIX] (S_ISBLK): Require macro.
15030         [POSIX] (S_ISCHR): Likewise.
15031         [POSIX] (S_ISDIR): Likewise.
15032         [POSIX] (S_ISFIFO): Likewise.
15033         [POSIX] (S_ISREG): Likewise.
15034         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
15035         optional-macro.
15036         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
15037         type.
15038         [POSIX] (time_t): Likewise.
15039         [POSIX] (timer_t): Likewise.
15041 2014-06-11  Florian Weimer  <fweimer@redhat.com>
15043         [BZ #17048]
15044         * posix/spawn_int.h (struct __spawn_action): Make the path string
15045         non-const to support deallocation.
15046         * posix/spawn_faction_addopen.c
15047         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
15048         * posix/spawn_faction_destroy.c
15049         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
15050         path in all spawn_do_open actions.
15051         * posix/tst-spawn.c (do_test): Exercise the copy operation in
15052         posix_spawn_file_actions_addopen.
15054 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
15056         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
15057         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
15058         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
15059         conditional code always true.
15060         (__libc_vfork): New alias.
15062 2014-06-11  Roland McGrath  <roland@hack.frob.com>
15064         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15065         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
15067         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
15069         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15070         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
15072         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
15073         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
15075         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15076         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
15078 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15080         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
15081         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
15082         multiarch strcmp for PPC64.
15083         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
15084         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
15085         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
15086         multiarch optimizations.
15087         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15088         (__libc_ifunc_impl_list): Likewise.
15090 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15092         * benchtests/scripts/validate_benchout.py: New script.
15093         * benchtests/Makefile (bench-func): Call it.
15094         * benchtests/scripts/benchout.schema.json: New file.
15096 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
15098         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
15099         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
15100         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
15101         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
15102         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
15103         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
15104         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
15105         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
15106         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
15107         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
15108         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
15109         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
15110         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
15111         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
15112         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
15113         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
15114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
15115         Moved ...
15116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
15117         ... here.
15118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
15119         Moved ...
15120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
15121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
15122         Moved ...
15123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
15124         ... here.
15125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
15126         Moved ...
15127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
15128         ... here.
15129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
15130         Moved ...
15131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
15132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
15133         Moved ...
15134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
15135         ... here.
15136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
15137         Moved ...
15138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
15139         ... here.
15140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
15141         Moved ...
15142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
15143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
15144         Moved ...
15145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
15146         ... here.
15147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
15148         Moved ...
15149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
15150         ... here.
15151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
15152         Moved ...
15153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
15154         ... here.
15155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
15156         Moved ...
15157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
15158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
15159         Moved ...
15160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
15161         ... here.
15162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
15163         Moved ...
15164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
15165         ... here.
15166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
15167         Moved ...
15168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
15169         ... here.
15170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
15171         Moved ...
15172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
15173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
15174         Moved ...
15175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
15176         ... here.
15177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
15178         Moved ...
15179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
15180         ... here.
15181         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
15182         Moved ...
15183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
15184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
15185         Moved ...
15186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
15187         ... here.
15188         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
15189         Moved ...
15190         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
15191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
15192         Moved ...
15193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
15194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
15195         Moved ...
15196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
15197         ... here.
15198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
15199         Moved ...
15200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
15201         ... here.
15202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
15203         Moved ...
15204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
15205         ... here.
15206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
15207         Moved ...
15208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
15209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
15210         Moved ...
15211         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
15212         ... here.
15213         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
15214         Moved ...
15215         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
15216         ... here.
15217         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
15218         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
15219         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
15220         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
15221         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
15222         Moved ...
15223         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
15224         ... here.
15225         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
15226         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
15227         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
15228         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
15229         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
15230         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
15231         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
15232         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
15233         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
15234         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
15235         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
15236         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
15237         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
15238         Moved ...
15239         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
15240         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
15241         Moved ...
15242         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
15243         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
15244         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
15245         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
15246         Moved ...
15247         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
15248         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
15249         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
15250         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
15251         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
15252         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
15253         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
15255 2014-06-10  Wilco  <wdijkstr@arm.com>
15257         * math/test-fenv-return.c: New file.
15258         * math/Makefile: Add new test test-fenv-return.
15260 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
15262         [BZ #17042]
15263         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
15264         when x - 1 is zero.
15265         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
15266         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
15267         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
15268         0.0L for an argument of 1.0L.
15269         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
15270         Likewise.
15271         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
15272         value when x - 1 is zero.
15273         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
15274         * sysdeps/i386/fpu/libm-test-ulps: Update.
15275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15277 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
15279         [BZ #15119]
15280         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
15282 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15284         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
15285         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
15287 2014-06-09  Roland McGrath  <roland@hack.frob.com>
15289         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15290         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
15292         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15293         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
15295         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15296         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
15298         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
15299         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
15301         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
15302         if not already defined.
15303         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
15304         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
15305         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
15306         (TLS_INIT_TP): Use it.
15307         (TLS_DEFINE_INIT_TP): New macro.
15308         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
15310 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
15312         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
15313         constant.
15314         [POSIX] (IXANY): Likewise.
15315         [POSIX] (OLCUC): Likewise.
15316         [POSIX || POSIX2008] (CBAUD): Do not allow.
15317         [POSIX || POSIX2008] (DEFECHO): Likewise.
15318         [POSIX || POSIX2008] (ECHOCTL): Likewise.
15319         [POSIX || POSIX2008] (ECHOKE): Likewise.
15320         [POSIX || POSIX2008] (ECHOPRT): Likewise.
15321         [POSIX || POSIX2008] (EXTA): Likewise.
15322         [POSIX || POSIX2008] (EXTB): Likewise.
15323         [POSIX || POSIX2008] (FLUSHO): Likewise.
15324         [POSIX || POSIX2008] (LOBLK): Likewise.
15325         [POSIX || POSIX2008] (PENDIN): Likewise.
15326         [POSIX || POSIX2008] (SWTCH): Likewise.
15327         [POSIX || POSIX2008] (VDISCARD): Likewise.
15328         [POSIX || POSIX2008] (VDSUSP): Likewise.
15329         [POSIX || POSIX2008] (VLNEXT): Likewise.
15330         [POSIX || POSIX2008] (VREPRINT): Likewise.
15331         [POSIX || POSIX2008] (VSTATUS): Likewise.
15332         [POSIX || POSIX2008] (VWERASE): Likewise.
15333         (B*): Change to B[0123456789]*.
15334         * conform/data/time.h-data [POSIX || UNIX98]
15335         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
15336         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
15337         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
15338         [POSIX] (tm_*): Do not allow.
15340 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
15342         * Makefile (install): Don't set LANGUAGE.
15343         * Makefile.in (install): Likewise.
15344         * assert/Makefile (test-assert-ENV): Remove variable.
15345         (test-assert-perr-ENV): Likewise.
15346         * elf/Makefile (neededtest4-ENV): Likewise.
15347         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
15348         [$(cross-compiling) = no]: Don't set LANGUAGE.
15349         * io/ftwtest-sh (LANG): Remove variable.
15350         * libio/Makefile (tst-widetext-ENV): Likewise.
15351         * manual/install.texi (Running make install): Don't refer to
15352         environment settings for make install.
15353         * INSTALL: Regenerated.
15354         * nptl/tst-tls6.sh: Don't set LANG.
15355         * posix/globtest.sh (LANG): Remove variable.
15356         * string/Makefile (tester-ENV): Likewise.
15357         (inl-tester-ENV): Likewise.
15358         (noinl-tester-ENV): Likewise.
15359         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
15360         [$(cross-compiling) = no]: Don't set LANGUAGE.
15361         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
15362         without explicit environment settings.
15364 2014-06-06  Roland McGrath  <roland@hack.frob.com>
15366         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
15367         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
15368         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
15369         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
15371 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
15373         * crypt/crypt-private.h [DOS]: Add some includes taken from the
15374         other files in the crypt directory.
15375         * crypt/crypt.c: Remove duplicate includes.
15376         * crypt/crypt-entry.c: Likewise.
15377         * crypt/crypt_util.c: Likewise.
15379 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
15381         * Makeconfig (run-program-env): New variable.
15382         (run-program-prefix-before-env): Likewise.
15383         (run-program-prefix-after-env): Likewise.
15384         (run-program-prefix): Define in terms of new variables.
15385         (built-program-cmd-before-env): New variable.
15386         (built-program-cmd-after-env): Likewise.
15387         (built-program-cmd): Define in terms of new variables.
15388         (test-program-prefix-before-env): New variable.
15389         (test-program-prefix-after-env): Likewise.
15390         (test-program-prefix): Define in terms of new variables.
15391         (test-program-cmd-before-env): New variable.
15392         (test-program-cmd-after-env): Likewise.
15393         (test-program-cmd): Define in terms of new variables.
15394         * Rules (make-test-out): Use $(run-program-env).
15395         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
15396         (help): Do not mention environment variables.  Mention
15397         --timeoutfactor option.
15398         (timeoutfactor): New variable.
15399         (blacklist_exports): Remove function.
15400         (exports): Remove variable.
15401         (command): Do not include ${exports}.
15402         * manual/install.texi (Configuring and compiling): Do not mention
15403         test wrappers preserving environment variables.  Mention that last
15404         assignment to a variable must take precedence.
15405         * INSTALL: Regenerated.
15406         * benchtests/Makefile (run-bench): Use $(run-program-env).
15407         * catgets/Makefile ($(objpfx)test1.cat): Use
15408         $(built-program-cmd-before-env), $(run-program-env) and
15409         $(built-program-cmd-after-env).
15410         ($(objpfx)test2.cat): Do not specify environment variables
15411         explicitly.
15412         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
15413         $(run-program-env) and $(built-program-cmd-after-env).
15414         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
15415         $(run-program-env) and $(test-program-cmd-after-env).
15416         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
15417         explicitly.
15418         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
15419         run_program_env and test_program_cmd_after_env arguments.
15420         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
15421         * elf/tst-pathopt.sh: Use run_program_env argument.
15422         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
15423         $(test-wrapper-env) and $(run-program-env).
15424         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
15425         run_program_env arguments.
15426         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
15427         * intl/Makefile ($(objpfx)tst-gettext.out): Use
15428         $(test-program-prefix-before-env), $(run-program-env) and
15429         $(test-program-prefix-after-env).
15430         ($(objpfx)tst-gettext2.out): Likewise.
15431         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
15432         run_program_env and test_program_prefix_after_env arguments.
15433         * intl/tst-gettext2.sh: Likewise.
15434         * intl/tst-gettext4.sh: Do not set environment variables
15435         explicitly.
15436         * intl/tst-gettext6.sh: Likewise.
15437         * intl/tst-translit.sh: Likewise.
15438         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
15439         $(test-program-prefix-before-env), $(run-program-env) and
15440         $(test-program-prefix-after-env).
15441         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
15442         run_program_env and test_program_prefix_after_env arguments.
15443         * math/Makefile (run-regen-ulps): Use $(run-program-env).
15444         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
15445         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
15446         explicitly with each use of ${test_wrapper_env}.
15447         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
15448         $(test-program-prefix-before-env), $(run-program-env) and
15449         $(test-program-prefix-after-env).
15450         * posix/tst-getconf.sh: Do not set environment variables
15451         explicitly.
15452         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
15453         run_program_env and test_program_prefix_after_env arguments.
15454         * stdio-common/tst-printf.sh: Do not set environment variables
15455         explicitly.
15456         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
15457         $(test-program-prefix-before-env), $(run-program-env) and
15458         $(test-program-prefix-after-env).
15459         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
15460         run_program_env and test_program_prefix_after_env arguments.
15461         Split $test calls into $test_pre and $test.
15462         * timezone/Makefile (build-testdata): Use
15463         $(built-program-cmd-before-env), $(run-program-env) and
15464         $(built-program-cmd-after-env).
15466 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15468         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
15469         strlen for non SHARED builds.
15471 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
15473         * nptl/allocatestack.c (check_list): Inlined function...
15474         (__reclaim_stacks): ... here.
15476 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15478         [BZ #15698]
15479         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
15480         memory overrun.
15482 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
15484         * Rules (make-test-out): Include
15485         LOCPATH=$(common-objpfx)localedata in default environment.
15486         * debug/Makefile (tst-chk1-ENV): Remove variable.
15487         (tst-chk2-ENV): Likewise.
15488         (tst-chk3-ENV): Likewise.
15489         (tst-chk4-ENV): Likewise.
15490         (tst-chk5-ENV): Likewise.
15491         (tst-chk6-ENV): Likewise.
15492         (tst-lfschk1-ENV): Likewise.
15493         (tst-lfschk2-ENV): Likewise.
15494         (tst-lfschk3-ENV): Likewise.
15495         (tst-lfschk4-ENV): Likewise.
15496         (tst-lfschk5-ENV): Likewise.
15497         (tst-lfschk6-ENV): Likewise.
15498         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
15499         (tst-iconv7-ENV): Likewise.
15500         * intl/Makefile (LOCPATH-ENV): Likewise.
15501         (tst-codeset-ENV): Likewise.
15502         (tst-gettext3-ENV): Likewise.
15503         (tst-gettext5-ENV): Likewise.
15504         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
15505         (tst-fopenloc-ENV): Likewise.
15506         (tst-fgetws-ENV): Remove variable.
15507         (tst-ungetwc1-ENV): Likewise.
15508         (tst-ungetwc2-ENV): Likewise.
15509         (bug-ungetwc2-ENV): Likewise.
15510         (tst-swscanf-ENV): Likewise.
15511         (bug-ftell-ENV): Likewise.
15512         (tst-fgetwc-ENV): Likewise.
15513         (tst-fseek-ENV): Likewise.
15514         (tst-ftell-partial-wide-ENV): Likewise.
15515         (tst-ftell-active-handler-ENV): Likewise.
15516         (tst-ftell-append-ENV): Likewise.
15517         * posix/Makefile (tst-fnmatch-ENV): Likewise.
15518         (tst-regexloc-ENV): Likewise.
15519         (bug-regex1-ENV): Likewise.
15520         (tst-regex-ENV): Likewise.
15521         (tst-regex2-ENV): Likewise.
15522         (bug-regex5-ENV): Likewise.
15523         (bug-regex6-ENV): Likewise.
15524         (bug-regex17-ENV): Likewise.
15525         (bug-regex18-ENV): Likewise.
15526         (bug-regex19-ENV): Likewise.
15527         (bug-regex20-ENV): Likewise.
15528         (bug-regex22-ENV): Likewise.
15529         (bug-regex23-ENV): Likewise.
15530         (bug-regex25-ENV): Likewise.
15531         (bug-regex26-ENV): Likewise.
15532         (bug-regex30-ENV): Likewise.
15533         (bug-regex32-ENV): Likewise.
15534         (bug-regex33-ENV): Likewise.
15535         (bug-regex34-ENV): Likewise.
15536         (bug-regex35-ENV): Likewise.
15537         (tst-rxspencer-ENV): Likewise.
15538         (tst-rxspencer-no-utf8-ENV): Likewise.
15539         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
15540         (tst-sscanf-ENV): Likewise.
15541         (tst-swprintf-ENV): Likewise.
15542         (tst-swscanf-ENV): Likewise.
15543         (test-vfprintf-ENV): Likewise.
15544         (scanf13-ENV): Likewise.
15545         (bug14-ENV): Likewise.
15546         (tst-grouping-ENV): Likewise.
15547         * stdlib/Makefile (tst-strtod-ENV): Likewise.
15548         (tst-strtod3-ENV): Likewise.
15549         (tst-strtod4-ENV): Likewise.
15550         (tst-strtod5-ENV): Likewise.
15551         (testmb2-ENV): Likewise./
15552         * string/Makefile (tst-strxfrm-ENV): Likewise.
15553         (tst-strxfrm2-ENV): Likewise.
15554         (bug-strcoll1-ENV): Likewise.
15555         (test-strcasecmp-ENV): Likewise.
15556         (test-strncasecmp-ENV): Likewise.
15557         * time/Makefile (tst-strptime-ENV): Likewise.
15558         (tst-ftime_l-ENV): Likewise.
15559         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
15560         (tst-mbrtowc-ENV): Likewise.
15561         (tst-wcrtomb-ENV): Likewise.
15562         (tst-mbrtowc2-ENV): Likewise.
15563         (tst-c16c32-1-ENV): Likewise.
15564         (tst-mbsnrtowcs-ENV): Likewise.
15566 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
15568         * manual/resource.texi (How to get information about the memory
15569         subsystem?): Fix typo.
15570         Reported by Peon de la Parra Ivan <peon@keba.com>
15572 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
15574         [BZ #16882]
15575         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
15576         (pthread_spin_lock): Branch out of spin loop to proper location.
15577         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
15578         (pthread_spin_lock): Likewise.
15580         * nptl/tst-spin4.c: New test.
15581         * nptl/Makefile (tests): Add tst-spin4.
15583 2014-06-03  Andreas Schwab  <schwab@suse.de>
15585         [BZ #15946]
15586         * resolv/res_send.c (send_dg): Reload file descriptor after
15587         calling reopen.
15589 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
15591         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15593 2014-06-03  Richard Henderson  <rth@redhat.com>
15595         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
15596         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
15597         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
15598         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
15599         in the SAVE_PID block.
15600         (__libc_vfork): New alias.
15601         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
15603         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
15604         child in registers, not on the stack.  Remove RESET_PID conditionals.
15605         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
15607 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15609         * sysdeps/aarch64/libm-test-ulps: Regenerate.
15611 2014-06-03  Wilco  <wdijkstr@arm.com>
15613         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
15614         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
15615         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15616         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
15617         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
15618         Likewise.
15620 2014-06-03  Wilco  <wdijkstr@arm.com>
15622         * sysdeps/aarch64/fpu/math_private.h
15623         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
15624         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
15625         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
15626         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
15627         Fix declarations.
15629 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
15631         * crypt/crypt-private.h: Include ufc-crypt.h.
15632         (__b64_from_24bit): Declare extern.
15633         * crypt/crypt_util.c(__b64_from_24bit): New function.
15634         (b64t): New static const variable.
15635         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
15636         (b64t): Remove variable.
15637         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
15638         * crypt/sha256-crypt.c: Include crypt-private.h.
15639         (b64t): Remove variable.
15640         (__sha256_crypt_r): Remove b64_from_24bit and replace
15641         with __b64_from_24bit.
15642         * crypt/sha512-crypt.c: Likewise.
15644 2014-06-02  Roland McGrath  <roland@hack.frob.com>
15646         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
15647         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
15648         Label the code __libc_vfork rather than __vfork.
15649         [!NOT_IN_libc] (vfork): Define as weak alias.
15650         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
15651         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
15652         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
15654 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15656         * malloc/malloc.c (malloc_info): Fix format specifier for
15657         n_mmaps.
15659 2014-06-02  Wilco  <wdijkstr@arm.com>
15661         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
15662         FPCR write.
15664 2014-06-02  Wilco  <wdijkstr@arm.com>
15666         [BZ #17009]
15667         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
15668         Rewrite to reduce FPCR/FPSR accesses.
15670 2014-06-01  David S. Miller  <davem@davemloft.net>
15672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15674 2014-05-31  David S. Miller  <davem@davemloft.net>
15676         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
15677         to occur in round to nearest mode when |x| >= 2.0
15679 2014-05-30  Richard Henderson  <rth@twiddle.net>
15681         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
15682         (PSEUDO_RET_NOERRNO): Remove.
15683         (ret): Don't redefine.
15684         (ret_NOERRNO): Define in terms of ret.
15685         (ret_ERRVAL): Likewise.
15687         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
15688         use of PSEUDO_RET; perform the error check directly.
15690 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
15692         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
15693         with __int128_t.
15695 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15697         * malloc/malloc (malloc_info): Fix formatting.
15699 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
15700             Roland McGrath  <roland@hack.frob.com>
15702         * malloc/malloc (malloc_info): Also print mmapped statistics.
15704 2014-05-30  Roland McGrath  <roland@hack.frob.com>
15706         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
15707         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
15709 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
15711         * malloc/malloc.c (malloc_info): Inline mi_arena.
15713 2014-05-29  Richard Henderson  <rth@twiddle.net>
15715         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
15716         Remove comma before expanding ASM_ARGS_##nr.
15717         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
15718         Make _x0 a strict output; make _x8 a strict input; adjust expansion
15719         of ASM_ARGS_##nr.
15720         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
15721         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
15722         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
15723         (ASM_ARGS_1): Add leading comma.
15725         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
15726         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
15727         to __errno_location.
15728         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
15729         Remove the expected plt for __errno_location.
15731         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15732         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
15733         call to __read_tp.
15735         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15736         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
15737         it and break it down.
15738         (DOCARGS_0, DOCARGS_1): Do nothing.
15739         (DOCARGS_2): Update to store into the new stack frame.
15740         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
15741         (UNDOCARGS_1): Update to restore from the new stack frame.
15742         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
15743         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
15745         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15746         (SINGLE_THREAD_P): New parameter for result regno.
15747         (PSEUDO): Update to match; use cbz instead of beq.
15749         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15750         Use ENTRY to define the _nocancel entry point.  Share the syscall
15751         and syscall error check paths with the cancel path.
15752         (PSEUDO_END): New.
15754         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
15755         whitespace; tabs before and after asm mnemonics.
15757 2014-05-29  Eric Wong  <normalperson@yhbt.net>
15759         [BZ #15132]
15760         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
15761         Call fstat64 or stat64 internally, depending on arguments passed.
15762         Replace stat buffer argument with file descriptor argument.
15763         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
15764         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
15765         Pass fd to __internal_statvfs instead of calling fstat64.
15766         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
15767         Pass fd to __internal_statvfs64 instead of calling fstat64.
15768         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
15769         Pass -1 to __internal_statvfs instead of calling stat64.
15770         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
15771         Pass -1 to __internal_statvfs64 instead of calling stat64.
15773 2014-05-28  Roland McGrath  <roland@hack.frob.com>
15775         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
15776         that was previously under [RESET_PID].
15777         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
15779         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
15780         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
15782 2014-05-27  Roland McGrath  <roland@hack.frob.com>
15784         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
15786         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
15787         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
15789 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
15791         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
15793 2014-05-27  Andreas Schwab  <schwab@suse.de>
15795         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
15796         TLS_INIT_TP macro.
15797         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
15798         * elf/rtld.c (init_tls, dl_main): Likewise.
15799         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
15800         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
15801         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
15802         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
15803         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
15804         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
15805         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
15806         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
15807         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
15808         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
15809         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
15810         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
15811         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
15812         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
15813         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
15814         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
15815         * sysdeps/generic/tls.h: Update description.
15817 2014-05-27  Will Newton  <will.newton@linaro.org>
15819         [BZ #16990]
15820         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
15821         and restore r2 rather than just restoring.
15823 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
15825         [BZ #16724]
15826         * libio/tst-ftell-append.c: New test case.
15827         * libio/Makefile (tests): Add test case.
15828         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
15829         append mode.
15830         * libio/wfileops.c (do_ftell_wide): Likewise.
15832 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15836         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
15837         ...
15838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
15839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
15840         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
15841         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
15842         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
15843         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
15844         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
15845         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
15846         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
15847         Moved ...
15848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
15849         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
15850         Moved ...
15851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
15852         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
15853         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
15854         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
15855         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
15856         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
15857         ...
15858         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
15859         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
15860         Moved ...
15861         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
15862         here.
15863         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
15864         ...
15865         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
15866         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
15867         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
15869         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
15870         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
15871         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
15872         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
15874         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
15875         merge into ...
15876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
15877         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
15878         ...
15879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
15880         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
15881         ...
15882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
15883         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
15884         Moved ...
15885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
15886         here.
15887         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
15888         Moved ...
15889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
15890         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
15891         Moved ...
15892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
15894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
15895         conditional [RESET_PID].
15896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
15897         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
15898         removed.
15899         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
15900         removed.
15902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
15903         <tcb-offsets.h>.
15904         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
15905         (__libc_vfork): New strong alias.
15906         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
15907         removed.
15908         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
15909         Removed.
15911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
15912         <tcb-offsets.h>.
15913         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
15914         (__libc_vfork): New strong alias.
15915         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
15916         removed.
15917         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
15918         removed.
15920 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
15922         * malloc/malloc.c (mi_arena): New function.
15923         (malloc_info): Remove nested function mi_arena. Call non-nosted
15924         function mi_arena.
15926 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15928         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
15929         by insrwi.
15930         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
15931         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
15932         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
15933         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
15934         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
15935         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
15936         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
15938 2014-05-26  Andreas Schwab  <schwab@suse.de>
15940         [BZ #16984]
15941         * locale/programs/repertoire.c (repertoire_read): Add slash
15942         between I18NPATH element and file name.
15943         * locale/programs/locfile.c (locfile_read): Likewise.
15945 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15947         * nptl/pthread_mutexattr_settype.c
15948         (__pthread_mutexattr_settype):
15949         Disable lock elision for PTHREAD_MUTEX_NORMAL.
15951 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15953         * nptl/tst-mutex5 (do_test):
15954         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
15956 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15958         * benchtests/README: Document 'init' directive.
15959         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
15960         BENCH_INIT.
15961         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
15962         (parse_file): Recognize 'init' directive.
15964 2014-05-26  Kyle McMartin  <kyle@redhat.com>
15966         [BZ #16796]
15967         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
15968         alignment of struct pthread.
15970 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15972         [BZ #16878]
15973         * nscd/netgroupcache.c (addgetnetgrentX): Look for
15974         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15975         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
15976         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
15978 2014-05-25  Richard Henderson  <rth@twiddle.net>
15980         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
15981         (SINGLE_THREAD_P_PIC): Remove.
15982         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
15983         (SINGLE_THREAD_P_PIC): Remove.
15985         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
15986         branch to syscall error ...
15987         (PSEUDO): ... here.
15988         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
15989         from __local_syscall_error to .Lsyscall_error.
15990         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
15991         (SYSCALL_ERROR): Update label name.
15993         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
15994         Do not use DOARGS/UNDOARGS.
15995         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
15996         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
15997         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
15998         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
15999         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
16001         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
16002         block comment.
16004         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
16005         define if !NOT_IN_libc.
16006         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
16007         define with non-default symbol versions.
16009 2014-05-23  Richard Henderson  <rth@twiddle.net>
16011         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
16012         (vfork, __vfork): Define via compat_symbol.
16014         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
16015         [!HAVE_IFUNC] (vfork_compat): Remove.
16016         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
16018 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16020         [BZ #16978]
16021         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
16022         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
16023         variable.
16025 2014-05-23  Richard Henderson  <rth@twiddle.net>
16027         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
16028         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
16029         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
16030         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
16032         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
16033         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
16034         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
16035         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
16036         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
16037         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
16038         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
16039         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
16040         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
16041         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
16042         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
16043         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
16044         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
16045         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
16046         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
16047         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
16048         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
16049         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
16050         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
16051         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
16052         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
16053         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
16054         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
16055         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
16056         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
16057         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
16058         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
16059         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
16060         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
16061         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
16062         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
16063         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
16064         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
16065         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
16066         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
16067         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
16068         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
16069         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
16070         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
16071         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
16072         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
16073         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
16074         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
16075         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
16076         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
16077         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
16078         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
16079         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
16080         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
16081         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
16082         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
16083         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
16084         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
16085         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
16086         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
16087         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
16089         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
16090         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
16091         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
16092         before exiting on error.
16093         (__libc_vfork): New strong alias.
16094         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
16095         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
16097         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
16098         that was previously under [RESET_PID].
16099         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
16101         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
16103 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
16105         [BZ #16977]
16106         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
16107         value when x - 1 is zero.
16108         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
16109         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
16110         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
16111         0.0L for an argument of 1.0L.
16112         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
16113         Likewise.
16114         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
16115         value when x - 1 is zero.
16116         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
16117         * sysdeps/i386/fpu/libm-test-ulps: Update.
16118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16120 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16122         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
16123         alphasort and versionsort.
16125 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16127         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
16128         macro.
16129         [copysignf]: Likewise.
16131 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16133         * crypt/md5-crypt.c: Fix formatting.
16135 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
16137         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
16138         (b64_from_24bit): New function.
16140 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16142         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
16143         libc_hidden_builtin_def to ifunc.
16144         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
16145         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
16147 2014-05-21  Roland McGrath  <roland@hack.frob.com>
16149         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
16150         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
16152 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
16154         * nscd/Depend (linuxthreads): Remove.
16155         (nptl): Add.
16156         * resolv/Depend (linuxthreads): Remove.
16157         * rt/Depend (linuxthreads): Remove.
16159         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
16160         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
16161         $(common-objpfx)elf/.
16162         (link-libc-before-gnulib): Likewise.
16163         (elfobjdir): Remove variable.
16164         * Makefile (install): Use $(elf-objpfx) instead of
16165         $(common-objpfx)elf/.
16166         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
16167         $(elfobjdir)/.
16168         (link-libc-deps): Likewise.
16169         ($(common-objpfx)libc.so): Likewise.
16170         ($(common-objpfx)linkobj/libc.so): Likewise.
16171         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
16172         instead of $(common-objpfx)elf/.
16173         (symbolic-link-list): Likewise.
16174         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
16175         [$(cross-compiling) = no]: Likewise.
16176         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
16177         $(elfobjdir)/.
16178         (static-gnulib-arch): Likewise.
16179         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
16180         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
16181         $(common-objpfx)elf/.
16183 2014-05-21  Richard Henderson  <rth@redhat.com>
16185         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
16186         (SINGLE_THREAD_P): Use the correct width load.  Fold
16187         into the ldr offset.
16189         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
16190         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
16192 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
16194         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
16195         (libgcc_s_resume): Use __attribute_used__.
16196         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
16197         Likewise.
16199 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16201         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
16202         optimization when used with float constants.
16204         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16206 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
16208         [BZ #16915]
16209         * locale/nl_langinfo_l.c: Make direct reference to every
16210         _nl_current_CATEGORY symbol.
16211         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
16212         (tests-static): Add tst-langinfo-static.
16213         (tests-special): Add tst-langinfo-static.out.
16214         ($(objpfx)tst-langinfo.out): Redirect output.
16215         ($(objpfx)tst-langinfo-static.out): New.
16216         * localedata/tst-langinfo.sh: Send output to stdout.
16217         * localedata/tst-langinfo-static.c: New file.
16219         [BZ #16965]
16220         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
16221         when the shift amount is modulo the limb size.
16223 2014-05-20  Richard Henderson  <rth@redhat.com>
16225         [BZ #16967]
16226         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
16227         Change type of sa_flags from unsigned int to int.
16229         [BZ #16966]
16230         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
16232         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
16234 2014-05-20  Will Newton  <will.newton@linaro.org>
16236         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
16237         Test the return value of the system call in the nocancel case.
16239 2014-05-20  Will Newton  <will.newton@linaro.org>
16240             Yvan Roux  <yvan.roux@linaro.org>
16242         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
16243         #include of asm/ptrace.h.
16244         (PTRACE_GET_THREAD_AREA): Remove #undef.
16245         (PTRACE_GETHBPREGS): Likewise.
16246         (PTRACE_SETHBPREGS): Likewise.
16247         (struct user_regs_struct): New structure.
16248         (struct user_fpsimd_struct): New structure.
16249         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
16250         #include of asm/ptrace.h and second #include of sys/user.h.
16251         (PTRACE_GET_THREAD_AREA): Remove #undef.
16252         (PTRACE_GETHBPREGS): Likewise.
16253         (PTRACE_SETHBPREGS): Likewise.
16254         (ELF_NGREG): Use new struct user_regs_struct.
16255         (elf_fpregset_t): Use new struct user_fpsimd_struct.
16257 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16259         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
16260         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
16262 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
16264         [BZ #16958]
16265         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
16266         membar to avoid block loads/stores to overlap previous stores.
16268 2014-05-17  Richard Henderson  <rth@redhat.com>
16270         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
16271         Create the __##syscall_name##_nocancel entry point.
16272         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
16273         Remove; let the sysdep-cancel.h code create it.
16275 2014-05-17  David S. Miller  <davem@davemloft.net>
16277         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
16278         Protect with __USE_GNU.
16279         (TIOCSET_TEMPT): Likewise.
16280         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
16281         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
16282         these are already provided in bits/ioctl-types.h
16284 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16286         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
16287         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
16289         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
16290         Use wait4 regardless of [__NR_waitpid].
16292 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
16294         PR libgcc/60166
16295         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16296         (_FP_NANSIGN_Q): Set the quiet bit.
16298 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
16300         * benchtests/Makefile
16301         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
16302         not $(common-objpfx)math/libm.so.
16303         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
16304         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
16305         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
16306         $(common-objpfx)dlfcn/libdl.so.
16307         ($(objpfx)tst-audit8): Depend on $(libm), not
16308         $(common-objpfx)math/libm.so.
16309         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
16310         not $(common-objpfx)dlfcn/libdl.so.
16311         * math/Makefile
16312         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
16313         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
16314         [$(build-shared) = yes].
16315         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
16316         $(common-objpfx)nptl/libpthread.so.
16317         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
16318         $(common-objpfx)math/libm.so$(libm.so-version) or
16319         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
16320         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
16321         $(common-objpfx)dlfcn/libdl.so.
16322         * setjmp/Makefile (link-libm): Remove variable.
16323         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
16324         * stdio-common/Makefile (link-libm): Remove variable.
16325         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
16326         * stdlib/Makefile (link-libm): Remove variable.
16327         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
16328         ($(objpfx)tst-strtod-round): Likewise.
16329         ($(objpfx)tst-tininess): Likewise.
16330         ($(objpfx)tst-strtod-underflow): Likewise.
16331         ($(objpfx)tst-strtod6): Likewise.
16332         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
16333         $(libdl), not $(common-objpfx)nptl/libpthread.so and
16334         $(common-objpfx)dlfcn/libdl.so.
16336 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16338         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
16339         BSD terminal modes definitions.
16341 2014-05-16  Roland McGrath  <roland@hack.frob.com>
16343         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
16344         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
16346         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
16347         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
16348         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
16349         Don't do #include_next.
16350         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
16351         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
16352         Don't do #include_next.
16353         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
16354         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
16355         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
16356         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
16358 2014-05-16  Allan McRae  <allan@archlinux.org>
16360         * po/sv.po: Update Swedish translation from translation project.
16362         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
16363         in sed expression.
16365 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
16367         [BZ #16917]
16368         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
16369         errno if the TIOCGPTN ioctl fails with an error different than
16370         EINVAL.
16371         * login/tst-ptsname.c: New file.
16372         * login/Makefile (tests): Add tst-ptsname.
16374         [BZ #16943]
16375         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
16376         and prlimit64.
16378 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16380         [BZ #16849]
16381         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
16382         herrno to return EAI_AGAIN.
16384 2014-05-14  Roland McGrath  <roland@hack.frob.com>
16386         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
16387         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
16388         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
16389         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
16390         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
16391         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
16392         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
16393         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
16394         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
16395         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
16396         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
16397         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
16398         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
16399         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
16400         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
16401         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
16402         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
16403         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
16404         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
16405         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
16406         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
16407         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
16408         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
16409         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
16410         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
16411         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
16412         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
16413         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
16414         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
16415         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
16416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
16417         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
16418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
16419         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
16420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
16421         Moved ...
16422         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
16423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
16424         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
16425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
16426         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
16427         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
16428         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
16429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
16430         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
16431         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
16432         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
16433         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
16434         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
16435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
16436         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
16437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
16438         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
16439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
16440         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
16441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
16442         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
16443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
16444         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
16445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
16446         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
16447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
16448         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
16449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16450         Moved ...
16451         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
16452         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
16453         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
16454         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
16455         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
16456         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
16457         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
16458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
16459         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
16460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
16461         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
16462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
16463         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
16464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
16465         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
16466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
16467         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
16468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
16469         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
16470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16471         Moved ...
16472         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
16473         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
16474         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
16476         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
16477         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
16478         (libpthread-sysdep_routines): Add elision-related stuff here instead.
16479         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
16480         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
16481         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
16482         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
16483         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
16484         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
16485         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
16486         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
16487         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
16488         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
16489         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
16490         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
16491         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
16492         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
16493         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
16494         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
16495         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
16496         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
16497         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
16498         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
16499         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
16500         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
16501         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
16502         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
16503         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
16504         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
16505         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
16506         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
16508         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
16509         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
16511         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
16512         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
16513         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
16514         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
16515         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
16516         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
16517         Moved ...
16518         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
16519         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
16520         Moved ...
16521         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
16522         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
16523         Moved ...
16524         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
16525         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
16526         Moved ...
16527         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
16528         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
16529         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
16530         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
16531         Moved ...
16532         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
16533         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
16534         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
16535         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
16536         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
16537         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
16538         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
16539         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
16540         Moved ...
16541         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
16542         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16543         Moved ...
16544         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
16545         ... here.
16546         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
16547         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
16548         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
16549         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
16550         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16551         Moved ...
16552         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
16553         ... here.
16554         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
16555         Moved ...
16556         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
16557         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
16558         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
16559         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
16560         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
16561         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
16562         Moved ...
16563         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
16564         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
16565         Moved ...
16566         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
16567         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
16568         Moved ...
16569         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
16570         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
16571         Moved ...
16572         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
16573         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
16574         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
16575         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
16576         Moved ...
16577         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
16578         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
16579         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
16580         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
16581         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
16582         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
16583         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
16584         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
16585         Moved ...
16586         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
16587         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16588         Moved ...
16589         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
16590         ... here.
16591         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
16592         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
16593         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
16594         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
16595         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16596         Moved ...
16597         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
16598         ... here.
16599         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
16600         Moved ...
16601         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
16602         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
16603         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
16604         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
16605         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
16606         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
16607         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
16608         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
16609         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
16610         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
16611         Moved ...
16612         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
16613         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
16614         Moved ...
16615         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
16616         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
16617         Moved ...
16618         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
16619         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
16620         Moved ...
16621         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
16622         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
16623         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
16624         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
16625         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
16626         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
16627         Moved ...
16628         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
16629         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
16630         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
16631         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
16632         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
16633         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
16634         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
16635         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
16636         Moved ...
16637         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
16638         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16639         Moved ...
16640         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
16641         ... here.
16642         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
16643         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
16644         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
16645         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
16646         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16647         Moved ...
16648         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
16649         ... here.
16650         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
16651         Moved ...
16652         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
16653         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
16654         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
16655         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
16656         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
16657         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
16658         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
16659         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
16660         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
16661         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
16662         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
16664         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
16665         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
16667         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
16668         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
16670         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
16671         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
16672         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
16673         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
16674         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
16675         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
16676         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
16677         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
16678         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
16679         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
16680         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
16681         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
16682         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
16683         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
16684         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
16685         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
16686         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
16687         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
16688         Moved ...
16689         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
16690         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
16691         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
16692         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
16693         Moved ...
16694         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
16695         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
16696         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
16697         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
16698         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
16699         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
16700         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
16701         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
16702         Moved ...
16703         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
16704         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
16705         Moved ...
16706         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
16707         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
16708         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
16709         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
16710         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
16711         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
16712         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
16713         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
16714         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
16715         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
16716         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
16717         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
16718         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
16719         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
16720         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
16721         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
16722         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
16724         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
16725         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
16726         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
16727         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
16728         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
16730         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
16731         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
16732         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
16733         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
16734         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
16735         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
16736         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
16737         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
16738         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
16739         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
16741         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
16742         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
16744         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
16745         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
16746         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
16747         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
16748         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
16749         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
16750         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
16751         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
16752         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
16753         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
16754         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
16755         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
16756         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
16757         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
16758         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
16759         Update #include.
16760         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
16761         Likewise.
16762         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
16763         Likewise.
16764         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
16765         Likewise.
16766         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
16767         Likewise.
16768         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
16769         Likewise.
16770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
16771         Likewise.
16772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
16773         Likewise.
16774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
16775         Likewise.
16776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
16777         Likewise.
16778         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
16779         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
16780         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
16781         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
16782         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
16783         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
16784         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
16785         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
16786         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
16787         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
16788         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
16789         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
16790         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
16791         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
16792         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
16794         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
16795         that was previously under [RESET_PID].
16796         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
16797         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
16798         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
16800         * sysdeps/i386/nptl/Implies: New file.
16801         * sysdeps/x86_64/nptl/Implies: New file.
16802         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
16803         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
16804         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
16805         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
16807         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
16808         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16809         (__libc_vfork): New strong alias.
16810         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
16811         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
16813         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
16814         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16815         (__libc_vfork): New strong alias.
16816         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
16817         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
16819         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
16820         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
16821         (__libc_vfork): New strong alias.
16822         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
16823         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
16824         * nptl/pt-vfork.c: New file.
16825         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
16826         (libpthread: GLIBC_2.20): New version set (empty).
16828 2014-05-14  Will Newton  <will.newton@linaro.org>
16830         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
16831         rather than #if.
16833 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16835         [BZ #16564]
16836         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
16837         arguments with exponent 65 or above.
16838         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
16839         arguments 0x1p113L or above.
16840         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
16841         to arguments 0x1p107L or above.
16842         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
16843         positive arguments with exponent 65 or above.
16844         * math/auto-libm-test-in: Add more tests of log1p.
16845         * math/auto-libm-test-out: Regenerated.
16847         [BZ #16928]
16848         * math/s_cacos.c (__cacos): Ensure zero real part of result from
16849         non-finite arguments is +0.
16850         * math/s_cacosf.c (__cacosf): Likewise.
16851         * math/s_cacosl.c (__cacosl): Likewise.
16852         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
16853         * sysdeps/i386/fpu/libm-test-ulps: Update.
16854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16856         [BZ #16927]
16857         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
16858         value.
16859         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
16860         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
16861         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
16862         for explicit high bit of mantissa when testing for argument equal
16863         to 1.
16864         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
16865         * sysdeps/i386/fpu/libm-test-ulps: Update.
16866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16868         [BZ #16516]
16869         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
16870         (__erf): Scale by 16 instead of 8 in potentially underflowing
16871         case.  Ensure exception if result actually underflows.
16872         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
16873         (__erff): Scale by 16 instead of 8 in potentially underflowing
16874         case.  Ensure exception if result actually underflows.
16875         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
16876         (efx8): Remove variable.
16877         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16878         case.  Ensure exception if result actually underflows.
16879         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
16880         (efx8): Remove variable.
16881         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16882         case.  Ensure exception if result actually underflows.
16883         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
16884         (efx8): Remove variable.
16885         (__erfl): Scale by 16 instead of 8 in potentially underflowing
16886         case.  Ensure exception if result actually underflows.
16887         * math/auto-libm-test-in: Add more tests of erf.
16888         * math/auto-libm-test-out: Regenerated.
16890 2014-05-14  Andreas Schwab  <schwab@suse.de>
16892         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
16893         Remove code conditionalized on USE___THREAD.
16895         * config.h.in (HAVE_PT_CHOWN): Define as 0.
16896         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
16897         not definedness.
16899 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
16901         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
16902         Define unconditionally.
16903         (__ASSUME_O_CLOEXEC): Likewise.
16904         (__ASSUME_SOCK_CLOEXEC): Likewise.
16905         (__ASSUME_IN_NONBLOCK): Likewise.
16906         (__ASSUME_PIPE2): Likewise.
16907         (__ASSUME_EVENTFD2): Likewise.
16908         (__ASSUME_SIGNALFD4): Likewise.
16909         (__ASSUME_DUP3): Likewise.
16910         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16911         (__ASSUME_DUP3): Do not define.
16912         (__ASSUME_EVENTFD2): Likewise.
16913         (__ASSUME_IN_NONBLOCK): Likewise.
16914         (__ASSUME_O_CLOEXEC): Likewise.
16915         (__ASSUME_PIPE2): Likewise.
16916         (__ASSUME_SIGNALFD4): Likewise.
16917         (__ASSUME_SOCK_CLOEXEC): Likewise.
16918         (__ASSUME_UTIMES): Undefine.
16919         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16920         (__ASSUME_UTIMES): Do not define.
16921         (__ASSUME_O_CLOEXEC): Likewise.
16922         (__ASSUME_SOCK_CLOEXEC): Likewise.
16923         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
16924         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
16925         0x020621].
16926         (__ASSUME_PIPE2): Likewise.
16927         (__ASSUME_EVENTFD2): Likewise.
16928         (__ASSUME_SIGNALFD4): Likewise.
16929         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
16930         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
16931         Do not define.
16932         (__ASSUME_EVENTFD2): Likewise.
16933         (__ASSUME_SIGNALFD4): Likewise.
16934         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16935         (__ASSUME_32BITUIDS): Likewise.
16936         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16937         (__ASSUME_IPC64): Likewise.
16938         (__ASSUME_ST_INO_64_BIT): Likewise.
16939         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
16940         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
16941         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16942         (__ASSUME_UTIMES): Do not define.
16943         (__ASSUME_PSELECT): Likewise.
16944         (__ASSUME_PPOLL): Likewise.
16945         (__ASSUME_O_CLOEXEC): Likewise.
16946         (__ASSUME_SOCK_CLOEXEC): Likewise.
16947         (__ASSUME_IN_NONBLOCK): Likewise.
16948         (__ASSUME_PIPE2): Likewise.
16949         (__ASSUME_EVENTFD2): Likewise.
16950         (__ASSUME_SIGNALFD4): Likewise.
16951         (__ASSUME_DUP3): Likewise.
16952         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16953         (__ASSUME_UTIMES): Likewise.
16954         (__ASSUME_O_CLOEXEC): Likewise.
16955         (__ASSUME_SOCK_CLOEXEC): Likewise.
16956         (__ASSUME_IN_NONBLOCK): Likewise.
16957         (__ASSUME_PIPE2): Likewise.
16958         (__ASSUME_EVENTFD2): Likewise.
16959         (__ASSUME_SIGNALFD4): Likewise.
16960         (__ASSUME_DUP3): Likewise.
16961         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16962         (__ASSUME_UTIMES): Likewise.
16963         (__ASSUME_O_CLOEXEC): Likewise.
16964         (__ASSUME_SOCK_CLOEXEC): Likewise.
16965         (__ASSUME_IN_NONBLOCK): Likewise.
16966         (__ASSUME_PIPE2): Likewise.
16967         (__ASSUME_EVENTFD2): Likewise.
16968         (__ASSUME_SIGNALFD4): Likewise.
16969         (__ASSUME_DUP3): Likewise.
16970         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
16971         Likewise.
16972         (__ASSUME_UTIMES): Likewise.
16973         (__ASSUME_EVENTFD2): Likewise.
16974         (__ASSUME_SIGNALFD4): Likewise.
16975         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16976         (__ASSUME_O_CLOEXEC): Likewise.
16977         (__ASSUME_SOCK_CLOEXEC): Likewise.
16978         (__ASSUME_IN_NONBLOCK): Likewise.
16979         (__ASSUME_PIPE2): Likewise.
16980         (__ASSUME_EVENTFD2): Likewise.
16981         (__ASSUME_SIGNALFD4): Likewise.
16982         (__ASSUME_DUP3): Likewise.
16983         (__ASSUME_UTIMES): Undefine.
16985         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
16986         feclearexcept.  Remove symbol versioning code.
16987         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
16988         symbol versioning code.
16989         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
16990         symbol versioning code.
16991         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
16992         feupdateenv.  Remove symbol versioning code.
16993         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
16994         fegetexceptflag.  Remove symbol versioning code.
16995         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
16996         fesetexceptflag.  Remove symbol versioning code.
16997         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
16998         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
16999         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
17000         (__posix_fadvise64_l32): Remove prototype.
17001         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
17002         code.
17004 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17006         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
17007         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
17008         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
17009         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
17011 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
17013         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
17014         current working directory
17016 2014-05-13  Roland McGrath  <roland@hack.frob.com>
17018         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
17019         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
17020         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
17021         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
17022         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
17023         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
17024         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
17025         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
17026         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
17027         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
17028         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
17029         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
17030         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
17031         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
17032         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
17033         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
17034         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
17035         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
17036         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
17037         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
17038         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
17039         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
17040         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
17041         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
17042         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
17043         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
17044         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
17045         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
17046         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
17047         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
17048         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
17049         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
17050         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
17051         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
17052         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
17053         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
17054         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
17055         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
17056         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
17057         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
17058         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
17059         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
17061         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
17062         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
17064         * sysdeps/unix/sysv/linux/arm/Makefile
17065         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
17066         Add rt-aeabi_unwind_cpp_pr1.
17067         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
17068         Add nptl-aeabi_unwind_cpp_pr1.
17069         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
17070         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
17071         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
17072         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
17073         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
17074         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
17076         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
17077         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
17078         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
17079         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
17081         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
17082         Deconditionalize the code that was previously under [RESET_PID].
17083         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
17085         * sysdeps/generic/exit-thread.h: New file.
17086         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
17087         * include/unistd.h (__exit_thread): Remove declaration.
17088         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
17089         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
17090         * csu/libc-start.c: Include <exit-thread.h>.
17091         (LIBC_START_MAIN): Pass no argument to __exit_thread.
17092         * nptl/pthread_create.c: Include <exit-thread.h>.
17093         (start_thread): Call __exit_thread in place of __exit_thread_inline.
17094         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
17095         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
17096         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
17097         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
17098         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
17099         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
17100         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
17101         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
17102         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
17103         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
17104         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
17105         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
17106         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
17107         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
17108         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
17109         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
17111 2014-05-13  Andreas Schwab  <schwab@suse.de>
17113         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
17115 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
17117         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17118         (__ASSUME_UTIMES): Do not condition on kernel version.
17119         (__ASSUME_PSELECT): Define unconditionally.
17120         (__ASSUME_PPOLL): Likewise.
17121         (__ASSUME_ATFCTS): Likewise.
17122         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
17123         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
17124         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
17125         (__ASSUME_UTIMENSAT): Define unconditionally.
17126         (__ASSUME_PRIVATE_FUTEX): Likewise.
17127         (__ASSUME_FALLOCATE): Likewise.
17128         (__ASSUME_O_CLOEXEC): Likewise.
17129         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
17130         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
17131         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
17132         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
17133         (__ASSUME_IN_NONBLOCK): Likewise.
17134         (__ASSUME_PIPE2): Likewise.
17135         (__ASSUME_EVENTFD2): Likewise.
17136         (__ASSUME_SIGNALFD4): Likewise.
17137         (__ASSUME_DUP3): Likewise.
17138         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17139         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
17140         (__ASSUME_AT_RANDOM): Likewise.
17141         (__ASSUME_PREADV): Likewise.
17142         (__ASSUME_PWRITEV): Likewise.
17143         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
17144         (__ASSUME_F_GETOWN_EX): Define unconditionally.
17145         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
17146         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17147         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
17148         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17149         (__ASSUME_O_CLOEXEC): Define unconditionally.
17150         (__ASSUME_PSELECT): Do not undefine conditionally.
17151         (__ASSUME_PPOLL): Likewise.
17152         (__ASSUME_ATFCTS): Likewise.
17153         (__ASSUME_SET_ROBUST_LIST): Likewise.
17154         (__ASSUME_UTIMENSAT): Likewise.
17155         (__ASSUME_FDATASYNC): Define unconditionally.
17156         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17157         (__ASSUME_SIGFRAME_V2): Likewise.
17158         )__ASSUME_EVENTFD2): Likewise.
17159         (__ASSUME_SIGNALFD4): Likewise.
17160         (__ASSUME_PSELECT): Do not undefine conditionally.
17161         (__ASSUME_PPOLL): Likewise.
17162         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17163         (__ASSUME_PSELECT): Define unconditionally.
17164         (__ASSUME_PPOLL): Likewise.
17165         (__ASSUME_O_CLOEXEC): Likewise.
17166         (__ASSUME_SOCK_CLOEXEC): Likewise.
17167         (__ASSUME_IN_NONBLOCK): Likewise.
17168         (__ASSUME_PIPE2): Likewise.
17169         (__ASSUME_EVENTFD2): Likewise.
17170         (__ASSUME_SIGNALFD4): Likewise.
17171         (__ASSUME_DUP3): Likewise.
17172         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17173         (__ASSUME_O_CLOEXEC): Likewise.
17174         (__ASSUME_SOCK_CLOEXEC): Likewise.
17175         (__ASSUME_IN_NONBLOCK): Likewise.
17176         (__ASSUME_PIPE2): Likewise.
17177         (__ASSUME_EVENTFD2): Likewise.
17178         (__ASSUME_SIGNALFD4): Likewise.
17179         (__ASSUME_DUP3): Likewise.
17180         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17181         (__ASSUME_EVENTFD2): Likewise.
17182         (__ASSUME_SIGNALFD4): Likewise.
17183         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17185 2014-05-12  Andreas Schwab  <schwab@suse.de>
17187         [BZ #16932]
17188         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
17189         (_nss_nis_gethostbyname4_r): Return error if item length is larger
17190         than maximum RPC packet size.
17191         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
17192         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
17193         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
17194         (_nss_nis_getservbyport_r): Likewise.
17196 2014-05-12  Will Newton  <will.newton@linaro.org>
17198         * malloc/Makefile (tests): Add tst-mallopt.
17199         * malloc/tst-mallopt.c: New file.
17201 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17203         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
17204         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
17206 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17208         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
17209         (tst-tlsmod6.so): Likewise.
17211 2014-05-09  Roland McGrath  <roland@hack.frob.com>
17213         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
17215 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
17217         [BZ #16064]
17218         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
17219         and <dl-procinfo.h>.
17220         (__fegetenv): Save SSE state in envp->__eip if supported.
17221         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
17222         envp->__eip if supported.
17223         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
17224         and <dl-procinfo.h>.
17225         (__fesetenv): Always set __eip, __cs_selector, __opcode,
17226         __data_offset and __data_selector in environment to 0.  Set SSE
17227         state if supported.
17228         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17229         test-fenv-sse.
17230         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
17231         -mfpmath=sse.
17232         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
17234 2014-05-09  Will Newton  <will.newton@linaro.org>
17236         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
17237         and libc_relro_required for ARM.
17238         * sysdeps/arm/preconfigure: Regenerate.
17240 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
17241             Stefan Liebler  <stli@linux.vnet.ibm.com>
17243         * config.make.in (enable-lock-elision): New Makefile variable.
17244         * configure.ac: Likewise.
17245         * configure: Regenerate.
17246         * sysdeps/s390/configure.ac:
17247         Add check for gcc transactions support.
17248         * sysdeps/s390/configure: Regenerate.
17249         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
17250         Build elision files if enabled.
17251         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
17252         Add lock elision support for s390.
17253         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
17254         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
17255         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
17256         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
17257         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
17258         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
17259         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
17260         Likewise.
17261         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
17262         Likewise.
17263         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
17264         Likewise.
17265         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
17266         Likewise.
17267         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
17268         (__lll_timedlock_elision, __lll_lock_elision)
17269         (__lll_unlock_elision, __lll_trylock_elision)
17270         (lll_timedlock_elision, lll_lock_elision)
17271         (lll_unlock_elision, lll_trylock_elision): Add.
17272         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17273         (pthread_mutex_t): Add lock elision support for s390.
17275 2014-05-14  Wilco  <wdijkstr@arm.com>
17277         * sysdeps/arm/fclrexcpt.c: Cleanup.
17278         * sysdeps/arm/fedisblxcpt.c: Cleanup.
17279         * sysdeps/arm/feenablxcpt.c: Cleanup.
17280         * sysdeps/arm/fegetenv.c: Cleanup.
17281         * sysdeps/arm/fegetexcept.c: Cleanup.
17282         * sysdeps/arm/fegetround.c: Cleanup.
17283         * sysdeps/arm/feholdexcpt.c: Cleanup.
17284         * sysdeps/arm/fesetenv.c: Cleanup.
17285         * sysdeps/arm/fesetround.c: Cleanup.
17286         * sysdeps/arm/feupdateenv.c: Cleanup.
17287         * sysdeps/arm/fgetexcptflg.c: Cleanup.
17288         * sysdeps/arm/fraiseexcpt.c: Cleanup.
17289         * sysdeps/arm/fsetexcptflg.c: Cleanup.
17290         * sysdeps/arm/ftestexcept.c: Cleanup.
17291         * sysdeps/arm/get-rounding-mode.h: Cleanup.
17292         * sysdeps/arm/setfpucw.c: Cleanup.
17294 2014-05-09  Will Newton  <will.newton@linaro.org>
17296         * sysdeps/arm/armv7/strcmp.S: New file.
17297         * NEWS: Mention addition of ARMv7 optimized strcmp.
17299 2014-05-08  Roland McGrath  <roland@hack.frob.com>
17301         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
17302         look for %.ac rather than %.in.
17304         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
17305         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
17306         * sysdeps/mach/hurd/configure: Regenerated.
17307         * sysdeps/unix/sysv/linux/configure: Regenerated.
17309         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
17311 2014-05-07  Steve Ellcey  <sellcey@mips.com>
17313         [BZ# 16922]
17314         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
17315         (LONG_SUB): Ditto.
17316         (PTR_SUB): Ditto.
17318 2014-05-07  Andreas Schwab  <schwab@suse.de>
17320         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
17321         when skipping over non-matching result from nscd.
17323 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
17325         [BZ #16876]
17326         * nptl/sockperf.c (client): Check socket return value.
17328         [BZ #16877]
17329         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
17330         nscd security class.
17332 2014-05-06  Roland McGrath  <roland@hack.frob.com>
17334         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
17335         * sysdeps/arm/unwind.h: ... here.
17337 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
17339         [BZ# 16916]
17340         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
17341         Define.
17343 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
17345         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
17346         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
17347         multiarch strncpy for PPC64.
17348         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
17349         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
17350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
17351         multiarch optimizations.
17352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17353         (__libc_ifunc_impl_list): Likewise.
17354         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
17355         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
17356         multiarch stpncpy for PPC64.
17357         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
17358         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
17360 2014-05-06  Andreas Schwab  <schwab@suse.de>
17362         [BZ #16912]
17363         * gmon/mcount.c (_MCOUNT_DECL): Use
17364         atomic_compare_and_exchange_bool_acq instead of
17365         catomic_compare_and_exchange_bool_acq.
17367 2014-05-05  Roland McGrath  <roland@hack.frob.com>
17369         * elf/Makefile (others, install-bin): Remove pldd.
17370         (pldd-modules): Variable removed.
17371         ($(objpfx)pldd): Target removed.
17372         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
17373         (others, install-bin): Append pldd here.
17374         ($(objpfx)pldd): New target.
17376         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
17377         to 0, so the first #if test emitted later doesn't see it undefined.
17378         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
17379         * sysdeps/gnu/errlist.c: Regenerated.
17381 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17383         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
17384         [libc_hidden_builtin_def]: Define to empty value.
17385         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
17386         [libc_hidden_builtin_def]: Likewise.
17387         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
17388         [libc_hidden_builtin_def]: Likewise.
17389         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
17390         [libc_hidden_builtin_def]: Likewise.
17391         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
17392         __redirect_memcpy and define ifunc as default hidden symbol.
17393         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
17394         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
17396 2014-05-04  Adam Conrad  <adconrad@0c3.net>
17398         * locale/iso-4217.def: Reintroduce XDR currency.
17400 2014-05-04  Allan McRae  <allan@archlinux.org>
17402         * po/eo.po: Update Esperanto translation from translation project.
17404 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
17406         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
17407         and FEATURE_INDEX_MAX to 1.
17408         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
17410 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17412         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
17413         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
17414         * iconvdata/big5.c (ONE_DIRECTION): Define.
17415         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
17416         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
17417         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
17418         * iconvdata/cp932.c (ONE_DIRECTION): Define.
17419         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
17420         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
17421         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
17422         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
17423         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
17424         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
17425         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
17426         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
17427         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
17428         * iconvdata/gbk.c (ONE_DIRECTION): Define.
17429         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
17430         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
17431         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
17432         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
17433         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
17434         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
17435         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
17436         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
17437         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
17438         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
17439         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
17440         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
17441         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
17442         * iconvdata/iso646.c (ONE_DIRECTION): Define.
17443         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
17444         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
17445         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
17446         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
17447         * iconvdata/johab.c (ONE_DIRECTION): Define.
17448         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
17449         * iconvdata/sjis.c (ONE_DIRECTION): Define.
17450         * iconvdata/t.61.c (ONE_DIRECTION): Define.
17451         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
17452         * iconvdata/tscii.c (ONE_DIRECTION): Define.
17453         * iconvdata/uhc.c (ONE_DIRECTION): Define.
17454         * iconvdata/unicode.c (ONE_DIRECTION): Define.
17455         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
17456         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
17457         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
17459 2014-05-01  Roland McGrath  <roland@hack.frob.com>
17461         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
17462         (_IO_JUMPS_OFFSET): Define to 0.
17464         * nptl/sysdeps/pthread/bits/libc-lock.h
17465         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
17466         (__libc_lock_define_initialized_recursive): Always define using
17467         initializer.  Modern compilers treat uninitialized (implicit zero) and
17468         explicit zero initializers the same (i.e. put the datum in bss).
17470 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17472         * nscd/nscd-client.h: Include <string.h>.
17474 2014-05-01  David S. Miller  <davem@davemloft.net>
17476         [BZ #16885]
17477         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
17478         multiple zero bytes exist at the end of a string.
17479         Reported by Aurelien Jarno <aurelien@aurel32.net>
17481         * string/test-strcmp.c (check): Add explicit test for situations where
17482         there are multiple zero bytes after the first.
17484 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
17486         [BZ #16890]
17487         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
17488         when compiling wprintf.
17489         * stdio-common/tstdiomisc.c (t3): New function.
17490         (main): Call it.
17492 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17494         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
17495         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
17496         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
17497         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
17499 2014-05-01  Steve Ellcey  <sellcey@mips.com>
17501         * stdlib/longlong.h: Updated from GCC.
17503 2014-05-01  Will Newton  <will.newton@linaro.org>
17504             Bernard Ogden  <bernie.ogden@linaro.org>
17506         * NEWS: Update fixed bug list.
17508         [BZ #15119]
17509         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
17511 2014-04-30  David S. Miller  <davem@davemloft.net>
17513         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
17514         (libc_feholdexcept_setround_sparc_ctx): New function.
17515         (libc_fesetenv_sparc_ctx): Likewise.
17516         (libc_feupdateenv_sparc_ctx): Likewise.
17517         (libc_feholdsetround_sparc_ctx): Likewise.
17518         (libc_feholdexcept_setround_ctx): Define.
17519         (libc_feholdexcept_setroundf_ctx): Likewise.
17520         (libc_feholdexcept_setroundl_ctx): Likewise.
17521         (libc_fesetenv_ctx): Likewise.
17522         (libc_fesetenvf_ctx): Likewise.
17523         (libc_fesetenvl_ctx): Likewise.
17524         (libc_feupdateenv_ctx): Likewise.
17525         (libc_feupdateenvf_ctx): Likewise.
17526         (libc_feupdateenvl_ctx): Likewise.
17527         (libc_feresetround_ctx): Likewise.
17528         (libc_feresetroundf_ctx): Likewise.
17529         (libc_feresetroundl_ctx): Likewise.
17530         (libc_feholdsetround_ctx): Likewise.
17531         (libc_feholdsetroundf_ctx): Likewise.
17532         (libc_feholdsetroundl_ctx): Likewise.
17534         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17535         with __USE_GNU instead of XOPEN cpp guards.
17537         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
17538         0.
17540         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
17541         with XOPEN cpp guards.
17543 2014-04-30  Julian Brown  <julian@codesourcery.com>
17545         [BZ #16888]
17546         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
17547         handling.
17549 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
17551         [BZ #9894]
17552         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
17553         Change to 2.6.32.
17554         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
17555         * sysdeps/unix/sysv/linux/configure: Regenerated.
17556         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
17557         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
17558         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
17559         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
17560         * README: Update reference to required Linux kernel version.
17561         * manual/install.texi (Linux): Update reference to required Linux
17562         kernel headers version.
17563         * INSTALL: Regenerated.
17565         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
17566         header inclusion.
17567         [POSIX] (limits.h): Likewise.
17568         [POSIX] (math.h): Likewise.
17569         [POSIX] (sys/wait.h): Likewise.
17570         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
17571         function.
17572         [POSIX] (stddef.h): Do not allow header inclusion.
17574 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17576         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
17578 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
17580         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
17581         Return immediately after lll_futex_wake.
17583 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17585         [BZ #16791]
17586         * nscd/nscd-client.h (datahead_init_common): Initialize entire
17587         structure.
17588         (datahead_init_pos): Call datahead_init_common early.
17589         (datahead_init_neg): Likewise.
17591         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
17592         datahead_init_neg): New functions.
17593         * nscd/aicache.c (addhstaiX): Use them.
17594         * nscd/grpcache.c (cache_addgr): Likewise.
17595         * nscd/hstcache.c (cache_addhst): Likewise.
17596         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17597         * nscd/netgroupcache.c (do_notfound): Likewise.
17598         (addgetnetgrentX): Likewise.
17599         (addinnetgrX): Likewise.
17600         * nscd/pwdcache.c (cache_addpw): Likewise.
17601         * nscd/servicescache.c (cache_addserv): Likewise.
17603 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
17604             Atsushi Onoe  <atsushi@onoe.org>
17606         [BZ #14308]
17607         [BZ #12994]
17608         [BZ #13651]
17609         * resolv/res_query.c (__libc_res_nsearch): Return if at least
17610         one response is valid.
17611         * resolv/res_send.c (send_dg): Check for validity of other
17612         response if the current response is a referral.
17614 2014-04-29  Steve Ellcey  <sellcey@mips.com>
17616         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
17618 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
17620         [BZ #16823]
17621         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
17622         Always divide by positive zero when computing -Inf result.
17623         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17624         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
17626 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17628         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
17629         FPSCR if value do not change.
17630         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
17631         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
17632         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
17633         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17634         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
17635         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
17636         function.
17638 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
17640         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
17641         * sysdeps/unix/sysv/linux/hppa: Move directory from
17642         ports/systeps/unix/sysv/linux/hppa.
17643         * README: Update listing for hppa-*-linux-gnu.
17645 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
17647         [BZ #16754]
17648         * manual/stdio.texi (Hook functions): Fix types of stream hook
17649         functions.
17650         [BZ #16854]
17651         * socket/sys/socket.h: Fix typo in comment.
17653 2014-04-28  Wilco  <wdijkstr@arm.com>
17655         * sysdeps/arm/fenv_private.h: New file.
17656         * sysdeps/arm/math_private.h: New file.
17657         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
17659 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
17661         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
17662         with __int128_t.
17663         (La_x86_64_retval): Likewise.
17665 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
17667         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
17668         fpsr if value didn't change.
17669         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
17670         to fpcr if value didn't change.
17671         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
17672         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
17673         fpsr or fpcr if value didn't change.
17674         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17675         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
17676         fpcr if value didn't change.
17677         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
17678         to fpsr if value didn't change.
17680 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17682         * nptl/tst-sem3.c: Use test-skeleton.c
17683         (main): Rename to do_test.  Use return instead of
17684         exit.
17685         * nptl/tst-sem4.c: Use test-skeleton.c
17686         (main): Rename to do_test.
17688 2014-04-22  David S. Miller  <davem@davemloft.net>
17690         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
17691         (struct sigaction): New struct member __glibc_reserved0, change
17692         type of sa_flags to int.
17694 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
17696         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
17697         (COUNT_LEADING_ZEROS_0): Define for AArch64.
17699 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17701         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
17702         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
17704 2014-04-22  Will Newton  <will.newton@linaro.org>
17705             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
17707         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
17708         (__longjmp): Add longjmp and longjmp_target SystemTap
17709         probes.
17710         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
17711         (__sigsetjmp): Add setjmp SystemTap probe.
17713 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
17715         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
17716         match manual order.
17718 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17720         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
17722         * sysdeps/powerpc/fpu/fenv_private.h
17723         (libc_feholdexcept_setroundl_ctx): Define to
17724         libc_feholdexcept_setround_ppc_ctx.
17725         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
17726         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
17727         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
17728         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
17730 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17732         * sysdeps/aarch64/math-tests.h: New file.
17734 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
17736         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
17737         New.
17738         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17739         Check and set bit_AVX2_Usable.
17740         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
17741         macro.
17742         (bit_AVX2): Likewise.
17743         (index_AVX2_Usable): Likewise.
17744         (CPUID_AVX2): Likewise.
17745         (HAS_AVX2): Likewise.
17747 2014-04-17  Will Newton  <will.newton@linaro.org>
17749         * manual/setjmp.texi (System V contexts): Add note that
17750         calling setcontext on a context created by a call to a
17751         signal handler is undefined.  Update text to note that
17752         setcontext from a signal handler is possible but not
17753         recommended.
17755         [BZ #16629]
17756         * stdlib/tst-setcontext.c: Include signal.h.
17757         (main): Check that the signal stack before and
17758         after swapcontext is the same.
17760         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
17761         Re-implement to restore registers in user code and avoid
17762         rt_sigreturn system call.
17764 2014-04-17  Wilco  <wdijkstr@arm.com>
17766         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
17767         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
17768         * math/test-fenv.c: Skip exception trap tests on targets which only
17769         support non-stop mode.
17771 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
17772             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17774         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
17775         (libc_feholdsetround_aarch64_ctx)
17776         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
17777         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
17778         (libc_feresetround_ctx, libc_feresetroundf_ctx)
17779         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
17780         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
17781         (libc_feresetround_noexl_ctx): Define.
17783 2014-04-16  Richard Henderson  <rth@redhat.com>
17785         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
17787         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
17788         unwind tables.
17790         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
17791         const from the non-libc, non-ldso copy.
17793         * sysdeps/alpha/libm-test-ulps: Regenerate.
17795 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
17796             Wilco Dijkstra  <wilco.dijkstra@arm.com>
17798         * sysdeps/aarch64/fpu/math_private.h: New file.
17800 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17802         * sysdeps/aarch64/libm-test-ulps: Regenerate.
17804 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
17806         [BZ #16275]
17807         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
17808         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
17809         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
17810         Intel MPX bound registers before _dl_profile_fixup.
17811         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
17812         registers after _dl_profile_fixup.  Save and restore bound
17813         registers bnd0/bnd1 when calling _dl_call_pltexit.
17814         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
17815         (LR_BND_OFFSET): Likewise.
17816         (LRV_BND0_OFFSET): Likewise.
17817         (LRV_BND1_OFFSET): Likewise.
17819 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17821         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
17822         to...
17823         * sysdeps/mach/hurd/i386/tls.h: ... here.
17824         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
17825         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
17826         fields.
17828 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17830         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
17832 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17834         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17836 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
17838         [BZ #14770]
17839         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
17840         * sysdeps/s390/configure: Regenerate.
17842         [BZ #16824]
17843         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
17844         Set round-to-nearest internally to reduce error accumulation.
17846 2014-04-16  Alan Modra  <amodra@gmail.com>
17848         [BZ #16740]
17849         [BZ #16619]
17850         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
17851         * math/libm-test.inc (frexp_test_data): Add tests.
17852         * NEWS: Update fixed bug list.
17854 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17856         * benchtests/Makefile: Depend on libraries in build directory.
17857         (bench-math): Separate out math tests.
17858         (bench-pthread): Separate out pthread tests.
17859         (bench): Include math and pthread tests.
17861 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
17863         [BZ #16831]
17864         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
17865         _dl_debug_initialize.
17867         * configure.ac: Remove SELinux header check.
17868         * configure: Regenerate.
17869         * nscd/selinux.c (perms): Array of const char* to permission names.
17870         (nscd_request_avc_has_perm): Call security_deny_unknown to find
17871         default policy. Call string_to_security_class and string_to_av_perm to
17872         translate strings. Enforce default policy and call avs_has_perm with
17873         results of translated strings.
17875 2014-04-13  David S. Miller  <davem@davemloft.net>
17877         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17879 2014-04-12  Allan McRae  <allan@archlinux.org>
17881         [BZ #16838]
17882         * manual/string.texi (Collation Functions): Fix qsort argument
17883         order in example.
17884         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
17886 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
17888         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
17889         Make the test a no-op if there are no exceptions defined.
17891 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17893         * elf/Makefile (tests): make tst-dlopen-aout conditional on
17894         enable-hardcoded-path-in-tests
17896 2014-04-11  Will Newton  <will.newton@linaro.org>
17898         * benchtests/Makefile (extra-objs): Add json-lib.o.
17899         (bench-func): Tidy up JSON output.
17900         * benchtests/bench-skeleton.c: Include json-lib.h.
17901         (main): Use JSON library functions to do output of
17902         benchmark results.
17903         * benchtests/bench-timing-type.c (main): Output the
17904         timing type simply, leaving formatting to the user.
17905         * benchtests/json-lib.c: New file.
17906         * benchtests/json-lib.h: Likewise.
17908 2014-04-11  Torvald Riegel  <triegel@redhat.com>
17910         [BZ #15215]
17911         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17912         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
17913         memory barriers.  Add comments.
17914         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
17915         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
17916         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
17917         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
17918         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
17919         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
17921 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17923         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
17924         * sysdeps/s390/s390-64/configure.ac: ... this ...
17925         * sysdeps/s390/configure.ac: ... to here.
17926         * sysdeps/s390/s390-32/configure: Delete file.
17927         * sysdeps/s390/s390-64/configure: Delete file.
17928         * sysdeps/s390/configure: Regenerate.
17930 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
17932         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
17934 2014-04-11  Will Newton  <will.newton@linaro.org>
17936         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
17937         to zero if it is not defined elsewhere.  (mtrim): Test
17938         the value of MALLOC_DEBUG with #if rather than #ifdef.
17940 2014-04-10 Torvald Riegel  <triegel@redhat.com>
17942         * benchtests/pthread_once-inputs: New file.
17943         * benchtests/pthread_once-source.c: New file.
17944         * benchtests/README: Update documentation.
17946 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17947             H.J. Lu  <hongjiu.lu@intel.com>
17949         [BZ #16275]
17950         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
17951         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
17952         * sysdeps/x86_64/configure: Regenerated.
17953         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
17954         macro.
17955         (REGISTER_SAVE_RAX): Likewise.
17956         (REGISTER_SAVE_RCX): Likewise.
17957         (REGISTER_SAVE_RDX): Likewise.
17958         (REGISTER_SAVE_RSI): Likewise.
17959         (REGISTER_SAVE_RDI): Likewise.
17960         (REGISTER_SAVE_R8): Likewise.
17961         (REGISTER_SAVE_R9): Likewise.
17962         (REGISTER_SAVE_BND0): Likewise.
17963         (REGISTER_SAVE_BND1): Likewise.
17964         (REGISTER_SAVE_BND2): Likewise.
17965         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
17966         bound registers when calling _dl_fixup.
17968 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17970         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
17971         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
17972         of its definition.
17973         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
17974         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
17975         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
17976         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
17977         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
17978         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
17979         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
17981 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
17983         [BZ #15514]
17984         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
17985         pathconf(_PC_NAME_MAX).
17987 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17989         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
17990         Remove macro usage.
17991         (__PTHREAD_SPINS): Move definition to ...
17992         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
17993         (__PTHREAD_SPINS): ... here.
17994         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
17995         (__PTHREAD_SPIN): Likewise.
17996         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
17997         (__PTHREAD_SPIN): Likewise.
17998         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
17999         (__PTHREAD_SPIN): Likewise.
18000         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
18001         (__PTHREAD_SPIN): Likewise.
18002         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
18003         (__PTHREAD_SPIN): Likewise.
18004         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
18005         (__PTHREAD_SPIN): Likewise.
18006         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
18007         (__PTHREAD_SPIN): Likewise.
18008         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
18009         (__PTHREAD_SPIN): Likewise.
18010         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
18011         (__PTHREAD_SPIN): Likewise.
18012         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
18013         (__PTHREAD_SPIN): Likewise.
18014         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
18015         (__PTHREAD_SPIN): Likewise.
18016         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
18017         (__PTHREAD_SPIN): Likewise.
18019         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
18020         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
18021         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
18022         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
18023         imply folder.
18024         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
18025         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
18026         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
18027         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
18028         correct imply path.
18029         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
18030         strlen symbol for non multi-arch builds.
18031         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
18032         missing hidden_def and weak_alias.
18034 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
18036         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
18038 2014-04-07  Will Newton  <will.newton@linaro.org>
18040         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
18041         and contents.  [!_LIBC] Remove #ifndef and contents.
18042         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
18043         * string/memccpy.c (__memccpy): Use ANSI prototype.
18044         * string/memfrob.c (memfrob): Likewise.
18045         * string/strcoll.c (STRCOLL): Likewise.
18046         * string/strlen.c (strlen): Likewise.
18047         * string/strtok.c (STRTOK): Likewise.
18048         * string/strcat.c: Remove unused #include of memcopy.h.
18049         (strcat): Use ANSI prototype.
18050         * string/strchr.c: Remove unused #include of memcopy.h.
18051         (strchr): Use ANSI prototype.
18052         * string/strcmp.c: Remove unused #include of memcopy.h.
18053         (strcmp): Use ANSI prototype.
18054         * string/strcpy.c: Remove unused #include of memcopy.h.
18055         (strcpy): Use ANSI prototype.
18057 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18059         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
18060         * config.make.in (config-extra-cppflags): Set it from
18061         libc_extra_cppflags.
18062         * configure.ac (libc_extra_cflags): Make it accumulate over
18063         configure fragments.
18064         (libc_extra_cppflags): New flag.
18065         * configure. Regenerate.
18066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
18067         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
18068         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
18069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
18071         [BZ #16815]
18072         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
18073         result for FE_DOWNWARD rounding mode.
18074         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
18075         Likewise.
18076         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18078 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
18080         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
18081         in function argument name.
18083 2014-04-03  David Svoboda  <svoboda@cert.org>
18085         [BZ #5666]
18086         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
18087         explicitly.
18089 2014-04-03  Roland McGrath  <roland@hack.frob.com>
18091         * elf/dl-unmap-segments.h: New file.
18092         * sysdeps/generic/ldsodefs.h
18093         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
18094         * elf/dl-close.c: Include <dl-unmap-segments.h>.
18095         * elf/dl-fptr.c: Likewise.
18096         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
18097         * sysdeps/aarch64/tlsdesc.c: Likewise.
18098         * sysdeps/arm/tlsdesc.c: Likewise.
18099         * sysdeps/i386/tlsdesc.c: Likewise.
18100         * sysdeps/tile/dl-runtime.c: Likewise.
18101         * sysdeps/x86_64/tlsdesc.c: Likewise.
18102         * elf/dl-load.h: New file.
18103         * elf/dl-load.c: Include it.
18104         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
18105         Macros moved to dl-load.h.
18106         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
18107         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
18108         Use _dl_unmap_segments in place of __munmap.
18109         Break out segment-mapping loop into ...
18110         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
18112 2014-04-03  Will Newton  <will.newton@linaro.org>
18114         * elf/dl-lookup.c (do_lookup_x): Remove comment
18115         referring to nested function and move variable
18116         declarations down to before first use.
18118 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
18120         [BZ #16799]
18121         [BZ #16800]
18122         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
18123         with 0 numerator.
18124         * math/s_catanf.c (__catanf): Likewise.
18125         * math/s_catanh.c (__catanh): Likewise.
18126         * math/s_catanhf.c (__catanhf): Likewise.
18127         * math/s_catanhl.c (__catanhl): Likewise.
18128         * math/s_catanl.c (__catanl): Likewise.
18129         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
18130         by positive zero when computing -Inf result.
18131         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
18132         (catanh_test): Likewise.
18133         * sysdeps/i386/fpu/libm-test-ulps: Update.
18134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18136         [BZ #16789]
18137         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
18138         instead of using underflowing value in computing result.
18139         * math/s_clog10.c (__clog10): Likewise.
18140         * math/s_clog10f.c (__clog10f): Likewise.
18141         * math/s_clog10l.c (__clog10l): Likewise.
18142         * math/s_clogf.c (__clogf): Likewise.
18143         * math/s_clogl.c (__clogl): Likewise.
18144         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
18145         (clog10_test): Likewise.
18146         * sysdeps/i386/fpu/libm-test-ulps: Update.
18147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18149 2014-04-02  Alan Modra  <amodra@gmail.com>
18151         [BZ #16739]
18152         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
18153         output when value is near a power of two.  Use int64_t for lx and
18154         remove casts.  Use decimal rather than hex exponent constants.
18155         Don't use long double multiplication when double will suffice.
18156         * math/libm-test.inc (nextafter_test_data): Add tests.
18157         * NEWS: Add 16739 and 16786 to bug list.
18159         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
18161         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
18163 2014-04-01  Will Newton  <will.newton@linaro.org>
18165         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
18166         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
18168 2014-04-01  Florian Weimer  <fweimer@redhat.com>
18170         [BZ #13347]
18171         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
18172         * nptl/tst-setuid2.c: New file.
18173         * nptl/Makefile (xtests): Add tst-setuid2.
18175 2014-04-01  Alan Modra  <amodra@gmail.com>
18177         [BZ #16786]
18178         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
18180 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18182         [BZ #6803]
18183         [BZ #6804]
18184         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
18185         set errno as appropriate.
18186         * math/w_scalbf.c (__scalbf): Likewise.
18187         * math/w_scalbl.c (__scalbl): Likewise.
18188         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
18189         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
18190         * math/libm-test.inc (scalb_test_data): Add errno expectations.
18191         Add more NaN tests.
18193         [BZ #16349]
18194         * math/w_atan2.c: Include <errno.h>.
18195         (__atan2): Set errno for result underflowing to zero.
18196         * math/w_atan2f.c: Include <errno.h>.
18197         (__atan2f): Set errno for result underflowing to zero.
18198         * math/w_atan2l.c: Include <errno.h>.
18199         (__atan2l): Set errno for result underflowing to zero.
18200         * math/auto-libm-test-in: Don't allow missing errno for some atan2
18201         tests.
18202         * math/auto-libm-test-out: Regenerated.
18204 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18206         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
18207         Encode instruction correctly in little endian.
18208         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
18209         Likewise.
18210         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
18211         Likewise.
18212         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
18213         Likewise.
18214         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
18215         Likewise.
18217 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
18219         [BZ #9894]
18220         * sysdeps/unix/sysv/linux/kernel-features.h
18221         [__sparc__ && !__arch64__ && !__sparc_v9__]
18222         (__ASSUME_SET_ROBUST_LIST): Do not define.
18223         [__sparc__ && !__arch64__ && !__sparc_v9__]
18224         (__ASSUME_FUTEX_LOCK_PI): Likewise.
18225         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
18226         Likewise.
18227         * sysdeps/unix/sysv/linux/arm/kernel-features.h
18228         (__ASSUME_FUTEX_LOCK_PI): Undefine.
18229         (__ASSUME_REQUEUE_PI): Likewise.
18230         (__ASSUME_SET_ROBUST_LIST): Likewise.
18231         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18232         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
18233         Undefine.
18234         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18235         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
18236         Likewise.
18237         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
18238         Likewise.
18239         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
18240         Likewise.
18241         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18242         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
18243         Undefine.
18244         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
18245         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
18246         Likewise.
18248         [BZ #16648]
18249         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18250         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
18251         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
18253 2014-03-31  Will Newton  <will.newton@linaro.org>
18255         * benchtests/Makefile (bench): Add ffs and ffsll to list
18256         of tests.
18257         * benchtests/ffs-inputs: New file.
18258         * benchtests/ffsll-inputs: Likewise.
18260 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
18262         [BZ #16770]
18263         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
18264         too large before casting to int.
18265         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
18266         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
18267         * math/libm-test.inc (scalb_test_data): Add more tests.
18269 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18271         * benchtests/Makefile (DETAILED_OPT): New make option.
18272         (bench-func): Run benchmark program with -d if DETAILED_OPT is
18273         set.
18274         * benchtests/bench-skeleton.c: Include stdbool.h.
18275         (main): Store and print timings per input.
18276         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
18277         member to each argument value.
18278         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
18279         (_print_arg_data): Initialize per-input timing to 0.
18281         * benchtests/Makefile (timing-type): New binary.
18282         (bench-clean): Also remove bench-timing-type.
18283         (bench): New target for timing-type.
18284         (bench-func): Print output in JSON format.
18285         * benchtests/bench-skeleton.c (main): Print output in JSON
18286         format.
18287         * benchtests/bench-timing-type.c: New file.
18288         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
18289         (TIMING_PRINT_STATS): Remove.
18290         * benchtests/scripts/bench.py (_print_arg_data): Store variant
18291         name separately.
18293         * benchtests/bench-modf.c: Remove.
18294         * benchtests/modf-inputs: New inputs file.
18296 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
18298         [BZ #16362]
18299         * math/s_clog10.c (M_PI_LOG10E): New macro.
18300         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
18301         imaginary parts are 0.
18302         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
18303         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
18304         imaginary parts are 0.
18305         * math/s_clog10l.c (M_PI_LOG10El): New macro.
18306         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
18307         imaginary parts are 0.
18308         * math/libm-test.inc (clog10_test_data): Update expected results
18309         for when real and imaginary parts are 0.
18311 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
18313         * elf/dl-load.c: Finish conversion of __builtin_expect into
18314         __glibc_{un}likely.
18316 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
18318         [BZ #16348]
18319         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
18320         1+x for argument with exponent below -67.
18321         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
18322         Likewise.
18323         * math/auto-libm-test-in: Add more tests of exp.
18324         * math/auto-libm-test-out: Regenerated.
18326 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18328         [BZ #16759]
18329         * inet/getnetgrent_r.c (get_nonempty_val): New function.
18330         (nscd_getnetgrent): Use it.
18332         [BZ #16760]
18333         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
18334         of stpcpy.
18336 2014-03-27  Andi Kleen  <ak@linux.intel.com>
18338         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
18339         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18340         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18341         (lll_robust_unlock): Remove out of line section. Use cfi
18342         intrinsics.
18343         (LLL_STUB_UNWIND_INFO*): Remove.
18344         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
18345         (lll_robust_lock, lll_cond_lock, lll_timedlock)
18346         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
18347         (lll_robust_unlock): Remove out of line section. Use cfi
18348         intrinsics.
18349         (LLL_STUB_UNWIND_INFO*): Remove.
18351 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18353         [BZ #16758]
18354         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
18355         blank values.
18357 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
18359         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
18361 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
18363         [BZ #16198]
18364         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
18365         fnstenv.
18366         * math/test-fenv-preserve.c: New file.
18367         * math/Makefile (tests): Add test-fenv-preserve.
18369 2014-03-26  Will Newton <will.newton@linaro.org>
18371         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
18373 2014-03-25  Roland McGrath  <roland@hack.frob.com>
18375         * scripts/versionlist.awk: Partition the version sets and emit all
18376         GLIBC_* (sorted) before all others (sorted).
18378 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18380         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
18381         GLIBC_2.2.5 version.
18383 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18385         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
18386         calls.
18388         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
18389         previous change.
18391         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18393 2014-03-25  Andreas Schwab  <schwab@suse.de>
18395         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
18396         label to be used after in6ailist is initialized.
18398 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18400         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
18401         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18403 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
18405         [BZ #16357]
18406         [BZ #16599]
18407         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
18408         min_plus_half.
18409         (fp_formats): Update initializers.
18410         (init_fp_formats): Initialize new field.
18411         (output_for_one_input_case): Allow underflow for results up to
18412         min_plus_half.
18413         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
18414         * math/auto-libm-test-in: Don't mark some underflows from asin and
18415         atanh as spurious.
18416         * math/auto-libm-test-out: Regenerated.
18417         * sysdeps/i386/fpu/libm-test-ulps: Update.
18418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18420 2014-03-25  Andreas Schwab  <schwab@suse.de>
18422         * libio/Makefile (tst-ftell-partial-wide-ENV)
18423         (tst-ftell-active-handler-ENV): Define.
18425 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
18427         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
18429 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18431         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
18433 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18435         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
18436         * sysdeps/x86_64/fpu/multiarch/e_exp.c
18437         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
18439 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
18441         [BZ #16634]
18442         * elf/dl-load.c (open_verify): Add mode parameter.
18443         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
18444         (open_path): Change from boolean 'secure' to complete flag 'mode'
18445         (_dl_map_object): Adjust.
18446         * elf/Makefile (tests): Add tst-dlopen-aout.
18447         * elf/tst-dlopen-aout.c: New test.
18449 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
18451         [BZ #16714]
18452         * sysdeps/unix/sysv/linux/s390/bits/stat.h
18453         (struct stat): Rename member pad0 to __glibc_reserved0.
18455         [BZ #16712]
18456         * sysdeps/s390/s390-32/bits/wordsize.h
18457         (__WORDSIZE32_SIZE_ULONG): New define.
18458         * sysdeps/s390/s390-64/bits/wordsize.h
18459         (__WORDSIZE32_SIZE_ULONG): Likewise.
18460         * sysdeps/generic/stdint.h (SIZE_MAX):
18461         Define as UL if __WORDSIZE32_SIZE_ULONG.
18463         [BZ #16713]
18464         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
18465         (__glibc_reserved0): New variable.
18466         (sa_flags): Change type to int.
18468         * posix/Makefile (before-compile): Use += before-compile instead
18469         of a :=.
18471         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
18472         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
18474 2014-03-20  Andreas Schwab  <schwab@suse.de>
18476         [BZ #16743]
18477         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
18478         non-matching result from nscd.
18480 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18482         * scripts/bench.py: Moved to ...
18483         * benchtests/scripts/bench.py: ... here.
18484         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
18486 2014-03-24  Andreas Schwab  <schwab@suse.de>
18488         [BZ #16002]
18489         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
18490         alloca_account and account alloca use for struct in6ailist.
18492 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
18494         [BZ #16284]
18495         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
18496         rounding mode to recompute results that overflow to infinity or
18497         underflow to zero.
18498         * math/auto-libm-test-in: Don't mark tests as expected to fail for
18499         bug 16284.
18500         * math/auto-libm-test-out: Regenerated.
18501         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
18502         (ccosh_test): Likewise.
18503         (csin_test_data): Use plus_oflow.
18504         (csin_test): Use ALL_RM_TEST.
18505         (csinh_test_data): Use plus_oflow.
18506         (csinh_test): Use ALL_RM_TEST.
18507         * sysdeps/i386/fpu/libm-test-ulps: Update.
18508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18510 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
18512         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
18513         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
18514         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
18516         [BZ #16731]
18517         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
18518         when x - 1 is zero.
18519         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
18520         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
18521         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
18522         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
18523         argument is 1.
18524         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
18525         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
18526         zero.
18527         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
18528         * sysdeps/i386/fpu/libm-test-ulps: Update.
18529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18531 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18533         * scripts/bench.pl: Remove file.
18534         * scripts/bench.py: New benchmark script.
18535         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
18536         * benchtests/README: Mention python dependency.
18537         * scripts/pylintrc: New file.
18538         * scripts/pylint: New file.
18540         * bits/mathdef.h: Use #ifdef instead of #if.
18541         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
18542         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18543         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
18544         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18545         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
18546         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
18548 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18549             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
18551         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
18552         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
18553         and strpbrk-ppc64 objects.
18554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18555         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
18556         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
18557         multiarch strpbrk for POWER7.
18558         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
18559         multiarch strpbrk for PPC64.
18560         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
18561         ifunc selector.
18562         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
18563         strpbrk for POWER7.
18565 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18567         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
18568         (atan_test): Likewise.
18569         (atanh_test_data): Use NO_TEST_INLINE for two tests.
18570         (atanh_test): Use ALL_RM_TEST.
18571         (atan2_test_data): Likewise.
18572         (cabs_test): Likewise.
18573         (cacosh_test): Likewise.
18574         (carg_test): Likewise.
18575         (casin_test): Likewise.
18576         (casinh_test): Likewise.
18577         (cbrt_test): Likewise.
18578         (csqrt_test): Likewise.
18579         (erf_test): Likewise.
18580         (erfc_test): Likewise.
18581         (pow10_test): Likewise.
18582         (exp2_test): Likewise.
18583         (hypot_test): Likewise.
18584         (j0_test): Likewise.
18585         (j1_test): Likewise.
18586         (lgamma_test): Likewise.
18587         (gamma_test): Likewise.
18588         (sincos_test): Likewise.
18589         (tanh_test): Likewise.
18590         (y0_test): Likewise.
18591         (y1_test): Likewise.
18592         * sysdeps/i386/fpu/libm-test-ulps: Update.
18593         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18595 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18597         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
18598         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
18599         and strcspn-ppc64 objects.
18600         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18601         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
18602         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
18603         multiarch strcspn for POWER7.
18604         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
18605         multiarch strcspn for PPC64.
18606         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
18607         ifunc selector.
18608         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
18609         strcspn for POWER7.
18611 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
18613         * math/gen-libm-test.pl (generate_testfile): Expect only function
18614         name as argument to AUTO_TESTS_* and pass results for all rounding
18615         modes to parse_args.
18616         (parse_auto_input): Separate inputs of automatic tests from
18617         outputs before storing in %auto_tests.
18618         * math/libm-test.inc (acos_test_data): Update call to
18619         AUTO_TESTS_f_f.
18620         (acos_test): Use ALL_RM_TEST.
18621         (acos_tonearest_test_data): Remove.
18622         (acos_test_tonearest): Likewise.
18623         (acos_towardzero_test_data): Likewise.
18624         (acos_test_towardzero): Likewise.
18625         (acos_downward_test_data): Likewise.
18626         (acos_test_downward): Likewise.
18627         (acos_upward_test_data): Likewise.
18628         (acos_test_upward): Likewise.
18629         (acosh_test_data): Update call to AUTO_TESTS_f_f.
18630         (asin_test_data): Likewise.
18631         (asin_test): Use ALL_RM_TEST.
18632         (asin_tonearest_test_data): Remove.
18633         (asin_test_tonearest): Likewise.
18634         (asin_towardzero_test_data): Likewise.
18635         (asin_test_towardzero): Likewise.
18636         (asin_downward_test_data): Likewise.
18637         (asin_test_downward): Likewise.
18638         (asin_upward_test_data): Likewise.
18639         (asin_test_upward): Likewise.
18640         (asinh_test_data): Update call to AUTO_TESTS_f_f.
18641         (atan_test_data): Likewise.
18642         (atanh_test_data): Likewise.
18643         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
18644         (cabs_test_data): Update call to AUTO_TESTS_c_f.
18645         (carg_test_data): Likewise.
18646         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
18647         (ccos_test_data): Update call to AUTO_TESTS_c_c.
18648         (ccosh_test_data): Likewise.
18649         (cexp_test_data): Likewise.
18650         (clog_test_data): Likewise.
18651         (clog10_test_data): Likewise.
18652         (cos_test_data): Update call to AUTO_TESTS_f_f.
18653         (cos_test): Use ALL_RM_TEST.
18654         (cos_tonearest_test_data): Remove.
18655         (cos_test_tonearest): Likewise.
18656         (cos_towardzero_test_data): Likewise.
18657         (cos_test_towardzero): Likewise.
18658         (cos_downward_test_data): Likewise.
18659         (cos_test_downward): Likewise.
18660         (cos_upward_test_data): Likewise.
18661         (cos_test_upward): Likewise.
18662         (cosh_test_data): Update call to AUTO_TESTS_f_f.
18663         (cosh_test): Use ALL_RM_TEST.
18664         (cosh_tonearest_test_data): Remove.
18665         (cosh_test_tonearest): Likewise.
18666         (cosh_towardzero_test_data): Likewise.
18667         (cosh_test_towardzero): Likewise.
18668         (cosh_downward_test_data): Likewise.
18669         (cosh_test_downward): Likewise.
18670         (cosh_upward_test_data): Likewise.
18671         (cosh_test_upward): Likewise.
18672         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
18673         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
18674         (ctan_test_data): Likewise.
18675         (ctan_test): Use ALL_RM_TEST.
18676         (ctan_tonearest_test_data): Remove.
18677         (ctan_test_tonearest): Likewise.
18678         (ctan_towardzero_test_data): Likewise.
18679         (ctan_test_towardzero): Likewise.
18680         (ctan_downward_test_data): Likewise.
18681         (ctan_test_downward): Likewise.
18682         (ctan_upward_test_data): Likewise.
18683         (ctan_test_upward): Likewise.
18684         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
18685         (ctanh_test): Use ALL_RM_TEST.
18686         (ctanh_tonearest_test_data): Remove.
18687         (ctanh_test_tonearest): Likewise.
18688         (ctanh_towardzero_test_data): Likewise.
18689         (ctanh_test_towardzero): Likewise.
18690         (ctanh_downward_test_data): Likewise.
18691         (ctanh_test_downward): Likewise.
18692         (ctanh_upward_test_data): Likewise.
18693         (ctanh_test_upward): Likewise.
18694         (erf_test_data): Update call to AUTO_TESTS_f_f.
18695         (erfc_test_data): Likewise.
18696         (exp_test_data): Likewise.
18697         (exp_test): Use ALL_RM_TEST.
18698         (exp_tonearest_test_data): Remove.
18699         (exp_test_tonearest): Likewise.
18700         (exp_towardzero_test_data): Likewise.
18701         (exp_test_towardzero): Likewise.
18702         (exp_downward_test_data): Likewise.
18703         (exp_test_downward): Likewise.
18704         (exp_upward_test_data): Likewise.
18705         (exp_test_upward): Likewise.
18706         (exp10_test_data): Update call to AUTO_TESTS_f_f.
18707         (exp10_test): Use ALL_RM_TEST.
18708         (exp10_tonearest_test_data): Remove.
18709         (exp10_test_tonearest): Likewise.
18710         (exp10_towardzero_test_data): Likewise.
18711         (exp10_test_towardzero): Likewise.
18712         (exp10_downward_test_data): Likewise.
18713         (exp10_test_downward): Likewise.
18714         (exp10_upward_test_data): Likewise.
18715         (exp10_test_upward): Likewise.
18716         (exp2_test_data): Update call to AUTO_TESTS_f_f.
18717         (expm1_test_data): Likewise.
18718         (expm1_test): Use ALL_RM_TEST.
18719         (expm1_tonearest_test_data): Remove.
18720         (expm1_test_tonearest): Likewise.
18721         (expm1_towardzero_test_data): Likewise.
18722         (expm1_test_towardzero): Likewise.
18723         (expm1_downward_test_data): Likewise.
18724         (expm1_test_downward): Likewise.
18725         (expm1_upward_test_data): Likewise.
18726         (expm1_test_upward): Likewise.
18727         (fma_test_data): Update call to AUTO_TESTS_fff_f.
18728         (fma_test): Use ALL_RM_TEST.
18729         (fma_towardzero_test_data): Remove.
18730         (fma_test_towardzero): Likewise.
18731         (fma_downward_test_data): Likewise.
18732         (fma_test_downward): Likewise.
18733         (fma_upward_test_data): Likewise.
18734         (fma_test_upward): Likewise.
18735         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
18736         (j0_test_data): Update call to AUTO_TESTS_f_f.
18737         (j1_test_data): Likewise.
18738         (jn_test_data): Update call to AUTO_TESTS_if_f.
18739         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
18740         (log_test_data): Update call to AUTO_TESTS_f_f.
18741         (log10_test_data): Likewise.
18742         (log1p_test_data): Likewise.
18743         (log2_test_data): Likewise.
18744         (pow_test_data): Update call to AUTO_TESTS_ff_f.
18745         (pow_tonearest_test_data): Likewise.
18746         (sin_test_data): Update call to AUTO_TESTS_f_f.
18747         (sin_test): Use ALL_RM_TEST.
18748         (sin_tonearest_test_data): Remove.
18749         (sin_test_tonearest): Likewise.
18750         (sin_towardzero_test_data): Likewise.
18751         (sin_test_towardzero): Likewise.
18752         (sin_downward_test_data): Likewise.
18753         (sin_test_downward): Likewise.
18754         (sin_upward_test_data): Likewise.
18755         (sin_test_upward): Likewise.
18756         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
18757         (sinh_test_data): Update call to AUTO_TESTS_f_f.
18758         (sinh_test): Use ALL_RM_TEST.
18759         (sinh_tonearest_test_data): Remove.
18760         (sinh_test_tonearest): Likewise.
18761         (sinh_towardzero_test_data): Likewise.
18762         (sinh_test_towardzero): Likewise.
18763         (sinh_downward_test_data): Likewise.
18764         (sinh_test_downward): Likewise.
18765         (sinh_upward_test_data): Likewise.
18766         (sinh_test_upward): Likewise.
18767         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
18768         (sqrt_test): Use ALL_RM_TEST.
18769         (sqrt_tonearest_test_data): Remove.
18770         (sqrt_test_tonearest): Likewise.
18771         (sqrt_towardzero_test_data): Likewise.
18772         (sqrt_test_towardzero): Likewise.
18773         (sqrt_downward_test_data): Likewise.
18774         (sqrt_test_downward): Likewise.
18775         (sqrt_upward_test_data): Likewise.
18776         (sqrt_test_upward): Likewise.
18777         (tan_test_data): Update call to AUTO_TESTS_f_f.
18778         (tan_test): Use ALL_RM_TEST.
18779         (tan_tonearest_test_data): Remove.
18780         (tan_test_tonearest): Likewise.
18781         (tan_towardzero_test_data): Likewise.
18782         (tan_test_towardzero): Likewise.
18783         (tan_downward_test_data): Likewise.
18784         (tan_test_downward): Likewise.
18785         (tan_upward_test_data): Likewise.
18786         (tan_test_upward): Likewise.
18787         (tanh_test_data): Update call to AUTO_TESTS_f_f.
18788         (tgamma_test_data): Likewise.
18789         (y0_test_data): Likewise.
18790         (y1_test_data): Likewise.
18791         (yn_test_data): Update call to AUTO_TESTS_if_f.
18792         (main): Do not call removed functions.
18794 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18796         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
18797         (ldexp_test_data): Remove.
18798         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
18799         scalbn_test_data.
18800         (scalb_test): Use ALL_RM_TEST.
18802 2014-03-19  Andreas Schwab  <schwab@suse.de>
18804         * nscd/nscd.service: Also invalidate netgroup cache on reload.
18806 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
18808         [BZ #16649]
18809         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18810         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
18811         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
18812         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18813         (__ASSUME_PREADV): Undefine.
18814         (__ASSUME_PWRITEV): Likewise.
18816 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18818         * bits/mman-linux.h: Add comment about non-Linux use.
18819         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
18820         bits/mman-linux.h resting place.
18822         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
18823         * bits/mman-linux.h: ... here.
18825 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18827         * conform/conformtest.pl: Add standard definition when calling C
18828         preprocessor on data files.
18829         (checknamespace): Remove unused variable.
18831 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18833         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
18834         minus_oflow, plus_uflow and minus_uflow in expected results.
18835         * math/libm-test.inc (scalbn_test_data): Add more tests of
18836         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
18837         minus_uflow.
18838         (scalbn_test): Use ALL_RM_TEST.
18839         (scalbln_test_data): Add more tests of negative arguments.  Use
18840         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
18841         (scalbln_test): Use ALL_RM_TEST.
18843 2014-03-18  Roland McGrath  <roland@hack.frob.com>
18845         * scripts/abilist.awk: Ignore symbols marked with .hidden.
18847 2014-03-18  Will Newton  <will.newton@linaro.org>
18849         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
18850         inaccurate comment.
18852 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
18854         * Makerules [!subdir] (check-abi): Exit with error status if a
18855         test failed.
18857 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18859         * math/libm-test.inc (nearbyint_test_data): Include all tests used
18860         for rint.  Include results for all rounding modes.
18861         (nearbyint_test): Use ALL_RM_TEST.
18862         (rint_test_data): Include all tests used for nearbyint.
18864 2014-03-17  Will Newton  <will.newton@linaro.org>
18866         * nptl/sysdeps/pthread/pthread.h: Revert previous
18867         change.
18869         * sysdeps/generic/ldsodefs.h: Revert previous
18870         change.
18872         * libio/genops.c: Revert previous change.
18873         * libio/libioP.h: Likewise.
18874         * stdio-common/vfprintf.c: Likewise.
18876         * sysdeps/generic/math_private.h: Revert previous
18877         change.
18879         * sysdeps/generic/math_private.h: Check whether
18880         HAVE_RM_CTX is defined with #ifdef rather
18881         than #if.
18883         * argp/argp-fmtstream.h: Check whether
18884         __STRICT_ANSI__ is defined with #ifdef rather
18885         than #if.
18886         * argp/argp.h: Likewise.
18888         * libio/genops.c: Check whether
18889         _IO_JUMPS_OFFSET is defined with #ifdef rather
18890         than #if.
18891         * libio/libioP.h: Likewise.
18892         * stdio-common/vfprintf.c: Likewise.
18894         * sysdeps/generic/ldsodefs.h: Check whether
18895         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
18896         than #if.
18898         * nptl/sysdeps/pthread/pthread.h: Check
18899         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
18900         its value.
18902 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18904         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
18905         setting O_APPEND.
18906         * libio/tst-ftell-active-handler.c (do_append_test): Add a
18907         test case.
18909         [BZ #16680]
18910         * libio/fileops.c (_IO_file_open): Seek to end of file but
18911         don't cache the offset.
18912         (get_file_offset): Remove function.
18913         (do_ftell): Use cached offset when available.
18914         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
18915         don't cache the offset.
18916         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
18917         case.
18918         (do_one_test): Call it.
18919         (do_ftell_test): Fix up expected old offset for a+ mode.
18920         * libio/wfileops.c (do_ftell_wide): Used cached offset when
18921         available.
18923         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
18924         up test status with function return status.
18925         (do_write_test): Likewise.
18926         (do_append_test): Likewise.
18928         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
18929         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
18930         Remove.
18932 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
18934         * math/gen-libm-test.pl (parse_args): Handle results specified for
18935         each rounding mode separately.
18936         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
18937         tests and results from lrint_tonearest_test_data,
18938         lrint_towardzero_test_data, lrint_downward_test_data and
18939         lrint_upward_test_data.
18940         (lrint_test): Use ALL_RM_TEST.
18941         (lrint_tonearest_test_data): Remove.
18942         (lrint_test_tonearest): Likewise.
18943         (lrint_towardzero_test_data): Likewise.
18944         (lrint_test_towardzero): Likewise.
18945         (lrint_downward_test_data): Likewise.
18946         (lrint_test_downward): Likewise.
18947         (lrint_upward_test_data): Likewise.
18948         (lrint_test_upward): Likewise.
18949         (llrint_test_data): Merge in per-rounding-mode tests and results
18950         from llrint_tonearest_test_data, llrint_towardzero_test_data,
18951         llrint_downward_test_data and llrint_upward_test_data.
18952         (llrint_test): Use ALL_RM_TEST.
18953         (llrint_tonearest_test_data): Remove.
18954         (llrint_test_tonearest): Likewise.
18955         (llrint_towardzero_test_data): Likewise.
18956         (llrint_test_towardzero): Likewise.
18957         (llrint_downward_test_data): Likewise.
18958         (llrint_test_downward): Likewise.
18959         (llrint_upward_test_data): Likewise.
18960         (llrint_test_upward): Likewise.
18961         (rint_test_data): Merge in per-rounding-mode tests and results
18962         from rint_tonearest_test_data, rint_towardzero_test_data,
18963         rint_downward_test_data and rint_upward_test_data.  Add
18964         per-rounding-mode results for tests not in those arrays.
18965         (rint_test): Use ALL_RM_TEST.
18966         (rint_tonearest_test_data): Remove.
18967         (rint_test_tonearest): Likewise.
18968         (rint_towardzero_test_data): Likewise.
18969         (rint_test_towardzero): Likewise.
18970         (rint_downward_test_data): Likewise.
18971         (rint_test_downward): Likewise.
18972         (rint_upward_test_data): Likewise.
18973         (rint_test_upward): Likewise.
18974         (main): Don't call removed functions.
18976 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18978         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
18979         "Compiled on ..." crapola.  It is anti-useful.
18981 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
18983         * scripts/evaluate-test.sh: Handle fourth argument to determine
18984         whether test run should stop on failure.
18985         * Makeconfig (stop-on-test-failure): New variable.
18986         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
18987         $(stop-on-test-failure).
18988         * Makefile (tests): Give a summary of results from testing and
18989         exit with failure status if they include an ERROR or FAIL.
18990         (xtests): Likewise.
18991         * manual/install.texi (Configuring and compiling): Mention
18992         stop-on-test-failure=y.
18993         * INSTALL: Regenerated.
18995 2014-03-14  Roland McGrath  <roland@hack.frob.com>
18997         * scripts/versionlist.awk: New file.
18998         * Makerules [$(build-shared) = yes]
18999         (postclean-generated): Add Versions.def, not Versions.def.v and
19000         Versions.def.v.i.
19001         ($(common-objpfx)Versions.def.v.i): Target removed.
19002         ($(common-objpfx)Versions.def): New target.
19003         ($(common-objpfx)Versions.all): Depend on that rather that
19004         $(common-objpfx)Versions.def.v.
19005         * Versions.def: File removed.
19007         * Makeconfig (+gccwarn): Add -Wundef.
19008         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
19009         a dl-sysdep.h breaking its contract.
19010         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
19011         * include/stackinfo.h: New file.
19012         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
19013         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
19014         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
19015         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
19016         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
19017         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
19018         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19019         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19020         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19021         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19022         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19023         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
19024         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19025         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19026         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
19028 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19030         [BZ #16707]
19031         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
19032         implementation.
19033         * math/libm-test.inc (round_test_data): Add more tests.
19035         [BZ #16706]
19036         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
19037         implementation.
19038         * math/libm-test.inc (nearbyint_test_data): Add more tests.
19040         [BZ #16701]
19041         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
19042         implementation.
19043         * math/libm-test.inc (ceil_test_data): Add more tests.
19045         * math/libm-test.inc (trunc_test_data): Add more tests related to
19046         BZ#16414.
19048 2014-03-14  Roland McGrath  <roland@hack.frob.com>
19050         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
19051         with #if rather than #ifdef.
19052         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
19054 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
19056         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
19057         first.  Disable AVX-512 GCC support if assembler doesn't support
19058         it.
19059         * sysdeps/x86_64/configure: Regenerated.
19061 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
19063         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
19064         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
19065         (__old_pthread_attr_setstack): Likewise.
19066         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
19067         [!_STACK_GROWS_DOWN]: Likewise.
19069 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
19071         * config.make.in (have-bash2): Delete.
19072         * configure.ac (libc_cv_have_bash2): Delete.
19073         * configure: Regenerate.
19074         * elf/Makefile (common-ldd-rewrite): Rename to ...
19075         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
19076         (sh-ldd-rewrite): Delete.
19077         (bash-ldd-rewrite): Delete.
19078         (have-bash2): Delete checks.
19079         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
19080         ldd-rewrite.
19082         * config.make.in (have-ksh): Delete.
19083         (KSH): Delete.
19084         * configure.ac (libc_cv_have_ksh): Delete.
19085         * configure: Regenerate.
19087         * elf/Makefile: Delete $(have-ksh) check.
19088         ($(objpfx)sotruss): Change KSH to BASH.
19089         * elf/sotruss.ksh: Rename to ...
19090         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
19091         function style to match POSIX.  Drop ksh vim mode setting.
19093         * manual/time.texi (Specifying the Time Zone with TZ): Change
19094         Tuesday to Thursday.
19096         * debug/tst-longjmp_chk2.c: Update header comment.
19097         (stackoverflow_handler): Add comment.  Call assert on pass value.
19099 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
19101         [BZ #16194]
19102         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
19103         (HAVE_AVX512_ASM_SUPPORT): Likewise.
19104         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
19105         (La_x86_64_vector): Add zmm.
19106         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
19107         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
19108         ($(objpfx)tst-audit10): New target.
19109         ($(objpfx)tst-audit10.out): Likewise.
19110         (tst-audit10-ENV): New.
19111         (AVX512-CFLAGS): Likewise.
19112         (CFLAGS-tst-audit10.c): Likewise.
19113         (CFLAGS-tst-auditmod10a.c): Likewise.
19114         (CFLAGS-tst-auditmod10b.c): Likewise.
19115         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
19116         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
19117         * sysdeps/x86_64/configure: Regenerated.
19118         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
19119         AVX-512 zmm register support.
19120         (_dl_x86_64_save_sse): Likewise.
19121         (_dl_x86_64_restore_sse): Likewise.
19122         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
19123         size vector registers.
19124         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
19125         (ZMM_SIZE): Likewise.
19126         * sysdeps/x86_64/tst-audit10.c: New file.
19127         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
19128         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
19130 2014-03-13  Roland McGrath  <roland@hack.frob.com>
19132         * configure.ac (HAVE_EHDR_START): New check.
19133         * configure: Regenerated.
19134         * config.h.in (HAVE_EHDR_START): New #undef.
19135         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
19136         assuming the lowest-addressed segment maps the start of the file.
19138 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
19140         * INSTALL: Regenerated.
19142 2014-03-13  Will Newton  <will.newton@linaro.org>
19144         * manual/setjmp.texi (System V contexts): Improve
19145         clarity and grammar of documentation.
19147 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
19149         [BZ #16381]
19150         * elf/Makefile (tests): Add tst-pie2.
19151         (tests-pie): Add tst-pie2.
19152         * elf/tst-pie2.c: New file.
19153         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
19154         for ET_EXEC.
19155         * elf/rtld.c (map_doit): Load executable as lt_executable.
19156         (dl_main): Likewise.
19158 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
19160         [BZ #16642]
19161         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19162         (__ASSUME_PSELECT): Undefine.
19164 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19166         [BZ #16689]
19167         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
19168         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
19169         static build.
19170         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
19171         selector for static builds.
19173 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19175         [BZ #16695]
19176         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
19177         key in the buffer.
19179 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19181         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
19182         IFUNC selector for static builds.
19184 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
19186         * sysdeps/mips/math_private.h [__mips_hard_float]
19187         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
19188         libc_feresetround_mips_ctx.
19189         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
19190         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
19191         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
19193         [BZ #16677]
19194         * math/s_nextafter.c (__nextafter): Do not return value from
19195         overflowing computation.
19196         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
19197         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
19198         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
19199         Likewise.
19200         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
19201         Likewise.
19202         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
19203         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
19205 2014-03-11  Roland McGrath  <roland@hack.frob.com>
19207         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
19208         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
19209         Move sfi_sp use from the load-multiple (that no longer sets sp) to
19210         the new mov targetting sp.
19212 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19214         [BZ #16683]
19215         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
19216         Define it for static builds as well.
19217         (NO_BZERO_IMPL): Likewise.
19219 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19221         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
19222         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
19223         multiarch strspn for PPC64.
19224         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
19225         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
19226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19227         (__libc_ifunc_impl_list): Likewise.
19228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
19229         multiarch optimizations
19230         * string/strspn.c (strspn): Using macro to redefine symbol name.
19232 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
19233             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19235         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
19236         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
19237         multiarch strncat for PPC64.
19238         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
19239         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
19240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19241         (__libc_ifunc_impl_list): Likewise.
19242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
19243         multiarch optimizations
19245 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19247         [BZ #16639]
19248         * nscd/nscd.service: Make service type forking.
19250 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19252         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
19253         sign in non default rounding modes.
19254         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
19256 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
19258         * math/libm-test.inc (ALL_RM_TEST): New macro.
19259         (ceil_test): Use ALL_RM_TEST.
19260         (cimag_test): Likewise.
19261         (conj_test): Likewise.
19262         (copysign_test): Likewise.
19263         (cproj_test): Likewise.
19264         (creal_test): Likewise.
19265         (fabs_test): Likewise.
19266         (floor_test): Likewise.
19267         (fmax_test): Likewise.
19268         (fmin_test): Likewise.
19269         (fmod_test): Likewise.
19270         (fpclassify_test): Likewise.
19271         (frexp_test): Likewise.
19272         (ilogb_test): Likewise.
19273         (isfinite_test): Likewise.
19274         (finite_test): Likewise.
19275         (isgreater_test): Likewise.
19276         (isgreaterequal_test): Likewise.
19277         (isinf_test): Likewise.
19278         (isless_test): Likewise.
19279         (islessequal_test): Likewise.
19280         (islessgreater_test): Likewise.
19281         (isnan_test): Likewise.
19282         (isnormal_test): Likewise.
19283         (issignaling_test): Likewise.
19284         (isunordered_test): Likewise.
19285         (logb_test): Likewise.
19286         (logb_downward_test_data): Remove.
19287         (logb_test_downward): Likewise.
19288         (lround_test): Use ALL_RM_TEST.
19289         (llround_test): Likewise.
19290         (modf_test): Likewise.
19291         (nexttoward_test): Likewise.
19292         (remainder_test): Likewise.
19293         (drem_test): Likewise.
19294         (remainder_tonearest_test_data): Likewise.
19295         (remainder_test_tonearest): Likewise.
19296         (drem_test_tonearest): Likewise.
19297         (remainder_towardzero_test_data): Likewise.
19298         (remainder_test_towardzero): Likewise.
19299         (drem_test_towardzero): Likewise.
19300         (remainder_downward_test_data): Likewise.
19301         (remainder_test_downward): Likewise.
19302         (drem_test_downward): Likewise.
19303         (remainder_upward_test_data): Likewise.
19304         (remainder_test_upward): Likewise.
19305         (drem_test_upward): Likewise.
19306         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
19307         (round_test): Use ALL_RM_TEST.
19308         (signbit_test): Likewise.
19309         (trunc_test): Likewise.
19310         (significand_test): Likewise.
19311         (main): Don't call removed functions.
19313 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19315         [BZ #16674]
19316         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
19317         || __USE_XOPEN2K8].
19318         (ILL_ILLOPN): Likewise.
19319         (ILL_ILLADR): Likewise.
19320         (ILL_ILLTRP): Likewise.
19321         (ILL_PRVOPC): Likewise.
19322         (ILL_PRVREG): Likewise.
19323         (ILL_COPROC): Likewise.
19324         (ILL_BADSTK): Likewise.
19325         (FPE_INTDIV): Likewise.
19326         (FPE_INTOVF): Likewise.
19327         (FPE_FLTDIV): Likewise.
19328         (FPE_FLTOVF): Likewise.
19329         (FPE_FLTUND): Likewise.
19330         (FPE_FLTRES): Likewise.
19331         (FPE_FLTINV): Likewise.
19332         (FPE_FLTSUB): Likewise.
19333         (SEGV_MAPERR): Likewise.
19334         (SEGV_ACCERR): Likewise.
19335         (BUS_ADRALN): Likewise.
19336         (BUS_ADRERR): Likewise.
19337         (BUS_OBJERR): Likewise.
19338         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19339         (TRAP_TRACE): Likewise.
19340         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19341         __USE_XOPEN2K8].
19342         (CLD_KILLED): Likewise.
19343         (CLD_DUMPED): Likewise.
19344         (CLD_TRAPPED): Likewise.
19345         (CLD_STOPPED): Likewise.
19346         (CLD_CONTINUED): Likewise.
19347         (POLL_IN): Likewise.
19348         (POLL_OUT): Likewise.
19349         (POLL_MSG): Likewise.
19350         (POLL_ERR): Likewise.
19351         (POLL_PRI): Likewise.
19352         (POLL_HUP): Likewise.
19353         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
19354         Likewise.
19355         (ILL_ILLOPN): Likewise.
19356         (ILL_ILLADR): Likewise.
19357         (ILL_ILLTRP): Likewise.
19358         (ILL_PRVOPC): Likewise.
19359         (ILL_PRVREG): Likewise.
19360         (ILL_COPROC): Likewise.
19361         (ILL_BADSTK): Likewise.
19362         (FPE_INTDIV): Likewise.
19363         (FPE_INTOVF): Likewise.
19364         (FPE_FLTDIV): Likewise.
19365         (FPE_FLTOVF): Likewise.
19366         (FPE_FLTUND): Likewise.
19367         (FPE_FLTRES): Likewise.
19368         (FPE_FLTINV): Likewise.
19369         (FPE_FLTSUB): Likewise.
19370         (SEGV_MAPERR): Likewise.
19371         (SEGV_ACCERR): Likewise.
19372         (BUS_ADRALN): Likewise.
19373         (BUS_ADRERR): Likewise.
19374         (BUS_OBJERR): Likewise.
19375         (BUS_MCEERR_AR): Likewise.
19376         (BUS_MCEERR_AO): Likewise.
19377         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19378         (TRAP_TRACE): Likewise.
19379         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19380         __USE_XOPEN2K8].
19381         (CLD_KILLED): Likewise.
19382         (CLD_DUMPED): Likewise.
19383         (CLD_TRAPPED): Likewise.
19384         (CLD_STOPPED): Likewise.
19385         (CLD_CONTINUED): Likewise.
19386         (POLL_IN): Likewise.
19387         (POLL_OUT): Likewise.
19388         (POLL_MSG): Likewise.
19389         (POLL_ERR): Likewise.
19390         (POLL_PRI): Likewise.
19391         (POLL_HUP): Likewise.
19392         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
19393         (ILL_ILLOPN): Likewise.
19394         (ILL_ILLADR): Likewise.
19395         (ILL_ILLTRP): Likewise.
19396         (ILL_PRVOPC): Likewise.
19397         (ILL_PRVREG): Likewise.
19398         (ILL_COPROC): Likewise.
19399         (ILL_BADSTK): Likewise.
19400         (FPE_INTDIV): Likewise.
19401         (FPE_INTOVF): Likewise.
19402         (FPE_FLTDIV): Likewise.
19403         (FPE_FLTOVF): Likewise.
19404         (FPE_FLTUND): Likewise.
19405         (FPE_FLTRES): Likewise.
19406         (FPE_FLTINV): Likewise.
19407         (FPE_FLTSUB): Likewise.
19408         (SEGV_MAPERR): Likewise.
19409         (SEGV_ACCERR): Likewise.
19410         (BUS_ADRALN): Likewise.
19411         (BUS_ADRERR): Likewise.
19412         (BUS_OBJERR): Likewise.
19413         (BUS_MCEERR_AR): Likewise.
19414         (BUS_MCEERR_AO): Likewise.
19415         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19416         (TRAP_TRACE): Likewise.
19417         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19418         __USE_XOPEN2K8].
19419         (CLD_KILLED): Likewise.
19420         (CLD_DUMPED): Likewise.
19421         (CLD_TRAPPED): Likewise.
19422         (CLD_STOPPED): Likewise.
19423         (CLD_CONTINUED): Likewise.
19424         (POLL_IN): Likewise.
19425         (POLL_OUT): Likewise.
19426         (POLL_MSG): Likewise.
19427         (POLL_ERR): Likewise.
19428         (POLL_PRI): Likewise.
19429         (POLL_HUP): Likewise.
19430         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
19431         Likewise.
19432         (ILL_ILLOPN): Likewise.
19433         (ILL_ILLADR): Likewise.
19434         (ILL_ILLTRP): Likewise.
19435         (ILL_PRVOPC): Likewise.
19436         (ILL_PRVREG): Likewise.
19437         (ILL_COPROC): Likewise.
19438         (ILL_BADSTK): Likewise.
19439         (ILL_BADIADDR): Likewise.
19440         (ILL_BREAK): Likewise.
19441         (FPE_INTDIV): Likewise.
19442         (FPE_INTOVF): Likewise.
19443         (FPE_FLTDIV): Likewise.
19444         (FPE_FLTOVF): Likewise.
19445         (FPE_FLTUND): Likewise.
19446         (FPE_FLTRES): Likewise.
19447         (FPE_FLTINV): Likewise.
19448         (FPE_FLTSUB): Likewise.
19449         (FPE_DECOVF): Likewise.
19450         (FPE_DECDIV): Likewise.
19451         (FPE_DECERR): Likewise.
19452         (FPE_INVASC): Likewise.
19453         (FPE_INVDEC): Likewise.
19454         (SEGV_MAPERR): Likewise.
19455         (SEGV_ACCERR): Likewise.
19456         (SEGV_PSTKOVF): Likewise.
19457         (BUS_ADRALN): Likewise.
19458         (BUS_ADRERR): Likewise.
19459         (BUS_OBJERR): Likewise.
19460         (BUS_MCEERR_AR): Likewise.
19461         (BUS_MCEERR_AO): Likewise.
19462         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19463         (TRAP_TRACE): Likewise.
19464         (TRAP_BRANCH): Likewise.
19465         (TRAP_HWBKPT): Likewise.
19466         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19467         __USE_XOPEN2K8].
19468         (CLD_KILLED): Likewise.
19469         (CLD_DUMPED): Likewise.
19470         (CLD_TRAPPED): Likewise.
19471         (CLD_STOPPED): Likewise.
19472         (CLD_CONTINUED): Likewise.
19473         (POLL_IN): Likewise.
19474         (POLL_OUT): Likewise.
19475         (POLL_MSG): Likewise.
19476         (POLL_ERR): Likewise.
19477         (POLL_PRI): Likewise.
19478         (POLL_HUP): Likewise.
19479         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
19480         (ILL_ILLOPN): Likewise.
19481         (ILL_ILLADR): Likewise.
19482         (ILL_ILLTRP): Likewise.
19483         (ILL_PRVOPC): Likewise.
19484         (ILL_PRVREG): Likewise.
19485         (ILL_COPROC): Likewise.
19486         (ILL_BADSTK): Likewise.
19487         (FPE_INTDIV): Likewise.
19488         (FPE_INTOVF): Likewise.
19489         (FPE_FLTDIV): Likewise.
19490         (FPE_FLTOVF): Likewise.
19491         (FPE_FLTUND): Likewise.
19492         (FPE_FLTRES): Likewise.
19493         (FPE_FLTINV): Likewise.
19494         (FPE_FLTSUB): Likewise.
19495         (SEGV_MAPERR): Likewise.
19496         (SEGV_ACCERR): Likewise.
19497         (BUS_ADRALN): Likewise.
19498         (BUS_ADRERR): Likewise.
19499         (BUS_OBJERR): Likewise.
19500         (BUS_MCEERR_AR): Likewise.
19501         (BUS_MCEERR_AO): Likewise.
19502         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19503         (TRAP_TRACE): Likewise.
19504         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19505         __USE_XOPEN2K8].
19506         (CLD_KILLED): Likewise.
19507         (CLD_DUMPED): Likewise.
19508         (CLD_TRAPPED): Likewise.
19509         (CLD_STOPPED): Likewise.
19510         (CLD_CONTINUED): Likewise.
19511         (POLL_IN): Likewise.
19512         (POLL_OUT): Likewise.
19513         (POLL_MSG): Likewise.
19514         (POLL_ERR): Likewise.
19515         (POLL_PRI): Likewise.
19516         (POLL_HUP): Likewise.
19517         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
19518         (ILL_ILLOPN): Likewise.
19519         (ILL_ILLADR): Likewise.
19520         (ILL_ILLTRP): Likewise.
19521         (ILL_PRVOPC): Likewise.
19522         (ILL_PRVREG): Likewise.
19523         (ILL_COPROC): Likewise.
19524         (ILL_BADSTK): Likewise.
19525         (FPE_INTDIV): Likewise.
19526         (FPE_INTOVF): Likewise.
19527         (FPE_FLTDIV): Likewise.
19528         (FPE_FLTOVF): Likewise.
19529         (FPE_FLTUND): Likewise.
19530         (FPE_FLTRES): Likewise.
19531         (FPE_FLTINV): Likewise.
19532         (FPE_FLTSUB): Likewise.
19533         (SEGV_MAPERR): Likewise.
19534         (SEGV_ACCERR): Likewise.
19535         (BUS_ADRALN): Likewise.
19536         (BUS_ADRERR): Likewise.
19537         (BUS_OBJERR): Likewise.
19538         (BUS_MCEERR_AR): Likewise.
19539         (BUS_MCEERR_AO): Likewise.
19540         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19541         (TRAP_TRACE): Likewise.
19542         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19543         __USE_XOPEN2K8].
19544         (CLD_KILLED): Likewise.
19545         (CLD_DUMPED): Likewise.
19546         (CLD_TRAPPED): Likewise.
19547         (CLD_STOPPED): Likewise.
19548         (CLD_CONTINUED): Likewise.
19549         (POLL_IN): Likewise.
19550         (POLL_OUT): Likewise.
19551         (POLL_MSG): Likewise.
19552         (POLL_ERR): Likewise.
19553         (POLL_PRI): Likewise.
19554         (POLL_HUP): Likewise.
19555         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
19556         (ILL_ILLOPN): Likewise.
19557         (ILL_ILLADR): Likewise.
19558         (ILL_ILLTRP): Likewise.
19559         (ILL_PRVOPC): Likewise.
19560         (ILL_PRVREG): Likewise.
19561         (ILL_COPROC): Likewise.
19562         (ILL_BADSTK): Likewise.
19563         (FPE_INTDIV): Likewise.
19564         (FPE_INTOVF): Likewise.
19565         (FPE_FLTDIV): Likewise.
19566         (FPE_FLTOVF): Likewise.
19567         (FPE_FLTUND): Likewise.
19568         (FPE_FLTRES): Likewise.
19569         (FPE_FLTINV): Likewise.
19570         (FPE_FLTSUB): Likewise.
19571         (SEGV_MAPERR): Likewise.
19572         (SEGV_ACCERR): Likewise.
19573         (BUS_ADRALN): Likewise.
19574         (BUS_ADRERR): Likewise.
19575         (BUS_OBJERR): Likewise.
19576         (BUS_MCEERR_AR): Likewise.
19577         (BUS_MCEERR_AO): Likewise.
19578         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19579         (TRAP_TRACE): Likewise.
19580         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19581         __USE_XOPEN2K8].
19582         (CLD_KILLED): Likewise.
19583         (CLD_DUMPED): Likewise.
19584         (CLD_TRAPPED): Likewise.
19585         (CLD_STOPPED): Likewise.
19586         (CLD_CONTINUED): Likewise.
19587         (POLL_IN): Likewise.
19588         (POLL_OUT): Likewise.
19589         (POLL_MSG): Likewise.
19590         (POLL_ERR): Likewise.
19591         (POLL_PRI): Likewise.
19592         (POLL_HUP): Likewise.
19593         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
19594         (ILL_ILLOPN): Likewise.
19595         (ILL_ILLADR): Likewise.
19596         (ILL_ILLTRP): Likewise.
19597         (ILL_PRVOPC): Likewise.
19598         (ILL_PRVREG): Likewise.
19599         (ILL_COPROC): Likewise.
19600         (ILL_BADSTK): Likewise.
19601         (ILL_DBLFLT): Likewise.
19602         (ILL_HARDWALL): Likewise.
19603         (FPE_INTDIV): Likewise.
19604         (FPE_INTOVF): Likewise.
19605         (FPE_FLTDIV): Likewise.
19606         (FPE_FLTOVF): Likewise.
19607         (FPE_FLTUND): Likewise.
19608         (FPE_FLTRES): Likewise.
19609         (FPE_FLTINV): Likewise.
19610         (FPE_FLTSUB): Likewise.
19611         (SEGV_MAPERR): Likewise.
19612         (SEGV_ACCERR): Likewise.
19613         (BUS_ADRALN): Likewise.
19614         (BUS_ADRERR): Likewise.
19615         (BUS_OBJERR): Likewise.
19616         (BUS_MCEERR_AR): Likewise.
19617         (BUS_MCEERR_AO): Likewise.
19618         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19619         (TRAP_TRACE): Likewise.
19620         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19621         __USE_XOPEN2K8].
19622         (CLD_KILLED): Likewise.
19623         (CLD_DUMPED): Likewise.
19624         (CLD_TRAPPED): Likewise.
19625         (CLD_STOPPED): Likewise.
19626         (CLD_CONTINUED): Likewise.
19627         (POLL_IN): Likewise.
19628         (POLL_OUT): Likewise.
19629         (POLL_MSG): Likewise.
19630         (POLL_ERR): Likewise.
19631         (POLL_PRI): Likewise.
19632         (POLL_HUP): Likewise.
19633         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
19634         (ILL_ILLOPN): Likewise.
19635         (ILL_ILLADR): Likewise.
19636         (ILL_ILLTRP): Likewise.
19637         (ILL_PRVOPC): Likewise.
19638         (ILL_PRVREG): Likewise.
19639         (ILL_COPROC): Likewise.
19640         (ILL_BADSTK): Likewise.
19641         (FPE_INTDIV): Likewise.
19642         (FPE_INTOVF): Likewise.
19643         (FPE_FLTDIV): Likewise.
19644         (FPE_FLTOVF): Likewise.
19645         (FPE_FLTUND): Likewise.
19646         (FPE_FLTRES): Likewise.
19647         (FPE_FLTINV): Likewise.
19648         (FPE_FLTSUB): Likewise.
19649         (SEGV_MAPERR): Likewise.
19650         (SEGV_ACCERR): Likewise.
19651         (BUS_ADRALN): Likewise.
19652         (BUS_ADRERR): Likewise.
19653         (BUS_OBJERR): Likewise.
19654         (BUS_MCEERR_AR): Likewise.
19655         (BUS_MCEERR_AO): Likewise.
19656         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
19657         (TRAP_TRACE): Likewise.
19658         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
19659         __USE_XOPEN2K8].
19660         (CLD_KILLED): Likewise.
19661         (CLD_DUMPED): Likewise.
19662         (CLD_TRAPPED): Likewise.
19663         (CLD_STOPPED): Likewise.
19664         (CLD_CONTINUED): Likewise.
19665         (POLL_IN): Likewise.
19666         (POLL_OUT): Likewise.
19667         (POLL_MSG): Likewise.
19668         (POLL_ERR): Likewise.
19669         (POLL_PRI): Likewise.
19670         (POLL_HUP): Likewise.
19671         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
19672         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19674         [BZ #16670]
19675         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
19676         before #include of <time.h>.
19677         [!__USE_XOPEN2K] (__need_timespec): Likewise.
19678         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
19679         (test-xfail-UNIX98/sched.h/conform): Likewise.
19681 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
19683         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
19684         error absence of trapping exception support.
19685         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
19687 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
19689         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
19690         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
19691         * timezone/Makefile (testdata): Move definition above include of
19692         Rules.
19693         (test-zones): New variable.
19694         (tests-special): Add zone files.
19695         (build-testdata): Use $(evaluate-test).
19697         * elf/Makefile (tests-special): Rename tests to end with .out.
19698         ($(objpfx)noload-mem): Likewise.
19699         ($(objpfx)tst-leaks1-mem): Likewise.
19700         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
19701         * iconv/Makefile (xtests-special): Change test-iconvconfig to
19702         $(objpfx)test-iconvconfig.out.
19703         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
19704         set -e inside subshell and redirect output to file.
19705         * iconvdata/Makefile (generated): Rename tests to end with .out.
19706         Correct type.
19707         (tests-special): Rename tests to end with .out.
19708         ($(objpfx)mtrace-tst-loading): Likewise.
19709         * intl/Makefile (generated): Likewise.
19710         (tests-special): Likewise.
19711         ($(objpfx)mtrace-tst-gettext): Likewise.
19712         * misc/Makefile (generated): Likewise.
19713         (tests-special): Likewise.
19714         ($(objpfx)tst-error1-mem): Likewise.
19715         * nptl/Makefile (tests-special): Likewise.
19716         ($(objpfx)tst-stack3-mem): Likewise.
19717         (generated): Likewise.
19718         * posix/Makefile (generated): Likewise.
19719         (tests-special): Likewise.
19720         (xtests-special): Likewise.
19721         ($(objpfx)tst-fnmatch-mem): Likewise.
19722         ($(objpfx)bug-regex2-mem): Likewise.
19723         ($(objpfx)bug-regex14-mem): Likewise.
19724         ($(objpfx)bug-regex21-mem): Likewise.
19725         ($(objpfx)bug-regex31-mem): Likewise.
19726         ($(objpfx)tst-vfork3-mem): Likewise.
19727         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
19728         ($(objpfx)tst-pcre-mem): Likewise.
19729         ($(objpfx)tst-boost-mem): Likewise.
19730         ($(objpfx)bug-ga2-mem): Likewise.
19731         ($(objpfx)bug-glob2-mem): Likewise.
19732         * resolv/Makefile (generate): Likewise.
19733         (tests-special): Likewise.
19734         (xtests-special): Likewise.
19735         (generated): Likewise.
19736         ($(objpfx)mtrace-tst-leaks): Likewise.
19737         ($(objpfx)mtrace-tst-leaks2): Likewise.
19739         * scripts/merge-test-results.sh: New file.
19740         * Makefile (tests-special-notdir): New variable.
19741         (tests): Run merge-test-results.sh.
19742         (xtests): Likewise.
19743         * Rules (tests-special-notdir): New variable.
19744         (xtests-special-notdir): Likewise.
19745         (tests): Run merge-test-results.sh
19746         (xtests): Likewise.
19748         * Makeconfig (test-xfail-name): New variable.
19749         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
19750         compute variable name for expected failures.
19751         * conform/Makefile (conformtest-headers-data): New variable.
19752         (conformtest-standards): Likewise.
19753         (conformtest-headers-ISO): Likewise.
19754         (conformtest-headers-ISO99): Likewise.
19755         (conformtest-headers-ISO11): Likewise.
19756         (conformtest-headers-POSIX): Likewise.
19757         (conformtest-headers-XPG3): Likewise.
19758         (conformtest-headers-XPG4): Likewise.
19759         (conformtest-headers-UNIX98): Likewise.
19760         (conformtest-headers-XOPEN2K): Likewise.
19761         (conformtest-headers-POSIX2008): Likewise.
19762         (conformtest-headers-XOPEN2K8): Likewise.
19763         (conformtest-header-list-base): Likewise.
19764         (conformtest-header-list-tests): Likewise.
19765         (conformtest-header-base): Likewise.
19766         (conformtest-header-tests): Likewise.
19767         (tests-special): Add $(conformtest-header-list-tests).  If
19768         [$(fast-check) && !$(cross-compiling)], add
19769         $(conformtest-header-tests) instead of
19770         $(objpfx)run-conformtest.out.
19771         (generated): Add $(conformtest-header-list-base).  If
19772         [$(fast-check) && !$(cross-compiling)], add
19773         $(conformtest-header-base).  Remove previous setting.
19774         ($(conformtest-header-list-tests)): New target.
19775         (test-xfail-run-conformtest): Remove variable.
19776         ($(objpfx)run-conformtest.out): Remove target.
19777         (test-xfail-ISO11/complex.h/conform): New variable.
19778         (test-xfail-ISO11/stdalign.h/conform): Likewise.
19779         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
19780         (test-xfail-XPG3/varargs.h/conform): Likewise.
19781         (test-xfail-XPG4/varargs.h/conform): Likewise.
19782         (test-xfail-UNIX98/varargs.h/conform): Likewise.
19783         (test-xfail-XPG4/ndbm.h/conform): Likewise.
19784         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
19785         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
19786         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
19787         (test-xfail-XPG3/fcntl.h/conform): Likewise.
19788         (test-xfail-XPG3/ftw.h/conform): Likewise.
19789         (test-xfail-XPG3/grp.h/conform): Likewise.
19790         (test-xfail-XPG3/langinfo.h/conform): Likewise.
19791         (test-xfail-XPG3/limits.h/conform): Likewise.
19792         (test-xfail-XPG3/pwd.h/conform): Likewise.
19793         (test-xfail-XPG3/search.h/conform): Likewise.
19794         (test-xfail-XPG3/signal.h/conform): Likewise.
19795         (test-xfail-XPG3/stdio.h/conform): Likewise.
19796         (test-xfail-XPG3/stdlib.h/conform): Likewise.
19797         (test-xfail-XPG3/string.h/conform): Likewise.
19798         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
19799         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
19800         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
19801         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
19802         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
19803         (test-xfail-XPG3/sys/types.h/conform): Likewise.
19804         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
19805         (test-xfail-XPG3/termios.h/conform): Likewise.
19806         (test-xfail-XPG3/time.h/conform): Likewise.
19807         (test-xfail-XPG3/unistd.h/conform): Likewise.
19808         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
19809         (test-xfail-XPG4/fcntl.h/conform): Likewise.
19810         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19811         (test-xfail-XPG4/netdb.h/conform): Likewise.
19812         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
19813         (test-xfail-XPG4/signal.h/conform): Likewise.
19814         (test-xfail-XPG4/stdio.h/conform): Likewise.
19815         (test-xfail-XPG4/stdlib.h/conform): Likewise.
19816         (test-xfail-XPG4/stropts.h/conform): Likewise.
19817         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
19818         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
19819         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
19820         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
19821         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
19822         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
19823         (test-xfail-XPG4/sys/time.h/conform): Likewise.
19824         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19825         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
19826         (test-xfail-XPG4/termios.h/conform): Likewise.
19827         (test-xfail-XPG4/ucontext.h/conform): Likewise.
19828         (test-xfail-XPG4/unistd.h/conform): Likewise.
19829         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19830         (test-xfail-POSIX/sched.h/conform): Likewise.
19831         (test-xfail-POSIX/signal.h/conform): Likewise.
19832         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
19833         (test-xfail-POSIX/tar.h/conform): Likewise.
19834         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
19835         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
19836         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19837         (test-xfail-UNIX98/netdb.h/conform): Likewise.
19838         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
19839         (test-xfail-UNIX98/sched.h/conform): Likewise.
19840         (test-xfail-UNIX98/signal.h/conform): Likewise.
19841         (test-xfail-UNIX98/stdio.h/conform): Likewise.
19842         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
19843         (test-xfail-UNIX98/stropts.h/conform): Likewise.
19844         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
19845         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
19846         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
19847         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
19848         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
19849         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19850         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
19851         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
19852         (test-xfail-UNIX98/unistd.h/conform): Likewise.
19853         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19854         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
19855         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
19856         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19857         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
19858         (test-xfail-XOPEN2K/math.h/conform): Likewise.
19859         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19860         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
19861         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
19862         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
19863         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
19864         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
19865         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
19866         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
19867         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
19868         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
19869         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
19870         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
19871         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
19872         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
19873         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
19874         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
19875         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
19876         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
19877         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
19878         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
19879         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
19880         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
19881         (test-xfail-POSIX2008/signal.h/conform): Likewise.
19882         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
19883         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
19884         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
19885         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
19886         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
19887         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
19888         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
19889         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
19890         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
19891         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
19892         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
19893         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
19894         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
19895         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
19896         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
19897         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
19898         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
19899         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
19900         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
19901         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
19902         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
19903         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
19904         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
19905         (conformtest-cc-flags): Likewise.
19906         ($(conformtest-header-tests): New target.
19907         * conform/check-header-lists.sh: New file.
19908         * conform/run-conformtest.sh: Remove.
19910         * conform/conformtest.pl: Allow ' and \ in values given for
19911         constants.
19912         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
19913         inclusion.
19914         [POSIX] (sys/types.h): Likewise.
19915         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
19916         inclusion.
19917         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
19918         inclusion.
19919         * conform/data/signal.h-data (SIGIO): Remove expectation.
19920         [XPG3] (SIGBUS): Do not expect.
19921         [POSIX || XPG3] (SIGPOLL): Likewise.
19922         [POSIX || XPG3] (SIGPROF): Likewise.
19923         [POSIX || XPG3] (SIGSYS): Likewise.
19924         [XPG3] (SIGTRAP): Likewise.
19925         [POSIX || XPG3] (SIGURG): Likewise.
19926         [POSIX || XPG3] (SIGVTALRM): Likewise.
19927         [POSIX || XPG3] (SIGXCPU): Likewise.
19928         [POSIX || XPG3] (SIGXFSZ): Likewise.
19929         [POSIX] (SA_SIGINFO): Expect.
19930         [XPG3] (siginfo_t): Do not expect type or contents.
19931         [POSIX] (si_pid): Do not expect element.
19932         [POSIX] (si_uid): Likewise.
19933         [POSIX] (si_addr): Likewise.
19934         [POSIX] (si_status): Likewise.
19935         [POSIX] (si_band): Likewise.
19936         [XPG4] (si_value): Likewise.
19937         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
19938         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
19939         [POSIX || XPG3] (ILL_ILLADR): Likewise.
19940         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
19941         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
19942         [POSIX || XPG3] (ILL_PRVREG): Likewise.
19943         [POSIX || XPG3] (ILL_COPROC): Likewise.
19944         [POSIX || XPG3] (ILL_BADSTK): Likewise.
19945         [POSIX || XPG3] (FPE_INTDIV): Likewise.
19946         [POSIX || XPG3] (FPE_INTOVF): Likewise.
19947         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
19948         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
19949         [POSIX || XPG3] (FPE_FLTUND): Likewise.
19950         [POSIX || XPG3] (FPE_FLTRES): Likewise.
19951         [POSIX || XPG3] (FPE_FLTINV): Likewise.
19952         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
19953         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
19954         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
19955         [POSIX || XPG3] (BUS_ADRALN): Likewise.
19956         [POSIX || XPG3] (BUS_ADRERR): Likewise.
19957         [POSIX || XPG3] (BUS_OBJERR): Likewise.
19958         [POSIX || XPG3] (CLD_EXITED): Likewise.
19959         [POSIX || XPG3] (CLD_KILLED): Likewise.
19960         [POSIX || XPG3] (CLD_DUMPED): Likewise.
19961         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
19962         [POSIX || XPG3] (CLD_STOPPED): Likewise.
19963         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
19964         [POSIX || XPG3] (POLL_IN): Likewise.
19965         [POSIX || XPG3] (POLL_OUT): Likewise.
19966         [POSIX || XPG3] (POLL_MSG): Likewise.
19967         [POSIX || XPG3] (POLL_ERR): Likewise.
19968         [POSIX || XPG3] (POLL_PRI): Likewise.
19969         [POSIX || XPG3] (POLL_HUP): Likewise.
19970         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
19971         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
19972         (SIG*): Do not allow.
19973         [XPG3] (si_*): Likewise.
19974         [XPG3] (SI_*): Likewise.
19975         [XPG3 || XPG4] (sigev_*): Likewise.
19976         [XPG3 || XPG4] (SIGEV_*): Likewise.
19977         [XPG3 || XPG4] (sival_*): Likewise.
19978         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
19979         [POSIX || XPG3] (BUS_*): Likewise.
19980         [POSIX || XPG3] (CLD_*): Likewise.
19981         [POSIX || XPG3] (FPE_*): Likewise.
19982         [POSIX || XPG3] (ILL_*): Likewise.
19983         [POSIX || XPG3] (POLL_*): Likewise.
19984         [POSIX || XPG3] (SEGV_*): Likewise.
19985         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
19986         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
19987         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
19988         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
19989         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
19990         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
19991         Specify type and value.
19992         (TVERSLEN): Likewise.
19993         (REGTYPE): Likewise.
19994         (AREGTYPE): Likewise.
19995         (LNKTYPE): Likewise.
19996         (SYMTYPE): Likewise.
19997         (CHRTYPE): Likewise.
19998         (BLKTYPE): Likewise.
19999         (DIRTYPE): Likewise.
20000         (FIFOTYPE): Likewise.
20001         (CONTTYPE): Likewise.
20002         (TSUID): Likewise.
20003         (TSGID): Likewise.
20004         (TSVTX): Likewise.
20005         (TUREAD): Likewise.
20006         (TUWRITE): Likewise.
20007         (TUEXEC): Likewise.
20008         (TGREAD): Likewise.
20009         (TGWRITE): Likewise.
20010         (TGEXEC): Likewise.
20011         (TOREAD): Likewise.
20012         (TOWRITE): Likewise.
20013         (TOEXEC): Likewise.
20014         [POSIX] (TSVTX): Expect constant.
20016 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
20018         * Makefile (tests): Change dependencies to ....
20019         (tests-special): ... additions to this variable.
20020         (tests): Depend on $(tests-special).
20021         * Makerules (check-abi-list): New variable.
20022         (check-abi): Depend on $(check-abi-list).
20023         [$(subdir) = elf] (tests-special): Add
20024         $(objpfx)check-abi-libc.out.
20025         [$(build-shared) = yes && subdir] (tests-special): Add
20026         $(check-abi-list).
20027         [$(build-shared) = yes && subdir] (tests): Do not depend on
20028         check-abi.
20029         * Rules (tests): Depend on $(tests-special).
20030         (xtests): Depend on $(xtests-special).
20031         * catgets/Makefile (tests): Change dependencies to ....
20032         (tests-special): ... additions to this variable.
20033         * conform/Makefile (tests): Change dependencies to ....
20034         (tests-special): ... additions to this variable.
20035         * elf/Makefile (tests): Change dependencies to ....
20036         (tests-special): ... additions to this variable.
20037         * grp/Makefile (tests): Change dependencies to ....
20038         (tests-special): ... additions to this variable.
20039         * iconv/Makefile (xtests): Change dependencies to ....
20040         (xtests-special): ... additions to this variable.
20041         * iconvdata/Makefile (tests): Change dependencies to ....
20042         (tests-special): ... additions to this variable.
20043         * intl/Makefile (tests): Change dependencies to ....
20044         (tests-special): ... additions to this variable.  Also add
20045         $(objpfx)tst-gettext.out.
20046         * io/Makefile (tests): Change dependencies to ....
20047         (tests-special): ... additions to this variable.
20048         * libio/Makefile (tests): Change dependencies to ....
20049         (tests-special): ... additions to this variable.
20050         * malloc/Makefile (tests): Change dependencies to ....
20051         (tests-special): ... additions to this variable.
20052         * misc/Makefile (tests): Change dependencies to ....
20053         (tests-special): ... additions to this variable.
20054         * nptl/Makefile (tests): Change dependencies to ....
20055         (tests-special): ... additions to this variable.
20056         * nptl_db/Makefile (tests): Change dependencies to ....
20057         (tests-special): ... additions to this variable.
20058         * posix/Makefile (tests): Change dependencies to ....
20059         (tests-special): ... additions to this variable.
20060         (xtests): Change dependencies to ....
20061         (xtests-special): ... additions to this variable.
20062         * resolv/Makefile (tests): Change dependencies to ....
20063         (tests-special): ... additions to this variable.
20064         (xtests): Change dependencies to ....
20065         (xtests-special): ... additions to this variable.
20066         * stdio-common/Makefile (tests): Change dependencies to ....
20067         (tests-special): ... additions to this variable.
20068         (do-tst-unbputc): Remove target.
20069         (do-tst-printf): Likewise.
20070         * stdlib/Makefile (tests): Change dependencies to ....
20071         (tests-special): ... additions to this variable.
20072         * string/Makefile (tests): Change dependencies to ....
20073         (tests-special): ... additions to this variable.
20074         * sysdeps/x86/Makefile (tests): Change dependencies to ....
20075         (tests-special): ... additions to this variable.
20077         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
20078         whole file.
20079         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
20080         whole file.
20081         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
20082         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
20084         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
20085         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
20086         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
20087         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
20088         * conform/data/libgen.h-data [XPG3]: Likewise.
20089         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
20090         * conform/data/ndbm.h-data [XPG3]: Likewise.
20091         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20092         * conform/data/netdb.h-data [XPG3]: Likewise.
20093         * conform/data/netinet/in.h-data [XPG3]: Likewise.
20094         * conform/data/poll.h-data [XPG3]: Likewise.
20095         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
20096         * conform/data/strings.h-data [XPG3]: Likewise.
20097         * conform/data/stropts.h-data [XPG3]: Likewise.
20098         * conform/data/sys/mman.h-data [XPG3]: Likewise.
20099         * conform/data/sys/resource.h-data [XPG3]: Likewise.
20100         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
20101         Likewise.
20102         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
20103         * conform/data/sys/time.h-data [XPG3]: Likewise.
20104         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
20105         * conform/data/sys/uio.h-data [XPG3]: Likewise.
20106         * conform/data/sys/un.h-data [XPG3]: Likewise.
20107         * conform/data/syslog.h-data [XPG3]: Likewise.
20108         * conform/data/ucontext.h-data [XPG3]: Likewise.
20109         * conform/data/utmpx.h-data [XPG3]: Likewise.
20110         * conform/data/varargs.h-data [UNIX98]: Enable file.
20112         * manual/Makefile (INSTALL_INFO): Remove variable setting.
20114         * math/libm-test.inc (struct test_f_f_data): Move expected results
20115         into structure for each rounding mode.
20116         (struct test_ff_f_data): Likewise.
20117         (struct test_ff_f_data_nexttoward): Likewise.
20118         (struct test_fi_f_data): Likewise.
20119         (struct test_fl_f_data): Likewise.
20120         (struct test_if_f_data): Likewise.
20121         (struct test_fff_f_data): Likewise.
20122         (struct test_c_f_data): Likewise.
20123         (struct test_f_f1_data): Likewise.
20124         (struct test_fF_f1_data): Likewise.
20125         (struct test_ffI_f1_data): Likewise.
20126         (struct test_c_c_data): Likewise.
20127         (struct test_cc_c_data): Likewise.
20128         (struct test_f_i_data): Likewise.
20129         (struct test_ff_i_data): Likewise.
20130         (struct test_f_l_data): Likewise.
20131         (struct test_f_L_data): Likewise.
20132         (struct test_fFF_11_data): Likewise.
20133         (RM_): New macro.
20134         (RM_FE_DOWNWARD): Likewise.
20135         (RM_FE_TONEAREST): Likewise.
20136         (RM_FE_TOWARDZERO): Likewise.
20137         (RM_FE_UPWARD): Likewise.
20138         (RUN_TEST_LOOP_f_f): Update references to expected results.
20139         (RUN_TEST_LOOP_2_f): Likewise.
20140         (RUN_TEST_LOOP_fff_f): Likewise.
20141         (RUN_TEST_LOOP_c_f): Likewise.
20142         (RUN_TEST_LOOP_f_f1): Likewise.
20143         (RUN_TEST_LOOP_fF_f1): Likewise.
20144         (RUN_TEST_LOOP_fI_f1): Likewise.
20145         (RUN_TEST_LOOP_ffI_f1): Likewise.
20146         (RUN_TEST_LOOP_c_c): Likewise.
20147         (RUN_TEST_LOOP_cc_c): Likewise.
20148         (RUN_TEST_LOOP_f_i): Likewise.
20149         (RUN_TEST_LOOP_f_i_tg): Likewise.
20150         (RUN_TEST_LOOP_ff_i_tg): Likewise.
20151         (RUN_TEST_LOOP_f_b): Likewise.
20152         (RUN_TEST_LOOP_f_b_tg): Likewise.
20153         (RUN_TEST_LOOP_f_l): Likewise.
20154         (RUN_TEST_LOOP_f_L): Likewise.
20155         (RUN_TEST_LOOP_fFF_11): Likewise.
20156         * math/gen-libm-test.pl (parse_args): Output four copies of
20157         expected results for each test.
20159         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
20160         (__ASSUME_UTIMES): Remove.
20161         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20162         (__ASSUME_UTIMES): Likewise.
20164         * math/gen-auto-libm-tests.c: Update comment on output format.
20165         (output_for_one_input_case): Generate before-rounding and
20166         after-rounding information as conditions on output flags not
20167         floating-point format.
20168         * math/auto-libm-test-out: Regenerated.
20169         * math/gen-libm-test.pl (cond_value): New function.
20170         (or_cond_value): Use cond_value.
20171         (generate_testfile): Handle conditional exceptions.
20173 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
20175         * math/libm-test.inc (max_valid_error): New variable.
20176         (init_max_error): Take new argument specifying whether function
20177         results are exactly determined.  Set max_valid_error and bound
20178         other variables for errors based on this argument.
20179         (set_max_error): Do not record results above max_valid_error.
20180         (check_float_internal): Only accept errors of up to 0.5ulps if
20181         also at most max_valid_error.
20182         (START): Take new argument EXACT and pass it to init_max_error.
20183         (acos_test): Update call to START.
20184         (acos_test_tonearest): Likewise.
20185         (acos_test_towardzero): Likewise.
20186         (acos_test_downward): Likewise.
20187         (acos_test_upward): Likewise.
20188         (acosh_test): Likewise.
20189         (asin_test): Likewise.
20190         (asin_test_tonearest): Likewise.
20191         (asin_test_towardzero): Likewise.
20192         (asin_test_downward): Likewise.
20193         (asin_test_upward): Likewise.
20194         (asinh_test): Likewise.
20195         (atan_test): Likewise.
20196         (atanh_test): Likewise.
20197         (atan2_test): Likewise.
20198         (cabs_test): Likewise.
20199         (cacos_test): Likewise.
20200         (cacosh_test): Likewise.
20201         (carg_test): Likewise.
20202         (casin_test): Likewise.
20203         (casinh_test): Likewise.
20204         (catan_test): Likewise.
20205         (catanh_test): Likewise.
20206         (cbrt_test): Likewise.
20207         (ccos_test): Likewise.
20208         (ccosh_test): Likewise.
20209         (ceil_test): Likewise.
20210         (cexp_test): Likewise.
20211         (cimag_test): Likewise.
20212         (clog_test): Likewise.
20213         (clog10_test): Likewise.
20214         (conj_test): Likewise.
20215         (copysign_test): Likewise.
20216         (cos_test): Likewise.
20217         (cos_test_tonearest): Likewise.
20218         (cos_test_towardzero): Likewise.
20219         (cos_test_downward): Likewise.
20220         (cos_test_upward): Likewise.
20221         (cosh_test): Likewise.
20222         (cosh_test_tonearest): Likewise.
20223         (cosh_test_towardzero): Likewise.
20224         (cosh_test_downward): Likewise.
20225         (cosh_test_upward): Likewise.
20226         (cpow_test): Likewise.
20227         (cproj_test): Likewise.
20228         (creal_test): Likewise.
20229         (csin_test): Likewise.
20230         (csinh_test): Likewise.
20231         (csqrt_test): Likewise.
20232         (ctan_test): Likewise.
20233         (ctan_test_tonearest): Likewise.
20234         (ctan_test_towardzero): Likewise.
20235         (ctan_test_downward): Likewise.
20236         (ctan_test_upward): Likewise.
20237         (ctanh_test): Likewise.
20238         (ctanh_test_tonearest): Likewise.
20239         (ctanh_test_towardzero): Likewise.
20240         (ctanh_test_downward): Likewise.
20241         (ctanh_test_upward): Likewise.
20242         (erf_test): Likewise.
20243         (erfc_test): Likewise.
20244         (exp_test): Likewise.
20245         (exp_test_tonearest): Likewise.
20246         (exp_test_towardzero): Likewise.
20247         (exp_test_downward): Likewise.
20248         (exp_test_upward): Likewise.
20249         (exp10_test): Likewise.
20250         (exp10_test_tonearest): Likewise.
20251         (exp10_test_towardzero): Likewise.
20252         (exp10_test_downward): Likewise.
20253         (exp10_test_upward): Likewise.
20254         (pow10_test): Likewise.
20255         (exp2_test): Likewise.
20256         (expm1_test): Likewise.
20257         (expm1_test_tonearest): Likewise.
20258         (expm1_test_towardzero): Likewise.
20259         (expm1_test_downward): Likewise.
20260         (expm1_test_upward): Likewise.
20261         (fabs_test): Likewise.
20262         (fdim_test): Likewise.
20263         (floor_test): Likewise.
20264         (fma_test): Likewise.
20265         (fma_test_towardzero): Likewise.
20266         (fma_test_downward): Likewise.
20267         (fma_test_upward): Likewise.
20268         (fmax_test): Likewise.
20269         (fmin_test): Likewise.
20270         (fmod_test): Likewise.
20271         (fpclassify_test): Likewise.
20272         (frexp_test): Likewise.
20273         (hypot_test): Likewise.
20274         (ilogb_test): Likewise.
20275         (isfinite_test): Likewise.
20276         (finite_test): Likewise.
20277         (isgreater_test): Likewise.
20278         (isgreaterequal_test): Likewise.
20279         (isinf_test): Likewise.
20280         (isless_test): Likewise.
20281         (islessequal_test): Likewise.
20282         (islessgreater_test): Likewise.
20283         (isnan_test): Likewise.
20284         (isnormal_test): Likewise.
20285         (issignaling_test): Likewise.
20286         (isunordered_test): Likewise.
20287         (j0_test): Likewise.
20288         (j1_test): Likewise.
20289         (jn_test): Likewise.
20290         (ldexp_test): Likewise.
20291         (lgamma_test): Likewise.
20292         (gamma_test): Likewise.
20293         (lrint_test): Likewise.
20294         (lrint_test_tonearest): Likewise.
20295         (lrint_test_towardzero): Likewise.
20296         (lrint_test_downward): Likewise.
20297         (lrint_test_upward): Likewise.
20298         (llrint_test): Likewise.
20299         (llrint_test_tonearest): Likewise.
20300         (llrint_test_towardzero): Likewise.
20301         (llrint_test_downward): Likewise.
20302         (llrint_test_upward): Likewise.
20303         (log_test): Likewise.
20304         (log10_test): Likewise.
20305         (log1p_test): Likewise.
20306         (log2_test): Likewise.
20307         (logb_test): Likewise.
20308         (logb_test_downward): Likewise.
20309         (lround_test): Likewise.
20310         (llround_test): Likewise.
20311         (modf_test): Likewise.
20312         (nearbyint_test): Likewise.
20313         (nextafter_test): Likewise.
20314         (nexttoward_test): Likewise.
20315         (pow_test): Likewise.
20316         (pow_test_tonearest): Likewise.
20317         (pow_test_towardzero): Likewise.
20318         (pow_test_downward): Likewise.
20319         (pow_test_upward): Likewise.
20320         (remainder_test): Likewise.
20321         (drem_test): Likewise.
20322         (remainder_test_tonearest): Likewise.
20323         (drem_test_tonearest): Likewise.
20324         (remainder_test_towardzero): Likewise.
20325         (drem_test_towardzero): Likewise.
20326         (remainder_test_downward): Likewise.
20327         (drem_test_downward): Likewise.
20328         (remainder_test_upward): Likewise.
20329         (drem_test_upward): Likewise.
20330         (remquo_test): Likewise.
20331         (rint_test): Likewise.
20332         (rint_test_tonearest): Likewise.
20333         (rint_test_towardzero): Likewise.
20334         (rint_test_downward): Likewise.
20335         (rint_test_upward): Likewise.
20336         (round_test): Likewise.
20337         (scalb_test): Likewise.
20338         (scalbn_test): Likewise.
20339         (scalbln_test): Likewise.
20340         (signbit_test): Likewise.
20341         (sin_test): Likewise.
20342         (sin_test_tonearest): Likewise.
20343         (sin_test_towardzero): Likewise.
20344         (sin_test_downward): Likewise.
20345         (sin_test_upward): Likewise.
20346         (sincos_test): Likewise.
20347         (sinh_test): Likewise.
20348         (sinh_test_tonearest): Likewise.
20349         (sinh_test_towardzero): Likewise.
20350         (sinh_test_downward): Likewise.
20351         (sinh_test_upward): Likewise.
20352         (sqrt_test): Likewise.
20353         (sqrt_test_tonearest): Likewise.
20354         (sqrt_test_towardzero): Likewise.
20355         (sqrt_test_downward): Likewise.
20356         (sqrt_test_upward): Likewise.
20357         (tan_test): Likewise.
20358         (tan_test_tonearest): Likewise.
20359         (tan_test_towardzero): Likewise.
20360         (tan_test_downward): Likewise.
20361         (tan_test_upward): Likewise.
20362         (tanh_test): Likewise.
20363         (tgamma_test): Likewise.
20364         (trunc_test): Likewise.
20365         (y0_test): Likewise.
20366         (y1_test): Likewise.
20367         (yn_test): Likewise.
20368         (significand_test): Likewise.
20370         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
20371         individual tests in comment.
20372         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
20373         (prev_max_error): New variable.
20374         (prev_real_max_error): Likewise.
20375         (prev_imag_max_error): Likewise.
20376         (compare_ulp_data): Don't refer to test names in comment.
20377         (find_test_ulps): Remove function.
20378         (find_function_ulps): Likewise.
20379         (find_complex_function_ulps): Likewise.
20380         (init_max_error): Take function name as argument.  Look up ulps
20381         for that function.
20382         (print_ulps): Remove function.
20383         (print_max_error): Use prev_max_error instead of calling
20384         find_function_ulps.
20385         (print_complex_max_error): Use prev_real_max_error and
20386         prev_imag_max_error instead of calling find_complex_function_ulps.
20387         (check_float_internal): Take max_ulp parameter instead of calling
20388         find_test_ulps.  Don't call print_ulps.
20389         (check_float): Update call to check_float_internal.
20390         (check_complex): Update calls to check_float_internal.
20391         (START): Pass argument to init_max_error.
20392         * math/gen-libm-test.pl (%results): Don't include "kind"
20393         information.
20394         (parse_ulps): Don't handle ulps of individual tests.
20395         (print_ulps_file): Likewise.
20396         (output_ulps): Likewise.
20397         * math/README.libm-test: Update.
20398         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
20399         individual tests.
20400         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
20401         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
20402         * sysdeps/arm/libm-test-ulps: Likewise.
20403         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
20404         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
20405         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
20406         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
20407         * sysdeps/microblaze/libm-test-ulps: Likewise.
20408         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
20409         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20410         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20411         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
20412         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20413         * sysdeps/sh/libm-test-ulps: Likewise.
20414         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20415         * sysdeps/tile/libm-test-ulps: Likewise.
20416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20418 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
20420         * math/libm-test.inc (print_complex_max_error): Check separately
20421         whether real and imaginary errors are within allowed range and
20422         pass 0 to print_complex_function_ulps instead of value within
20423         allowed range.
20425 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20427         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
20428         formatting.
20429         (get_handles_fopen): Likewise.
20430         (do_write_test): Likewise.
20432         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
20434         * libio/fileops.c (do_ftell): Use cached offset when
20435         available.
20436         * libio/iofwide.c (do_ftell_wide): Likewise.
20437         * libio/iofdopen.c (_IO_new_fdopen): Don't use
20438         _IO_file_attach.
20439         * libio/wfileops.c (_IO_fwide): Don't cache offset.
20441         [BZ #16532]
20442         * libio/libioP.h (get_file_offset): New function.
20443         * libio/fileops.c (get_file_offset): Likewise.
20444         (do_ftell): Likewise.
20445         (_IO_new_file_seekoff): Split out ftell logic.
20446         * libio/wfileops.c (do_ftell_wide): Likewise.
20447         (_IO_wfile_seekoff): Split out ftell logic.
20448         * libio/tst-ftell-active-handler.c: New test case.
20449         * libio/Makefile (tests): Add it.
20451 2014-03-03  Roland McGrath  <roland@hack.frob.com>
20453         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
20454         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
20456 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20458         [BZ #16639]
20459         * nscd/connections.c (nscd_init): Call do_exit.
20460         (start_threads): Call do_exit and notify_parent.
20461         (begin_drop_privileges): Call do_exit.
20462         (finish_drop_privileges): Likewise.
20463         * nscd/selinux.c (preserve_capabilities): Likewise.
20464         (install_real_capabilities): Likewise.
20465         (nscd_selinux_enabled): Likewise.
20466         (avc_create_thread): Likewise.
20467         (avc_alloc_lock): Likewise.
20468         (nscd_avc_init): Likewise.
20469         * nscd/nscd.c (parent_fd): New static variable.
20470         (main): Create a pipe between parent and child processes.
20471         Skip closing parent_fd.
20472         (monitor_child): New function.
20473         (do_exit): Likewise.
20474         (notify_parent): Likewise.
20475         * nscd/nscd.h (notify_parent): Likewise.
20476         (do_exit): Likewise.
20478 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
20480         * malloc/malloc.c (__libc_calloc): Revert last change.
20482 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20484         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20486 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20488         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
20489         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
20490         implementation.
20491         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20492         (__libc_ifunc_impl_list): Likewise.
20493         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
20494         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
20495         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
20496         * string/strrchr.c: Define STRRCHR.
20498 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
20500         * benchtest/bench-strtok.c (simple_strtok): Delete.
20501         (strtok_string): Use as benchmark.
20502         * string/strtok (STRTOK): New macro.
20504 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
20506         * manual/threads.texi: Add header and standard comments to all
20507         functions.
20509         * elf/dl-lookup.c (check_match): New function.
20510         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
20511         (do_lookup_x): Remove nested function check_match. Use non-nested
20512         function check_match.
20514 2014-02-28  Roland McGrath  <roland@hack.frob.com>
20516         * csu/Makefile (generated, before-compile): Use += rather than =.
20517         * catgets/Makefile (generated, generated-dirs): Likewise.
20518         * debug/Makefile (generated): Likewise.
20519         * dlfcn/Makefile (generated): Likewise.
20520         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
20521         * iconvdata/Makefile (before-compile, generated): Likewise.
20522         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
20523         * libio/Makefile (generated): Likewise.
20524         * malloc/Makefile (generated): Likewise.
20525         * manual/Makefile (generated, generated-dirs): Likewise.
20526         * misc/Makefile (generated): Likewise.
20527         * posix/Makefile (generated): Likewise.
20528         * resolv/Makefile (generated): Likewise.
20529         * sunrpc/Makefile (generated, generated-dirs): Likewise.
20530         * timezone/Makefile (generated, generated-dirs): Likewise.
20532         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
20534 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20536         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20537         power8 implementation.
20538         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
20539         file: POWER8 llround ifunc implementation.
20540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
20541         (__lllround): Add POWER8 implementation.
20542         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
20543         POWER8 llround implementation.
20545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
20546         power8 implementation.
20547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
20548         file: POWER8 llrint ifunc implementation.
20549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
20550         Add POWER8 implementation.
20551         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
20552         POWER8 llrint implementation.
20554         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
20555         power8 implementation.
20556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
20557         file: POWER8 finite ifunc implementation.
20558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
20559         Add POWER8 implementation.
20560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
20561         Likewise.
20562         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
20563         POWER8 finite implementation.
20564         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
20566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
20567         power8 implementation.
20568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
20569         file: POWER8 isinf ifunc implementation.
20570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
20571         POWER8 implementation.
20572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
20573         Likewise.
20574         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
20575         isinf implementation.
20576         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
20578         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
20579         (INIT_ARCH): Add hwcap2 initialization.
20580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20581         power8 implementation.
20582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
20583         file: POWER8 isnan ifunc implementation.
20584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
20585         POWER8 implementation.
20586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
20587         Likewise.
20588         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
20589         isnan implementation.
20590         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
20592 2014-02-27  Joey Ye  <joey.ye@arm.com>
20594         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
20595         (_FP_NANFRAC_Q): Set to zero.
20597 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20599         [BZ #16623]
20600         * math/auto-libm-test-in: New test inputs.
20601         * math/auto-libm-test-out: Regenerate.
20602         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
20603         and DA.
20604         (__cos): Likewise.
20605         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20607 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
20609         * scripts/evaluate-test.sh: Take new argument indicating whether
20610         failure is expected.
20611         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
20612         indicating whether failure is expected.
20613         * conform/Makefile (test-xfail-run-conformtest): New variable.
20614         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
20615         level.
20616         * posix/Makefile (test-xfail-annexc): New variable.
20617         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
20619 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
20621         * argp/Makefile: Include Makeconfig immediately after defining
20622         subdir.
20623         * assert/Makefile: Likewise.
20624         * benchtests/Makefile: Likewise.
20625         * catgets/Makefile: Likewise.
20626         * conform/Makefile: Likewise.
20627         * crypt/Makefile: Likewise.
20628         * csu/Makefile: Likewise.
20629         (all): Remove target.
20630         * ctype/Makefile: Include Makeconfig immediately after defining
20631         subdir.
20632         * debug/Makefile: Likewise.
20633         * dirent/Makefile: Likewise.
20634         * dlfcn/Makefile: Likewise.
20635         * gmon/Makefile: Likewise.
20636         * gnulib/Makefile: Likewise.
20637         * grp/Makefile: Likewise.
20638         * gshadow/Makefile: Likewise.
20639         * hesiod/Makefile: Likewise.
20640         * hurd/Makefile: Likewise.
20641         (all): Remove target.
20642         * iconvdata/Makefile: Include Makeconfig immediately after
20643         defining subdir.
20644         * inet/Makefile: Likewise.
20645         * intl/Makefile: Likewise.
20646         * io/Makefile: Likewise.
20647         * libio/Makefile: Likewise.
20648         (all): Remove target.
20649         * locale/Makefile: Include Makeconfig immediately after defining
20650         subdir.
20651         * login/Makefile: Likewise.
20652         * mach/Makefile: Likewise.
20653         (all): Remove target.
20654         * malloc/Makefile: Include Makeconfig immediately after defining
20655         subdir.
20656         (all): Remove target.
20657         * manual/Makefile: Include Makeconfig immediately after defining
20658         subdir.
20659         * math/Makefile: Likewise.
20660         * misc/Makefile: Likewise.
20661         * nis/Makefile: Likewise.
20662         * nss/Makefile: Likewise.
20663         * po/Makefile: Likewise.
20664         (all): Remove target.
20665         * posix/Makefile: Include Makeconfig immediately after defining
20666         subdir.
20667         * pwd/Makefile: Likewise.
20668         * resolv/Makefile: Likewise.
20669         * resource/Makefile: Likewise.
20670         * rt/Makefile: Likewise.
20671         * setjmp/Makefile: Likewise.
20672         * shadow/Makefile: Likewise.
20673         * signal/Makefile: Likewise.
20674         * socket/Makefile: Likewise.
20675         * soft-fp/Makefile: Likewise.
20676         * stdio-common/Makefile: Likewise.
20677         * stdlib/Makefile: Likewise.
20678         * streams/Makefile: Likewise.
20679         * string/Makefile: Likewise.
20680         * sunrpc/Makefile: Likewise.
20681         (all): Remove target.
20682         * sysvipc/Makefile: Include Makeconfig immediately after defining
20683         subdir.
20684         * termios/Makefile: Likewise.
20685         * time/Makefile: Likewise.
20686         * timezone/Makefile: Likewise.
20687         (all): Remove target.
20688         * wcsmbs/Makefile: Include Makeconfig immediately after defining
20689         subdir.
20690         * wctype/Makefile: Likewise.
20692 2014-02-26  Steve Ellcey  <sellcey@mips.com>
20694         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
20695         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
20696         (libc_feholdexcept_setround_mips): Ditto.
20697         (libc_feholdsetround): New.
20698         (libc_feholdsetroundf): New.
20699         (libc_feholdsetroundl): New.
20700         (libc_feupdateenv_test_mips): New.
20701         (libc_feupdateenv_test): New.
20702         (libc_feupdateenv_testf): New.
20703         (libc_feupdateenv_testl): New.
20704         (libc_feresetround): New.
20705         (libc_feresetroundf): New.
20706         (libc_feresetroundl): New.
20707         (libc_fetestexcept_mips): New.
20708         (libc_fetestexcept): New.
20709         (libc_fetestexceptf): New.
20710         (libc_fetestexceptl): New.
20711         (HAVE_RM_CTX): New.
20712         (libc_feholdexcept_setround_mips_ctx): New.
20713         (libc_feholdexcept_setround_ctx): New.
20714         (libc_feholdexcept_setroundf_ctx): New.
20715         (libc_feholdexcept_setroundl_ctx): New.
20716         (libc_fesetenv_mips_ctx): New.
20717         (libc_fesetenv_ctx): New.
20718         (libc_fesetenv_ctxf): New.
20719         (libc_fesetenv_ctxl): New.
20720         (libc_feupdateenv_mips_ctx): New.
20721         (libc_feupdateenv_ctx): New.
20722         (libc_feupdateenvf_ctx): New.
20723         (libc_feupdateenvl_ctx): New.
20724         (libc_feholdsetround_mips_ctx): New.
20725         (libc_feholdsetround_ctx): New.
20726         (libc_feholdsetroundf_ctx): New.
20727         (libc_feholdsetroundl_ctx): New.
20728         (libc_feresetround_mips_ctx): New.
20729         (libc_feresetround_ctx): New.
20730         (libc_feresetroundf_ctx): New.
20731         (libc_feresetroundl_ctx): New.
20733 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
20735         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
20737         * manual/ipc.texi: New file.
20738         * manual/Makefile (chapters): Add ipc.
20739         * manual/job.texi: Add "Inter-Process Communication" to next.
20740         * manual/process.texi: Add "Inter-Process Communication" to prev.
20742 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20746 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
20748         * malloc/malloc.c (__libc_calloc): Simplify implementation.
20750         * manual/arith.texi: Fix spaces after sentences.
20751         * manual/charset.texi: Likewise.
20752         * manual/errno.texi: Likewise.
20753         * manual/install.texi: Likewise.
20754         * manual/llio.texi: Likewise.
20755         * manual/locale.texi: Likewise.
20756         * manual/maint.texi: Likewise.
20757         * manual/math.texi: Likewise.
20758         * manual/memory.texi: Likewise.
20759         * manual/message.texi: Likewise.
20760         * manual/probes.texi: Likewise.
20761         * manual/resource.texi: Likewise.
20762         * manual/signal.texi: Likewise.
20763         * manual/socket.texi: Likewise.
20764         * manual/stdio.texi: Likewise.
20765         * manual/string.texi: Likewise.
20766         * manual/time.texi: Likewise.
20767         * manual/users.texi: Likewise.
20769 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
20771         [BZ #16632]
20772         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
20773         _DEFAULT_SOURCE is defined.
20775 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
20776             Carlos O'Donell  <carlos@redhat.com>
20778         [BZ #16613]
20779         * elf/dl-tls.c (_dl_count_modids): New function.
20780         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
20781         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
20782         audit library and increment generation counter.
20783         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
20784         * elf/tst-audit9.c: New file.
20785         * elf/tst-auditmod9a.c: New file.
20786         * elf/tst-auditmod9b.c: New file.
20787         * elf/Makefile: Add rules to build and run tst-audit9.
20789 2014-02-25  Florian Weimer  <fweimer@redhat.com>
20791         [BZ #15347]
20792         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
20794 2014-02-25  Will Newton  <will.newton@linaro.org>
20796         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
20797         (__longjmp): Restore sp and lr before restoring callee
20798         saved registers.  Add longjmp and longjmp_target
20799         SystemTap probe point.
20800         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
20801         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
20802         Define to zero to match jmpbuf layout.
20803         * sysdeps/arm/setjmp.S: Include stap-probe.h.
20804         (__sigsetjmp): Save sp and lr before saving callee
20805         saved registers.  Add setjmp SystemTap probe point.
20807 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20809         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20811 2014-02-24  Andreas Schwab  <schwab@suse.de>
20813         [BZ #15804]
20814         * elf/pldd.c (wait_for_ptrace_stop): New function.
20815         (main): Call it after attaching.
20817 2014-02-22  Roland McGrath  <roland@hack.frob.com>
20819         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
20820         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
20821         Versions files is now verboten.
20822         * hurd/Versions (libc: GLIBC_2.0):
20823         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
20824         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
20825         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
20826         * mach/Versions: Likewise.
20828         * csu/Versions: Remove unused %include.
20829         * resolv/Versions: Likewise.
20831 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
20833         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
20834         ($(objpfx)check-local-headers.out): Likewise.
20835         ($(objpfx)begin-end-check.out): Likewise.
20836         * Makerules (check-abi-%.out): Likewise.
20837         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
20838         ($(objpfx)test2.cat): Likewise.
20839         ($(objpfx)de/libc.cat): Likewise.
20840         ($(objpfx)test-gencat.out): Likewise.
20841         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
20842         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
20843         ($(objpfx)noload-mem): Likewise.
20844         ($(objpfx)tst-pathopt.out): Likewise.
20845         ($(objpfx)tst-rtld-load-self.out): Likewise.
20846         ($(objpfx)tst-array1-cmp.out): Likewise.
20847         ($(objpfx)tst-array1-static-cmp.out): Likewise.
20848         ($(objpfx)tst-array2-cmp.out): Likewise.
20849         ($(objpfx)tst-array3-cmp.out): Likewise.
20850         ($(objpfx)tst-array4-cmp.out): Likewise.
20851         ($(objpfx)tst-array5-cmp.out): Likewise.
20852         ($(objpfx)tst-array5-static-cmp.out): Likewise.
20853         ($(objpfx)check-textrel.out): Likewise.
20854         ($(objpfx)check-execstack.out): Likewise.
20855         ($(objpfx)check-localplt.out): Likewise.
20856         ($(objpfx)order2-cmp.out): Likewise.
20857         ($(objpfx)tst-leaks1-mem): Likewise.
20858         ($(objpfx)tst-leaks1-static-mem): Likewise.
20859         ($(objpfx)tst-initorder-cmp.out): Likewise.
20860         ($(objpfx)tst-initorder2-cmp.out): Likewise.
20861         ($(objpfx)tst-unused-dep.out): Likewise.
20862         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
20863         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
20864         * iconv/Makefile (test-iconvconfig): Likewise.
20865         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
20866         ($(objpfx)iconv-test.out): Likewise.
20867         ($(objpfx)tst-tables.out): Likewise.
20868         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
20869         ($(objpfx)tst-gettext.out): Likewise.
20870         ($(objpfx)tst-translit.out): Likewise.
20871         ($(objpfx)tst-gettext2.out): Likewise.
20872         ($(objpfx)tst-gettext4.out): Likewise.
20873         ($(objpfx)tst-gettext6.out): Likewise.
20874         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
20875         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
20876         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
20877         ($(objpfx)tst-fopenloc-mem.out): Likewise.
20878         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
20879         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
20880         * posix/Makefile ($(objpfx)globtest.out): Likewise.
20881         ($(objpfx)wordexp-tst.out): Likewise.
20882         ($(objpfx)annexc.out): Likewise.
20883         ($(objpfx)tst-fnmatch-mem): Likewise.
20884         ($(objpfx)bug-regex2-mem): Likewise.
20885         ($(objpfx)bug-regex14-mem): Likewise.
20886         ($(objpfx)bug-regex21-mem): Likewise.
20887         ($(objpfx)bug-regex31-mem): Likewise.
20888         ($(objpfx)tst-vfork3-mem): Likewise.
20889         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
20890         ($(objpfx)tst-pcre-mem): Likewise.
20891         ($(objpfx)tst-boost-mem): Likewise.
20892         ($(objpfx)tst-getconf.out): Likewise.
20893         ($(objpfx)bug-ga2-mem): Likewise.
20894         ($(objpfx)bug-glob2-mem): Likewise.
20895         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
20896         ($(objpfx)mtrace-tst-leaks2): Likewise.
20897         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
20898         ($(objpfx)tst-printf.out): Likewise.
20899         ($(objpfx)tst-setvbuf1.out): Likewise.
20900         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
20901         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
20902         ($(objpfx)tst-fmtmsg.out): Likewise.
20903         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
20904         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
20906         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
20907         * bits/sigaction.h [__USE_MISC]: Likewise.
20908         * bits/waitstatus.h: Update #endif comments.
20909         * ctype/ctype.h: Likewise.
20910         * dirent/dirent.h: Likewise.
20911         [__USE_MISC]: Remove redundant conditionals.
20912         * grp/grp.h: Update #endif comments.
20913         [__USE_GNU]: Remove redundant conditionals.
20914         [__USE_MISC]: Likewise.
20915         * inet/netinet/in.h [__USE_GNU]: Likewise.
20916         * io/sys/stat.h [__USE_MISC]: Likewise.
20917         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
20918         * libio/bits/stdio.h: Update #endif comments.
20919         [__USE_MISC]: Remove redundant conditionals.
20920         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
20921         * libio/stdio.h: Update #endif comments.
20922         [__USE_MISC]: Remove redundant conditionals.
20923         * math/bits/math-finite.h [__USE_MISC]: Likewise.
20924         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
20925         * math/math.h: Update #else and #endif comments.
20926         [__USE_MISC]: Remove redundant conditionals.
20927         * misc/sys/uio.h: Update #endif comments.
20928         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
20929         * posix/glob.h [__USE_MISC]: Likewise.
20930         * posix/sys/types.h: Update #endif comments.
20931         [__USE_MISC]: Remove redundant conditionals.
20932         * posix/sys/wait.h: Update #endif comments.
20933         [__USE_MISC]: Remove redundant conditionals.
20934         * posix/unistd.h: Update #endif comments.
20935         [__USE_MISC]: Remove redundant conditionals.
20936         * pwd/pwd.h [__USE_GNU]: Likewise.
20937         [__USE_MISC]: Likewise.
20938         * resolv/netdb.h [__USE_GNU]: Likewise.
20939         * signal/signal.h: Update #endif comments.
20940         [__USE_MISC]: Remove redundant conditionals.
20941         * stdlib/stdlib.h: Update #else and #endif comments.
20942         [__USE_MISC]: Remove redundant conditionals.
20943         [__USE_GNU]: Likewise.
20944         * string/bits/string2.h [__USE_MISC]: Likewise.
20945         * string/string.h: Update #endif comments.
20946         [__USE_MISC]: Remove redundant conditionals.
20947         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
20948         Likewise.
20949         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
20950         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
20951         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
20952         Likewise.
20953         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
20954         Likewise.
20955         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
20956         comments.
20957         [__USE_MISC]: Remove redundant conditionals.
20958         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
20959         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
20960         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
20961         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
20962         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
20963         Likewise.
20964         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
20965         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
20966         Likewise.
20967         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
20968         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
20969         Likewise.
20970         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
20971         Likewise.
20972         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
20973         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
20974         Likewise.
20975         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
20976         Likewise.
20977         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
20978         * sysdeps/x86/bits/string.h: Update #endif comments.
20979         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
20980         conditionals.
20981         * time/sys/time.h: Update #endif comments.
20982         * time/time.h: Likewise.
20983         [__USE_MISC]: Remove redundant conditionals.
20985 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
20987         [BZ #16600]
20988         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
20990 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
20992         * Versions.def (librt): Add GLIBC_2.17.
20994 2014-02-21  Adam Conrad  <adconrad@0c3.net>
20996         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
20997         synonym for _SYS_AUXV_H to allow direct inclusion.
20998         * sysdeps/sparc/bits/hwcap.h: Likewise.
20999         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
21000         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
21001         * sysdeps/sparc/sysdep.h: Likewise.
21003 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21005         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
21007 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21009         * benchtests/bench-strrchr.c: Print length instead of position.
21011 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
21013         [BZ #16611]
21014         * sysdeps/unix/sysv/linux/kernel-features.h
21015         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
21016         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
21017         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
21018         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
21019         Likewise.
21020         [__i386__ || __powerpc__ || __sh__ || __sparc__]
21021         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21022         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
21023         (__ASSUME_SENDMMSG): Define instead of using previous
21024         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
21025         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21026         (__ASSUME_SENDMMSG_SYSCALL): Define.
21027         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21028         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
21029         Likewise.
21030         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21031         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21032         Likewise.
21033         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21034         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21035         Likewise.
21036         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
21037         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21038         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21039         [__ASSUME_SENDMMSG]: Change conditionals to
21040         [__ASSUME_SENDMMSG_SOCKETCALL].
21041         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21042         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
21043         Define.
21044         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21045         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
21046         Likewise.
21047         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
21048         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
21049         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
21050         [!__ASSUME_SENDMMSG]: Change conditional to
21051         [!__ASSUME_SENDMMSG_SOCKETCALL].
21052         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21053         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
21054         Define.
21056         [BZ #16610]
21057         * sysdeps/unix/sysv/linux/kernel-features.h
21058         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
21059         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
21060         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
21061         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
21062         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
21063         [__i386__ || __sparc__]
21064         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21065         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
21066         (__ASSUME_RECVMMSG): Define instead of using previous
21067         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
21068         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21069         (__ASSUME_RECVMMSG_SYSCALL): Define.
21070         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21071         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21072         Likewise.
21073         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21074         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21075         Likewise.
21076         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21077         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21078         Likewise.
21079         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
21080         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21081         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21082         [__ASSUME_RECVMMSG]: Change condition to
21083         [__ASSUME_RECVMMSG_SOCKETCALL].
21084         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21085         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21086         Define.
21087         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
21088         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21089         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
21090         Likewise.
21091         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
21092         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
21093         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
21094         [!__ASSUME_RECVMMSG]: Change condition to
21095         [!__ASSUME_RECVMMSG_SOCKETCALL].
21096         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21097         (__ASSUME_RECVMMSG_SYSCALL): Define.
21099         [BZ #16609]
21100         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
21101         __powerpc__ || __s390__ || __sh__ || __sparc__]
21102         (__ASSUME_SOCKETCALL): Define.
21103         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
21104         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
21105         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
21106         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
21107         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
21108         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
21109         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
21110         (__ASSUME_ACCEPT4): Define instead of using previous
21111         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
21112         __powerpc__ || __sparc__ || __s390__)] condition.
21113         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
21114         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21115         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
21116         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21117         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21118         [!__ASSUME_ACCEPT4]: Change condition to
21119         [!__ASSUME_ACCEPT4_SOCKETCALL].
21120         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21121         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
21122         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
21123         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21124         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
21125         __ASSUME_ACCEPT4_SYSCALL.
21126         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
21127         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
21128         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21129         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
21130         __ASSUME_ACCEPT4_SYSCALL.
21131         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
21132         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
21133         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
21134         [__ASSUME_ACCEPT4]: Change condition to
21135         [__ASSUME_ACCEPT4_SOCKETCALL].
21136         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21137         (__ASSUME_SOCKETCALL): Define.
21138         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
21139         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21140         (__ASSUME_SOCKETCALL): Define.
21141         (__ASSUME_ACCEPT4): Remove.
21142         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
21143         Define.
21144         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21145         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
21146         Likewise.
21147         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21148         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
21150         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
21151         macro.
21152         (HWCAP_ARM_LPAE): Likewise.
21153         (HWCAP_ARM_EVTSTRM): Likewise.
21154         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
21155         Add vpfd32, lpae and evtstrm.
21156         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
21157         Increase to 22.
21159 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
21161         * math/auto-libm-test-in: Add tests of clog10.
21162         * math/auto-libm-test-out: Regenerated.
21163         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
21164         * sysdeps/i386/fpu/libm-test-ulps: Update.
21165         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21167 2014-02-18  Andreas Schwab  <schwab@suse.de>
21169         [BZ #16574]
21170         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
21171         Store non-zero if the second buffer was newly allocated.
21172         (send_dg): Likewise.
21173         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
21174         to send_vc and send_dg.
21175         (res_nsend): Pass NULL for ansp2_malloced.
21176         * resolv/res_query.c (__libc_res_nquery): Add parameter
21177         answerp2_malloced and pass it down to __libc_res_nsend.
21178         (res_nquery): Pass additional NULL to __libc_res_nquery.
21179         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
21180         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
21181         second answer buffer if answerp2_malloced was set.
21182         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
21183         (__libc_res_nquerydomain): Add parameter
21184         answerp2_malloced and pass it down to __libc_res_nquery.
21185         (res_nquerydomain): Pass additional NULL to
21186         __libc_res_nquerydomain.
21187         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
21188         additional NULL to __libc_res_nsend and __libc_res_nquery.
21189         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
21190         additional NULL to __libc_res_nsearch.
21191         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
21192         parameter of __libc_res_nsearch to check for separately allocated
21193         second buffer.
21194         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
21195         __libc_res_nquery.
21196         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
21197         additional NULL to __libc_res_nquery.
21198         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
21199         __libc_res_nsearch.
21200         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
21201         * include/resolv.h: Update prototypes of __libc_res_nquery,
21202         __libc_res_nsearch, __libc_res_nsend.
21204 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
21206         * math/auto-libm-test-in: Add tests of fma.
21207         * math/auto-libm-test-out: Regenerated.
21208         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
21209         (fma_towardzero_test_data): Likewise.
21210         (fma_downward_test_data): Likewise.
21211         (fma_upward_test_data): Likewise.
21212         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
21213         mpc_mode.
21214         (rounding_modes): Add values for new field.
21215         (func_calc_method): Add value mpfr_fff_f.
21216         (func_calc_desc): Add mpfr_fff_f union field.
21217         (test_function): Add field exact_args.
21218         (FUNC): Add macro argument EXACT_ARGS.
21219         (FUNC_mpfr_f_f): Update call to FUNC.
21220         (FUNC_mpfr_f_f): Likewise.
21221         (FUNC_mpfr_ff_f): Likewise.
21222         (FUNC_mpfr_if_f): Likewise.
21223         (FUNC_mpc_c_f): Likewise.
21224         (FUNC_mpc_c_c): Likewise.
21225         (test_functions): Add fma.  Update calls to FUNC.
21226         (handle_input_arg): Add argument exact_args.
21227         (add_test): Update call to handle_input_arg.
21228         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
21229         (output_for_one_input_case): Update call to calc_generic_results.
21230         Recalculate exact zero results in each rounding mode.
21232         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
21233         non-negative before setting low bit.
21234         * math/auto-libm-test-in: Mark one asin test possibly having
21235         spurious underflow.
21236         * math/auto-libm-test-out: Regenerated.
21237         * sysdeps/i386/fpu/libm-test-ulps: Update.
21238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21240 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
21242         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
21243         * sysdeps/unix/sysv/linux/microblaze: Move directory from
21244         ports/sysdeps/unix/sysv/linux/microblaze.
21245         * README: Add missing listing for microblaze*-*-linux-gnu.
21247 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
21249         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
21250         duplicate code
21252 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
21254         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
21255         * sysdeps/unix/sysv/linux/ia64: Move directory from
21256         ports/sysdeps/unix/sysv/linux/ia64.
21257         * README: Update listing for ia64-*-linux-gnu.
21259 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
21260             Joseph Myers  <joseph@codesourcery.com>
21262         * Makeconfig (test-name): New variable.
21263         (evaluate-test): Likewise.
21264         * Makerules (do-test-clean): Remove .test-result files.
21265         (common-mostlyclean): Likewise.
21266         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
21267         * scripts/evaluate-test.sh: New file.
21269 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
21271         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
21272         separate $(objpfx)tst-fopenloc-cmp.out and
21273         $(objpfx)tst-fopenloc-mem.out targets.
21274         (tests): Update dependencies.
21275         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
21276         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
21277         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
21278         (tst-rxspencer-no-utf8-ARGS): New variable.
21279         (tst-rxspencer-no-utf8-ENV): Likewise.
21280         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
21281         instead of $(objpfx)tst-rxspencer-mem.
21282         ($(objpfx)tst-rxspencer-mem): Change target to
21283         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
21284         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
21285         * posix/tst-rxspencer-no-utf8.c: New file.
21287         * elf/Makefile ($(objpfx)order.out): Remove rule.
21288         [$(run-built-tests) = yes] (tests): Depend on
21289         $(objpfx)order-cmp.out.
21290         ($(objpfx)order-cmp.out): New rule.
21291         [$(run-built-tests) = yes] (tests): Depend on
21292         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
21293         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
21294         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
21295         $(objpfx)tst-array5-static-cmp.out.
21296         ($(objpfx)tst-array1.out): Remove rule.
21297         ($(objpfx)tst-array1-cmp.out): New rule.
21298         ($(objpfx)tst-array1-static.out): Remove rule.
21299         ($(objpfx)tst-array1-static-cmp.out): New rule.
21300         ($(objpfx)tst-array2.out): Remove rule.
21301         ($(objpfx)tst-array2-cmp.out): New rule.
21302         ($(objpfx)tst-array3.out): Remove rule.
21303         ($(objpfx)tst-array3-cmp.out): New rule.
21304         ($(objpfx)tst-array4.out): Remove rule.
21305         ($(objpfx)tst-array4-cmp.out): New rule.
21306         ($(objpfx)tst-array5.out): Remove rule.
21307         ($(objpfx)tst-array5-cmp.out): New rule.
21308         ($(objpfx)tst-array5-static.out): Remove rule.
21309         ($(objpfx)tst-array5-static-cmp.out): New rule.
21310         [$(run-built-tests) = yes] (tests): Depend on
21311         $(objpfx)order2-cmp.out.
21312         ($(objpfx)order2.out): Remove rule.
21313         ($(objpfx)order2-cmp.out): New rule.
21314         ($(objpfx)tst-initorder.out): Remove rule.
21315         [$(run-built-tests) = yes] (tests): Depend on
21316         $(objpfx)tst-initorder-cmp.out.
21317         ($(objpfx)tst-initorder-cmp.out): New rule.
21318         ($(objpfx)tst-initorder2.out): Remove rule.
21319         [$(run-built-tests) = yes] (tests): Depend on
21320         $(objpfx)tst-initorder2-cmp.out.
21321         ($(objpfx)tst-initorder2-cmp.out): New rule.
21322         [$(run-built-tests) = yes] (tests): Depend on
21323         $(objpfx)tst-unused-dep-cmp.out.
21324         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
21325         ($(objpfx)tst-unused-dep-cmp.out): New rule.
21326         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
21327         on $(objpfx)tst-setvbuf1-cmp.out.
21328         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
21329         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
21330         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
21331         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
21332         ($(objpfx)tst-svc.out): Remove rule.
21333         ($(objpfx)tst-svc-cmp.out): New rule.
21335 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
21337         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
21338         * ctype/ctype.h [__USE_MISC]: Likewise.
21339         * dirent/dirent.h [__USE_MISC]: Likewise.
21340         * grp/grp.h [__USE_MISC]: Likewise.
21341         * io/fcntl.h [__USE_MISC]: Likewise.
21342         * io/sys/stat.h [__USE_MISC]: Likewise.
21343         * libio/stdio.h [__USE_MISC]: Likewise.
21344         * posix/unistd.h [__USE_MISC]: Likewise.
21345         * pwd/pwd.h [__USE_MISC]: Likewise.
21346         * stdlib.h [__USE_MISC]: Likewise.
21347         * string/bits/string2.h [__USE_MISC]: Likewise.
21348         * string/string.h [__USE_MISC]: Likewise.
21349         * time/time.h [__USE_MISC]: Likewise.
21351 2014-02-13  Andreas Schwab  <schwab@suse.de>
21353         [BZ #16574]
21354         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
21355         second answer buffer if it was separately allocated.
21357 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
21359         * sysdeps/mips/math-tests.h: Include <features.h>.
21360         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21361         (ROUNDING_TESTS_long_double): Do not define.
21362         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
21363         (EXCEPTION_TESTS_long_double): Likewise.
21364         * sysdeps/mips/mips64/libm-test-ulps: Update.
21366         * include/features.h (__USE_BSD): Remove macro definitions.
21367         (__USE_SVID): Likewise.
21368         (_BSD_SOURCE): Likewise.
21369         (_SVID_SOURCE): Likewise.
21370         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
21371         from definition of _DEFAULT_SOURCE.
21372         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
21373         [_DEFAULT_SOURCE].
21374         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
21375         * bits/mman.h [__USE_BSD]: Likewise.
21376         * bits/termios.h [__USE_BSD]: Likewise.
21377         * bits/waitstatus.h [__USE_BSD]: Likewise.
21378         * ctype/ctype.h [__USE_SVID]: Likewise.
21379         * dirent/dirent.h [__USE_BSD]: Likewise.
21380         * grp/grp.h [__USE_SVID]: Likewise.
21381         [__USE_BSD]: Likewise.
21382         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
21383         * io/fcntl.h [__USE_BSD]: Likewise.
21384         * io/ftw.h [__USE_BSD]: Likewise.
21385         * io/sys/stat.h [__USE_BSD]: Likewise.
21386         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
21387         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
21388         * libio/stdio.h [__USE_SVID]: Likewise.
21389         [__USE_BSD]: Likewise.
21390         * math/math.h [__USE_SVID]: Likewise.
21391         [__USE_BSD]: Likewise.
21392         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
21393         * misc/bits/syslog.h [__USE_BSD]: Likewise.
21394         * misc/search.h [__USE_SVID]: Likewise.
21395         * misc/sys/mman.h [__USE_BSD]: Likewise.
21396         * misc/sys/syslog.h [__USE_BSD]: Likewise.
21397         * misc/sys/uio.h [__USE_BSD]: Likewise.
21398         * posix/bits/unistd.h [__USE_BSD]: Likewise.
21399         * posix/glob.h [__USE_BSD]: Likewise.
21400         * posix/regex.h [__USE_BSD]: Likewise.
21401         * posix/sys/types.h [__USE_BSD]: Likewise.
21402         [__USE_SVID]: Likewise.
21403         * posix/sys/utsname.h [__USE_SVID]: Likewise.
21404         * posix/sys/wait.h [__USE_BSD]: Likewise.
21405         [__USE_SVID]: Likewise.
21406         * posix/unistd.h [__USE_BSD]: Likewise.
21407         [__USE_SVID]: Likewise.
21408         * pwd/pwd.h [__USE_SVID]: Likewise.
21409         * resolv/netdb.h [__USE_BSD]: Likewise.
21410         * setjmp/setjmp.h [__USE_BSD]: Likewise.
21411         * signal/signal.h [__USE_BSD]: Likewise.
21412         [__USE_SVID]: Likewise.
21413         * socket/sys/socket.h [__USE_BSD]: Likewise.
21414         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
21415         * stdlib/stdlib.h [__USE_BSD]: Likewise.
21416         [__USE_SVID]: Likewise.
21417         * string/bits/string2.h [__USE_BSD]: Likewise.
21418         [__USE_SVID]: Likewise.
21419         * string/bits/string3.h [__USE_BSD]: Likewise.
21420         * string/endian.h [__USE_BSD]: Likewise.
21421         * string/string.h [__USE_SVID]: Likewise.
21422         [__USE_BSD]: Likewise.
21423         * string/strings.h [__USE_BSD]: Likewise.
21424         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
21425         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
21426         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
21427         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
21428         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
21429         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
21430         Likewise.
21431         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
21432         Likewise.
21433         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
21434         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
21435         Likewise.
21436         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
21437         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
21438         Likewise.
21439         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
21440         Likewise.
21441         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
21442         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
21443         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
21444         Likewise.
21445         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
21446         Likewise.
21447         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
21448         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
21449         * termios/termios.h [__USE_BSD]: Likewise.
21450         * time/sys/time.h [__USE_BSD]: Likewise.
21451         * time/time.h [__USE_BSD]: Likewise.
21452         [__USE_SVID]: Likewise.
21454         * Makefile (subdir_targets): Remove subdir_lint.out.
21456         * stdio-common/Makefile (do-tst-unbputc): Remove target.
21457         (do-tst-printf): Likewise.
21458         (tests): Depend directly on $(objpfx)tst-unbputc.out and
21459         $(objpfx)tst-printf.out.
21461         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
21463         * Makerules (check-abi-%): Change target to
21464         $(objpfx)check-abi-%.out.
21465         (check-abi target): Update dependencies.
21466         (check-abi-pattern variable): Redirect output of diff to $@.
21467         (check-abi variable): Likewise.
21468         * elf/Makefile (check-abi): Update dependencies.
21470         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
21471         unused.
21472         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
21473         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
21474         subnormal range.
21475         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
21476         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
21477         value has largest subnormal exponent.
21478         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
21479         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
21480         * sysdeps/aarch64/soft-fp/sfp-machine.h
21481         (_FP_TININESS_AFTER_ROUNDING): New macro.
21482         * sysdeps/alpha/soft-fp/sfp-machine.h
21483         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21484         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21485         Likewise.
21486         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
21487         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21488         * sysdeps/mips/soft-fp/sfp-machine.h
21489         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21490         * sysdeps/powerpc/soft-fp/sfp-machine.h
21491         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21492         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21493         Likewise.
21494         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21495         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21496         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21497         (_FP_TININESS_AFTER_ROUNDING): Likewise.
21498         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
21499         Likewise.
21501 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
21503         [BZ #16545]
21504         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
21505         model 1.
21507 2014-02-12  Richard Henderson  <rth@redhat.com>
21509         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
21510         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
21511         * sysdeps/unix/sysv/linux/alpha: Move directory from
21512         ports/sysdeps/unix/sysv/linux/alpha.
21513         * README: Update listing for alpha-*-linux-gnu.
21515 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
21517         * include/features.h: Update comment documenting feature test
21518         macros.
21519         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
21520         _DEFAULT_SOURCE.
21521         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
21522         (_SVID_SOURCE): Likewise.
21523         (_DEFAULT_SOURCE): Update description of default features.
21524         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
21525         with _GNU_SOURCE.
21526         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
21527         (S_ISVTX): Likewise.
21528         * manual/math.texi (Mathematical Constants): Likewise.
21529         * manual/signal.texi (Interrupted Primitives): Likewise.
21530         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
21531         * math/test-matherr.c (_SVID_SOURCE): Do not define.
21532         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
21533         Don't refer to _SVID_SOURCE in warning text.
21535         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21537         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
21538         already defined.
21539         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
21540         * sysdeps/mips/dl-lookup.c: Remove.
21541         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
21543 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21545         [BZ #16447]
21546         * math/auto-libm-test-in: Add testcase for expl.
21547         * math/auto-libm-test-out: Regenerate.
21548         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
21549         calculation of unsafe.
21550         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
21552 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
21554         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
21555         * sysdeps/unix/sysv/linux/aarch64: Move directory from
21556         ports/sysdeps/unix/sysv/linux/aarch64.
21557         * README: Update listing for aarch64*-*-linux-gnu.
21559 2014-02-11  Will Newton  <will.newton@linaro.org>
21561         * manual/probes.texi (Mathematical Function Probes): Use
21562         "triggered" instead of "hit".
21564         * manual/probes.texi (Internal Probes): Add documentation
21565         of setjmp, longjmp and longjmp_target probes.
21567         * include/stap-probe.h: Add comment about probe argument
21568         format.
21570         * malloc/mtrace.c (attribute_hidden): Remove unused macro
21571         definition.  (tr_where, tr_freehook, tr_mallochook,
21572         tr_reallochook, tr_memalignhook): Use ANSI protoype.
21574 2014-02-11  David S. Miller  <davem@davemloft.net>
21576         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
21577         processing int_tests.
21579 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
21581         * sysdeps/mips: Move directory from ports/sysdeps/mips.
21582         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
21583         * sysdeps/unix/sysv/linux/mips: Move directory from
21584         ports/sysdeps/unix/sysv/linux/mips.
21585         * README: Update listing for mips-*-linux-gnu and
21586         mips64-*-linux-gnu.
21588 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
21590         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
21591         * sysdeps/unix/sysv/linux/m68k: Move directory from
21592         ports/sysdeps/unix/sysv/linux/m68k.
21593         * README: Update listing for m68k-*-linux-gnu.
21595 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
21597         * sysdeps/tile: Move directory from ports/sysdeps/tile.
21598         * sysdeps/unix/sysv/linux/generic: Move directory from
21599         ports/sysdeps/unix/sysv/linux/generic.
21600         * sysdeps/unix/sysv/linux/tile: Move directory from
21601         ports/sysdeps/unix/sysv/linux/tile.
21602         * README: Update listing for tile*-*-linux-gnu.
21604 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
21606         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
21607         __builtin_expect.
21608         * benchtests/bench-memmem.c (simple_memmem): Likewise.
21609         * catgets/open_catalog.c (__open_catalog): Likewise.
21610         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
21611         * debug/confstr_chk.c: Likewise.
21612         * debug/fread_chk.c (__fread_chk): Likewise.
21613         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
21614         * debug/getgroups_chk.c: Likewise.
21615         * debug/mbsnrtowcs_chk.c: Likewise.
21616         * debug/mbsrtowcs_chk.c: Likewise.
21617         * debug/mbstowcs_chk.c: Likewise.
21618         * debug/memcpy_chk.c: Likewise.
21619         * debug/memmove_chk.c: Likewise.
21620         * debug/mempcpy_chk.c: Likewise.
21621         * debug/memset_chk.c: Likewise.
21622         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
21623         * debug/strcat_chk.c (__strcat_chk): Likewise.
21624         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
21625         * debug/strncat_chk.c (__strncat_chk): Likewise.
21626         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
21627         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
21628         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
21629         * debug/wcpncpy_chk.c: Likewise.
21630         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
21631         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
21632         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
21633         * debug/wcsncpy_chk.c: Likewise.
21634         * debug/wcsnrtombs_chk.c: Likewise.
21635         * debug/wcsrtombs_chk.c: Likewise.
21636         * debug/wcstombs_chk.c: Likewise.
21637         * debug/wmemcpy_chk.c: Likewise.
21638         * debug/wmemmove_chk.c: Likewise.
21639         * debug/wmempcpy_chk.c: Likewise.
21640         * debug/wmemset_chk.c: Likewise.
21641         * dirent/scandirat.c (SCANDIRAT): Likewise.
21642         * dlfcn/dladdr1.c (dladdr1): Likewise.
21643         * dlfcn/dladdr.c (dladdr): Likewise.
21644         * dlfcn/dlclose.c (dlclose_doit): Likewise.
21645         * dlfcn/dlerror.c (__dlerror): Likewise.
21646         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
21647         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
21648         * dlfcn/dlopen.c (dlopen_doit): Likewise.
21649         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21650         * dlfcn/dlsym.c (dlsym_doit): Likewise.
21651         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
21652         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
21653         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
21654         Likewise.
21655         * elf/dl-conflict.c: Likewise.
21656         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
21657         * elf/dl-dst.h: Likewise.
21658         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
21659         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
21660         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
21661         * elf/dl-init.c (call_init, _dl_init): Likewise.
21662         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
21663         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
21664         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
21665         Likewise.
21666         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
21667         Likewise.
21668         * elf/dl-minimal.c (__libc_memalign): Likewise.
21669         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
21670         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
21671         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
21672         * elf/dl-sym.c (do_sym): Likewise.
21673         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
21674         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
21675         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
21676         * elf/dl-writev.h (_dl_writev): Likewise.
21677         * elf/ldconfig.c (search_dir): Likewise.
21678         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
21679         (dl_main): Likewise.
21680         * elf/setup-vdso.h (setup_vdso): Likewise.
21681         * grp/compat-initgroups.c (compat_call): Likewise.
21682         * grp/fgetgrent.c (fgetgrent): Likewise.
21683         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
21684         * grp/putgrent.c (putgrent): Likewise.
21685         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
21686         Likewise.
21687         * hurd/hurdinit.c: Likewise.
21688         * iconvdata/8bit-gap.c (struct): Likewise.
21689         * iconvdata/ansi_x3.110.c : Likewise.
21690         * iconvdata/big5.c : Likewise.
21691         * iconvdata/big5hkscs.c : Likewise.
21692         * iconvdata/cp1255.c: Likewise.
21693         * iconvdata/cp1258.c : Likewise.
21694         * iconvdata/cp932.c : Likewise.
21695         * iconvdata/euc-cn.c: Likewise.
21696         * iconvdata/euc-jisx0213.c : Likewise.
21697         * iconvdata/euc-jp.c: Likewise.
21698         * iconvdata/euc-jp-ms.c : Likewise.
21699         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
21700         * iconvdata/gb18030.c : Likewise.
21701         * iconvdata/gbbig5.c (const): Likewise.
21702         * iconvdata/gbgbk.c: Likewise.
21703         * iconvdata/gbk.c : Likewise.
21704         * iconvdata/ibm1364.c : Likewise.
21705         * iconvdata/ibm930.c : Likewise.
21706         * iconvdata/ibm932.c: Likewise.
21707         * iconvdata/ibm933.c : Likewise.
21708         * iconvdata/ibm935.c : Likewise.
21709         * iconvdata/ibm937.c : Likewise.
21710         * iconvdata/ibm939.c : Likewise.
21711         * iconvdata/ibm943.c: Likewise.
21712         * iconvdata/iso_11548-1.c: Likewise.
21713         * iconvdata/iso-2022-cn.c : Likewise.
21714         * iconvdata/iso-2022-cn-ext.c : Likewise.
21715         * iconvdata/iso-2022-jp-3.c: Likewise.
21716         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
21717         * iconvdata/iso-2022-kr.c : Likewise.
21718         * iconvdata/iso646.c (gconv_end): Likewise.
21719         * iconvdata/iso_6937-2.c : Likewise.
21720         * iconvdata/iso_6937.c : Likewise.
21721         * iconvdata/iso8859-1.c: Likewise.
21722         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
21723         * iconvdata/shift_jisx0213.c : Likewise.
21724         * iconvdata/sjis.c : Likewise.
21725         * iconvdata/t.61.c : Likewise.
21726         * iconvdata/tcvn5712-1.c : Likewise.
21727         * iconvdata/tscii.c: Likewise.
21728         * iconvdata/uhc.c : Likewise.
21729         * iconvdata/unicode.c (gconv_end): Likewise.
21730         * iconvdata/utf-16.c (gconv_end): Likewise.
21731         * iconvdata/utf-32.c (gconv_end): Likewise.
21732         * iconvdata/utf-7.c (base64): Likewise.
21733         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
21734         * iconv/gconv_close.c (__gconv_close): Likewise.
21735         * iconv/gconv_open.c (__gconv_open): Likewise.
21736         * iconv/gconv_simple.c (internal_ucs4_loop_single)
21737         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
21738         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
21739         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
21740         (ucs4le_internal_loop_single): Likewise.
21741         * iconv/iconv.c (iconv): Likewise.
21742         * iconv/iconv_close.c: Likewise.
21743         * iconv/loop.c (SINGLE): Likewise.
21744         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
21745         * include/atomic.h: Likewise.
21746         * inet/inet6_option.c (option_alloc): Likewise.
21747         * intl/bindtextdom.c (set_binding_values): Likewise.
21748         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
21749         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
21750         * intl/localealias.c (read_alias_file): Likewise.
21751         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
21752         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
21753         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
21754         * libio/fmemopen.c (fmemopen): Likewise.
21755         * libio/iofgets.c (_IO_fgets): Likewise.
21756         * libio/iofgets_u.c (fgets_unlocked): Likewise.
21757         * libio/iofgetws.c (fgetws): Likewise.
21758         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
21759         * libio/iogetdelim.c (_IO_getdelim): Likewise.
21760         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
21761         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
21762         * locale/findlocale.c (_nl_find_locale): Likewise.
21763         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
21764         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
21765         Likewise.
21766         * locale/setlocale.c (setlocale): Likewise.
21767         * login/programs/pt_chown.c (main): Likewise.
21768         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
21769         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
21770         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
21771         (mmap, mmap64, mremap, munmap): Likewise.
21772         * math/e_exp2l.c: Likewise.
21773         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
21774         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
21775         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
21776         * math/s_catan.c (__catan): Likewise.
21777         * math/s_catanf.c (__catanf): Likewise.
21778         * math/s_catanh.c (__catanh): Likewise.
21779         * math/s_catanhf.c (__catanhf): Likewise.
21780         * math/s_catanhl.c (__catanhl): Likewise.
21781         * math/s_catanl.c (__catanl): Likewise.
21782         * math/s_ccosh.c (__ccosh): Likewise.
21783         * math/s_ccoshf.c (__ccoshf): Likewise.
21784         * math/s_ccoshl.c (__ccoshl): Likewise.
21785         * math/s_cexp.c (__cexp): Likewise.
21786         * math/s_cexpf.c (__cexpf): Likewise.
21787         * math/s_cexpl.c (__cexpl): Likewise.
21788         * math/s_clog10.c (__clog10): Likewise.
21789         * math/s_clog10f.c (__clog10f): Likewise.
21790         * math/s_clog10l.c (__clog10l): Likewise.
21791         * math/s_clog.c (__clog): Likewise.
21792         * math/s_clogf.c (__clogf): Likewise.
21793         * math/s_clogl.c (__clogl): Likewise.
21794         * math/s_csin.c (__csin): Likewise.
21795         * math/s_csinf.c (__csinf): Likewise.
21796         * math/s_csinh.c (__csinh): Likewise.
21797         * math/s_csinhf.c (__csinhf): Likewise.
21798         * math/s_csinhl.c (__csinhl): Likewise.
21799         * math/s_csinl.c (__csinl): Likewise.
21800         * math/s_csqrt.c (__csqrt): Likewise.
21801         * math/s_csqrtf.c (__csqrtf): Likewise.
21802         * math/s_csqrtl.c (__csqrtl): Likewise.
21803         * math/s_ctan.c (__ctan): Likewise.
21804         * math/s_ctanf.c (__ctanf): Likewise.
21805         * math/s_ctanh.c (__ctanh): Likewise.
21806         * math/s_ctanhf.c (__ctanhf): Likewise.
21807         * math/s_ctanhl.c (__ctanhl): Likewise.
21808         * math/s_ctanl.c (__ctanl): Likewise.
21809         * math/w_pow.c: Likewise.
21810         * math/w_powf.c: Likewise.
21811         * math/w_powl.c: Likewise.
21812         * math/w_scalb.c (sysv_scalb): Likewise.
21813         * math/w_scalbf.c (sysv_scalbf): Likewise.
21814         * math/w_scalbl.c (sysv_scalbl): Likewise.
21815         * misc/error.c (error_tail): Likewise.
21816         * misc/pselect.c (__pselect): Likewise.
21817         * nis/nis_callback.c (__nis_create_callback): Likewise.
21818         * nis/nis_call.c (__nisfind_server): Likewise.
21819         * nis/nis_creategroup.c (nis_creategroup): Likewise.
21820         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
21821         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
21822         * nis/nis_getservlist.c (nis_getservlist): Likewise.
21823         * nis/nis_lookup.c (nis_lookup): Likewise.
21824         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
21825         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
21826         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
21827         * nis/nis_xdr.c (xdr_endpoint): Likewise.
21828         * nis/nss_compat/compat-grp.c (getgrent_next_file)
21829         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
21830         * nis/nss_compat/compat-initgroups.c (add_group)
21831         (internal_getgrent_r): Likewise.
21832         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
21833         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
21834         * nis/nss_compat/compat-spwd.c (getspent_next_file)
21835         (internal_getspnam_r): Likewise.
21836         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
21837         (_nss_nis_getaliasbyname_r): Likewise.
21838         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
21839         (_nss_nis_getntohost_r): Likewise.
21840         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
21841         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
21842         (_nss_nis_getgrgid_r): Likewise.
21843         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
21844         (internal_nis_gethostent_r, internal_gethostbyname2_r)
21845         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
21846         (_nss_nis_gethostbyname4_r): Likewise.
21847         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
21848         (initgroups_netid): Likewise.
21849         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
21850         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
21851         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
21852         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
21853         (_nss_nis_getprotobynumber_r): Likewise.
21854         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
21855         (_nss_nis_getsecretkey): Likewise.
21856         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
21857         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
21858         (_nss_nis_getpwuid_r): Likewise.
21859         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
21860         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
21861         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
21862         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
21863         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
21864         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
21865         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
21866         Likewise.
21867         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
21868         (_nss_nisplus_getntohost_r): Likewise.
21869         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
21870         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
21871         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
21872         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
21873         Likewise.
21874         * nis/nss_nisplus/nisplus-initgroups.c
21875         (_nss_nisplus_initgroups_dyn): Likewise.
21876         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
21877         (_nss_nisplus_getnetbyaddr_r): Likewise.
21878         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
21879         (_nss_nisplus_getprotobynumber_r): Likewise.
21880         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
21881         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
21882         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
21883         Likewise.
21884         * nis/nss_nisplus/nisplus-service.c
21885         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
21886         (_nss_nisplus_getservbyport_r): Likewise.
21887         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
21888         (_nss_nisplus_getspnam_r): Likewise.
21889         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
21890         Likewise.
21891         * nscd/aicache.c (addhstaiX): Likewise.
21892         * nscd/cache.c (cache_search, prune_cache): Likewise.
21893         * nscd/connections.c (register_traced_file, send_ro_fd)
21894         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
21895         (main_loop_epoll): Likewise.
21896         * nscd/grpcache.c (addgrbyX): Likewise.
21897         * nscd/hstcache.c (addhstbyX): Likewise.
21898         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21899         * nscd/mem.c (gc, mempool_alloc): Likewise.
21900         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
21901         (addinnetgrX): Likewise.
21902         * nscd/nscd-client.h (__nscd_acquire_maplock)
21903         (__nscd_drop_map_ref): Likewise.
21904         * nscd/nscd_getai.c (__nscd_getai): Likewise.
21905         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21906         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
21907         Likewise.
21908         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
21909         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
21910         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
21911         (__nscd_get_map_ref): Likewise.
21912         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
21913         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
21914         Likewise.
21915         * nscd/pwdcache.c (addpwbyX): Likewise.
21916         * nscd/selinux.c (preserve_capabilities): Likewise.
21917         * nscd/servicescache.c (addservbyX): Likewise.
21918         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
21919         * posix/fnmatch.c (fnmatch): Likewise.
21920         * posix/getopt.c (_getopt_internal_r): Likewise.
21921         * posix/glob.c (glob, glob_in_dir): Likewise.
21922         * posix/wordexp.c (exec_comm_child): Likewise.
21923         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
21924         (getanswer_r, gaih_getanswer_slice): Likewise.
21925         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
21926         * resolv/res_init.c: Likewise.
21927         * resolv/res_mkquery.c (res_nmkquery): Likewise.
21928         * resolv/res_query.c (__libc_res_nquery): Likewise.
21929         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
21930         Likewise.
21931         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
21932         * stdio-common/perror.c (perror): Likewise.
21933         * stdio-common/printf_fp.c (___printf_fp): Likewise.
21934         * stdio-common/tmpnam.c (tmpnam): Likewise.
21935         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
21936         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
21937         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
21938         Likewise.
21939         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
21940         * stdlib/putenv.c (putenv): Likewise.
21941         * stdlib/setenv.c (__add_to_environ): Likewise.
21942         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
21943         * stdlib/strtol_l.c (INTERNAL): Likewise.
21944         * string/memmem.c (memmem): Likewise.
21945         * string/strerror.c (strerror): Likewise.
21946         * string/strnlen.c (__strnlen): Likewise.
21947         * string/test-memmem.c (simple_memmem): Likewise.
21948         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
21949         * sunrpc/pm_getport.c (__get_socket): Likewise.
21950         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
21951         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
21952         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
21953         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
21954         Likewise.
21955         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
21956         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21957         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
21958         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
21959         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
21960         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
21961         Likewise.
21962         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
21963         Likewise.
21964         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
21965         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
21966         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
21967         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
21968         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
21969         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
21970         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
21971         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
21972         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
21973         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
21974         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
21975         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
21976         Likewise.
21977         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
21978         Likewise.
21979         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
21980         Likewise.
21981         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
21982         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21983         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
21984         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
21985         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
21986         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
21987         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21988         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
21989         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
21990         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
21991         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
21992         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21993         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21994         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
21995         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21996         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21997         Likewise.
21998         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
21999         Likewise.
22000         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
22001         Likewise.
22002         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
22003         Likewise.
22004         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22005         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22006         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
22007         Likewise.
22008         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
22009         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
22010         * sysdeps/posix/opendir.c (__opendirat): Likewise.
22011         * sysdeps/posix/sleep.c: Likewise.
22012         * sysdeps/posix/tempname.c: Likewise.
22013         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
22014         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22015         Likewise.
22016         * sysdeps/powerpc/powerpc32/dl-machine.h
22017         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
22018         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22019         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22020         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
22021         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
22022         Likewise.
22023         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
22024         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
22025         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22026         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
22027         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
22028         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
22029         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
22030         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
22031         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22032         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
22033         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
22034         (elf_machine_lazy_rel): Likewise.
22035         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
22036         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
22037         (elf_machine_lazy_rel): Likewise.
22038         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
22039         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
22040         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
22041         * sysdeps/unix/grantpt.c (grantpt): Likewise.
22042         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
22043         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
22044         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
22045         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22046         Likewise.
22047         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
22048         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
22049         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
22050         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
22051         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22052         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22053         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
22054         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
22055         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
22056         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22057         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22058         Likewise.
22059         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
22060         (__posix_fallocate64_l64): Likewise.
22061         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
22062         (posix_fallocate): Likewise.
22063         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
22064         Likewise.
22065         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
22066         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
22067         (getifaddrs_internal): Likewise.
22068         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
22069         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
22070         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
22071         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
22072         * sysdeps/unix/sysv/linux/posix_fallocate64.c
22073         (__posix_fallocate64_l64): Likewise.
22074         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
22075         Likewise.
22076         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
22077         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
22078         (__get_clockfreq): Likewise.
22079         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
22080         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
22081         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
22082         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22083         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
22084         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
22085         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
22086         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
22087         Likewise.
22088         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
22089         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
22090         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
22091         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
22092         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
22093         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
22094         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
22095         Likewise.
22096         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
22097         (posix_fallocate): Likewise.
22098         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
22099         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
22100         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
22101         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
22102         (elf_machine_rela, elf_machine_rela_relative)
22103         (elf_machine_lazy_rel): Likewise.
22104         * time/asctime.c (asctime_internal): Likewise.
22105         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
22106         * time/tzset.c (__tzset_parse_tz): Likewise.
22107         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
22108         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
22109         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
22110         * wcsmbs/wcsmbsload.h: Likewise.
22112         [BZ #15894]
22113         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
22115         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
22116         (arena_get2): Remove THREAD_STATS conditionals.
22117         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
22118         (__malloc_stats, int): Likewise.
22120 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
22122         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
22123         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
22125         * manual/setjmp.texi: Fix typos/grammar errors.
22127         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
22128         Only return early when n is <= 0.  Delete unused return statement.
22130         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
22131         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
22132         * debug/tst-longjmp_chk3.c: New file.
22134         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
22135         (test_main): Replace code with set_fortify_handler call.
22136         * debug/test-strcpy_chk.c: Likewise.
22137         * debug/tst-chk1.c: Likewise.
22138         * debug/tst-longjmp_chk.c: Likewise.
22139         * test-skeleton.c: Include fcntl.h & paths.h
22140         (set_fortify_handler): Define.
22142         * debug/tst-longjmp_chk.c: Add header comment and include
22143         ../test-skeleton.c.
22144         (do_test): Mark static.
22145         (TEST_FUNCTION): Define.
22147         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
22148         (IP_PMTUDISC_INTERFACE): Likewise.
22149         (IP_MULTICAST_IF): Likewise.
22150         (IP_MULTICAST_TTL): Likewise.
22151         (IP_MULTICAST_LOOP): Likewise.
22152         (IP_ADD_MEMBERSHIP): Likewise.
22153         (IP_DROP_MEMBERSHIP): Likewise.
22154         (IP_UNBLOCK_SOURCE): Likewise.
22155         (IP_BLOCK_SOURCE): Likewise.
22156         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
22157         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
22158         (IP_MSFILTER): Likewise.
22159         (MCAST_JOIN_GROUP): Likewise.
22160         (MCAST_BLOCK_SOURCE): Likewise.
22161         (MCAST_UNBLOCK_SOURCE): Likewise.
22162         (MCAST_LEAVE_GROUP): Likewise.
22163         (MCAST_JOIN_SOURCE_GROUP): Likewise.
22164         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
22165         (MCAST_MSFILTER): Likewise.
22166         (IP_MULTICAST_ALL): Likewise.
22167         (IP_UNICAST_IF): Likewise.
22169         * timezone/Makefile: Delete $(have-ksh) check.
22170         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
22171         * timezone/tzselect.ksh: Add +x mode bits.
22173         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
22174         (ANON_INODE_FS_MAGIC): Likewise.
22175         (BDEVFS_MAGIC): Likewise.
22176         (BINFMTFS_MAGIC): Likewise.
22177         (BTRFS_TEST_MAGIC): Likewise.
22178         (CRAMFS_MAGIC_WEND): Likewise.
22179         (DEBUGFS_MAGIC): Likewise.
22180         (ECRYPTFS_SUPER_MAGIC): Likewise.
22181         (EXT3_SUPER_MAGIC): Likewise.
22182         (EXT4_SUPER_MAGIC): Likewise.
22183         (FUTEXFS_SUPER_MAGIC): Likewise.
22184         (HOSTFS_SUPER_MAGIC): Likewise.
22185         (HUGETLBFS_MAGIC): Likewise.
22186         (MINIX3_SUPER_MAGIC): Likewise.
22187         (MTD_INODE_FS_MAGIC): Likewise.
22188         (NILFS_SUPER_MAGIC): Likewise.
22189         (OPENPROM_SUPER_MAGIC): Likewise.
22190         (PIPEFS_MAGIC): Likewise.
22191         (PSTOREFS_MAGIC): Likewise.
22192         (QNX6_SUPER_MAGIC): Likewise.
22193         (RAMFS_MAGIC): Likewise.
22194         (REISERFS_SUPER_MAGIC_STRING): Likewise.
22195         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
22196         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
22197         (SECURITYFS_MAGIC): Likewise.
22198         (SELINUX_MAGIC): Likewise.
22199         (SMACK_MAGIC): Likewise.
22200         (SOCKFS_MAGIC): Likewise.
22201         (SQUASHFS_MAGIC): Likewise.
22202         (STACK_END_MAGIC): Likewise.
22203         (TMPFS_MAGIC): Likewise.
22204         (USBDEVICE_SUPER_MAGIC): Likewise.
22205         (V9FS_MAGIC): Likewise.
22206         (XENFS_SUPER_MAGIC): Likewise.
22207         (CRAMFS_MAGIC): Fix typo in comment.
22208         (EXT2_SUPER_MAGIC): Update comment.
22209         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
22211 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
22213         * sysdeps/arm: Move directory from ports/sysdeps/arm.
22214         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
22215         * sysdeps/unix/sysv/linux/arm: Move directory from
22216         ports/sysdeps/unix/sysv/linux/arm.
22217         * README: Update listing for arm-*-linux-gnueabi.
22219         * README: Remove mention of am33.
22221 2014-02-07  Roland McGrath  <roland@hack.frob.com>
22223         * bits/sigset.h (__sigemptyset): Use a statement expression rather
22224         than the comma operator, to avoid "rhs of comma has no effect"
22225         compiler warnings.
22226         (__sigfillset, __sigandset, __sigorset): Likewise.
22227         * include/signal.h (__sigemptyset): Likewise.
22228         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
22230 2014-02-07  Allan McRae  <allan@archlinux.org>
22232         * version.h (RELEASE): Set to "development".
22233         (VERSION): Set to "2.19.90"
22234         * NEWS: Add 2.20 section.
22236 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
22238         [BZ #16529]
22239         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
22241 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
22243         * manual/contrib.texi: Update entry for Carlos O'Donell,
22244         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
22246 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
22248         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
22250         * sysdeps/unix/sysv/linux/kernel-features.h
22251         [__LINUX_KERNEL_VERSION >= 0x020621]
22252         (__ASSUME_PROC_PID_TASK_COMM): Define.
22254 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22256         [BZ #16398]
22257         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
22258         conversion when destination buffer does not have enough space.
22259         * libio/tst-ftell-partial-wide.c: New test case.
22260         * libio/Makefile (tests): Add tst-ftell-partial-wide.
22262         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
22263         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
22264         Leonard and Allan McRae.
22266 2014-02-04  David S. Miller  <davem@davemloft.net>
22268         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
22269         32-bit.
22271 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
22274         New file
22275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
22276         New file
22277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
22278         New file.
22279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
22280         New file.
22281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
22282         New file.
22283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
22284         New file.
22285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
22286         New file.
22287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
22288         New file.
22289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
22290         New file.
22291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
22292         New file.
22293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
22294         New file.
22295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
22296         New file.
22297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
22298         New file.
22300 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22302         * nptl/shlib-versions: Change powerpc*le start to 2.17.
22303         * shlib-versions: Likewise.
22305 2014-02-04  Roland McGrath  <roland@hack.frob.com>
22306             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22308         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
22309         (abilist-pattern): New variable, set to %-le.abilist.
22311         * Makerules (abilist-pattern): New variable.
22312         (vpath): Use $(abilist-pattern) in place of %.abilist.
22313         (check-abi-% pattern rule): Likewise.
22314         (check-abi, update-abi): Likewise.
22316 2014-02-04  Eric Wong  <normalperson@yhbt.net>
22318         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22320 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
22322         * manual/startup.texi: Add next, previous, and top entries for
22323         the `Program Arguments' and `Environment Variables' nodes.
22325 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
22327         * manual/macros.texi: Add comments before MTASC-safety macros.
22329         * manual/users.texi: Document MTASC-safety properties.
22331         * manual/threads.texi (pthread_key_create, pthread_key_delete)
22332         (pthread_getspecific, pthread_setspecific): Format with
22333         @deftypefun, and add @safety note.
22334         * manual/signal.texi: Move comments that analyze the above
22335         functions to their home place.
22337 2014-02-03  Allan McRae  <allan@archlinux.org>
22339         * po/sl.po: Update Slovenian translation from translation project.
22341 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
22343         * manual/time.texi (timegm): Add missing blank after @c.
22344         Reported by Joseph Myers <joseph@codesourcery.com>.
22346 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
22348         * manual/check-safety.sh: New.
22349         * manual/Makefile ($(objpfx)stamp-summary): Run it.
22351         * manual/terminal.texi: Document MTASC-safety properties.
22353         * manual/filesys.texi: Document MTASC-safety properties.
22355         * manual/errno.texi: Document MTASC-safety properties.
22357         * manual/intro.texi: Document safety identifiers and
22358         conditionals.
22360         * manual/string.texi (wcstok): Fix prototype.
22361         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
22363         * manual/time.texi: Document MTASC-safety properties.
22365         * manual/string.texi: Document MTASC-safety properties.
22367         * manual/threads.texi: Document MTASC-safety properties.
22369         * manual/stdio.texi: Document MTASC-safety properties.
22371         * manual/syslog.texi: Document MTASC-safety properties.
22373         * manual/sysinfo.texi: Document MTASC-safety properties.
22375         * manual/startup.texi: Document MTASC-safety properties.
22377         * manual/socket.texi: Document MTASC-safety properties.
22379         * manual/signal.texi: Document MTASC-safety properties.
22381 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
22383         * manual/setjmp.texi: Document MTASC-safety properties.
22385         * manual/search.texi: Document MTASC-safety properties.
22387         * manual/resource.texi: Document MTASC-safety properties.
22389         * manual/process.texi: Document MTASC-safety properties.
22391         * manual/platform.texi: Document MTASC-safety properties.
22393         * manual/pipe.texi: Document MTASC-safety properties.
22395         * manual/pattern.texi: Document MTASC-safety properties.
22397         * manual/message.texi: Document MTASC-safety properties.
22399         [BZ #12751]
22400         * manual/memory.texi: Document MTASC-safety properties.
22402         * manual/math.texi: Document MTASC-safety properties.
22404         * manual/locale.texi: Document MTASC-safety properties.
22406         * manual/llio.texi: Document MTASC-safety properties.
22408         * manual/libdl.texi: New.
22410         * manual/lang.texi: Document MTASC-safety properties.
22412         * manual/job.texi: Document MTASC-safety properties.
22414         * manual/getopt.texi: Document MTASC-safety properties.
22416         * manual/ctype.texi: Document MTASC-safety properties.
22418 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
22420         [BZ #16046]
22421         * csu/libc-tls.c (static_map): Remove variable.
22422         (__libc_setup_tls): Use main executable's link map for TLS data.
22423         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
22424         casing for LM_ID_BASE and GL(dl_nns).
22425         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
22426         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
22427         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
22428         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
22429         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
22430         member.
22431         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
22432         l_phnum members.
22434 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
22436         * manual/debug.texi: Document MTASC-safety properties.
22438 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
22440         [BZ #16510]
22441         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
22442         of __x86_64__ when disabling x87 inline functions.
22444 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
22446         * manual/charset.texi: Document MTASC-safety properties.
22448         * manual/crypt.texi: Document MTASC-safety properties.
22450         * manual/conf.texi: Document MTASC-safety properties.
22452         * manual/arith.texi: Document MTASC-safety properties.
22454         * manual/argp.texi: Document MTASC-safety properties.
22456         * manual/macros.texi: Introduce macros to document multi
22457         thread, asynchronous signal and asynchronous cancellation
22458         safety properties.
22459         * manual/intro.texi: Introduce the properties themselves.
22461 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22463         * sysdeps/sh/sh4/Makefile: New file.
22465 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
22467         * math/gen-libm-test.pl ($srcdir): New variable.
22468         ($auto_input): Use it.
22470 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
22472         [BZ #16506]
22473         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
22474         access beyond array bounds when parsing netgroups file.
22476         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
22477         the old buffer before realloc.
22479 2014-01-27  Allan McRae  <allan@archlinux.org>
22481         * po/fr.po: Update French translation from translation project.
22483 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22485         * sysdeps/sh/libm-test-ulps: Regenerate.
22487 2014-01-24  David S. Miller  <davem@davemloft.net>
22489         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
22491 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22493         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
22494         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
22496 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22498         [BZ #16474]
22499         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
22500         string pointers after reallocation.
22502 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22504         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
22505         __SH4A__ instead of __SH_FPU_ANY__.
22507 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
22509         * sysdeps/sh/fpu_control.h: New file.
22510         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
22511         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
22512         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
22513         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
22514         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
22515         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
22516         * sysdeps/sh/sys/ucontext.h: Remove.
22517         * sysdeps/sh/sys: Remove directory.
22519 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22521         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
22522         s390/sys/ucontext.h.
22523         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
22524         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
22526 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
22528         [BZ #15605]
22529         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
22531 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22533         [BZ#16431]
22534         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
22535         Adjust the vDSO correctly for internal calls.
22536         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
22538 2014-01-20  Allan McRae  <allan@archlinux.org>
22540         * po/ca.po: Update Catalan translation from translation project.
22542 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
22544         * sysdeps/s390/sotruss-lib.c: New file.
22546 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22548         [BZ#16430]
22549         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
22550         (__GI___gettimeofday): Alias for a different internal symbol to avoid
22551         local calls issues by not having a PLT stub required for IFUNC calls.
22552         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
22554 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
22556         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
22557         * math/test-fpucw-static.c: Likewise.
22559 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22561         [BZ #16453]
22562         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
22564 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22566         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
22567         implementation for powerpc.
22569 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
22571         [BZ #14782]
22572         * sysdeps/posix/system.c (__libc_system): Do not enable
22573         asynchronous cancellation.
22575 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22577         [BZ #16427]
22578         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
22579         handling only for numbers special also in the IEEE case.
22581 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22583         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
22585 2014-01-11  Allan McRae  <allan@archlinux.org>
22587         * po/bg.po: Update Bulgarian translation from translation project.
22589         * po/de.po: Update German translation from translation project.
22591 2014-01-10  Roland McGrath  <roland@hack.frob.com>
22593         * sysdeps/generic/gcc-compat.h: New file.
22595 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22597         * benchtests/asin-inputs: Correct slow inputs.
22598         * benchtests/acos-inputs: Likewise.
22600 2014-01-10  Allan McRae  <allan@archlinux.org>
22602         * po:sv.po: Update Swedish translation from translation project.
22604         * po/vi.po: Update Vietnamese translation from translation project.
22606         * po/eo.po: Update Esperanto translation from translation project.
22608         * po/cs.po: Update Czech translation from translation project.
22610         * po/nl.po: Update Dutch translation from translation project.
22612         * po/pl.po: Update Polish translation from translation project.
22614         * po/ru.po: Update Russian translation from translation project.
22616         * po/uk.po: Update Ukrainian translation from translation project.
22618 2014-01-08  Brooks Moses  <bmoses@google.com>
22620         * elf/dl-load.c: Fix comment typo.
22622 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
22624         * po/header.pot: Rename to...
22625         * po/pot.header: ... this.
22626         * po/Makefile: Use pot.header.
22628 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
22629             Maxim Kuvyrkov  <maxim@kugelworks.com>
22631         [BZ #16394]
22632         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
22633         SRC and DEST against LEN.
22635 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22637         [BZ #16414]
22638         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
22639         implementation.
22640         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
22642 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22644         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22646 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
22648         [BZ #16408]
22649         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
22650         for large positive arguments.
22652 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
22654         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22656         * math/auto-libm-test-in: Mark various tests with
22657         xfail-rounding:ldbl-128ibm.
22658         * math/auto-libm-test-out: Regenerated.
22660         [BZ #16407]
22661         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
22662         Increase overflow threshold.
22664 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
22666         [BZ #14286]
22667         * stdio-common/vfprintf.c: Check for integer overflow.
22669 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22671         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
22672         the first argument and return value of __tls_get_addr_internal.
22674 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22676         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
22677         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
22679 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22681         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
22682         * sysdeps/s390/rtld-global-offsets.sym: New file.
22683         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
22684         GLIBC_2.19 symbol.
22685         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
22686         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
22687         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
22688         ... this.
22689         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
22690         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
22691         ... this.
22692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22693         Regenerate.
22694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22695         Regenerate.
22696         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
22697         halfs of GPRs for high_gprs contexts.
22698         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
22699         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
22700         field.
22701         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
22702         uc_flags field.
22703         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
22704         64 bit versions:
22705         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
22706         for high GPRs (uc_high_gprs) and for future extensions
22707         (__reserved).
22708         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
22709         for future extensions (__reserved).
22710         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
22711         64 bit versions:
22712         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
22713         SC_HIGHGPRS offset definition.
22714         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
22715         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
22717         * Versions.def: Add GLIBC_2.19 for libpthread.
22718         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
22719         siglongjmp for libpthread with GLIBC_2.19 symver.
22720         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
22721         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
22722         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
22723         * sysdeps/s390/__longjmp.c: New file.
22724         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
22725         * sysdeps/s390/longjmp.c: New file.
22726         * sysdeps/s390/setjmp.S: New file.
22727         * sysdeps/s390/sigjmp.S: New file.
22728         * sysdeps/s390/v1-longjmp.c: New file.
22729         * sysdeps/s390/v1-setjmp.h: New file.
22730         * sysdeps/s390/v1-sigjmp.c: New file.
22731         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
22732         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
22733         GLIBC_2.19 version.
22734         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
22735         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
22736         versioned symbols for ____longjmp_chk.
22737         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
22738         Likewise.
22739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22740         Regenerate.
22741         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
22742         Regenerate.
22743         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22744         Regenerate.
22745         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
22746         Regenerate.
22747         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
22748         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
22749         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
22750         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
22751         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
22752         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
22753         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
22754         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
22755         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
22756         * sysdeps/s390/rtld-__longjmp.c: New file.
22757         * sysdeps/s390/rtld-setjmp.S: New file.
22759 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
22761         [BZ #16400]
22762         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
22763         Return -__logl (x) for small positive arguments without evaluating
22764         a polynomial.
22766 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
22768         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
22769         Rename to ...
22770         (__ptrace_peeksiginfo_args): ... this.
22771         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22772         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22773         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22775 2014-01-06  Allan McRae  <allan@archlinux.org>
22777         * inet/netinet/in.h: Fix typo in comment.
22779 2014-01-05  Andreas Jaeger  <aj@suse.de>
22781         * sysdeps/i386/fpu/libm-test-ulps: Update.
22783 2014-01-05  Allan McRae  <allan@archlinux.org>
22785         * po/libc.pot: Regenerated.
22787         * malloc/memusagestat.c: Fix gettext call formatting.
22789 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
22791         * nscd/nscd.c: Improve usage() output.
22793 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
22795         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
22796         * sysdeps/unix/sysv/linux/configure: Regenerated.
22797         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
22798         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
22800 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22802         [BZ #16390]
22803         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22804         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
22806 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22808         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
22809         extra tokens at end of #undef directive.
22810         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
22811         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
22812         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
22814 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
22816         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
22818         * math/auto-libm-test-in: Mark various tests with
22819         xfail-rounding:ldbl-128ibm.
22820         * math/auto-libm-test-out: Regenerated.
22822 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
22824         [BZ #16386]
22825         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
22826         numbers with subnormal high part when calculating exponent.
22828         [BZ #16385]
22829         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
22830         fabs.
22832         [BZ #16384]
22833         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
22834         M_LN2l.
22835         (__ieee754_acoshl): Use __log1pl not __log1p.
22837 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
22839         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
22840         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
22841         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
22842         (grow_heap, heap_trim, _int_new_arena, get_free_list)
22843         (reused_arena, arena_get2): Convert to GNU style.
22844         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
22845         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
22846         (memalign_check, __malloc_set_state): Likewise.
22847         * malloc/mallocbug.c (main): Likewise.
22848         * malloc/malloc.c (__malloc_assert, malloc_init_state)
22849         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
22850         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
22851         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
22852         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
22853         (__posix_memalign, malloc_info): Likewise.
22854         * malloc/malloc.h: Likewise.
22855         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
22856         (mallochook, memalignhook, reallochook, mabort): Likewise.
22857         * malloc/mcheck.h: Likewise.
22858         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
22859         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
22860         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
22861         * malloc/morecore.c (__default_morecore): Likewise.
22862         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
22863         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
22864         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
22865         (print_and_abort): Likewise.
22866         * malloc/obstack.h: Likewise.
22867         * malloc/set-freeres.c (__libc_freeres): Likewise.
22868         * malloc/tst-mallocstate.c (main): Likewise.
22869         * malloc/tst-mtrace.c (main): Likewise.
22870         * malloc/tst-realloc.c (do_test): Likewise.
22872 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
22874         [BZ #16366]
22875         * nscd/netgroupcache.c (do_notfound): New function.
22876         (addgetnetgrentX): Use it.
22878         [BZ # 16365]
22879         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
22880         NSS_STATUS_NOTFOUND.
22882 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
22884         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22887 2014-01-01  Allan McRae  <allan@archlinux.org>
22889         * scripts/update-copyrights: Update configure input file suffix.
22891         * NEWS: Update copyright year.
22892         * catgets/gencat.c: Likewise.
22893         * csu/version.c: Likewise.
22894         * debug/catchsegv.sh: Likewise.
22895         * debug/pcprofiledump.c: Likewise.
22896         * debug/xtrace.sh: Likewise.
22897         * elf/ldconfig.c: Likewise.
22898         * elf/ldd.bash.in: Likewise.
22899         * elf/pldd.c: Likewise.
22900         * elf/sotruss.ksh: Likewise.
22901         * elf/sprof.c: Likewise.
22902         * iconv/iconv_prog.c: Likewise.
22903         * iconv/iconvconfig.c: Likewise.
22904         * locale/programs/locale.c: Likewise.
22905         * locale/programs/localedef.c: Likewise.
22906         * login/programs/pt_chown.c: Likewise.
22907         * malloc/memusage.sh: Likewise.
22908         * malloc/memusagestat.c: Likewise.
22909         * malloc/mtrace.pl: Likewise.
22910         * manual/libc.texinfo: Likewise.
22911         * nscd/nscd.c: Likewise.
22912         * nss/getent.c: Likewise.
22913         * nss/makedb.c: Likewise.
22914         * posix/getconf.c: Likewise.
22915         * scripts/test-installation.pl: Likewise.
22917         * All files with FSF copyright notices: Update copyright dates
22918         using scripts/update-copyrights.
22919         * intl/plural.c: Regenerated.
22920         * locale/programs/charmap-kw.h: Likewise.
22921         * locale/programs/locfile-kw.h: Likewise.
22923 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
22925         * sysdeps/unix/sysv/linux/configure: Regenerated.
22926         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
22927         the linux/fanotify.h header.
22928         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
22929         HAVE_LINUX_FANOTIFY_H is defined.
22931 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
22933         * benchtests/cos-inputs: New inputs.
22934         * benchtests/sin-inputs: Likewise.
22936         * benchtests/atan-inputs: New inputs. Fix name of multiple
22937         precision fallback inputs.
22939         * benchtests/atanh-inputs: New inputs.
22940         * benchtests/tanh-inputs: Likewise.
22942         * benchtests/acosh-inputs: New inputs.
22943         * benchtests/asinh-inputs: Likewise.
22945         * benchtests/cosh-inputs: New inputs.
22946         * benchtests/sinh-inputs: Likewise.
22948         * benchtests/acos-inputs: Add more inputs.
22949         * benchtests/asin-inputs: Likewise.
22951 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
22953         [BZ #16375]
22954         * manual/arith.texi: Fix spelling.
22955         * manual/charset.texi: Likewise.
22956         * manual/errno.texi: Likewise.
22957         * manual/filesys.texi: Likewise.
22958         * manual/lang.texi: Likewise.
22959         * manual/llio.texi: Likewise.
22960         * manual/locale.texi: Likewise.
22961         * manual/message.texi: Likewise.
22962         * manual/resource.texi: Likewise.
22963         * manual/search.texi: Likewise.
22964         * manual/setjmp.texi: Likewise.
22965         * manual/stdio.texi: Likewise.
22966         * manual/string.texi: Likewise.
22967         * manual/sysinfo.texi: Likewise.
22968         * manual/time.texi: Likewise.
22970 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
22972         * po/sl.po: New file.
22974 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
22976         * .gitignore: Add core/.gdbinit/.gdb_history.
22978 2013-12-27  Allan McRae  <allan@archlinux.org>
22980         [BZ #16369]
22981         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
22982         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
22984 2013-12-24  Brooks Moses  <bmoses@google.com>
22986         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
22987         all compilers that claim C++98 compliance, not just GCC.
22988         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22989         Likewise.
22991 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22993         * NEWS: Restore accidentally deleted bug-fix entries.
22995 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
22996             Ondřej Bílka  <neleai@seznam.cz>
22998         [BZ #15073]
22999         * malloc/malloc.c (_int_free): Perform sanity check only if we
23000         have_lock.
23002 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
23004         [BZ #12986]
23005         * manual/stdio.texi (String Input Conversions): Clarify that character
23006         classes are not supported.
23008 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23012 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
23014         [BZ #16337]
23015         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
23016         Calculate results for small negative arguments directly rather
23017         than using reflection formula with special underflow handling.
23019         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
23020         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
23021         sysdeps/unix/bsd/bsd4.4/syscalls.list.
23022         (fchflags): Likewise.
23023         (revoke): Likewise.
23024         (setlogin): Likewise.
23025         (sigaltstack): Likewise.
23026         (wait4): Likewise.
23027         (sigblock): Remove.
23028         (sigsetmask): Likewise.
23029         (wait3): Likewise.
23030         (waitpid): Likewise.
23031         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
23032         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
23033         file.
23034         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
23035         * sysdeps/unix/bsd/Makefile: ... here.
23036         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
23037         * sysdeps/unix/bsd/Versions: ... here.
23038         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
23039         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
23040         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
23041         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
23042         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
23043         * sysdeps/unix/bsd/sigblock.c: ... here.
23044         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
23045         * sysdeps/unix/bsd/sigsetmask.c: ... here.
23046         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
23047         * sysdeps/unix/bsd/sigvec.c: ... here.
23048         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
23049         * sysdeps/unix/bsd/tcdrain.c: ... here.
23050         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
23051         * sysdeps/unix/bsd/tcgetattr.c: ... here.
23052         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
23053         * sysdeps/unix/bsd/tcsetattr.c: ... here.
23054         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
23055         * sysdeps/unix/bsd/wait.c: ... here.
23056         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
23057         * sysdeps/unix/bsd/wait3.c: ... here.
23058         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
23059         * sysdeps/unix/bsd/waitpid.c: ... here.
23061 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
23063         [BZ #16356]
23064         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
23065         round-to-nearest for [!USE_AS_EXPM1L].
23066         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
23067         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
23068         more tests of exp and exp10.  Expect some exp10 tests to miss
23069         exceptions or fail in directed rounding modes.
23070         * math/auto-libm-test-out: Regenerated.
23071         * math/libm-test.inc (exp10_tonearest_test_data): New array.
23072         (exp10_test_tonearest): New function.
23073         (exp10_towardzero_test_data): New array.
23074         (exp10_test_towardzero): New function.
23075         (exp10_downward_test_data): New array.
23076         (exp10_test_downward): New function.
23077         (exp10_upward_test_data): New array.
23078         (exp10_test_upward): New function.
23079         (main): Call the new functions.
23080         * sysdeps/i386/fpu/libm-test-ulps: Update.
23081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23083 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
23085         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
23086         asinh, atan, atan2, atanh, cbrt, cos and cosh.
23087         * math/auto-libm-test-out: Regenerated.
23088         * math/libm-test.inc (acosh_test_data): Add more tests.
23089         (atanh_test_data): Likewise.
23090         (ceil_test_data): Likewise.
23091         (copysign_test_data): Likewise.
23092         * sysdeps/i386/fpu/libm-test-ulps: Update.
23093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23095         * timezone/checktab.awk: Update from tzcode 2013i.
23096         * timezone/private.h: Likewise.
23097         * timezone/scheck.c: Likewise.
23098         * timezone/tzfile.h: Likewise.
23099         * timezone/tzselect.ksh: Likewise.
23100         * timezone/zdump.c: Likewise.
23101         * timezone/zic.c: Likewise.
23103         * math/auto-libm-test-in: Add tests of cpow.
23104         * math/auto-libm-test-out: Regenerated.
23105         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
23106         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23107         mpc_cc_c.
23108         (func_calc_desc): Add mpc_cc_c union field.
23109         (test_functions): Add cpow.
23110         (special_fill_2pi): New function.
23111         (special_real_inputs): Add 2pi.
23112         (calc_generic_results): Handle mpc_cc_c.
23113         * sysdeps/i386/fpu/libm-test-ulps: Update.
23114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23116         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
23117         csqrt, ctan and ctanh.
23118         * math/auto-libm-test-out: Regenerated.
23119         * math/libm-test.inc (TEST_COND_x86_64): New macro.
23120         (TEST_COND_x86): Likewise.
23121         (ccos_test_data): Use AUTO_TESTS_c_c.
23122         (ccosh_test_data): Likewise.
23123         (cexp_test_data): Likewise.
23124         (clog_test_data): Likewise.
23125         (csqrt_test_data): Likewise.
23126         (ctan_test_data): Likewise.
23127         (ctan_tonearest_test_data): Likewise.
23128         (ctan_towardzero_test_data): Likewise.
23129         (ctan_downward_test_data): Likewise.
23130         (ctan_upward_test_data): Likewise.
23131         (ctanh_test_data): Likewise.
23132         (ctanh_tonearest_test_data): Likewise.
23133         (ctanh_towardzero_test_data): Likewise.
23134         (ctanh_downward_test_data): Likewise.
23135         (ctanh_upward_test_data): Likewise.
23136         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23137         mpc_c_c.
23138         (func_calc_desc): Add mpc_c_c union field.
23139         (FUNC_mpc_c_c): New macro.
23140         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
23141         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
23142         ctanh.
23143         (special_fill_min_subnorm_p120): New function.
23144         (special_real_inputs): Add min_subnorm_p120.
23145         (calc_generic_results): Handle mpc_c_c.
23146         * sysdeps/i386/fpu/libm-test-ulps: Update.
23147         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23149 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
23151         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
23152         (do_sin_slow): New functions.
23153         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
23154         (cslow2, csloww1, csloww2): Use the new functions.
23156         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
23157         Use M to change sign of result instead of X.  Assume X is
23158         positive.
23159         (csloww1): Likewise.
23160         (__sin): Adjust.
23161         (__cos): Adjust.
23163         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
23164         arguments A and DA.
23165         (__sin): Adjust.
23166         (__cos): Likewise.
23168         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
23169         (__cos): Likewise.
23170         (sloww1): Don't adjust sign of DX.
23171         (csloww1): Likewise.
23172         (sloww2): Use X directly and don't adjust sign of DX.
23173         (csloww2): Likewise.
23175 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23177         * math/auto-libm-test-in: Add tests of cabs and carg.
23178         * math/auto-libm-test-out: Regenerated.
23179         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
23180         (carg_test_data): Likewise.
23181         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23182         mpc_c_f.
23183         (func_calc_desc): Add mpc_c_f union field.
23184         (test_functions): Add cabs and carg.
23185         (calc_generic_results): Handle mpc_c_f.
23187         * sysdeps/powerpc/powerpc32/libgcc-compat.S
23188         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
23189         as a macro and a compat symbol.
23190         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
23191         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
23192         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
23193         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
23194         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
23195         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
23196         not use .hidden.
23197         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
23198         Likewise.
23199         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
23200         Likewise.
23201         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
23202         Likewise.
23203         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
23204         Likewise.
23205         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
23206         Likewise.
23207         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
23208         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
23209         from GLIBC_2.3.2.
23211 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23215 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23217         * manual/texinfo.tex: Update to version 2013-11-26.10 with
23218         trailing whitespace removed.
23219         * scripts/config.guess: Update to version 2013-11-29.
23220         * scripts/config.sub: Update to version 2013-10-01.
23222         * math/auto-libm-test-in: Add tests of sincos.
23223         * math/auto-libm-test-out: Regenerated.
23224         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
23225         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23226         mpfr_f_11.
23227         (func_calc_desc): Add mpfr_f_11 union field.
23228         (test_functions): Add sincos.
23229         (calc_generic_results): Handle mpfr_f_11.
23230         * sysdeps/i386/fpu/libm-test-ulps: Update.
23231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23233 2013-12-19  Andreas Schwab  <schwab@suse.de>
23235         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
23236         CALL_MCOUNT.
23237         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23238         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
23239         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
23241 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
23243         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
23244         * sysdeps/i386/fpu/libm-test-ulps: Update.
23245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23247         [BZ #16293]
23248         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
23249         round-to-nearest mode when using frndint.
23250         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
23251         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
23252         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
23253         Likewise.
23254         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
23255         sinh test to fail.
23256         * math/auto-libm-test-out: Regenerated.
23257         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
23258         (TEST_COND_x86): Likewise.
23259         (expm1_tonearest_test_data): New array.
23260         (expm1_test_tonearest): New function.
23261         (expm1_towardzero_test_data): New array.
23262         (expm1_test_towardzero): New function.
23263         (expm1_downward_test_data): New array.
23264         (expm1_test_downward): New function.
23265         (expm1_upward_test_data): New array.
23266         (expm1_test_upward): New function.
23267         (main): Run the new test functions.
23268         * sysdeps/i386/fpu/libm-test-ulps: Update.
23269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23271         * include/features.h: Update comment documenting feature test
23272         macros.  Mention _DEFAULT_SOURCE in comment.
23273         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
23274         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
23275         _BSD_SOURCE and _SVID_SOURCE.
23276         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
23277         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
23278         !_SVID_SOURCE]: Likewise.
23279         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23280         (__USE_POSIX_IMPLICITLY): Define.
23281         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23282         (_POSIX_SOURCE): Undefine and redefine.
23283         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
23284         (_POSIX_C_SOURCE): Likewise.
23285         * manual/creature.texi (_DEFAULT_SOURCE): Document.
23286         (Feature Test Macros): Update documentation of default features.
23288 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23290         * benchtests/Makefile: Add bench-strtok.
23291         * benchtests/bench-strtok.c: New file: strtok benchtest.
23293 2013-12-19  Allan McRae  <allan@archlinux.org>
23295         * manual/install.texi: Suppress menu for plain text output.
23296         * INSTALL: Regenerated.
23298 2013-12-18  Brooks Moses  <bmoses@google.com>
23300         [BZ #15846]
23301         * misc/getauxval.c: Include errno.h.
23302         (__getauxval): Set errno to ENOENT if the requested type is not
23303         found.
23304         * misc/sys/auxv.h (getauxval): Document that it may set errno;
23305         don't declare with __attribute_const__.
23306         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
23307         * manual/startup.texi: Document that getauxval sets errno.
23309 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23311         * math/auto-libm-test-in: Add tests of jn and yn.
23312         * math/auto-libm-test-out: Regenerated.
23313         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
23314         (yn_test_data): Likewise.
23315         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23316         mpfr_if_f.
23317         (func_calc_desc): Add mpfr_if_f union field.
23318         (FUNC_mpfr_if_f): New macro.
23319         (test_functions): Add jn and yn.
23320         (calc_generic_results): Assert type of second input for
23321         mpfr_ff_f.  Handle mpfr_if_f.
23322         (output_for_one_input_case): Disable all checking for arguments
23323         fitting floating-point types in case of an integer argument.
23324         * sysdeps/i386/fpu/libm-test-ulps: Update.
23325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23328         Don't expect fegetround reference in libm.so.
23330 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23332         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
23333         $(config-cflags-nofma).
23335 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
23337         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
23338         * math/auto-libm-test-out: Regenerated.
23340         [BZ #16338]
23341         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
23342         to determine exponent and adjust argument to have exponent of -1.
23343         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
23344         log2.
23345         * math/auto-libm-test-out: Regenerated.
23346         * sysdeps/i386/fpu/libm-test-ulps: Update.
23347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23349 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
23351         * manual/probes.texi: Remove cases when per-thread arenas are
23352         disabled.
23354 2013-12-18  Andreas Schwab  <schwab@suse.de>
23356         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
23357         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
23358         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
23359         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
23360         * sysdeps/i386/i686/multiarch/Makefile: Update.
23361         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
23363 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23365         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
23366         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
23368 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
23370         [BZ #15968]
23371         Support TZ transition times < 00:00:00.
23372         This is needed for version-3 tz-format files; it supports time
23373         stamps past 2037 for America/Godthab (the only entry in the tz
23374         database for which this change is relevant).
23375         * manual/time.texi (TZ Variable): Document transition times
23376         from -167:59:59 through -00:00:01.
23377         * time/tzset.c (tz_rule): Time of day is now signed.
23378         (__tzset_parse_tz): Parse negative time of day.
23380         Document TZ transition times >= 25:00:00.
23381         * manual/time.texi (TZ Variable): Document transition times from
23382         25:00:00 through 167:59:59.  These are already supported, and this
23383         support will help with version-3 tz-format files.
23385         * manual/time.texi (TZ Variable): Modernize North America example
23386         to reflect current (i.e., 2007-and-later) daylight saving rules.
23388         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
23390 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23392         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
23393         * sysdeps/unix/bsd/bits/stat.h: Likewise.
23394         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
23395         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
23396         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
23397         * sysdeps/unix/bsd/bsdstat.h: Likewise.
23398         * sysdeps/unix/bsd/clock.c: Likewise.
23399         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
23400         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
23401         * sysdeps/unix/bsd/init-posix.c: Likewise.
23402         * sysdeps/unix/bsd/poll.c: Likewise.
23403         * sysdeps/unix/bsd/ptsname.c: Likewise.
23404         * sysdeps/unix/bsd/seekdir.c: Likewise.
23405         * sysdeps/unix/bsd/setegid.c: Likewise.
23406         * sysdeps/unix/bsd/seteuid.c: Likewise.
23407         * sysdeps/unix/bsd/setgid.c: Likewise.
23408         * sysdeps/unix/bsd/setrgid.c: Likewise.
23409         * sysdeps/unix/bsd/setruid.c: Likewise.
23410         * sysdeps/unix/bsd/setsid.c: Likewise.
23411         * sysdeps/unix/bsd/setuid.c: Likewise.
23412         * sysdeps/unix/bsd/sigaction.c: Likewise.
23413         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
23414         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
23415         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
23416         * sysdeps/unix/bsd/telldir.c: Likewise.
23417         * sysdeps/unix/bsd/times.c: Likewise.
23418         * sysdeps/unix/bsd/usleep.c: Likewise.
23420         * misc/Makefile (install-lib): Remove libbsd-compat.a.
23421         ($(objpfx)libbsd-compat.a): Remove rule.
23423         * include/features.h (__FAVOR_BSD): Do not define.
23424         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
23425         features conflicting with POSIX.
23426         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
23427         (_BSD_SOURCE): Remove description of not being a subset of other
23428         feature test macros.
23429         * manual/job.texi (getpgrp): Do not document BSD version.
23430         (getpgid): Do not document by reference to BSD getpgrp.
23431         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
23432         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
23433         * signal/signal.h [__FAVOR_BSD]: Likewise.
23434         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
23435         instead of making contents conditional on [__FAVOR_BSD].
23436         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
23438 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23442 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
23444         [BZ #16314]
23445         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
23446         values below 2**-450, not 2**-500.
23447         * math/auto-libm-test-in: Don't allow spurious underflow from
23448         hypot.
23449         * math/auto-libm-test-out: Regenerated.
23451         [BZ #16316]
23452         [BZ #16330]
23453         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
23454         values of ha and hb and sort them after adjusting subnormal
23455         arguments.
23456         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
23457         Likewise.
23458         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
23459         values of ea and eb and sort them after adjusting subnormal
23460         arguments.
23461         * math/auto-libm-test-in: Do not expect some hypot tests of
23462         subnormals to fail.  Add more hypot tests.
23463         * math/auto-libm-test-out: Regenerated.
23465 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23467         [BZ #13304]
23468         * sysdeps/sh/s_fma.c: New file.
23469         * sysdeps/sh/s_fmaf.c: New file.
23470         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
23471         version.
23472         * sysdeps/sh/Implies: Add sh/soft-fp.
23474 2013-12-16  Roland McGrath  <roland@hack.frob.com>
23476         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
23477         level of indirection to members `objname', `errstring', `malloced'.
23478         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
23479         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
23480         it as the __longjmp argument (just pass 1 instead).
23481         (_dl_catch_error): Initialize C with argument pointers and address of
23482         volatile local ERRCODE rather than copying values out of C at return.
23484 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
23486         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
23487         * math/auto-libm-test-out: Regenerated.
23488         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
23489         (hypot_test_data): Likewise.
23490         (pow_test_data): Likewise.
23491         (pow_tonearest_test_data): Likewise.
23492         * math/gen-auto-libm-tests.c (func_calc_method): Add value
23493         mpfr_ff_f.
23494         (func_calc_desc): Add mpfr_ff_f union field.
23495         (FUNC_mpfr_ff_f): New macro.
23496         (test_functions): Add atan2, hypot and pow.
23497         (special_fill_min): New function.
23498         (special_fill_minus_min): Likewise.
23499         (special_fill_min_subnorm): Likewise.
23500         (special_fill_minus_min_subnorm): Likewise.
23501         (special_real_inputs): Add min, -min, min_subnorm and
23502         -min_subnorm.
23503         (calc_generic_results): Handle mpfr_ff_f.
23504         * sysdeps/i386/fpu/libm-test-ulps: Update.
23505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23507 2013-12-16  Will Newton  <will.newton@linaro.org>
23509         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
23510         (Aligned Memory Blocks): Add documentation for aligned_alloc
23511         and suggest it as an alternative to posix_memalign.
23512         (Hooks for Malloc): Document __memalign_hook is also called
23513         for aligned_alloc.  (Summary of Malloc): Add summary for
23514         aligned alloc.  Document __memalign_hook is also called
23515         for aligned_alloc.
23517 2013-12-16  Will Newton  <will.newton@linaro.org>
23519         * manual/memory.texi (Malloc Examples): Clarify default
23520         alignment documentation.  Suggest posix_memalign rather
23521         than memalign or valloc.
23522         (Aligned Memory Blocks): Remove suggestion to use memalign
23523         or valloc.  Remove obsolete comment about BSD.
23524         Document memalign errno values and mark the function obsolete.
23525         Document posix_memalign returned error codes.  Mark valloc
23526         as obsolete.  (Hooks for Malloc): __memalign_hook is also
23527         called for posix_memalign and valloc.
23528         (Summary of Malloc): Add posix_memalign to function summary.
23529         __memalign_hook is also called for posix_memalign and valloc.
23531 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23533         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
23534         TAYLOR_SIN.
23535         (__sin): Adjust.
23536         (__cos): Likewise.
23537         (sloww): Use mynumber union.  Expand ternary operator into
23538         if-else statements.
23539         (cslow): use mynumber union.
23541 2013-12-16  Allan McRae  <allan@archlinux.org>
23543         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
23544         * configure: Regenerated.
23546         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
23548         [BZ #14120]
23549         * configure.ac: Added --enable-maintainer-mode. Check for
23550         autoconf when enabled.
23551         * configure: Regenerated.
23553         * nscd/nscd.service: New file.
23554         * nscd/nscd.tmpfiles: New file.
23556 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
23558         [BZ #12100]
23559         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
23560         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
23561         * sysdeps/x86_64/multiarch/strstr.c: ... here.
23562         (strstr): Add __strstr_sse2_unaligned ifunc.
23563         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
23564         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
23565         (strcasestr): Remove __strcasestr_sse42 ifunc.
23566         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
23567         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
23568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23570 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23572         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
23573         * sysdeps/sh/bits/fenv.h: ... here.
23574         * sysdeps/sh/sh4/fpu/bits: Remove directory.
23576 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23578         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
23580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
23581         hypotf multiarch implementations.
23582         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
23583         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
23584         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
23585         multiarch hypot for PPC64.
23586         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
23587         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
23588         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
23589         multiarch hypotf for PPC64.
23591         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
23592         modff multiarch implementations.
23593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
23594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
23595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
23596         multiarch modf for PPC64.
23597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
23598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
23599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
23600         multiarch modff for PPC64.
23602         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
23603         and logl multiarch implementations.
23604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
23605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
23606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
23607         multiarch logb for PPC64.
23608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
23609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
23610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
23611         multiarch logb for PPC64.
23612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
23613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
23614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
23615         multiarch logb for PPC64.
23617         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
23618         isinff multiarch implementation.
23619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
23620         file.
23621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
23622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
23623         multiarch isinf for PPC64.
23624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
23625         file.
23626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
23627         multiarch isinff for PPC64.
23629         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
23630         finitef multiarch implementation.
23631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
23632         file.
23633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
23634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
23635         multiarch finite for PPC64.
23636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
23637         file.
23638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
23639         multiarch finitef for PPC64.
23641         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
23642         lrint multiarch implementation.
23643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
23644         file.
23645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
23646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
23647         multiarch llrint for PPC64.
23648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
23649         multiarch lrint for PPC64.
23651         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
23652         copysignf multiarch implementation.
23653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
23654         file.
23655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
23656         file.
23657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
23658         multiarch copysign for PPC64.
23659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
23660         multiarch copysignf for PPC64.
23662         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
23663         multiarch implementation.
23664         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
23665         file.
23666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
23667         file.
23668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
23669         file.
23670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
23671         file.
23672         multiarch llround for PPC64.
23673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
23674         multiarch trunc for PPC64.
23675         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
23676         multiarch truncf for PPC64.
23678         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
23679         multiarch implementation.
23680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
23681         file.
23682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
23683         file.
23684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
23685         file.
23686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
23687         file.
23688         multiarch llround for PPC64.
23689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
23690         multiarch round for PPC64.
23691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
23692         multiarch roundf for PPC64.
23694         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
23695         multiarch implementation.
23696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
23697         file.
23698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
23699         file.
23700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
23701         file.
23702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
23703         file.
23704         multiarch llround for PPC64.
23705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
23706         multiarch floor for PPC64.
23707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
23708         multiarch floorf for PPC64.
23710         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
23711         multiarch implementation.
23712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
23713         file.
23714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
23715         file.
23716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
23717         file.
23718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
23719         file.
23720         multiarch llround for PPC64.
23721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
23722         multiarch ceil for PPC64.
23723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
23724         multiarch ceilf for PPC64.
23726         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
23727         multiarch implementation.
23728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
23729         file.
23730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
23731         file.
23732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
23733         file.
23734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
23735         multiarch llround for PPC64.
23736         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
23737         multiarch lround for PPC64.
23739         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
23740         multiarch implementation.
23741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
23742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
23743         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
23744         file.
23745         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
23746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
23747         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
23748         multiarch isnan for PPC64.
23749         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
23750         multiarch isnanf for PPC64.
23752         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
23753         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
23754         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
23755         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
23756         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
23757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
23759         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
23760         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
23761         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
23762         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
23764         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
23765         multiarch implementations.
23766         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23767         (__libc_ifunc_impl_list): Likewise.
23768         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23769         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
23770         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
23771         multiarch stpcpy for PPC64.
23773         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
23774         multiarch implementations.
23775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23776         (__libc_ifunc_impl_list): Likewise.
23777         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
23778         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
23779         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
23780         multiarch strcpy for PPC64.
23782         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
23783         redefine function name.
23784         (_wordcopy_fwd_dest_aligned): Likewise.
23785         (_wordcopy_bwd_aligned): Likewise.
23786         (_wordcopy_bwd_dest_aligned): Likewise.
23787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
23788         multiarch implementations.
23789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23790         (__libc_ifunc_impl_list): Likewise.
23791         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
23792         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
23793         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
23794         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
23795         multiarch wcscpy for PPC64.
23797         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
23798         multiarch implementations.
23799         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23800         (__libc_ifunc_impl_list): Likewise.
23801         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
23802         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
23803         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
23804         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
23805         multiarch wcscpy for PPC64.
23807         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
23808         multiarch implementations.
23809         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23810         (__libc_ifunc_impl_list): Likewise.
23811         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
23812         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
23813         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
23814         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
23815         multiarch wcsrchr for PPC64.
23817         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
23818         multiarch implementations.
23819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23820         (__libc_ifunc_impl_list): Likewise.
23821         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
23822         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
23823         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
23824         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
23825         multiarch wcschr for PPC64.
23827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
23828         multiarch implementations.
23829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23830         (__libc_ifunc_impl_list): Likewise.
23831         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
23832         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
23833         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
23834         multiarch strchrnul for PPC64.
23836         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
23837         implementations.
23838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23839         (__libc_ifunc_impl_list): Likewise.
23840         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
23841         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
23842         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
23843         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
23844         strchr for PPC64.
23846         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
23847         implementations.
23848         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23849         (__libc_ifunc_impl_list): Likewise.
23850         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
23851         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
23852         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
23853         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
23854         strncmp for PPC64.
23856         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
23857         multiarch implementations.
23858         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23859         (__libc_ifunc_impl_list): Likewise.
23860         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
23861         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
23862         strncasecmp for PPC64.
23863         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
23864         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
23865         multiarch strncasecmp_l for PPC64.
23867         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
23868         multiarch implementations.
23869         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23870         (__libc_ifunc_impl_list): Likewise.
23871         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
23872         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
23873         multiarch strcasecmp for PPC64.
23874         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
23875         file.
23876         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
23877         multiarch strcasecmp_l for PPC64.
23879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
23880         implementations.
23881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23882         (__libc_ifunc_impl_list): Likewise.
23883         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
23884         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
23885         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
23886         strnlen for PPC64.
23888         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
23889         implementations.
23890         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23891         (__libc_ifunc_impl_list): Likewise.
23892         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
23893         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
23894         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
23895         strlen for PPC64.
23897         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
23898         implementations.
23899         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23900         (__libc_ifunc_impl_list): Likewise.
23901         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
23902         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
23903         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
23904         rawmemrchr for PPC64.
23906         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
23907         implementation.
23908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23909         (__libc_ifunc_impl_list): Likewise.
23910         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
23911         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
23912         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
23913         memrchr for PPC64.
23915         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
23916         implementation.
23917         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23918         (__libc_ifunc_impl_list): Likewise.
23919         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
23920         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
23921         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
23922         memchr for PPC64.
23924         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
23925         implementation.
23926         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23927         (__libc_ifunc_impl_list): Likewise.
23928         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
23929         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
23930         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
23931         mempcpy for PPC64.
23933         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
23934         avoid cretion of __bzero symbol.
23935         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
23936         Likewise.
23937         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
23938         Likewise.
23939         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
23940         Likewise.
23941         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
23942         multiarch implementations.
23943         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23944         (__libc_ifunc_impl_list): Likewise.
23945         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
23946         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
23947         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
23948         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
23949         bzero for PPC32.
23950         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
23951         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
23952         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23953         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
23954         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
23955         memset for PPC64.
23956         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
23958         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
23959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
23960         implementations.
23961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23962         (__libc_ifunc_impl_list): Likewise.
23963         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
23964         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
23965         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
23966         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
23967         memcmp for PPC64.
23969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
23970         multiarch for POWER/PPC64.
23971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23972         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
23973         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
23974         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
23975         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
23976         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
23977         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
23978         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
23979         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
23980         memcpy for PPC64.
23982         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
23983         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
23984         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
23985         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
23986         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
23987         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
23988         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
23989         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
23990         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
23991         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
23992         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
23993         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
23994         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
23995         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
23996         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
23997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
23998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
23999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
24000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
24001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
24002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
24005 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24007         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
24009 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24011         * benchtests/Makefile (bench): Add exp2 and log2.
24012         (LDLIBS-bench-exp2): Add -lm.
24013         (LDLIBS-bench-log2): Likewise.
24014         * benchtests/exp2-inputs: New inputs file.
24015         * benchtests/log2-inputs: New inputs file.
24016         * benchtests/log-inputs: Add new inputs.
24017         * benchtests/tan-inputs: Likewise.
24019 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24021         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
24022         definition...
24023         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
24024         (csloww2): ... from here.
24026         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
24027         instead of structures.
24028         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
24029         (POLYNOMIAL): Likewise.
24030         (TAYLOR_SLOW): Likewise.
24031         (__sin): Likewise.
24032         (__cos): Likewise.
24033         (slow1): Likewise.
24034         (slow2): Likewise.
24035         (sloww): Likewise.
24036         (sloww1); Likewise.
24037         (sloww2): Likewise.
24038         (bsloww1): Likewise.
24039         (bsloww2): Likewise.
24040         (cslow2): Likewise.
24041         (csloww): Likewise.
24042         (csloww1): Likewise.
24043         (csloww2): Likewise.
24045 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
24047         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
24048         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
24049         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
24050         * malloc/hooks.c (realloc_check): Likewise.
24052         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
24053         * malloc/arena.c: Remove PER_THREAD conditional.
24054         [!PER_THREAD]: Remove code.
24055         (ptmalloc_unlock_all2): Likewise.
24056         (ptmalloc_init): Likewise.
24057         (_int_new_arena): Likewise.
24058         (arena_get2): Likewise.
24059         * malloc/hooks.c (__malloc_get_state): Likewise.
24060         (__malloc_set_state): Likewise.
24061         * malloc/malloc.c: Likewise.
24062         (struct malloc_state): Likewise.
24063         (struct malloc_par): Likewise.
24064         (__libc_realloc): Likewise.
24065         (__libc_mallopt): Likewise.
24067 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24069         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
24071 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
24073         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
24074         macro to a function.  Check for zero perturb_byte.
24075         (_int_malloc, _int_free): Remove zero perturb_byte checks.
24077         * malloc/malloc.c: (force_reg): Remove.
24078         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
24079         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
24080         force_reg by atomic_forced_read.
24081         * malloc/arena.c (ptmalloc_init): Likewise.
24082         * malloc/hooks.c (top_check): Likewise.
24084 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24088 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
24090         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24092 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
24094         * math/auto-libm-test-in: Add tests of lgamma.
24095         * math/auto-libm-test-out: Regenerated.
24096         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
24097         (M_LOG_2_SQRT_PIl): Likewise.
24098         (lgamma_test_data): Use AUTO_TESTS_f_f1.
24099         * math/gen-auto-libm-tests.c (func_calc_method): Add value
24100         mpfr_f_f1.
24101         (func_calc_desc): Add mpfr_f_f1 union field.
24102         (ARGS1): New macro.
24103         (ARGS2): Likewise.
24104         (ARGS3): Likewise.
24105         (ARGS4): Likewise.
24106         (RET1): Likewise.
24107         (RET2): Likewise.
24108         (CALC): Likewise.
24109         (FUNC): Likewise.
24110         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
24111         (test_functions): Add lgamma.
24112         (calc_generic_results): Handle mpfr_f_f1.
24113         * sysdeps/i386/fpu/libm-test-ulps: Update.
24114         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24116 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24118         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
24119         __mpn_add_n for PowerPC64/POWER7.
24120         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
24121         __mpn_sub_n for PowerPC64/POWER7.
24123         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
24124         __mpn_addmul_1 for PowerPC64.
24125         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
24126         __mpn_submul_1 for PowerPC64.
24127         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
24128         for PowerPC64.
24129         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
24130         for PowerPC64.
24132 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
24134         [BZ #15089]
24135         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
24137 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24139         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
24141         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
24142         add multiarch folders.
24143         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
24144         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
24145         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
24146         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
24147         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
24148         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
24149         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
24150         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
24151         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
24152         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
24153         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
24154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
24155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
24156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
24157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
24158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
24159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
24161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24162         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
24163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
24164         New file.
24165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
24166         New file.
24167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
24168         multiarch __ieee754_hypot for PowerPC32.
24169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
24170         New file.
24171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
24172         New file.
24173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
24174         multiarch __ieee754_hypotf for PowerPC32.
24176         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
24177         long_double_symbol only if __logbl is defined.
24178         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
24179         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
24180         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
24181         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
24182         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
24183         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
24184         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
24185         path for implementation.
24186         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
24187         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
24188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
24189         logb, and logbl multiarch implementations for PowerPC32.
24190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
24191         file.
24192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
24193         file.
24194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
24195         multiarch logb for PowerPC32.
24196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
24197         file.
24198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
24199         file.
24200         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
24201         multiarch logbf for PowerPC32.
24202         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
24203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
24204         file.
24205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
24206         multiarch logbl implementation for PowerPC32.
24208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
24209         and modff multiarch implementations.
24210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
24211         New file.
24212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
24213         New file.
24214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
24215         multiarch modf for PowerPC32.
24216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
24217         New file.
24218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
24219         New file.
24220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
24221         multiarch modff for PowerPC32.
24223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
24224         and lrintf multiarch implementations.
24225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
24226         New file.
24227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
24228         New file.
24229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
24230         multiarch lrint for PowerPC32.
24231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
24232         file: multiarch lrintf for PowerPC32.
24234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
24235         and lroundf multiarch implementations.
24236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
24237         New file.
24238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
24239         New file.
24240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
24241         New file.
24242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
24243         multiarch lround for PowerPC32.
24244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
24245         file: multiarch lroundf for PowerPC32.
24247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
24248         copysign and copysignf multiarch implementations.
24249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
24250         New file.
24251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
24252         New file.
24253         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
24254         file: multiarch copysign for PowerPC32.
24255         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
24256         file: multiarch copysignf for PowerPC32.
24258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
24259         and truncf multiarch implementations.
24260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
24261         New file.
24262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
24263         file.
24264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
24265         multiarch trunc for PowerPC32.
24266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
24267         New file.
24268         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
24269         New file.
24270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
24271         multiarch truncf for PowerPC32.
24273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
24274         and roundf multiarch implementations.
24275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
24276         New file.
24277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
24278         file.
24279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
24280         multiarch round for PowerPC32.
24281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
24282         New file.
24283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
24284         New file.
24285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
24286         multiarch roundf for PowerPC32.
24288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
24289         and floorf multiarch implementations.
24290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
24291         New file.
24292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
24293         file.
24294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
24295         multiarch floor for PowerPC32.
24296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
24297         New file.
24298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
24299         New file.
24300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
24301         multiarch floorf for PowerPC32.
24303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
24304         and ceilf multiarch implementations.
24305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
24306         New file.
24307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
24308         file.
24309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
24310         multiarch ceil for PowerPC32.
24311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
24312         New file.
24313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
24314         file.
24315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
24316         multiarch ceilf for PowerPC32.
24318         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
24319         is defined.
24320         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
24321         FINITEF is defined.
24322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
24323         and finitef multiarch implementations.
24324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
24325         New file.
24326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
24327         file.
24328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
24329         multiarch finite for PowerPC32.
24330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
24331         New file.
24332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
24333         file: multiarch finitef for PowerPC32.
24335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
24336         and isinff multiarch implementations.
24337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
24338         file.
24339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
24340         file.
24341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
24342         multiarch isinf for PowerPC32.
24343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
24344         New file.
24345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
24346         multiarch isinff for PowerPC32.
24348         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
24349         alias when __isnan is defined.
24350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
24351         and isnanf multiarch implementations.
24352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
24353         file.
24354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
24355         file.
24356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
24357         file.
24358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
24359         file.
24360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
24361         multiarch isnan for PowerPC32.
24362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24363         New file.
24364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
24365         New file.
24366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
24367         multiarch isnanf for PowerPC32.
24369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
24370         and sqrtf multiarch implementations.
24371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
24372         file.
24373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
24374         file.
24375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
24376         multiarch sqrt for PowerPC32.
24377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
24378         file.
24379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
24380         file.
24381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
24382         multiarch sqrtf for PowerPC32.
24384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
24385         and llroundf multiarch implementations.
24386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
24387         New file.
24388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
24389         New file.
24390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
24391         New file.
24392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
24393         file: multiarch llround for PowerPC32.
24394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
24395         file: multiarch llroundf for PowerPC32.
24397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
24398         multiarch PowerPC32 fpu implementations.
24399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
24400         New file.
24401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
24402         New file.
24403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
24404         multiarch llrint for PowerPC32.
24405         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
24406         New file.
24407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
24408         New file.
24409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
24410         file.
24412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
24414         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
24415         file.
24416         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
24417         file.
24418         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
24419         file.
24420         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
24421         multiarch wordcopy for PPC32.
24422         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24423         wordcopy objects.
24424         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24425         (__libc_ifunc_impl_list): Likewise.
24426         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
24427         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
24428         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
24429         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
24430         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
24431         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
24433         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
24434         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
24435         file.
24436         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
24437         file.
24438         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
24439         file.
24440         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
24441         multiarch wcscpy for PPC32.
24442         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
24443         multiarch objects.
24444         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24445         (__libc_ifunc_impl_list): Likewise.
24446         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24447         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24448         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
24449         sysdeps/powerpc/power6/wcscpy.c.
24451         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
24452         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
24453         file.
24454         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
24455         file.
24456         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
24457         file.
24458         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
24459         multiarch wcsrchr for PPC32.
24460         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24461         multiarch objects.
24462         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24463         (__libc_ifunc_impl_list): Likewise.
24464         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
24465         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
24466         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
24467         sysdeps/powerpc/power6/wcsrchr.c.
24469         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
24470         file.
24471         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
24472         file.
24473         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
24474         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
24475         multiarch wcschr for PPc32.
24476         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
24477         multiarch objects.
24478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24479         (__libc_ifunc_impl_list): Likewise.
24480         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
24481         * sysdeps/powerpc/power6/wcschr.c: ... to here.
24482         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
24483         sysdeps/powerpc/power6/wcschr.c.
24485         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
24486         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
24487         file.
24488         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
24489         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
24490         file: multiarch strchr for PPC32.
24491         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
24492         multiarch objects.
24493         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24494         (__libc_ifunc_impl_list): Likewise.
24496         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
24497         name.
24498         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
24499         file.
24500         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
24501         file.
24502         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
24503         multiarch strchrnul for PPC32.
24504         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
24505         multiarch objects.
24506         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24507         (__libc_ifunc_impl_list): Likewise.
24509         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
24510         file.
24511         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
24512         multiarch strncasecmp for PPC32.
24513         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
24514         file.
24515         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
24516         multiarch strncasecmp_l for PPC32.
24517         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
24518         strncasecmp multiarch objects.
24519         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24520         (__libc_ifunc_impl_list): Likewise.
24522         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
24523         file.
24524         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
24525         multiarch strncasecmp for PPC32.
24526         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
24527         New file.
24528         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
24529         multiarch strcasecmp_l for PPC32.
24530         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
24531         multiarch objects.
24532         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24533         (__libc_ifunc_impl_list): Likewise.
24535         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
24536         file.
24537         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
24538         file.
24539         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
24540         multiarch strncmp for PPC32.
24541         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
24542         multiarch objects.
24543         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24544         (__libc_ifunc_impl_list): Likewise.
24546         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
24547         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
24548         file.
24549         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
24550         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
24551         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
24552         multiarch objects.
24553         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24554         (__libc_ifunc_impl_list): Likewise.
24556         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
24557         file.
24558         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
24559         file.
24560         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
24561         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
24562         multiarch objects.
24563         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24564         (__libc_ifunc_impl_list): Likewise.
24566         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
24567         file.
24568         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
24569         file.
24570         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
24571         multiarch rawmemchr for PPC32.
24572         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
24573         multiarch objects.
24574         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24575         (__libc_ifunc_impl_list): Likewise.
24577         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
24578         file.
24579         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
24580         file.
24581         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
24582         file: memrchr multiarch for PPC32.
24583         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
24584         multiarch objects.
24585         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24586         (__libc_ifunc_impl_list): Likewise.
24588         * string/memchr.c (__memchr): Using macro to redefine symbol name.
24589         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
24590         file.
24591         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
24592         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
24593         multiarch memchr for PPC32.
24594         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
24595         multiarch objects.
24596         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24597         (__libc_ifunc_impl_list): Likewise.
24599         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
24600         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
24601         file.
24602         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
24603         file.
24604         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
24605         file: multiarch mempcpy for PPC32.
24606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24607         multiarch objects.
24608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24609         (__libc_ifunc_impl_list): Likewise.
24611         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
24612         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
24613         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
24614         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
24615         multiarch bzero for PPC32.
24616         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
24617         file.
24618         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
24619         file.
24620         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
24621         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
24622         file: multiarch memset for PPC32.
24623         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
24624         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
24625         memset multiarch objects.
24626         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24627         (__libc_ifunc_impl_list): Likewise.
24629         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
24630         file.
24631         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
24632         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
24633         memcmp for PPC32.
24634         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
24635         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
24636         multiarch objects.
24637         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24638         (__libc_ifunc_impl_list): Likewise.
24640         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
24641         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
24642         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
24643         file.
24644         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
24645         file.
24646         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
24647         file.
24648         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
24649         multiarch memcpy for PPC32.
24650         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
24651         multiarch objects.
24652         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
24653         (__libc_ifunc_impl_list): Likewise.
24655         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
24656         support multiarch for POWER/PPC32.
24657         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24658         Likewise.
24659         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
24660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
24661         Implies file to make multiarch folder appers before the fpu and
24662         default folder for power4 configuration.
24664 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24666         * scripts/bench.pl: Append volatile keyword to type.
24668 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24670         * sysdeps/sh/sotruss-lib.c: New file.
24671         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
24673 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24677 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
24679         [BZ #6810]
24680         * math/w_tgamma.c: Include <errno.h>.
24681         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
24682         * math/w_tgammaf.c: Include <errno.h>.
24683         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
24684         * math/w_tgammal.c: Include <errno.h>.
24685         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
24686         * math/auto-libm-test-in: Do not allow missing errno on tgamma
24687         underflow.  Add more tgamma tests.
24688         * math/auto-libm-test-out: Regenerated.
24689         * sysdeps/i386/fpu/libm-test-ulps: Update.
24690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24692         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
24693         sin, sinh, tan, tanh, tgamma, y0 and y1.
24694         * math/auto-libm-test-out: Regenerated.
24695         * math/libm-test.inc (TEST_COND_x86_64): New macro.
24696         (TEST_COND_x86): Likewise.
24697         (M_E2l): Remove macro.
24698         (M_E3l): Likewise.
24699         (M_2_SQRT_PIl): Likewise.
24700         (M_SQRT_PIl): Likewise.
24701         (M_1_DIV_El): Likewise.
24702         (log_test_data): Use AUTO_TESTS_f_f.
24703         (log10_test_data): Likewise.
24704         (log1p_test_data): Likewise.
24705         (log2_test_data): Likewise.
24706         (sin_test_data): Likewise.
24707         (sin_tonearest_test_data): Likewise.
24708         (sin_towardzero_test_data): Likewise.
24709         (sin_downward_test_data): Likewise.
24710         (sin_upward_test_data): Likewise.
24711         (sinh_test_data): Likewise.
24712         (sinh_tonearest_test_data): Likewise.
24713         (sinh_towardzero_test_data): Likewise.
24714         (sinh_downward_test_data): Likewise.
24715         (sinh_upward_test_data): Likewise.
24716         (tan_test_data): Likewise.
24717         (tan_tonearest_test_data): Likewise.
24718         (tan_towardzero_test_data): Likewise.
24719         (tan_downward_test_data): Likewise.
24720         (tan_upward_test_data): Likewise.
24721         (tanh_test_data): Likewise.
24722         (tgamma_test_data): Likewise.
24723         (y0_test_data): Likewise.
24724         (y1_test_data): Likewise.
24725         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
24726         (special_real_inputs): Add pi/4.
24727         * sysdeps/i386/fpu/libm-test-ulps: Update.
24728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24730 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24732         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
24733         "longjmp_target" static probes.
24734         (__longjmp): Rename to __longjmp_symbol.
24735         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
24736         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
24737         on which longjmp to generate.
24738         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24739         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
24740         probe.
24741         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24742         (__sigjmp_save): Rename to __sigjmp_save_symbol.
24743         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
24744         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
24745         and __sigjmp_save_symbol based on which sigsetjmp to generated.
24746         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
24747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
24748         __longjmp_symbol based on which __longjmp to generate.
24749         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
24750         probe.
24751         (setjmp): Rename to setjmp_symbol.
24752         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24753         (_setjmp): Rename to _setjmp_symbol.
24754         (__sigsetjmp): Rename to __sigsetjmp_symbol.
24755         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
24756         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
24757         which setjmp to generate.
24758         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
24759         "longjmp_target" static probes.
24761 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24763         * benchtests/README: Add note about output arguments.
24764         * benchtests/bench-sincos.c: Remove file.
24765         * benchtests/sincos-inputs: New file.
24766         * scripts/bench.pl: Identify output arguments and define
24767         static variables for them.
24769         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
24771         [BZ #15941]
24772         * Makefile (INSTALL): Add install-plain.texi as the primary
24773         dependency.
24774         * manual/install-plain.texi: New file.
24775         * manual/install.texi: Include node directive only for
24776         non-plaintext output.
24778 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
24780         * stdlib/longlong.h: Update from GCC.
24782         [BZ #6807]
24783         [BZ #15901]
24784         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
24785         * math/w_j0f.c (y0f): Likewise.
24786         * math/w_j0l.c (__y0l): Likewise.
24787         * math/w_j1.c (y1): Likewise.
24788         * math/w_j1f.c (y1f): Likewise.
24789         * math/w_j1l.c (__y1l): Likewise
24790         * math/w_jn.c (yn): Likewise.
24791         * math/w_jnf.c (ynf): Likewise.
24792         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
24793         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
24794         value for Bessel function domain errors outside _SVID_ mode.
24795         Adjust sign of return value for yn (negative integer, 0).
24796         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
24797         by zero in return for negative x and set sign appropriately for
24798         negative n.
24799         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
24800         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
24801         * math/libm-test.inc (y0_test_data): Add more tests and adjust
24802         expectations in error cases.
24803         (y1_test_data): Likewise.
24804         (yn_test_data): Likewise.
24805         * sysdeps/i386/fpu/libm-test-ulps: Update.
24806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24808 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24810         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
24811         "64" to "64-v1".  Add "64-v2".
24812         (abi-64-options): Rename to ...
24813         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
24814         (abi-64-condition): Rename to ...
24815         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
24816         (abi-64-ld-soname): Rename to ...
24817         (abi-64-v1-ld-soname): ... this.
24818         (abi-64-v2-options): Define.
24819         (abi-64-v2-condition): Likewise.
24820         (abi-64-v2-ld-soname): Likewise.
24821         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
24822         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
24823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
24824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
24825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
24827 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24828             Alan Modra  <amodra@gmail.com>
24830         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
24831         New versions for use with the ELFv2 ABI.
24832         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
24833         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
24834         declaration.
24835         (struct La_ppc64v2_retval): Likewise.
24836         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
24837         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
24838         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
24839         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
24840         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
24841         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
24842         Do not save or restore CR.
24843         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
24844         (_dl_profile_resolve): Do no save or restore CR.  Support extended
24845         return values for ELFv2 ABI.  Fix location of FPR return registers.
24846         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
24847         updated values for _CALL_ELF == 2.
24848         (La_regs, La_retval, int_retval): Likewise.
24850 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24852         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
24853         (FRAME_MIN_SIZE_PARM): Likewise.
24854         (FRAME_BACKCHAIN): Likewise.
24855         (FRAME_CR_SAVE): Likewise.
24856         (FRAME_LR_SAVE): Likewise.
24857         (FRAME_TOC_SAVE): Likewise.
24858         (FRAME_PARM_SAVE): Likewise.
24859         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
24860         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
24861         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24862         (call_mcount_parm_offset): New macro.
24863         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
24864         (PROF): Use symbolic stack frame offsets.
24865         (TAIL_CALL_SYSCALL_ERROR): Likewise.
24866         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
24867         Redefine in terms of FRAME_MIN_SIZE.
24868         (_dl_runtime_resolve): Use symbolic stack frame offsets.
24869         (_dl_profile_resolve): Likewise.  Update comment.
24870         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
24871         symbols stack frame offsets.
24872         (__sigsetjmp): Likewise.
24873         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
24874         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
24875         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
24876         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
24878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
24879         (FRAME_BACKCHAIN): Remove.
24880         (FRAME_CR_SAVE): Likewise.
24881         (FRAME_LR_SAVE): Likewise.
24882         (FRAME_COMPILER_DW): Likewise.
24883         (FRAME_LINKER_DW): Likewise.
24884         (FRAME_TOC_SAVE): Likewise.
24885         (FRAME_PARM_SAVE): Likewise.
24886         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
24887         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
24888         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
24889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
24890         (CHECK_SP): Use symbolic stack frame offsets.
24891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
24892         zone" instead of caller's parameter save area for temp storage.
24893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
24894         Likewise.  Also, use symbolic stack frame offsets.
24895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
24896         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
24897         our own stack frame instead of the caller's.
24898         (__socket): Use symbolic stack frame offsets.
24900 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24901             Alan Modra  <amodra@gmail.com>
24903         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
24904         Define.
24905         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
24906         (PPC64_LOCAL_ENTRY_OFFSET): Define.
24907         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
24908         New function.
24909         (elf_machine_fixup_plt): Call it.
24910         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
24911         reloc arguments.
24912         (elf_machine_rela): Update call to elf_machine_plt_conflict.
24913         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24914         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
24915         r2 before calling target.
24917 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24918             Alan Modra  <amodra@gmail.com>
24920         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
24921         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
24922         versions of macros to support ELFv2 ABI.
24923         (LOCALENTRY): New macro.
24924         (ENTRY, EALIGN): Use it.
24925         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
24926         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
24927         fall through into ENTRY entry point.
24928         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
24929         Only define if _CALL_ELF != 2.
24931         (elf_machine_matches_host): Verify ABI version matches.
24932         (RTLD_START): Use LOCALENTRY.
24933         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
24934         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
24935         (PLT_ENTRY_WORDS): New macro.
24936         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
24937         (elf_machine_runtime_setup): Support ELFv2 ABI.
24938         (elf_machine_fixup_plt): Likewise.
24939         (elf_machine_plt_conflict): Likewise.
24940         (resolve_ifunc): Likewise.
24941         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
24942         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
24943         Likewise.
24944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
24945         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
24946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24947         (makecontext): Support ELFv2 ABI.
24948         * elf/elf.h (EF_PPC64_ABI): Define.
24950 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24952         * sysdeps/powerpc/powerpc64/sysdep.h
24953         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
24954         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
24955         (ENTRY) [ASSEMBLER]: ... but instead here ...
24956         (EALIGN) [ASSEMBLER]: ... and here.
24957         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
24958         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
24959         (ENTRY_2) [!ASSEMBLER]: Use it.
24960         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
24961         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
24962         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
24963         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
24964         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
24965         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
24966         Use PPC64_LOAD_FUNCPTR.
24968         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
24970 2013-12-04  Alan Modra  <amodra@gmail.com>
24972         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
24973         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
24974         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
24975         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
24977         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
24978         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
24979         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
24980         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
24981         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
24982         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
24984 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
24986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
24987         (__makecontext): Fix incorrect CFI when backtracing out of
24988         context created via makecontext.
24989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
24990         (__setcontext): Fix incorrect CFI during switch to new context.
24991         (__novec_setcontext): Likewise.
24993 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
24995         [BZ #4772]
24996         * time/strptime_l.c (__strptime_internal): Allow modifiers
24997         in strptime.
24998         * time/tst-strptime.c (day_tests): Add testcase.
25000 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25002         * scripts/bench.pl: Skip over blank lines.
25004 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25006         [BZ #926]
25007         * manual/time.texi (Calendar Time): Clarify what timezone functions
25008         use.
25010 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25014 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
25016         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
25017         implementation.
25018         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25019         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25020         * debug/memset_chk.c (__memset_chk): Likewise.
25021         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
25022         * debug/strncpy_chk.c: Likewise.
25024 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25026         [BZ #15268]
25027         [BZ #15425]
25028         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
25029         (__ieee754_exp): For possibly underflowing results, check size of
25030         result and force underflow exception if required.
25031         * math/auto-libm-test-in: Add more tests of exp.
25032         * math/auto-libm-test-out: Regenerated.
25033         * sysdeps/i386/fpu/libm-test-ulps: Update.
25034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25036         [BZ #16283]
25037         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
25038         * math/w_exp2f.c (__exp2f): Likewise.
25039         * math/w_exp2l.c (__exp2l): Likewise.
25040         * math/auto-libm-test-in: Do not allow missing errno on exp2
25041         underflow.
25042         * math/auto-libm-test-out: Regenerated.
25044 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
25046         [BZ #16274]
25047         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
25048         handle filename validation.
25049         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
25050         (do_open): Delete.
25052 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
25054         [BZ #6786]
25055         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
25056         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
25057         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
25058         <float.h>.
25059         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
25060         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
25061         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25062         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
25063         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25064         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
25065         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
25066         * math/auto-libm-test-in: Don't allow missing errno from erfc.
25067         Add more erfc tests.
25068         * math/auto-libm-test-out: Regenerated.
25069         * sysdeps/i386/fpu/libm-test-ulps: Update.
25070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25072         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
25073         exp2, expm1, j0 and j1.
25074         * math/auto-libm-test-out: Regenerated.
25075         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
25076         (erfc_test_data): Likewise.
25077         (exp_test_data): Likewise.
25078         (exp_tonearest_test_data): Likewise.
25079         (exp_towardzero_test_data): Likewise.
25080         (exp_downward_test_data): Likewise.
25081         (exp_upward_test_data): Likewise.
25082         (exp10_test_data): Likewise.
25083         (exp2_test_data): Likewise.
25084         (expm1_test_data): Likewise.
25085         (j0_test_data): Likewise.
25086         (j1_test_data): Likewise.
25087         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
25088         (input_flag_type): Add flag_xfail_rounding.
25089         (input_flags): Add xfail-rounding.
25090         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
25091         (output_for_one_input_case): Handle flag_xfail_rounding.
25092         * sysdeps/i386/fpu/libm-test-ulps: Update.
25093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25095 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
25097         [BZ #16289]
25098         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
25099         division by 0.
25101 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25103         [BZ #16195]
25104         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
25105         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
25106         (STAP_PROBE0): New macro.
25107         (STAP_PROBE1): Likewise.
25108         (STAP_PROBE2): Likewise.
25109         (STAP_PROBE3): Likewise.
25110         (STAP_PROBE4): Likewise.
25112 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
25114         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
25116 2013-12-02  Steve Ellcey  <sellcey@mips.com>
25118         * benchtests/Makefile (bench): Add sqrt.
25119         (LDLIBS-bench-sqrt): New.
25120         * benchtests/sqrt-input: New.
25122 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
25124         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
25125         (GAIH_EAI): Likewise.
25126         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
25127         (gaih_inet): Likewise.
25128         (getaddrinfo): Don't use GAIH_EAI.
25130         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
25131         (struct gaih): Remove definition.
25133 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25135         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
25136         Use HERRNOP directly.
25138 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25142 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
25144         * math/gen-auto-libm-tests.c (test_functions): Add more
25145         single-argument functions.
25146         (special_fill_pi_2): New function.
25147         (special_fill_minus_pi_2): Likewise.
25148         (special_fill_pi_6): Likewise.
25149         (special_fill_minus_pi_6): Likewise.
25150         (special_fill_pi_3): Likewise.
25151         (special_fill_2pi_3): Likewise.
25152         (special_fill_e): Likewise.
25153         (special_fill_1_e): Likewise.
25154         (special_fill_e_minus_1): Likewise.
25155         (special_real_inputs): Add more special inputs.
25156         (output_for_one_input_case): Do not require ERANGE on underflow to
25157         zero if round-to-nearest result does not underflow to zero, unless
25158         exact results required.
25159         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
25160         atan, atanh, cbrt, cos and cosh.
25161         * math/auto-libm-test-out: Regenerated.
25162         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
25163         (acos_tonearest_test_data): Likewise.
25164         (acos_towardzero_test_data): Likewise.
25165         (acos_downward_test_data): Likewise.
25166         (acos_upward_test_data): Likewise.
25167         (acosh_test_data): Likewise.
25168         (asin_test_data): Likewise.
25169         (asin_tonearest_test_data): Likewise.
25170         (asin_towardzero_test_data): Likewise.
25171         (asin_upward_test_data): Likewise.
25172         (asinh_test_data): Likewise.
25173         (atan_test_data): Likewise.
25174         (atanh_test_data): Likewise.
25175         (cbrt_test_data): Likewise.
25176         (cos_test_data): Likewise.
25177         (cos_tonearest_test_data): Likewise.
25178         (cos_towardzero_test_data): Likewise.
25179         (cos_downward_test_data): Likewise.
25180         (cos_upward_test_data): Likewise.
25181         (cosh_test_data): Likewise.
25182         (cosh_tonearest_test_data): Likewise.
25183         (cosh_towardzero_test_data): Likewise.
25184         (cosh_downward_test_data): Likewise.
25185         (cosh_upward_test_data): Likewise.
25186         * sysdeps/i386/fpu/libm-test-ulps: Update.
25187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25189 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
25191         [BZ #6787]
25192         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
25193         * math/w_exp10f.c (__exp10f): Likewise.
25194         * math/w_exp10l.c (__exp10l): Likewise.
25195         * math/libm-test.inc (exp10_test_data): Add more tests and expect
25196         errno settings in existing tests.
25198         [BZ #14032]
25199         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
25200         precision control set to double precision.
25201         * sysdeps/i386/fpu/w_sqrt.c: New file.
25202         * math/auto-libm-test-in: Add more tests.
25203         * math/auto-libm-test-out: Update.
25205         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
25206         (sqrt_test_tonearest): New function.
25207         (sqrt_towardzero_test_data): New variable.
25208         (sqrt_test_towardzero): New function.
25209         (sqrt_downward_test_data): New variable.
25210         (sqrt_test_downward): New function.
25211         (sqrt_upward_test_data): New variable.
25212         (sqrt_test_upward): New function.
25213         (main): Call the new functions.
25215         * math/gen-auto-libm-tests.c: New file.
25216         * math/auto-libm-test-in: Likewise.
25217         * math/auto-libm-test-out: New generated file.
25218         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
25219         variables.
25220         (%beautify): Add generated representations of zero.
25221         (top level): Set $auto_input and call parse_auto_input.
25222         (beautify): Remove trailing "f" from hex float constants.
25223         (parse_args): Handle XFAIL_TEST.
25224         (convert_condition): New function.
25225         (or_value): Likewise.
25226         (or_cond_value): Likewise.
25227         (generate_testfile): Handle AUTO_TESTS_* lines.
25228         (parse_auto_input): New function.
25229         * math/libm-test.inc (XFAIL_TEST): New macro.
25230         (ERRNO_UNCHANGED): Update value.
25231         (ERRNO_EDOM): Likewise.
25232         (ERRNO_ERANGE): Likewise.
25233         (IGNORE_RESULT): Likewise.
25234         (TEST_COND_flt_32): New macro.
25235         (TEST_COND_dbl_64): Likewise.
25236         (TEST_COND_ldbl_96_intel): Likewise.
25237         (TEST_COND_ldbl_96_m68k): Likewise.
25238         (TEST_COND_ldbl_128): Likewise.
25239         (TEST_COND_ldbl_128ibm): Likewise.
25240         (TEST_COND_long32): Likewise.
25241         (TEST_COND_long64): Likewise.
25242         (TEST_COND_before_rounding): Likewise.
25243         (TEST_COND_after_rounding): Likewise.
25244         (enable_test): Handle XFAIL_TEST flag.
25245         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
25246         with finite results.
25247         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
25248         auto-libm-test-out.
25250 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25251             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25253         [BZ #16214]
25254         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
25255         __tls_get_addr_internal instead of __tls_get_offset in order to
25256         avoid GOT pointer dependency.  Make rtld export
25257         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
25258         __tls_get_addr since we are a __tls_get_offset platform.
25259         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
25260         GOT pointer being set up before.
25261         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
25263 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
25265         * manual/math.texi (Errors in Math Functions): Document accuracy
25266         goals.
25268         [BZ #15004]
25269         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
25270         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
25271         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
25272         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
25273         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
25274         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
25275         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
25276         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
25277         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
25278         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
25279         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
25280         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
25281         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
25282         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
25283         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
25284         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
25286         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
25287         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
25288         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
25289         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
25290         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
25291         Likewise.
25292         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
25293         Likewise.
25294         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
25295         Likewise.
25296         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
25297         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
25298         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
25299         atomic-feupdateenv and flt-rounds.
25300         * sysdeps/powerpc/nofpu/Versions (libc): Add
25301         __atomic_feholdexcept, __atomic_feclearexcept,
25302         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
25303         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
25304         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
25305         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
25306         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
25307         here.
25308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
25309         Update.
25311         * manual/arith.texi (FP Exceptions): Document that exceptions may
25312         not be raised when matherr is used.
25313         (Math Error Reporting): Document overflow in directed rounding
25314         modes.  Document that errno may not be set when finite values are
25315         returned on overflow.  Document intent to set errno on underflow
25316         only for underflow to zero.
25318         [BZ #16271]
25319         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
25320         round-to-nearest then adjust result for other rounding modes.
25321         * include/fenv.h (fegetround): Use libm_hidden_proto.
25322         * math/fegetround.c (fegetround): Use libm_hidden_def.
25323         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
25324         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
25325         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25326         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
25327         Likewise.
25328         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
25329         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
25330         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
25331         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
25333 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25335         [BZ #16077]
25336         * nss/Versions (libnss_files): Add
25337         _nss_files_gethostbyname3_r.
25338         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
25339         New function.
25340         (HOST_DB_LOOKUP): Remove macro.
25341         (_nss_files_gethostbyname_r): Implement function without the
25342         HOST_DB_LOOKUP macro.
25343         (_nss_files_gethostbyname2_r): Likewise.
25345 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
25347         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
25349 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
25351         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
25352         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
25353         warning.
25355 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25357         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
25358         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
25359         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
25360         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
25361         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
25362         __fe_nomask_env_priv and attribute_hidden.
25363         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
25364         (libc_feupdateenv_test_ppc): Likewise.
25365         (libc_feresetround_ppc): Likewise.
25366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25367         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
25368         compat_symbol macro.
25369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25370         (__fe_nomask_env): Likewise.
25371         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
25373 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25375         * string/Makefile: Remove ifunc tests.
25376         * string/test-string.h: Define TEST_IFUNC.
25377         * string/test-bcopy-ifunc.c: Remove.
25378         * string/test-bzero-ifunc.c: Likewise.
25379         * string/test-memccpy-ifunc.c: Likewise.
25380         * string/test-memchr-ifunc.c: Likewise.
25381         * string/test-memcmp-ifunc.c: Likewise.
25382         * string/test-memcpy-ifunc.c: Likewise.
25383         * string/test-memmem-ifunc.c: Likewise.
25384         * string/test-memmove-ifunc.c: Likewise.
25385         * string/test-mempcpy-ifunc.c: Likewise.
25386         * string/test-memrchr-ifunc.c: Likewise.
25387         * string/test-memset-ifunc.c: Likewise.
25388         * string/test-rawmemchr-ifunc.c: Likewise.
25389         * string/test-stpcpy-ifunc.c: Likewise.
25390         * string/test-stpncpy-ifunc.c: Likewise.
25391         * string/test-strcasecmp-ifunc.c: Likewise.
25392         * string/test-strcasestr-ifunc.c: Likewise.
25393         * string/test-strcat-ifunc.c: Likewise.
25394         * string/test-strchr-ifunc.c: Likewise.
25395         * string/test-strchrnul-ifunc.c: Likewise.
25396         * string/test-strcmp-ifunc.c: Likewise.
25397         * string/test-strcpy-ifunc.c: Likewise.
25398         * string/test-strcspn-ifunc.c: Likewise.
25399         * string/test-strlen-ifunc.c: Likewise.
25400         * string/test-strncasecmp-ifunc.c: Likewise.
25401         * string/test-strncat-ifunc.c: Likewise.
25402         * string/test-strncmp-ifunc.c: Likewise.
25403         * string/test-strncpy-ifunc.c: Likewise.
25404         * string/test-strnlen-ifunc.c: Likewise.
25405         * string/test-strpbrk-ifunc.c: Likewise.
25406         * string/test-strrchr-ifunc.c: Likewise.
25407         * string/test-strspn-ifunc.c: Likewise.
25408         * string/test-strstr-ifunc.c: Likewise.
25410 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25412         * benchtests/Makefile: Remove ifunc tests.
25413         * benchtests/bench-string.h: Define TEST_IFUNC.
25414         * benchtests/bench-bcopy-ifunc.c: Remove.
25415         * benchtests/bench-bzero-ifunc.c: Likewise.
25416         * benchtests/bench-memccpy-ifunc.c: Likewise.
25417         * benchtests/bench-memchr-ifunc.c: Likewise.
25418         * benchtests/bench-memcmp-ifunc.c: Likewise.
25419         * benchtests/bench-memcpy-ifunc.c: Likewise.
25420         * benchtests/bench-memmem-ifunc.c: Likewise.
25421         * benchtests/bench-memmove-ifunc.c: Likewise.
25422         * benchtests/bench-mempcpy-ifunc.c: Likewise.
25423         * benchtests/bench-memrchr-ifunc.c: Likewise.
25424         * benchtests/bench-memset-ifunc.c: Likewise.
25425         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
25426         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
25427         * benchtests/bench-stpcpy-ifunc.c: Likewise.
25428         * benchtests/bench-stpncpy-ifunc.c: Likewise.
25429         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
25430         * benchtests/bench-strcasestr-ifunc.c: Likewise.
25431         * benchtests/bench-strcat-ifunc.c: Likewise.
25432         * benchtests/bench-strchr-ifunc.c: Likewise.
25433         * benchtests/bench-strchrnul-ifunc.c: Likewise.
25434         * benchtests/bench-strcmp-ifunc.c: Likewise.
25435         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
25436         * benchtests/bench-strcpy-ifunc.c: Likewise.
25437         * benchtests/bench-strcspn-ifunc.c: Likewise.
25438         * benchtests/bench-strlen-ifunc.c: Likewise.
25439         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
25440         * benchtests/bench-strncat-ifunc.c: Likewise.
25441         * benchtests/bench-strncmp-ifunc.c: Likewise.
25442         * benchtests/bench-strncpy-ifunc.c: Likewise.
25443         * benchtests/bench-strnlen-ifunc.c: Likewise.
25444         * benchtests/bench-strpbrk-ifunc.c: Likewise.
25445         * benchtests/bench-strrchr-ifunc.c: Likewise.
25446         * benchtests/bench-strsep-ifunc.c: Likewise.
25447         * benchtests/bench-strspn-ifunc.c: Likewise.
25448         * benchtests/bench-strstr-ifunc.c: Likewise.
25450 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25452         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
25454 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
25456         * resolv/netdb.h: Use __glibc_reserved instead __unused.
25457         * rt/aio.h: Likewise.
25458         * sysdeps/gnu/bits/utmp.h: Likewise.
25459         * sysdeps/gnu/bits/utmpx.h: Likewise.
25460         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
25461         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
25462         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
25463         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
25464         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
25465         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
25466         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
25467         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
25468         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
25469         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
25470         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
25471         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
25472         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
25473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
25474         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25475         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
25476         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
25477         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
25478         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
25479         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
25480         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
25481         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
25482         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
25483         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25484         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
25485         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
25486         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
25487         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
25488         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
25489         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
25490         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
25491         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
25492         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
25493         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
25494         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
25495         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
25496         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
25497         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
25498         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
25499         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
25500         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
25501         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25503 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
25505         [BZ #16245]
25506         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
25507         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
25509 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
25511         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
25512         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
25513         Likewise.
25515 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25517         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
25518         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
25519         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
25520         (__fesetround): Remove define.
25521         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
25522         rounding and exceptions handling.
25523         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
25524         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
25525         (__fe_nomask_env): Likewise.
25526         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
25527         __fegetround instead of fegetround.
25528         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
25529         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
25531 2013-11-21  Roland McGrath  <roland@hack.frob.com>
25533         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
25534         it's there.
25536         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
25538 2013-11-21  Meador Inge  <meadori@codesourcery.com>
25540         [BZ #11157]
25541         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
25542         (encrypt_r): Likewise.
25543         * malloc/obstack.h (obstack_free): Likewise.
25544         * posix/unistd.h (encrypt): Likewise.
25546 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
25548         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
25549         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
25550         DL_CALL_DT_FINI() that call the functions directly.
25551         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
25552         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
25553         * elf/dl-fini.c: Likewise.
25555 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
25557         * malloc/hooks.c (memalign_check): Add alignment rounding.
25558         * malloc/malloc.c (_mid_memalign): New function.
25559         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
25560         Implement by calling _mid_memalign.
25561         * manual/probes.texi (Memory Allocation Probes): Remove
25562         memory_valloc_retry and memory_pvalloc_retry.
25564 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25566         * locale/programs/locarchive.c (open_archive): Add const
25567         qualifier to ARCHIVEFNAME and copy default fname to
25568         DEFAULT_FNAME.
25570         [BZ #15601]
25571         * libio/tst-widetext.input: Rename Oriya to Odia.
25572         * locale/iso-639.def: Likewise.
25574         * manual/probes.texi (Mathematical Function Probes): Add
25575         documentation for sin, cos, asin and acos probes.
25576         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
25577         (__sin32): Add slowasin probe.
25578         (__cos32): Add slowacos probe.
25579         (__mpsin): Add slowsin probe.
25580         (__mpcos): Add slowcos probe.
25582 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
25584         [BZ #15483]
25585         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
25586         thread-local __sim_exceptions_thread and global
25587         __sim_exceptions_global.
25588         (__sim_disabled_exceptions): Change to thread-local
25589         __sim_disabled_exceptions_thread and global
25590         __sim_disabled_exceptions_global.
25591         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25592         and global __sim_round_mode_global.
25593         (__simulate_exceptions): Use thread-local floating-point state and
25594         set global state from it as needed.
25595         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
25596         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
25597         __sim_round_mode_thread.
25598         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
25599         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
25600         and global __sim_exceptions_global.
25601         (__sim_disabled_exceptions): Change to thread-local
25602         __sim_disabled_exceptions_thread and global
25603         __sim_disabled_exceptions_global.
25604         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
25605         and global __sim_round_mode_global.
25606         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
25607         (SIM_SET_GLOBAL): Likewise.
25608         * sysdeps/powerpc/soft-fp/sfp-machine.h
25609         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
25610         __sim_round_mode_thread.
25611         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
25612         __sim_disabled_exceptions_thread.
25613         (__sim_exceptions): Change to __sim_exceptions_thread.
25614         (__sim_disabled_exceptions): Change to
25615         __sim_disabled_exceptions_thread.
25616         (__sim_round_mode): Change to __sim_round_mode_thread.
25617         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
25618         thread-local floating-point state and set global state from it as
25619         needed.
25620         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
25621         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
25622         (__sim_disabled_exceptions): Remove extern declaration.
25623         (feenableexcept): Use thread-local floating-point state and set
25624         global state from it as needed.
25625         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
25626         extern declaration.
25627         (__sim_disabled_exceptions): Likewise.
25628         (__sim_round_mode): Likewise.
25629         (__fegetenv): Use thread-local floating-point state.
25630         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
25631         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
25632         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
25633         floating-point state and set global state from it as needed.
25634         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
25635         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
25636         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
25637         Likewise.
25638         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25639         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
25640         Likewise.
25641         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
25642         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
25643         Use __sim_round_mode_thread.
25644         * math/test-fenv-tls.c: New file.
25645         * math/Makefile (tests): Add test-fenv-tls.
25646         ($(objpfx)test-fenv-tls): Depend on
25647         $(common-objpfx)nptl/libpthread.so.
25649 2013-11-19  Andreas Schwab  <schwab@suse.de>
25651         * locale/programs/locale.c (show_info): Decode wordarray elements.
25652         * locale/categories.def (LC_MONETARY): Add element for
25653         _NL_MONETARY_CRNCYSTR.
25654         * locale/C-monetary.c (conversion_rate): New variable.
25655         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
25656         element.
25658 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
25660         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
25661         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
25663 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
25665         * elf/Makefile (tst-auxv): New test.
25666         * elf/tst-auxv.c: New
25667         * elf/rtld.c (dl_main): Adjust AT_EXECFN
25669 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
25671         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
25672         (hidden_proto): Caller changed.
25673         (hidden_tls_proto): New macro.
25674         (libc_hidden_tls_proto): Likewise.
25675         (rtld_hidden_tls_proto): Likewise.
25676         (libm_hidden_tls_proto): Likewise.
25677         (libresolv_hidden_tls_proto): Likewise.
25678         (librt_hidden_tls_proto): Likewise.
25679         (libdl_hidden_tls_proto): Likewise.
25680         (libnss_files_hidden_tls_proto): Likewise.
25681         (libnsl_hidden_tls_proto): Likewise.
25682         (libnss_nisplus_hidden_tls_proto): Likewise.
25683         (libutil_hidden_tls_proto): Likewise.
25685 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
25687         [BZ #10253]
25688         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
25689         (decompose_rpath): Defer expansion to fillin_rpath.
25690         (_dl_init_paths): Pass linkmap to fillin_rpath.
25692 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25694         * benchtests/Makefile: Add strsep.
25695         * benchtests/bench-strsep.c: New file: strsep benchtest.
25696         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
25698 2013-11-18  Andreas Schwab  <schwab@suse.de>
25700         * locale/programs/locale.c (show_info) [case byte]: Check for
25701         '\377' instead of '\177'.
25702         * locale/C-monetary.c (not_available): Always use "\377".
25703         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
25704         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
25705         detect unavailable sign_posn locale elements.
25706         * locale/localeconv.c (__localeconv): For grouping and
25707         mon_grouping handle "\177" and "\377" like no grouping.
25708         (INT_ELEM): New macro.  Use it to set all numeric members.
25709         * locale/programs/ld-monetary.c (monetary_read)
25710         <tok_mon_grouping>: Normalize single -1 to the empty string.
25711         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
25712         Likewise.
25714 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25716         [BZ #16055]
25717         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
25718         when we match (nil).
25719         * stdio-common/tst-sscanf.c (struct test): Add testcase.
25721 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
25723         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
25724         (NO_TEST_INLINE): Update value.
25725         (ERRNO_UNCHANGED): Likewise.
25726         (ERRNO_EDOM): Likewise.
25727         (ERRNO_ERANGE): Likewise.
25728         (IGNORE_RESULT): Likewise.
25729         (check_float_internal): Check signs of NaN results if
25730         TEST_NAN_SIGN used.
25731         (check_complex): Pass TEST_NAN_SIGN flag through to second
25732         check_float_internal call.
25733         (copysign_test_data): Add tests with quiet NaNs as second
25734         argument.  Use TEST_NAN_SIGN.
25735         (fabs_test_data): Add test of negative quiet NaN argument.  Use
25736         TEST_NAN_SIGN.
25737         (signbit_test_data): Add tests of quiet NaN argument.
25738         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
25740         * math/gen-libm-test.pl (show_exceptions): Take extra argument
25741         $ignore_result.
25742         (parse_args): Handle function results specified as IGNORE.
25743         * math/libm-test.inc (IGNORE_RESULT): New macro.
25744         (check_float_internal): Do not check numerical result if flag
25745         IGNORE_RESULT set.
25746         (check_complex): Pass through IGNORE_RESULT to second
25747         check_float_internal call.
25748         (check_int): Do not check numerical result if flag IGNORE_RESULT
25749         set.
25750         (check_long): Likewise.
25751         (check_bool): Likewise.
25752         (check_longlong): Likewise.
25753         (lrint_test_data): Add tests of infinite and NaN arguments.
25754         (lrint_tonearest_test_data): Likewise.
25755         (lrint_towardzero_test_data): Likewise.
25756         (lrint_downward_test_data): Likewise.
25757         (lrint_upward_test_data): Likewise.
25758         (llrint_test_data): Likewise.
25759         (llrint_tonearest_test_data): Likewise.
25760         (llrint_towardzero_test_data): Likewise.
25761         (llrint_downward_test_data): Likewise.
25762         (llrint_upward_test_data): Likewise.
25763         (lround_test_data): Likewise.
25764         (llround_test_data): Likewise.
25766         * math/libm-test.inc (NO_TEST_INLINE): New macro.
25767         (ERRNO_UNCHANGED): Update value.
25768         (ERRNO_EDOM): Likewise.
25769         (ERRNO_ERANGE): Likewise.
25770         (NO_TEST_INLINE_FLOAT): New macro.
25771         (NO_TEST_INLINE_DOUBLE): Likewise.
25772         (enable_test): New function.
25773         (RUN_TEST_f_f): Check enable_test before running test.
25774         (RUN_TEST_2_f): Likewise.
25775         (RUN_TEST_fff_f): Likewise.
25776         (RUN_TEST_c_f): Likewise.
25777         (RUN_TEST_f_f1): Likewise.
25778         (RUN_TEST_fF_f1): Likewise.
25779         (RUN_TEST_fI_f1): Likewise.
25780         (RUN_TEST_ffI_f1): Likewise.
25781         (RUN_TEST_c_c): Likewise.
25782         (RUN_TEST_cc_c): Likewise.
25783         (RUN_TEST_f_i): Likewise.
25784         (RUN_TEST_f_i_tg): Likewise.
25785         (RUN_TEST_ff_i_tg): Likewise.
25786         (RUN_TEST_f_b): Likewise.
25787         (RUN_TEST_f_b_tg): Likewise.
25788         (RUN_TEST_f_l): Likewise.
25789         (RUN_TEST_f_L): Likewise.
25790         (RUN_TEST_fFF_11): Likewise.
25791         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
25792         conditionals.
25793         (cosh_test_data): Likewise.
25794         (exp_test_data): Likewise.
25795         (expm1_test_data): Likewise.
25796         (hypot_test_data): Likewise.
25797         (pow_test_data): Likewise.
25798         (sinh_test_data): Likewise.
25799         (tanh_test_data): Likewise.
25800         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
25801         flags argument.
25803         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
25804         tests with quiet NaN input and output.
25805         (acosh_test_data): Likewise.
25806         (asin_test_data): Likewise.
25807         (asinh_test_data): Likewise.
25808         (atan_test_data): Likewise.
25809         (atanh_test_data): Likewise.
25810         (atan2_test_data): Likewise.
25811         (cbrt_test_data): Likewise.
25812         (cos_test_data): Likewise.
25813         (cosh_test_data): Likewise.
25814         (erf_test_data): Likewise.
25815         (erfc_test_data): Likewise.
25816         (exp_test_data): Likewise.
25817         (exp10_test_data): Likewise.
25818         (exp2_test_data): Likewise.
25819         (expm1_test_data): Likewise.
25820         (hypot_test_data): Likewise.
25821         (j0_test_data): Likewise.
25822         (j1_test_data): Likewise.
25823         (jn_test_data): Likewise.
25824         (lgamma_test_data): Likewise.
25825         (log_test_data): Likewise.
25826         (log10_test_data): Likewise.
25827         (log1p_test_data): Likewise.
25828         (log2_test_data): Likewise.
25829         (pow_test_data): Likewise.
25830         (scalb_test_data): Likewise.
25831         (sin_test_data): Likewise.
25832         (sincos_test_data): Likewise.
25833         (sinh_test_data): Likewise.
25834         (tan_test_data): Likewise.
25835         (tanh_test_data): Likewise.
25836         (tgamma_test_data): Likewise.
25837         (y0_test_data): Likewise.
25838         (y1_test_data): Likewise.
25839         (yn_test_data): Likewise.
25841         [BZ #16167]
25842         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
25843         argument being NaN and avoid computations with second argument in
25844         that case.
25845         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25846         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
25847         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25849 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
25851         * locale/iso-639.def: Add Chitwani Tharu (the).
25853 2013-11-14  Andreas Schwab  <schwab@suse.de>
25855         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
25856         word instead of empty string.
25858 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25861         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
25862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25863         (__fe_nomask_env): Likewise.
25865 2013-11-13  Steve Ellcey  <sellcey@mips.com>
25867         * benchtests/bench-timing.h: Include time.h.
25869 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
25871         [BZ #15997]
25872         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
25873         to 3.4.0 for x32.
25874         * sysdeps/unix/sysv/linux/configure: Regenerated.
25876 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
25878         [BZ #16151]
25879         * stdlib/strtod_l.c (round_and_return): Do not consider
25880         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
25881         exponent one less than half the least subnormal exponent.
25882         * stdlib/test-strtod-round-data: Add more tests.
25883         * stdlib/tst-strtod-round.c (tests): Regenerated.
25885 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25887         [BZ #14143]
25888         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
25889         (__fe_mask_env): Likewise.
25890         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
25891         libm_hidden_proto and add function prototype.
25892         (__fe_mask_env): Add function prototype.
25893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25894         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
25895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25896         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
25897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25898         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
25900 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25902         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
25903         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
25905 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25907         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
25908         of htab_find_slot().
25910 2013-11-11  David S. Miller  <davem@davemloft.net>
25912         [BZ #16150]
25913         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
25914         symbol in the non-vis3 case in static builds.
25915         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
25916         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
25917         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
25918         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
25920 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
25922         [BZ #387]
25923         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
25924         it is empty.
25926 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25928         * benchtests/Makefile: Add bench-strtod.
25929         * benchtests/bench-strtod.c: New file: strtod benchtest
25931 2013-11-11  Andreas Schwab  <schwab@suse.de>
25933         [BZ #16153]
25934         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
25935         terminating NUL in key length.
25937 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25939         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
25940         Add artificial ODP entry for vDSO symbol for PPC64.
25941         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
25942         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
25944 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
25946         [BZ #15374]
25947         * nss/getent.c (services_keys): Recognize services starting with digit.
25949 2013-11-06  David S. Miller  <davem@davemloft.net>
25951         [BZ #15985]
25952         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
25953         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
25955 2013-11-06  Will Newton  <will.newton@linaro.org>
25957         * manual/memory.texi (Malloc Examples): Remove register
25958         keyword from examples.
25960 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
25962         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
25964 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
25966         [BZ #6981]
25967         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
25968         depending on [__GCC_IEC_559 > 0].
25969         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
25970         depending on [__GCC_IEC_559_COMPLEX > 0].
25972 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
25974         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
25975         to iso-639.def.
25977 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
25979         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
25981 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
25983         [BZ #16112]
25984         * malloc/malloc (malloc_info): Do not handle first bin as
25985         special case.
25987 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
25989         * locale/iso-639.def: Add Central Nahuatl (nhn).
25991 2013-11-01  Bruno Haible  <bruno@clisp.org>
25993         [BZ #7003]
25994         * manual/math.texi (BSD Random): Specify range upper bound as
25995         in POSIX.
25997 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
25999         * locale/iso-639.def: Add Meadow Mari (mhr).
26001 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
26003         [BZ #14752], [BZ #15763]
26004         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
26005         Validate name.
26006         * rt/tst_shm.c: Add test for escaping directory.
26008 2013-10-31  Andreas Schwab  <schwab@suse.de>
26010         [BZ #15917]
26011         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
26012         followed by 'x' as part of digit sequence.
26013         * stdio-common/tst-sscanf.c (double_tests2): New tests.
26015 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
26017         [BZ #16037]
26018         * configure.ac: allow GNU Make 4.0 and greater.
26019         * configure: Regenerated.
26021 2013-10-30  Will Newton  <will.newton@linaro.org>
26023         [BZ #16038]
26024         * malloc/hooks.c (memalign_check): Limit alignment to the
26025         maximum representable power of two.
26026         * malloc/malloc.c (__libc_memalign): Likewise.
26027         * malloc/tst-memalign.c (do_test): Add test for very
26028         large alignment values.
26029         * malloc/tst-posix_memalign.c (do_test): Likewise.
26031 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26033         [BZ #11087]
26034         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
26035         (munmap_chunk): Likewise.
26036         (mremap_chunk): Likewise.
26038 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
26040         [BZ #15799]
26041         * stdlib/div.c (div): Remove obsolete code.
26042         * stdlib/ldiv.c (ldiv): Likewise.
26043         * stdlib/lldiv.c (lldiv): Likewise.
26045 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26047         [BZ #16071]
26048         * nss/nss_files/files-XXX.c (get_contents_ret): New
26049         enumerator.
26050         (get_contents): New function.
26051         (internal_getent): Use it.  Expand size of LINEBUFLEN.
26053 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
26055         * configure.in: Moved to ...
26056         * configure.ac: ... here. Change reference to configure.in
26057         to configure.ac.
26058         * sysdeps/arm/preconfigure.ac: ... here.
26059         configure.in to configure.ac.
26060         * sysdeps/gnu/configure.in: Moved to ...
26061         * sysdeps/gnu/configure.ac: ... here.
26062         * sysdeps/i386/configure.in: Moved to ...
26063         * sysdeps/i386/configure.ac: ... here.
26064         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
26065         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
26066         * sysdeps/mach/configure.in: Moved to ...
26067         * sysdeps/mach/configure.ac: ... here.
26068         * sysdeps/mach/hurd/configure.in: Moved to ...
26069         * sysdeps/mach/hurd/configure.ac: ... here.
26070         * sysdeps/powerpc/configure.in: Moved to ...
26071         * sysdeps/powerpc/configure.ac: ... here.
26072         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
26073         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
26074         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
26075         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
26076         * sysdeps/s390/s390-32/configure.in: Moved to ...
26077         * sysdeps/s390/s390-32/configure.ac: ... here.
26078         * sysdeps/s390/s390-64/configure.in: Moved to ...
26079         * sysdeps/s390/s390-64/configure.ac: ... here.
26080         * sysdeps/sh/configure.in: Moved to ...
26081         * sysdeps/sh/configure.ac: ... here.
26082         * sysdeps/sparc/configure.in: Moved to ...
26083         * sysdeps/sparc/configure.ac: ... here.
26084         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
26085         * sysdeps/unix/sysv/linux/configure.ac: ... here.
26086         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
26087         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
26088         * sysdeps/x86_64/configure.in: Moved to ...
26089         * sysdeps/x86_64/configure.ac: ... here.
26090         * sysdeps/x86_64/preconfigure.in: Moved to ...
26091         * sysdeps/x86_64/preconfigure.ac: ... here.
26092         * aclocal.m4: Change reference to configure.in to configure.ac.
26093         * config.h.in: Likewise.
26094         * manual/install.texi: Likewise.
26095         * manual/maint.texi: Likewise.
26096         * Makefile: Likewise.
26097         * malloc/Makefile: Likewise.
26098         * nscd/Makefile: Likewise.
26099         * Makeconfig: Change reference to configure.in and
26100         preconfigure.in to configure.ac and preconfigure.ac
26101         respectively.
26102         * INSTALL: Regenerated.
26103         * configure: Likewise.
26104         * sysdeps/gnu/configure: Likewise.
26105         * sysdeps/i386/configure: Likewise.
26106         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
26107         * sysdeps/mach/configure: Likewise.
26108         * sysdeps/mach/hurd/configure: Likewise.
26109         * sysdeps/powerpc/configure: Likewise.
26110         * sysdeps/powerpc/powerpc32/configure: Likewise.
26111         * sysdeps/powerpc/powerpc64/configure: Likewise.
26112         * sysdeps/s390/s390-32/configure: Likewise.
26113         * sysdeps/s390/s390-64/configure: Likewise.
26114         * sysdeps/sh/configure: Likewise.
26115         * sysdeps/sparc/configure: Likewise.
26116         * sysdeps/unix/sysv/linux/configure: Likewise.
26117         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
26118         * sysdeps/x86_64/configure: Likewise.
26119         * sysdeps/x86_64/preconfigure: Likewise.
26121 2013-10-29  Andreas Schwab  <schwab@suse.de>
26123         * stdio-common/Makefile (tst-swscanf-ENV): Define.
26125 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
26127         * benchtests/pow-inputs: Add new inputs.
26129         * benchtests/exp-inputs: Add new inputs.
26131         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
26132         conditional check for return value.
26133         (__cos32): Likewise.
26135 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26137         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
26138         to provide a boost for large inputs with word alignment.
26139         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
26140         implementation based on optimized PPC64 strcpy.
26141         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
26142         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
26143         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
26144         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
26146 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26148         [BZ #2801]
26149         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
26151 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26153         [BZ #14876]
26154         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
26155         * time/tst-strptime.c (day_tests): Add testcase.
26157 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
26159         [BZ #14029]
26160         * manual/pattern.texi: Acknowledge that fnmatch can fail.
26162 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
26164         [BZ #16074]
26165         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
26166         MAP_FAILED on error.
26168 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
26170         [BZ #16072]
26171         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
26172         heap for large requests.
26174 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
26176         [BZ #9954]
26177         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
26178         result if the result has no associated interface.
26179         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
26180         interface for all 127.X.Y.Z addresses.
26182 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
26184         * locale/iso-639.def: Add Ligurian (lij)
26186 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
26188         [BZ #15825]
26189         * sunrpc/rpc_main.c: Document rpcgen -5.
26191 2013-10-19  Michael Stahl  <mstahl@redhat.com>
26193         * elf/rtld.c (do_preload): Print the reason why preloading failed.
26195 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26197         [BZ #10278]
26198         * posix/glob.c: Match only directories when trailing slash is present.
26199         * posix/tst-gnuglob.c (my_opendir): Do not open files.
26200         (main): Add testcase.
26202 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
26204         [BZ #15670]
26205         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
26207 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
26209         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
26210         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
26211         AUTH_DES and cindex for FIPS 140-2.
26212         (DES Encryption): Add cindex FIPS 46-3.
26214         * locale/locarchive.h (struct locarhandle): Add fname.
26215         * locale/programs/localedef.c (main): Pass ARGV[remaining]
26216         if an optional argument was specified to --list-archive,
26217         otherwise NULL.
26218         * locale/programs/locarchive.c (show_archive_content): Take new
26219         argument fname and pass it via ah.fname to open_archive.
26220         * locale/programs/localedef.h: Update decl.
26221         (open_archive): If AH->fname is non-null, open that file
26222         rather than the default file name, and don't ignore ENOENT.
26223         (create_archive): Set AH.fname to NULL.
26224         (delete_locales_from_archive): Likewise.
26225         (add_locales_to_archive): Likewise.
26226         * locale/programs/locfile.c (write_all_categories): Likewise.
26228 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
26229             Aldy Hernandez  <aldyh@redhat.com>
26231         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
26232         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
26233         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
26234         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
26235         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
26236         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
26237         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
26238         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
26239         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
26240         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
26241         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
26242         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
26243         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
26244         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
26245         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
26246         Likewise.
26247         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
26248         Likewise.
26249         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
26250         Likewise.
26251         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
26252         Likewise.
26253         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
26254         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
26255         Likewise.
26256         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
26257         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
26258         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
26259         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
26260         Likewise.
26261         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
26262         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
26263         * sysdeps/powerpc/preconfigure: Likewise.
26264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
26265         Likewise.
26266         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
26267         Replace contents of file by #include of <fenv_libc.h>.
26268         * sysdeps/powerpc/soft-fp/sfp-machine.h
26269         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
26270         and <sys/prctl.h>.
26271         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
26272         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
26273         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
26274         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
26275         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
26276         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
26277         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
26278         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
26279         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
26280         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
26281         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
26282         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
26283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
26284         Allow copysignl PLT reference to be missing.
26286 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
26287             Joseph Myers  <joseph@codesourcery.com
26289         [BZ #15948]
26290         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
26291         single character.
26292         (add_to_tablewc): Assert sequence of wide characters is nonempty.
26294 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26296         * elf/tst-tls-dlinfo.c: Don't include tls.h.
26297         * elf/tst-tls1.c: Likewise.
26298         * elf/tst-tls10.h: Likewise.
26299         * elf/tst-tls14.c: Likewise.
26300         * elf/tst-tls2.c: Likewise.
26301         * elf/tst-tls3.c: Likewise.
26302         * elf/tst-tls4.c: Likewise.
26303         * elf/tst-tls5.c: Likewise.
26304         * elf/tst-tls6.c: Likewise.
26305         * elf/tst-tls7.c: Likewise.
26306         * elf/tst-tls8.c: Likewise.
26307         * elf/tst-tls9.c: Likewise.
26308         * elf/tst-tlsmod1.c: Likewise.
26309         * elf/tst-tlsmod13.c: Likewise.
26310         * elf/tst-tlsmod13a.c: Likewise.
26311         * elf/tst-tlsmod14a.c: Likewise.
26312         * elf/tst-tlsmod16a.c: Likewise.
26313         * elf/tst-tlsmod16b.c: Likewise.
26314         * elf/tst-tlsmod2.c: Likewise.
26315         * elf/tst-tlsmod3.c: Likewise.
26316         * elf/tst-tlsmod4.c: Likewise.
26317         * elf/tst-tlsmod5.c: Likewise.
26318         * elf/tst-tlsmod6.c: Likewise.
26320 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
26322         [BZ #12486]
26323         * malloc/malloc.c: remove checks for statistics.
26325 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26327         [BZ #15277]
26328         * inet/inet_net.c (inet_network): Detect additional invalid strings.
26329         * inet/tst-network.c: Add testcase.
26331 2013-10-17  Andreas Schwab  <schwab@suse.de>
26333         [BZ #15218]
26334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
26335         to determine canonical name.
26337 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
26339         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
26340         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
26341         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26342         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26343         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26344         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26345         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26346         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26347         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26348         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26349         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
26350         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26351         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26352         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26353         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26354         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26355         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26356         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26357         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26358         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26359         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26360         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26361         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26362         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
26363         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
26364         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26365         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26366         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
26367         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26368         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
26369         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26370         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26371         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26372         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26373         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26374         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26375         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26376         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26377         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26378         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26379         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26380         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26381         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26382         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26383         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26384         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26385         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26386         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26387         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26388         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26389         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26390         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26391         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26392         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26393         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26394         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26395         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26396         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26398 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
26400         [BZ #16041]
26401         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
26402         make result into a quiet NaN.
26404 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
26406         * soft-fp/adddf3.c: Fix horizontal whitespace.
26407         * soft-fp/addsf3.c: Likewise.
26408         * soft-fp/addtf3.c: Likewise.
26409         * soft-fp/divdf3.c: Likewise.
26410         * soft-fp/divsf3.c: Likewise.
26411         * soft-fp/divtf3.c: Likewise.
26412         * soft-fp/double.h: Likewise.
26413         * soft-fp/eqdf2.c: Likewise.
26414         * soft-fp/eqsf2.c: Likewise.
26415         * soft-fp/eqtf2.c: Likewise.
26416         * soft-fp/extenddftf2.c: Likewise.
26417         * soft-fp/extended.h: Likewise.
26418         * soft-fp/extendsfdf2.c: Likewise.
26419         * soft-fp/extendsftf2.c: Likewise.
26420         * soft-fp/extendxftf2.c: Likewise.
26421         * soft-fp/fixdfdi.c: Likewise.
26422         * soft-fp/fixdfsi.c: Likewise.
26423         * soft-fp/fixdfti.c: Likewise.
26424         * soft-fp/fixsfdi.c: Likewise.
26425         * soft-fp/fixsfsi.c: Likewise.
26426         * soft-fp/fixsfti.c: Likewise.
26427         * soft-fp/fixtfdi.c: Likewise.
26428         * soft-fp/fixtfsi.c: Likewise.
26429         * soft-fp/fixtfti.c: Likewise.
26430         * soft-fp/fixunsdfdi.c: Likewise.
26431         * soft-fp/fixunsdfsi.c: Likewise.
26432         * soft-fp/fixunsdfti.c: Likewise.
26433         * soft-fp/fixunssfdi.c: Likewise.
26434         * soft-fp/fixunssfsi.c: Likewise.
26435         * soft-fp/fixunssfti.c: Likewise.
26436         * soft-fp/fixunstfdi.c: Likewise.
26437         * soft-fp/fixunstfsi.c: Likewise.
26438         * soft-fp/fixunstfti.c: Likewise.
26439         * soft-fp/floatdidf.c: Likewise.
26440         * soft-fp/floatdisf.c: Likewise.
26441         * soft-fp/floatditf.c: Likewise.
26442         * soft-fp/floatsidf.c: Likewise.
26443         * soft-fp/floatsisf.c: Likewise.
26444         * soft-fp/floatsitf.c: Likewise.
26445         * soft-fp/floattidf.c: Likewise.
26446         * soft-fp/floattisf.c: Likewise.
26447         * soft-fp/floattitf.c: Likewise.
26448         * soft-fp/floatundidf.c: Likewise.
26449         * soft-fp/floatundisf.c: Likewise.
26450         * soft-fp/floatunditf.c: Likewise.
26451         * soft-fp/floatunsidf.c: Likewise.
26452         * soft-fp/floatunsisf.c: Likewise.
26453         * soft-fp/floatunsitf.c: Likewise.
26454         * soft-fp/floatuntidf.c: Likewise.
26455         * soft-fp/floatuntisf.c: Likewise.
26456         * soft-fp/floatuntitf.c: Likewise.
26457         * soft-fp/fmadf4.c: Likewise.
26458         * soft-fp/fmasf4.c: Likewise.
26459         * soft-fp/fmatf4.c: Likewise.
26460         * soft-fp/gedf2.c: Likewise.
26461         * soft-fp/gesf2.c: Likewise.
26462         * soft-fp/getf2.c: Likewise.
26463         * soft-fp/ledf2.c: Likewise.
26464         * soft-fp/lesf2.c: Likewise.
26465         * soft-fp/letf2.c: Likewise.
26466         * soft-fp/muldf3.c: Likewise.
26467         * soft-fp/mulsf3.c: Likewise.
26468         * soft-fp/multf3.c: Likewise.
26469         * soft-fp/negdf2.c: Likewise.
26470         * soft-fp/negsf2.c: Likewise.
26471         * soft-fp/negtf2.c: Likewise.
26472         * soft-fp/op-1.h: Likewise.
26473         * soft-fp/op-2.h: Likewise.
26474         * soft-fp/op-4.h: Likewise.
26475         * soft-fp/op-8.h: Likewise.
26476         * soft-fp/op-common.h: Likewise.
26477         * soft-fp/quad.h: Likewise.
26478         * soft-fp/single.h: Likewise.
26479         * soft-fp/soft-fp.h: Likewise.
26480         * soft-fp/sqrtdf2.c: Likewise.
26481         * soft-fp/sqrtsf2.c: Likewise.
26482         * soft-fp/sqrttf2.c: Likewise.
26483         * soft-fp/subdf3.c: Likewise.
26484         * soft-fp/subsf3.c: Likewise.
26485         * soft-fp/subtf3.c: Likewise.
26486         * soft-fp/truncdfsf2.c: Likewise.
26487         * soft-fp/trunctfdf2.c: Likewise.
26488         * soft-fp/trunctfsf2.c: Likewise.
26489         * soft-fp/trunctfxf2.c: Likewise.
26490         * soft-fp/unorddf2.c: Likewise.
26491         * soft-fp/unordsf2.c: Likewise.
26492         * soft-fp/unordtf2.c: Likewise.
26494 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
26496         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
26497         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
26499 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
26501         * elf/dl-libc.c: Clear initfini list after freeing.
26503 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
26505         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
26506         * soft-fp/addsf3.c: Likewise.
26507         * soft-fp/addtf3.c: Likewise.
26508         * soft-fp/divdf3.c: Likewise.
26509         * soft-fp/divsf3.c: Likewise.
26510         * soft-fp/divtf3.c: Likewise.
26511         * soft-fp/double.h: Likewise.
26512         * soft-fp/eqdf2.c: Likewise.
26513         * soft-fp/eqsf2.c: Likewise.
26514         * soft-fp/eqtf2.c: Likewise.
26515         * soft-fp/extenddftf2.c: Likewise.
26516         * soft-fp/extended.h: Likewise.
26517         * soft-fp/extendsfdf2.c: Likewise.
26518         * soft-fp/extendsftf2.c: Likewise.
26519         * soft-fp/extendxftf2.c: Likewise.
26520         * soft-fp/fixdfdi.c: Likewise.
26521         * soft-fp/fixdfsi.c: Likewise.
26522         * soft-fp/fixdfti.c: Likewise.
26523         * soft-fp/fixsfdi.c: Likewise.
26524         * soft-fp/fixsfsi.c: Likewise.
26525         * soft-fp/fixsfti.c: Likewise.
26526         * soft-fp/fixtfdi.c: Likewise.
26527         * soft-fp/fixtfsi.c: Likewise.
26528         * soft-fp/fixtfti.c: Likewise.
26529         * soft-fp/fixunsdfdi.c: Likewise.
26530         * soft-fp/fixunsdfsi.c: Likewise.
26531         * soft-fp/fixunsdfti.c: Likewise.
26532         * soft-fp/fixunssfdi.c: Likewise.
26533         * soft-fp/fixunssfsi.c: Likewise.
26534         * soft-fp/fixunssfti.c: Likewise.
26535         * soft-fp/fixunstfdi.c: Likewise.
26536         * soft-fp/fixunstfsi.c: Likewise.
26537         * soft-fp/fixunstfti.c: Likewise.
26538         * soft-fp/floatdidf.c: Likewise.
26539         * soft-fp/floatdisf.c: Likewise.
26540         * soft-fp/floatditf.c: Likewise.
26541         * soft-fp/floatsidf.c: Likewise.
26542         * soft-fp/floatsisf.c: Likewise.
26543         * soft-fp/floatsitf.c: Likewise.
26544         * soft-fp/floattidf.c: Likewise.
26545         * soft-fp/floattisf.c: Likewise.
26546         * soft-fp/floattitf.c: Likewise.
26547         * soft-fp/floatundidf.c: Likewise.
26548         * soft-fp/floatundisf.c: Likewise.
26549         * soft-fp/floatunsidf.c: Likewise.
26550         * soft-fp/floatunsisf.c: Likewise.
26551         * soft-fp/floatuntidf.c: Likewise.
26552         * soft-fp/floatuntisf.c: Likewise.
26553         * soft-fp/floatuntitf.c: Likewise.
26554         * soft-fp/fmadf4.c: Likewise.
26555         * soft-fp/fmasf4.c: Likewise.
26556         * soft-fp/fmatf4.c: Likewise.
26557         * soft-fp/gedf2.c: Likewise.
26558         * soft-fp/gesf2.c: Likewise.
26559         * soft-fp/getf2.c: Likewise.
26560         * soft-fp/ledf2.c: Likewise.
26561         * soft-fp/lesf2.c: Likewise.
26562         * soft-fp/letf2.c: Likewise.
26563         * soft-fp/muldf3.c: Likewise.
26564         * soft-fp/mulsf3.c: Likewise.
26565         * soft-fp/multf3.c: Likewise.
26566         * soft-fp/negdf2.c: Likewise.
26567         * soft-fp/negsf2.c: Likewise.
26568         * soft-fp/negtf2.c: Likewise.
26569         * soft-fp/op-1.h: Likewise.
26570         * soft-fp/op-2.h: Likewise.
26571         * soft-fp/op-4.h: Likewise.
26572         * soft-fp/op-8.h: Likewise.
26573         * soft-fp/op-common.h: Likewise.
26574         * soft-fp/quad.h: Likewise.
26575         * soft-fp/single.h: Likewise.
26576         * soft-fp/soft-fp.h: Likewise.
26577         * soft-fp/sqrtdf2.c: Likewise.
26578         * soft-fp/sqrtsf2.c: Likewise.
26579         * soft-fp/sqrttf2.c: Likewise.
26580         * soft-fp/subdf3.c: Likewise.
26581         * soft-fp/subsf3.c: Likewise.
26582         * soft-fp/subtf3.c: Likewise.
26583         * soft-fp/truncdfsf2.c: Likewise.
26584         * soft-fp/trunctfdf2.c: Likewise.
26585         * soft-fp/trunctfsf2.c: Likewise.
26586         * soft-fp/trunctfxf2.c: Likewise.
26587         * soft-fp/unorddf2.c: Likewise.
26588         * soft-fp/unordsf2.c: Likewise.
26589         * soft-fp/unordtf2.c: Likewise.
26591 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
26593         [BZ #15672]
26594         * misc/error.c (error_tail): Fix possible buffer overflow.
26596 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
26598         [BZ #13028]
26599         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
26600         address.
26602 2013-10-14  P. J. McDermott  <pj@pehjota.net>
26604         [BZ #832]
26605         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
26606         testing pipefail option.
26608 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26610         * soft-fp/double.h: Indent preprocessor directives inside #if.
26611         * soft-fp/extended.h: Likewise.
26612         * soft-fp/op-2.h: Likewise.
26613         * soft-fp/op-4.h: Likewise.
26614         * soft-fp/op-common.h: Likewise.
26615         * soft-fp/quad.h: Likewise.
26616         * soft-fp/single.h: Likewise.
26617         * soft-fp/soft-fp.h: Likewise.
26619 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
26621         * iconv/iconv_prog.c: Fix typos.
26622         * stdio-common/psiginfo-data.h: Likewise.
26624 2013-10-12   Reuben Thomas <rrt@sc3d.org>
26626         [BZ #15764]
26627         * locale/setlocale.c: Fix typo.
26629 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
26631         [BZ #16036]
26632         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
26633         signaling NaN arguments.
26634         * soft-fp/unordsf2.c (__unordsf2): Likewise.
26635         * soft-fp/unordtf2.c (__unordtf2): Likewise.
26637         [BZ #14910]
26638         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
26639         unordered operands.
26640         * soft-fp/gesf2.c (__gesf2): Likewise.
26641         * soft-fp/getf2.c (__getf2): Likewise.
26642         * soft-fp/ledf2.c (__ledf2): Likewise.
26643         * soft-fp/lesf2.c (__lesf2): Likewise.
26644         * soft-fp/letf2.c (__letf2): Likewise.
26646         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
26647         * soft-fp/eqsf2.c (__eqsf2): Likewise.
26648         * soft-fp/eqtf2.c (__eqtf2): Likewise.
26649         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
26650         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
26651         * soft-fp/fixdfti.c (__fixdfti): Likewise.
26652         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
26653         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
26654         * soft-fp/fixsfti.c (__fixsfti): Likewise.
26655         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
26656         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
26657         * soft-fp/fixtfti.c (__fixtfti): Likewise.
26658         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
26659         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
26660         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
26661         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
26662         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
26663         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
26664         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
26665         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
26666         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
26667         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
26668         * soft-fp/floatdisf.c (__floatdisf): Likewise.
26669         * soft-fp/floatsisf.c (__floatsisf): Likewise.
26670         * soft-fp/floattidf.c (__floattidf): Likewise.
26671         * soft-fp/floattisf.c (__floattisf): Likewise.
26672         * soft-fp/floattitf.c (__floattitf): Likewise.
26673         * soft-fp/floatundidf.c (__floatundidf): Likewise.
26674         * soft-fp/floatundisf.c (__floatundisf): Likewise.
26675         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
26676         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
26677         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
26678         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
26679         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
26680         * soft-fp/gesf2.c (__gesf2): Likewise.
26681         * soft-fp/getf2.c (__getf2): Likewise.
26682         * soft-fp/ledf2.c (__ledf2): Likewise.
26683         * soft-fp/lesf2.c (__lesf2): Likewise.
26684         * soft-fp/letf2.c (__letf2): Likewise.
26686         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
26687         Undefine and redefine.
26688         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
26689         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
26690         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
26691         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
26692         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26693         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
26694         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26695         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
26696         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26697         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
26698         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26699         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
26700         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26701         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
26702         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
26704         [BZ #16032]
26705         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
26706         without decrementing exponent if mantissa >= that for the
26707         denominator, not >.
26708         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
26709         denominator, not >.  Decrement exponent in < case instead of
26710         incrementing in >= case.
26711         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
26712         without decrementing exponent if mantissa >= that for the
26713         denominator, not >.
26715         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
26716         computing saturated result for unsigned overflow.
26718 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26719             Jeff Law  <law@redhat.com>
26721         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
26722         (atan2Mp): Add systemtap probe marker.
26723         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
26724         (__ieee754_log): Add systemtap probe marker.
26725         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
26726         (atanMp): Add systemtap probe marker.
26727         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
26728         (tanMp): Add systemtap probe marker.
26729         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
26730         (__slowexp): Add systemtap probe marker.
26731         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
26732         (__slowpow): Add systemtap probe marker.
26733         * manual/probes.texi: Document probes.
26735 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
26737         [BZ #15362]
26738         * libio/fileops.c (_IO_new_file_write): Return count of bytes
26739         written.
26740         (_IO_new_file_xsputn): Don't return EOF if nothing has been
26741         written.
26742         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
26743         written to buffer but not flushed.
26744         * libio/iofwrite_u.c:  Likewise.
26745         * libio/iopadn.c:  Return bytes returned even if EOF was
26746         encountered.
26747         * libio/iowpadn.c:  Likewise.
26748         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
26749         if _IO_padn does not write the whole buffer.
26750         [!COMPILE_WPRINTF] (PAD): Likewise.
26752 2013-10-10  David S. Miller  <davem@davemloft.net>
26754         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
26755         directory block.
26757 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26759         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
26760         instead of FSF address.
26761         * soft-fp/fixdfti.c: Likewise.
26762         * soft-fp/fixsfti.c: Likewise.
26763         * soft-fp/fixtfti.c: Likewise.
26764         * soft-fp/fixunsdfti.c: Likewise.
26765         * soft-fp/fixunssfti.c: Likewise.
26766         * soft-fp/fixunstfti.c: Likewise.
26767         * soft-fp/floattidf.c: Likewise.
26768         * soft-fp/floattisf.c: Likewise.
26769         * soft-fp/floattitf.c: Likewise.
26770         * soft-fp/floatuntidf.c: Likewise.
26771         * soft-fp/floatuntisf.c: Likewise.
26772         * soft-fp/floatuntitf.c: Likewise.
26773         * soft-fp/trunctfxf2.c: Likewise.
26775         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
26776         * soft-fp/fixdfti.c: Likewise.
26777         * soft-fp/fixsfti.c: Likewise.
26778         * soft-fp/fixtfti.c: Likewise.
26779         * soft-fp/fixunsdfti.c: Likewise.
26780         * soft-fp/fixunssfti.c: Likewise.
26781         * soft-fp/fixunstfti.c: Likewise.
26782         * soft-fp/floattidf.c: Likewise.
26783         * soft-fp/floattisf.c: Likewise.
26784         * soft-fp/floattitf.c: Likewise.
26785         * soft-fp/floatuntidf.c: Likewise.
26786         * soft-fp/floatuntisf.c: Likewise.
26787         * soft-fp/floatuntitf.c: Likewise.
26788         * soft-fp/trunctfxf2.c: Likewise.
26790 2013-10-10  David S. Miller  <davem@davemloft.net>
26792         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26794 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
26796         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
26797         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
26798         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
26799         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
26800         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
26801         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
26802         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
26804         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
26805         for NaNs before doing comparisons on argument.
26806         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26807         Likewise.
26809 2013-10-10  Will Newton  <will.newton@linaro.org>
26811         * malloc/hooks.c (memalign_check): Ensure the value of bytes
26812         passed to _int_memalign does not overflow.
26814 2013-10-10  Torvald Riegel  <triegel@redhat.com>
26816         * scripts/bench.pl: Add include-sources directive.
26817         * benchtests/README: Update documentation.
26819 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
26821         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
26822         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
26823         instead of FP_INIT_ROUNDMODE.
26824         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
26825         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
26827         [BZ #16034]
26828         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
26829         copy class of input value.
26830         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
26831         not handle exceptions.
26832         * soft-fp/negsf2.c (__negsf2): Likewise.
26833         * soft-fp/negtf2.c (__negtf2): Likewise.
26834         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
26836 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
26838         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
26839         semicolon.  From Linux kernel.
26841 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
26843         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
26845 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
26847         [BZ #156]
26848         * manual/socket.texi: Added statement about buffer
26849         for gethostbyname2_r.
26851 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
26853         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
26854         Use .p2align directive instead, throughout.
26855         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26856         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26857         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
26858         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26859         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26860         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
26861         * sysdeps/x86_64/strchr.S: Likewise.
26862         * sysdeps/x86_64/strrchr.S: Likewise.
26864 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26866         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
26868         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
26870         * sysdeps/generic/math_private.h (__mpsin1): Remove
26871         declaration.
26872         (__mpcos1): Likewise.
26873         (__mpsin): New argument __range_reduce.
26874         (__mpcos): Likewise.
26875         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26876         (slow): Use __mpsin and __mpcos.
26877         (slow1): Likewise.
26878         (slow2): Likewise.
26879         (sloww): Likewise.
26880         (sloww1): Likewise.
26881         (sloww2): Likewise.
26882         (bsloww): Likewise.
26883         (bsloww1): Likewise.
26884         (bsloww2): Likewise.
26885         (cslow2): Likewise.
26886         (csloww): Likewise.
26887         (csloww1): Likewise.
26888         (csloww2): Likewise.
26889         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
26890         range_reduce.  Merge in __mpsin1.
26891         (__mpcos): Likewise.
26892         (__mpsin1): Remove.
26893         (__mpcos1): Likewise.
26895 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
26897         * locale/loadlocale.c (_nl_intern_locale_data): Use
26898         LOCFILE_ALIGNED_P.
26899         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
26900         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
26901         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
26902         obstack data is appropriately aligned.
26903         (obstack_int32_grow_fast): Likewise.
26904         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
26905         * locale/programs/locfile.c (add_locale_uint32): Likewise.
26906         (add_locale_uint32_array): Likewise.
26908 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26910         * benchtests/Makefile: Remove ARGLIST and RET variables.
26911         ($(objpfx)bench-%.c): Pass only function name to the script.
26912         * benchtests/README: Update documentation.
26913         * benchtests/acos-inputs: Add new directives.
26914         * benchtests/acosh-inputs: Likewise.
26915         * benchtests/asin-inputs: Likewise.
26916         * benchtests/asinh-inputs: Likewise.
26917         * benchtests/atan-inputs: Likewise.
26918         * benchtests/atanh-inputs: Likewise.
26919         * benchtests/cos-inputs: Likewise.
26920         * benchtests/cosh-inputs: Likewise.
26921         * benchtests/exp-inputs: Likewise.
26922         * benchtests/log-inputs: Likewise.
26923         * benchtests/pow-inputs: Likewise.
26924         * benchtests/rint-inputs: Likewise.
26925         * benchtests/sin-inputs: Likewise.
26926         * benchtests/sinh-inputs: Likewise.
26927         * benchtests/tan-inputs: Likewise.
26928         * benchtests/tanh-inputs: Likewise.
26929         * scripts/bench.pl: Add support for new directives.
26931 2013-10-07  Alan Modra  <amodra@gmail.com>
26933         * README: Fix careless merge.
26935 2013-10-05  Alan Modra  <amodra@gmail.com>
26937         * NEWS: Mention powerpc64le support and bugs fixed.
26938         * README: Both big-endian and little-endian powerpc64 supported.
26940 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26942         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
26943         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
26944         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
26945         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
26947 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
26949         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
26950         match prototype.
26952 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
26954         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
26955         Move -mhard-float appending from
26956         ports/sysdeps/powerpc/powerpc32/Makefile.
26957         [$(with-fp) = yes] (ASFLAGS): Likewise.
26958         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
26959         * sysdeps/powerpc/nofpu: Move directory from
26960         ports/sysdeps/powerpc/nofpu.
26961         * sysdeps/powerpc/soft-fp: Move directory from
26962         ports/sysdeps/powerpc/soft-fp.
26963         * sysdeps/powerpc/powerpc32/405: Move directory from
26964         ports/sysdeps/powerpc/powerpc32/405.
26965         * sysdeps/powerpc/powerpc32/440: Move directory from
26966         ports/sysdeps/powerpc/powerpc32/440.
26967         * sysdeps/powerpc/powerpc32/464: Move directory from
26968         ports/sysdeps/powerpc/powerpc32/464.
26969         * sysdeps/powerpc/powerpc32/476: Move directory from
26970         ports/sysdeps/powerpc/powerpc32/476.
26971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
26972         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
26973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
26974         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
26975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
26976         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
26977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
26978         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
26979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
26980         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
26981         * README: Update for powerpc-*-linux-gnu software floating point
26982         support in libc.
26984         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
26985         case to powerpc/powerpc32*.
26986         * sysdeps/unix/sysv/linux/configure: Regenerated.
26988         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
26989         (_FPU_MASK_OM): Define as 0x04.
26990         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
26991         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
26992         0x00c10080.
26993         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
26994         0x0000003c.
26995         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
26997         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
26998         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
26999         getcontext_e500.
27000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
27001         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
27002         setcontext_e500.
27003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
27004         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
27005         and setcontext_e500.
27007 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
27009         * locale/iso-3166.def: Update iso-1366.def and related occurrences
27011 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
27013         * manual/threads.texi (Default Thread Attributes): Fix typo.
27015 2013-10-04  Will Newton  <will.newton@linaro.org>
27017         * malloc/Makefile: Add tst-memalign.
27018         * malloc/tst-memalign.c: New file.
27020         * malloc/tst-posix_memalign.c: Add comments.
27021         (do_test): Add comments and call free on all potentially
27022         allocated pointers. Add space after cast.
27024         * malloc/tst-pvalloc.c: Add comments.
27025         (do_test): Add comments and call free on all potentially
27026         allocated pointers. Remove duplicate check for NULL pointer.
27027         Add space after cast.
27029         * malloc/tst-valloc.c: Add comments.
27030         (do_test): Add comments and call free on all potentially
27031         allocated pointers. Remove duplicate check for NULL pointer.
27032         Add space after cast.
27034 2013-10-04  Alan Modra  <amodra@gmail.com>
27036         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27037         Use stdint types in rather than __attribute__((mode())).
27038         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27040 2013-10-04  Alan Modra  <amodra@gmail.com>
27042         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
27043         Correct handling of unaligned relocs for little-endian.
27044         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
27046 2013-10-04  Alan Modra  <amodra@gmail.com>
27048         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
27049         * configure: Regenerate.
27050         * nptl/shlib-versions: Powerpc*le starts at 2.18.
27051         * shlib-versions: Likewise.
27053 2013-10-04  Alan Modra  <amodra@gmail.com>
27055         * string/tester.c (test_memrchr): Increment reported test cycle.
27057 2013-10-04  Alan Modra  <amodra@gmail.com>
27059         * string/test-memcpy.c (do_one_test): When reporting errors, print
27060         string address and don't overrun end of string.
27062 2013-10-04  Alan Modra  <amodra@gmail.com>
27064         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
27065         insrdi.  Make better use of reg selection to speed exit slightly.
27066         Schedule entry path a little better.  Remove useless "are we done"
27067         checks on entry to main loop.  Handle wrapping around zero address.
27068         Correct main loop count.  Handle single left-over word from main
27069         loop inline rather than by using loop_small.  Remove extra word
27070         case in loop_small caused by wrong loop count.  Add little-endian
27071         support.
27072         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
27073         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
27074         cache hint.
27075         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
27076         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
27077         support.  Avoid rlwimi.
27078         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
27080 2013-10-04  Alan Modra  <amodra@gmail.com>
27082         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
27083         insrdi.  Formatting.
27084         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
27085         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
27086         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
27087         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27088         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
27089         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
27091 2013-10-04  Alan Modra  <amodra@gmail.com>
27093         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
27094         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27095         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
27096         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
27097         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
27098         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27099         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27100         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27101         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
27102         use of regs.  Use power7 mtocrf.  Tidy function tails.
27104 2013-10-04  Alan Modra  <amodra@gmail.com>
27106         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
27107         Formatting.  Consistently use rXXX register defines or rN defines.
27108         Use early exit labels that avoid restoring unused non-volatile regs.
27109         Make cr field use more consistent with rWORDn compares.  Rename
27110         regs used as shift registers for unaligned loop, using rN defines
27111         for short lifetime/multiple use regs.
27112         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27113         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
27114         addi 1,1,64 to pop stack frame.  Simplify return value code.
27115         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27117 2013-10-04  Alan Modra  <amodra@gmail.com>
27119         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
27120         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
27121         rather than rlwimi.
27122         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
27123         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
27124         little-endian support.  Correct typos.
27125         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
27126         rather than rlwimi.
27127         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
27128         in loop and entry code to keep "and." results.
27129         (strchr): Add little-endian support.  Comment.  Move cntlzd
27130         earlier in tail.
27131         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
27133 2013-10-04  Alan Modra  <amodra@gmail.com>
27135         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
27136         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
27137         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
27138         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
27140 2013-10-04  Alan Modra  <amodra@gmail.com>
27142         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
27143         (rTMP): Define as r11.
27144         (strcmp): Add little-endian support.  Optimise tail.
27145         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
27146         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27147         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
27148         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
27149         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
27150         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27151         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
27153 2013-10-04  Alan Modra  <amodra@gmail.com>
27155         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
27156         little-endian support.  Remove unnecessary "are we done" tests.
27157         Handle "s" wrapping around zero and extremely large "size".
27158         Correct main loop count.  Handle single left-over word from main
27159         loop inline rather than by using small_loop.  Correct comments.
27160         Delete "zero" tail, use "end_max" instead.
27161         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
27163 2013-10-04  Alan Modra  <amodra@gmail.com>
27165         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
27166         support.  Don't branch over align.
27167         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
27168         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
27169         support.  Rearrange tmp reg use to suit.  Comment.
27170         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
27172 2013-10-04  Alan Modra  <amodra@gmail.com>
27174         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
27176 2013-10-04  Alan Modra  <amodra@gmail.com>
27178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
27179         conditional form of branch and link when obtaining pc.
27180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
27182 2013-10-04  Alan Modra  <amodra@gmail.com>
27184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
27185         HIWORD/LOWORD.
27186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
27187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
27189 2013-10-04  Alan Modra  <amodra@gmail.com>
27191         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
27192         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
27193         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
27194         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
27195         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
27196         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
27197         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
27198         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
27199         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
27200         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
27202 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27203             Alistair Popple <alistair@ozlabs.au.ibm.com>
27204             Alan Modra <amodra@gmail.com>
27206         [BZ #15723]
27207         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
27208         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
27209         _dl_hwcap access for little-endian.
27210         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
27211         destroy vmx regs when saving unaligned.
27212         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
27213         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
27214         destroy vmx regs when saving unaligned.
27216 2013-10-04  Alan Modra  <amodra@gmail.com>
27218         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
27219         Don't use a union to pack hi/low value.
27221 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27223         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
27224         for little-endian.
27225         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27226         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
27227         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27228         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27229         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27231 2013-10-04  Alan Modra  <amodra@gmail.com>
27233         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
27234         constants to usual value for .cst8 section, and remove redundant
27235         high address load.
27236         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
27237         constant for 0x1p52.  Load little-endian words of double from
27238         correct stack offsets.
27240 2013-10-04  Alan Modra  <amodra@gmail.com>
27242         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
27243         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
27244         words of double from correct stack offsets.
27245         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
27246         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
27247         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27248         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27249         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27250         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27251         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27252         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27253         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
27254         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27255         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27256         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27257         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
27258         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
27259         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
27260         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
27261         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
27263 2013-10-04  Alan Modra  <amodra@gmail.com>
27265         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
27266         64-bit int/double union.
27267         (_FPU_SETCW): Likewise.
27268         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
27269         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
27271 2013-10-04  Alan Modra  <amodra@gmail.com>
27273         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
27274         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
27276 2013-10-04  Alan Modra  <amodra@gmail.com>
27278         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
27279         use vector int constants.
27280         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
27282 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27284         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
27285         array with long long.
27286         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
27287         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
27288         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
27289         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
27290         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
27291         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
27292         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
27293         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
27294         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
27295         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
27296         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
27297         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
27298         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
27300 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
27302         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
27303         (__signbit): Likewise.  Correct for little-endian.
27304         (__signbitl): Call __signbit.
27305         (lrint): Correct for little-endian.
27306         (lrintf): Call lrint.
27308 2013-10-04  Alan Modra  <amodra@gmail.com>
27310         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
27311         union 32-bit int array member with 64-bit int array.
27312         (t515, tm256): Double rather than long double.
27313         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
27315 2013-10-04  Alan Modra  <amodra@gmail.com>
27317         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
27318         Delete.
27319         (IEEE854_LONG_DOUBLE_BIAS): Delete.
27320         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
27321         version of math_ldbl.h.
27323 2013-10-04  Alan Modra  <amodra@gmail.com>
27325         [BZ #15734], [BZ #15735]
27326         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
27327         all uses of ieee875 long double macros and unions.  Simplify test
27328         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
27329         ldbl_extract_mantissa value for ix,iy exponents.  Properly
27330         normalize after ldbl_extract_mantissa, and don't add hidden bit
27331         already handled.  Don't treat low word of ieee854 mantissa like
27332         low word of IBM long double and mask off bit when testing for
27333         zero.
27334         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
27335         all uses of ieee875 long double macros and unions.  Simplify tests
27336         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
27337         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
27338         two1022, instead use their values.  Recognise that tests for large
27339         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
27340         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
27341         Rewrite all uses of ieee875 long double macros and unions.  Simplify
27342         test for 0.0L and nan.  Correct negation.
27343         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
27344         ieee875 long double macros and unions.  Correct output for large
27345         magnitude x.  Correct absolute value calculation.
27346         (__erfcl): Likewise.
27347         * math/libm-test.inc: Add tests for errors discovered in IBM long
27348         double versions of fmodl, remainderl, erfl and erfcl.
27350 2013-10-04  Alan Modra  <amodra@gmail.com>
27352         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
27353         all uses of ieee854 long double macros and unions.  Simplify tests
27354         for long doubles that are fully specified by the high double.
27355         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27356         Likewise.
27357         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
27358         Remove dead code too.
27359         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
27360         (__ieee754_ynl): Likewise.
27361         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
27362         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
27363         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
27364         Remove dead code too.
27365         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27366         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
27367         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
27368         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
27369         Simplify.
27370         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
27371         Simplify.
27372         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
27373         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
27374         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
27375         Comment on variable precision.
27376         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
27377         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27378         Likewise.
27379         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
27380         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27381         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27382         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27383         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
27385 2013-10-04  Alan Modra  <amodra@gmail.com>
27387         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
27388         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
27389         all uses of ieee854 long double macros and unions.
27390         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
27391         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
27392         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
27393         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
27394         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
27395         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
27396         Likewise.
27397         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
27398         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
27399         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
27400         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27401         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27402         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27403         Simplify sign and nan test too.
27404         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
27405         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
27406         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
27407         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
27408         Likewise.
27409         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
27410         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
27411         Likewise.
27412         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27413         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
27414         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
27415         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
27416         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
27417         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
27419 2013-10-04  Alan Modra  <amodra@gmail.com>
27421         * stdio-common/printf_size.c (__printf_size): Don't use
27422         union ieee854_long_double in fpnum union.
27423         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
27424         signbit macro to retrieve sign from long double.
27425         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
27426         retrieve sign from long double.
27427         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
27428         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
27429         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
27430         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27431         * math/test-misc.c (main): Don't use union ieee854_long_double.
27433 2013-10-04  Alan Modra  <amodra@gmail.com>
27435         [BZ #15680]
27436         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
27437         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
27438         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
27439         calculation.  Remove unnecessary test for denormal exponent.
27440         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
27441         Correct handling of denormals.  Avoid undefined shift behaviour.
27442         Correct normalisation of low mantissa when low double is denormal.
27443         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
27444         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
27445         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
27446         Correct normalisation of low mantissa.  Test for overflow of high
27447         mantissa and normalise.
27448         (ldbl_nearbyint): Use more readable constant for two52.
27449         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
27450         (__mpn_construct_long_double): Fix test for overflow of high
27451         mantissa and correct normalisation.  Avoid undefined shift.
27453 2013-10-04  Alan Modra  <amodra@gmail.com>
27455         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
27456         (union ibm_extended_long_double): Define as an array of ieee754_double.
27457         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
27458         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
27459         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
27460         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
27461         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27462         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
27463         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27464         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
27465         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
27466         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
27467         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27469 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
27471         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
27472         page size instead of calling getpagesize.
27474         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
27475         (LOCFILE_ALIGN_MASK): Likewise.
27476         (LOCFILE_ALIGN_UP): Likewise.
27477         (LOCFILE_ALIGNED_P): Likewise.
27478         * locale/programs/ld-collate.c (collate_output): Use the new
27479         macros instead of __alignof__ (int32_t).
27480         * locale/weight.h (findidx): Likewise.
27482 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
27484         [BZ #431]
27485         * manual/string.texi: Fix strncat and wcsncat.
27487 2013-10-03  Brooks Moses  <bmoses@google.com>
27489         [BZ #15915]
27490         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
27491         * Makerules: ...here, and adjust associated comments.
27493 2013-10-02  Will Newton  <will.newton@linaro.org>
27495         * malloc/Makefile: Add tst-pvalloc.
27496         * malloc/tst-pvalloc.c: New file.
27498 2013-10-02  Will Newton  <will.newton@linaro.org>
27500         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
27501         improve test coverage.
27503 2013-10-02  Will Newton  <will.newton@linaro.org>
27505         * malloc/Makefile: Add tst-posix_memalign.
27506         * malloc/tst-posix_memalign.c: New file.
27508 2013-10-01  Eric Blake  <eblake@redhat.com>
27510         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
27511         Use __THROWNL rather than __THROW on static functions.
27513 2013-09-30  Petr Machata  <pmachata@redhat.com>
27515         * elf/elf.h (R_AARCH64_ABS16): New macro.
27516         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
27517         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
27518         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
27519         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
27520         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
27521         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
27522         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
27523         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
27524         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
27525         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
27526         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
27527         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
27528         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
27529         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
27530         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
27531         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
27532         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
27533         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
27534         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
27535         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
27536         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
27537         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
27538         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
27539         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
27540         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
27541         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
27542         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
27543         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
27544         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
27545         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
27546         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
27547         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
27548         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
27549         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
27550         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
27551         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
27552         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
27553         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
27554         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
27555         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
27556         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
27557         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
27558         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
27559         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
27560         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
27561         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
27562         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
27563         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
27564         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
27565         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
27566         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
27567         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
27568         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
27569         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
27570         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
27571         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
27572         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
27573         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
27574         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
27575         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
27576         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
27577         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
27578         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
27579         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
27580         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
27581         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
27582         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
27583         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
27584         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
27585         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
27586         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
27587         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
27588         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
27589         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
27590         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
27591         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
27592         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
27593         (R_AARCH64_TLSDESC_LDR): Likewise.
27594         (R_AARCH64_TLSDESC_ADD): Likewise.
27595         (R_AARCH64_TLSDESC_CALL): Likewise.
27597 2013-09-30  Andreas Schwab  <schwab@suse.de>
27599         [BZ #15048]
27600         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
27601         the nss database lookup.
27602         * nscd/initgrcache.c (addinitgroupsX): Likewise.
27603         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
27605 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
27607         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
27609 2013-09-28  P. J. McDermott  <pj@pehjota.net>
27611         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
27612         ${Bash-specific parameter/pattern/string} parameter expansion.
27613         * sysdeps/unix/make-syscalls.sh: Likewise.
27615 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27617         * sysdeps/sh/stackguard-macros.h: New file.
27619 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
27621         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
27622         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
27623         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
27624         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
27625         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27626         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
27628 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27630         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
27631         Fix thread ID register.
27633 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
27635         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
27636         [POSIX || UNIX98]: Require rather than permitting all symbols from
27637         <time.h>.
27638         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
27639         element of struct sched_param.
27640         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
27641         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
27642         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
27643         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
27644         constant.
27646 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
27648         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
27649         argument calculation.
27651 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27653         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
27654         Expect macro.
27655         [POSIX] (pthread_attr_t): Do not require type.
27656         [POSIX] (pthread_cond_t): Likewise.
27657         [POSIX] (pthread_condattr_t): Likewise.
27658         [POSIX] (pthread_key_t): Likewise.
27659         [POSIX] (pthread_mutex_t): Likewise.
27660         [POSIX] (pthread_mutexattr_t): Likewise.
27661         [POSIX] (pthread_once_t): Likewise.
27662         [POSIX] (pthread_t): Likewise.
27663         [POSIX-based standards] (pthread_atfork): Expect function.
27665 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
27666             Richard Sandiford  <richard@codesourcery.com>
27668         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
27669         (swap_endianness_p): New extern variable.
27670         (set_big_endian): New inline function.
27671         (maybe_swap_uint32): Likewise.
27672         (maybe_swap_uint32_array): Likewise.
27673         (maybe_swap_uint32_obstack): Likewise.
27674         * locale/programs/locfile.c: Include <stdbool.h>.
27675         (swap_endianness_p): New variable.
27676         (add_locale_uint32): Call maybe_swap_uint32.
27677         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
27678         (write_locale_data): Call maybe_swap_uint32_array.
27679         * locale/programs/ld-collate.c (obstack_int32_grow): Call
27680         maybe_swap_uint32.
27681         (obstack_int32_grow_fast): Likewise.
27682         (output_weightwc): Call maybe_swap_uint32_obstack.
27683         (collate_output): Likewise.
27684         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
27685         (OPT_LITTLE_ENDIAN): Likewise.
27686         (options): Add --little-endian and --big-endian options.
27687         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
27688         * locale/programs/locarchive.c: Include "locfile.h".
27689         (GET): New macro.
27690         (SET): Likewise.
27691         (INC): Likewise.
27692         (create_archive): Use the new macros to access fields of
27693         structures directly mapped from or written to locale archives.
27694         (oldlocrecentcmp): Likewise.
27695         (enlarge_archive): Likewise.
27696         (insert_name): Likewise.
27697         (add_alias): Likewise.
27698         (add_locale): Likewise.
27699         (delete_locales_from_archive): Likewise.
27700         (show_archive_content): Likewise.
27701         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
27702         locale data.
27704 2013-09-24  Roland McGrath  <roland@hack.frob.com>
27706         * manual/freemanuals.texi: Updated from (newly) canonical copy at
27707         http://www.gnu.org/doc/freemanuals.texi.
27708         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
27710 2013-09-24  Will Newton  <will.newton@linaro.org>
27712         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
27713         macro.
27715 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
27717         * locale/hashval.h (compute_hashval): Interpret bytes of key as
27718         unsigned char.
27720 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
27722         * manual/threads.texi (POSIX Threads): Fix a typo.
27724 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
27726         [BZ #14547]
27727         * string/tst-strcoll-overflow.c: New test case.
27728         * string/Makefile (xtests): Add tst-strcoll-overflow.
27729         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
27730         cache if string sizes may cause integer overflow.
27732         [BZ #14547]
27733         * string/strcoll_l.c (coll_seq): New members rule, idx,
27734         save_idx and back_us.
27735         (get_next_seq_nocache): New function.
27736         (do_compare_nocache): New function.
27737         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
27738         when malloc fails.
27740 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
27742         [BZ #15754]
27743         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
27744         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
27745         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
27747         [BZ #15754]
27748         * elf/Makefile (tests): Add tst-ptrguard1.
27749         (tests-static): Add tst-ptrguard1-static.
27750         (tst-ptrguard1-ARGS): Define.
27751         (tst-ptrguard1-static-ARGS): Define.
27752         * elf/tst-ptrguard1.c: New file.
27753         * elf/tst-ptrguard1-static.c: New file.
27754         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
27755         * sysdeps/i386/stackguard-macros.h: Likewise.
27756         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
27757         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
27758         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
27759         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
27760         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
27761         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
27763 2013-09-23  Hector Marco  <hecmargi@upv.es>
27764             Ismael Ripoll  <iripoll@disca.upv.es>
27765             Carlos O'Donell  <carlos@redhat.com>
27767         [BZ #15754]
27768         * sysdeps/generic/stackguard-macros.h: Define
27769         __pointer_chk_guard_local and POINTER_CHK_GUARD.
27770         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
27771         Define __pointer_chk_guard_local.
27772         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
27773         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
27775 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
27777         [BZ #15859]
27778         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
27780 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
27782         * include/string.h (__ffs): Declare as hidden.
27783         * string/ffs.c (__ffs): Define as hidden.
27784         * sysdeps/i386/ffs.c (__ffs): Likewise.
27785         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27786         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
27787         * sysdeps/s390/ffs.c (__ffs): Likewise.
27788         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
27790 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
27792         * NEWS: Mention malloc probes.
27794         * malloc/arena.c (new_heap): New memory_heap_new probe.
27795         (grow_heap): New memory_heap_more probe.
27796         (shrink_heap): New memory_heap_less probe.
27797         (heap_trim): New memory_heap_free probe.
27798         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
27799         (systrim): New memory_sbrk_less probe.
27800         * manual/probes.texi: Document them.
27802         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
27803         * manual/probes.texi: Document it.
27805         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
27806         (__libc_realloc): Add memory_realloc_retry probe.
27807         (__libc_memalign): Add memory_memalign_retry probe.
27808         (__libc_valloc): Add memory_valloc_retry probe.
27809         (__libc_pvalloc): Add memory_pvalloc_retry probe.
27810         (__libc_calloc): Add memory_calloc_retry probe.
27811         * manual/probes.texi: Document them.
27813         * malloc/arena.c (get_free_list): Add probe
27814         memory_arena_reuse_free_list.
27815         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
27816         and memory_arena_reuse.
27817         (arena_get2) [!PER_THREAD]: Likewise.
27818         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
27819         memory_arena_reuse_realloc.
27820         * manual/probes.texi: Document them.
27822         * malloc/malloc.c (__libc_free): Add
27823         memory_mallopt_free_dyn_thresholds probe.
27824         (__libc_mallopt): Add multiple memory_mallopt probes.
27825         * manual/probes.texi: Document them.
27827         * malloc/malloc.c: Include stap-probe.h.
27828         (__libc_mallopt): Add memory_mallopt probe.
27829         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
27830         * manual/probes.texi: New.
27831         * manual/Makefile (chapters): Add probes.
27832         * manual/threads.texi: Set next node.
27834 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
27836         [BZ #15963, #13985]
27837         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
27838         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
27839         Add `Chinese' to `nan' entry name.
27841 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27843         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
27844         (POLYNOMIAL): Likewise.
27845         (TAYLOR_SINCOS): Likewise.
27846         (TAYLOR_SLOW): Likewise.
27847         (__sin): Use TAYLOR_SINCOS.
27848         (__cos): Likewise.
27849         (slow): Use TAYLOR_SLOW.
27850         (sloww): Likewise.
27851         (bsloww): Likewise.
27852         (csloww): Likewise.
27854 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
27856         * stdlib/strtod_l.c: Fix buffer overrun.
27858 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27860         * benchtests/Makefile (bench): Add sincos.
27861         * benchtests/bench-sincos.c: New file.
27863         * math/libm-test.inc (cos_test_data): New test inputs.
27864         (sin_test_data): Likewise.
27866         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
27867         macro.
27868         (__sin): Use it.
27869         (__cos): Likewise.
27870         (slow1): Likewise.
27871         (slow2): Likewise.
27872         (sloww1): Likewise.
27873         (sloww2): Likewise.
27874         (bsloww1): Likewise.
27875         (bsloww2): Likewise.
27876         (cslow2): Likewise.
27877         (csloww1): Likewise.
27878         (csloww2): Likewise.
27880         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
27881         function.
27882         (__sin): Use it.
27883         (__cos): Likewise.
27885         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
27886         gotos.
27887         (__cos): Likewise.
27889 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
27891         * config.h.in (HAVE_MIPS_NAN2008): New macro.
27892         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
27893         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
27894         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
27895         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
27896         * elf/cache.c (print_entry): Handle the new cache flags.
27898 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27899             Aldy Hernandez  <aldyh@redhat.com>
27901         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
27902         Change condition to [_SOFT_FLOAT].
27903         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
27904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
27905         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
27906         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
27907         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
27908         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
27909         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
27910         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
27911         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
27912         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
27913         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
27914         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
27915         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
27916         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
27917         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
27918         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
27919         declaration.
27921 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
27923         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
27924         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27925         (__longjmp): Use LOAD_GP to load saved GPRs.
27926         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
27927         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
27928         (__sigsetjmp): Use SAVE_GP to save GPRs.
27930         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
27931         Do not append -msoft-float.
27932         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
27934 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27936         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
27938 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
27940         [BZ #15966]
27941         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
27942         (_FPU_GETCW): Use initial "__" on variable and field names but not
27943         on macro parameter name.
27944         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
27945         parentheses around reference to macro parameter.
27947 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
27949         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
27950         prototype.
27951         (ctype_startup): Use uint32_t in cast and sizeof for
27952         ctype->charnames.
27954 2013-09-11  Jia Liu  <proljc@gmail.com>
27956         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
27957         __daddr_t_defined.
27958         [__FreeBSD__]: Likewise.
27960 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
27962         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
27963         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
27964         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
27965         (strchr): Remove __strchr_sse42 ifunc selection.
27966         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
27967         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
27969 2013-09-11  Will Newton  <will.newton@linaro.org>
27971         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
27972         parameter to RES. Remove hardcoded 1000 value.
27973         * benchtests/bench-skeleton.c (main): Pass RES parameter
27974         to TIMING_INIT and multiply result by 1000.
27976 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27978         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27980 2013-09-11  Andreas Schwab  <schwab@suse.de>
27982         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
27983         if not defined.
27984         (O_TMPFILE) [__USE_GNU]: Define.
27985         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
27986         Define.
27988 2013-09-11  Will Newton  <will.newton@linaro.org>
27990         [BZ #15857]
27991         * malloc/malloc.c (__libc_memalign): Check the value of bytes
27992         does not overflow.
27994 2013-09-11  Will Newton  <will.newton@linaro.org>
27996         [BZ #15856]
27997         * malloc/malloc.c (__libc_valloc): Check the value of bytes
27998         does not overflow.
28000 2013-09-11  Will Newton  <will.newton@linaro.org>
28002         [BZ #15855]
28003         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
28004         does not overflow.
28006 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
28008         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
28009         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
28010         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28011         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
28012         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
28014 2013-09-10  Allan McRae  <allan@archlinux.org>
28016         [BZ #15748]
28017         * manual/arith.texi (Parsing of Floats): Clarify
28018         cross-reference.
28020         [BZ #15849]
28021         * manual/install.texi (Running make install): Mention
28022         --enable-pt-chown.
28023         * INSTALL: Regenerated.
28025 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
28027         * csu/init-first.c (_init): Remove the !SHARED condition around
28028         FPU control word initialization.
28029         * elf/dl-support.c (_dl_fpu_control): New variable.
28030         (_dl_aux_init) <AT_FPUCW>: Initialize it.
28031         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
28032         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
28033         * math/test-fpucw-static.c: New file.
28034         * math/test-fpucw-ieee.c: New file.
28035         * math/test-fpucw-ieee-static.c: New file.
28036         * math/Makefile (tests): Add `test-fpucw-ieee' and
28037         `$(tests-static)'.
28038         (tests-static): New variable.
28039         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
28040         dependency to...
28041         [($(build-shared),yes)]
28042         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
28043         ... this.
28044         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
28045         New dependency.
28047 2013-09-09  Allan McRae  <allan@archlinux.org>
28049         [BZ #15939]
28050         * manual/string.texi (Collation Functions): Fix typo in
28051         strcoll example.
28052         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
28054         [BZ #15893]
28055         * stdlib/isomac.c (get_null_defines): Fix memory leak.
28057         [BZ #15892]
28058         * libio/memstream.c (open_memstream): Fix memory leak.
28059         * libio/wmemstream.c (open_wmemstream): Likewise.
28061         [BZ #15895]
28062         * nscd/netgroupcache.c: Fix nesting of ifdefs.
28064 2013-09-09  Will Newton  <will.newton@linaro.org>
28066         * malloc/Makefile: Add tst-realloc to tests.
28067         * malloc/tst-realloc.c: New file.
28069 2013-09-09  Allan McRae  <allan@archlinux.org>
28071         [BZ #15844]
28072         * COPYING: Update from GNU website to fix FSF address.
28073         * COPYING.LIB: Likewise.
28075 2013-09-06  David S. Miller  <davem@davemloft.net>
28077         * po/zh_TW.po: Update Chinese (traditional) translation from
28078         translation project.
28080 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
28081             Joseph Myers  <joseph@codesourcery.com>
28083         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
28084         "localeinfo.h".
28085         (obstack_chunk_alloc): New macro.
28086         (obstack_chunk_free): Likewise.
28087         (record_offset): New function.
28088         (init_locale_data): Likewise.
28089         (align_locale_data): Likewise.
28090         (add_locale_empty): Likewise.
28091         (add_locale_raw_data): Likewise.
28092         (add_locale_raw_obstack): Likewise.
28093         (add_locale_string): Likewise.
28094         (add_locale_wstring): Likewise.
28095         (add_locale_uint32): Likewise.
28096         (add_locale_uint32_array): Likewise.
28097         (add_locale_char): Likewise.
28098         (start_locale_structure): Likewise.
28099         (end_locale_structure): Likewise.
28100         (start_locale_prelude): Likewise.
28101         (end_locale_prelude): Likewise.
28102         (write_locale_data): Take locale_file structure rather than an
28103         iovec.
28104         * locale/programs/locfile.h: Include "obstack.h".
28105         (struct locale_file): Change to store locale file contents instead
28106         of header.
28107         (init_locale_data): New prototype.
28108         (align_locale_data): Likewise.
28109         (add_locale_empty): Likewise.
28110         (add_locale_raw_data): Likewise.
28111         (add_locale_raw_obstack): Likewise.
28112         (add_locale_string): Likewise.
28113         (add_locale_wstring): Likewise.
28114         (add_locale_uint32): Likewise.
28115         (add_locale_uint32_array): Likewise.
28116         (add_locale_char): Likewise.
28117         (start_locale_structure): Likewise.
28118         (end_locale_structure): Likewise.
28119         (start_locale_prelude): Likewise.
28120         (end_locale_prelude): Likewise.
28121         (write_locale_data): Update prototype.
28122         * locale/programs/3level.h (struct TABLE): Remove result field.
28123         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
28124         Use new locale_file interface.
28125         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
28126         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
28127         * locale/programs/ld-address.c (address_output): Use new
28128         locale_file interface.
28129         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
28130         NO_ADD_LOCALE.
28131         (collate_finish): Don't call collseq_table_finalize.
28132         (collate_output): Use new locale_file interface.
28133         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
28134         in file.
28135         (NO_FINALIZE): Change to NO_ADD_LOCALE.
28136         (TABLE): Move defines earlier in file.
28137         (ELEMENT): Likewise.
28138         (DEFAULT): Likewise.
28139         (wctrans_table_add): Move macro and inline function earlier in
28140         file.
28141         (struct wctype_table): Move type earlier in file.
28142         (add_locale_wctype_table): New static prototype.
28143         (struct locale_ctype_t): Use logical types instead of struct iovec
28144         pointers for members.
28145         (ctype_output): Use new locale_file interface.
28146         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
28147         new locale_file interface.
28148         (allocate_arrays): Update for use of new locale_file interface.
28149         * locale/programs/ld-identification.c (identification_output): Use
28150         new locale_file interface.
28151         * locale/programs/ld-measurement.c (measurement_output): Likewise.
28152         * locale/programs/ld-messages.c (messages_output): Likewise.
28153         * locale/programs/ld-monetary.c (monetary_output): Likewise.
28154         * locale/programs/ld-name.c (name_output): Likewise.
28155         * locale/programs/ld-numeric.c (numeric_output): Likewise.
28156         * locale/programs/ld-paper.c (paper_output): Likewise.
28157         * locale/programs/ld-telephone.c (telephone_output): Likewise.
28158         * locale/programs/ld-time.c (time_output): Likewise.
28160 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28162         * benchtests/Makefile: Add memrchr benchmark.
28163         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
28164         benchmark as memrchr.
28165         * benchtests/bench-memrchr-ifunc.c: New file.
28166         * benchtests/bench-memrchr.c: New file.
28168 2013-09-06   Will Newton  <will.newton@linaro.org>
28170         * benchtests/Makefile (string-bench): Add memcpy.
28172 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
28173             Cong Wang  <amwang@redhat.com>
28175         [BZ #15850]
28176         * sysdeps/unix/sysv/linux/bits/in.h
28177         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
28178         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
28179         before __USE_KERNEL_IPV6_DEFS uses.
28180         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
28181         IPPROTO_BEETPH.
28182         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
28183         sockaddr_in6, or ipv6_mreq.
28185 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28187         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
28188         memory access for final bytes in some large inputs.
28189         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
28191 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28193         * string/test-memrchr.c: New file.
28194         * string/test-memrchr-ifunc.c: New file.
28195         * string/Makefile: Add new memrchr testcase.
28197 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
28199         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
28200         fanotify_init returns EPERM.
28202 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28204         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
28205         errors.
28206         (top level): Treat second token from macro or constant entries for
28207         allowed headers as allowed.
28208         * include/complex.h: Condition internal declarations on
28209         [!_ISOMAC].
28210         * include/fenv.h: Condition include of <stdbool.h> and internal
28211         declarations on [!_ISOMAC].
28213 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
28215         [BZ #15923]
28216         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
28218 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
28220         * configure.in (--enable-versioning): Remove configure option.
28221         (libc_cv_asm_symver_directive): Remove configure test.
28222         (libc_cv_ld_version_script_option): Likewise.
28223         (VERSIONING): Remove variable and AC_SUBST.
28224         (DO_VERSIONING): Remove AC_DEFINE.
28225         * configure: Regenerated.
28226         * config.h.in (DO_VERSIONING): Remove macro.
28227         * Makerules [$(versioning) = yes]: Change conditionals to
28228         [$(build-shared) = yes].
28229         * config.make.in (versioning): Remove variable.
28230         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
28231         [$(build-shared) = yes].
28232         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
28233         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
28234         * elf/Makefile [$(versioning) = yes]: Change conditionals to
28235         [$(build-shared) = yes].
28236         * extra-lib.mk [$(versioning) = yes]: Likewise.
28237         * hurd/Makefile [$(versioning) = yes]: Likewise.
28238         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
28239         [SHARED].
28240         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
28241         [SHARED].
28242         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28243         [SHARED && !NO_HIDDEN].
28244         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
28245         [SHARED].
28246         [SHARED && DO_VERSIONING]: Likewise..
28247         * libio/Makefile [$(versioning) = yes]: Change conditionals to
28248         [$(build-shared) = yes].
28249         * manual/install.texi (--disable-versioning): Remove
28250         documentation.
28251         * INSTALL: Regenerated.
28252         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
28253         to [SHARED].
28254         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
28255         [$(build-shared) = yes].
28256         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
28257         * sysdeps/i386/i686/multiarch/strstr-c.c
28258         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
28259         [SHARED && !NO_HIDDEN].
28260         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
28261         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
28262         * sysdeps/powerpc/powerpc32/dl-machine.c
28263         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
28264         * sysdeps/powerpc/powerpc32/sysdep.h
28265         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
28266         to [SHARED && PIC && !NO_HIDDEN].
28267         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
28268         conditional to [SHARED].
28270 2013-09-04   Will Newton  <will.newton@linaro.org>
28272         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
28273         * benchtests/bench-string.h: Include bench-timing.h instead
28274         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
28275         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
28276         call to HP_TIMING_DIFF_INIT.
28277         * benchtests/bench-memccpy.c: Use bench-timing.h macros
28278         instead of hp-timing.h macros.
28279         * benchtests/bench-memchr.c: Likewise.
28280         * benchtests/bench-memcmp.c: Likewise.
28281         * benchtests/bench-memcpy.c: Likewise.
28282         * benchtests/bench-memmem.c: Likewise.
28283         * benchtests/bench-memmove.c: Likewise.
28284         * benchtests/bench-memset.c: Likewise.
28285         * benchtests/bench-rawmemchr.c: Likewise.
28286         * benchtests/bench-strcasecmp.c: Likewise.
28287         * benchtests/bench-strcasestr.c: Likewise.
28288         * benchtests/bench-strcat.c: Likewise.
28289         * benchtests/bench-strchr.c: Likewise.
28290         * benchtests/bench-strcmp.c: Likewise.
28291         * benchtests/bench-strcpy.c: Likewise.
28292         * benchtests/bench-strcpy_chk.c: Likewise.
28293         * benchtests/bench-strlen.c: Likewise.
28294         * benchtests/bench-strncasecmp.c: Likewise.
28295         * benchtests/bench-strncat.c: Likewise.
28296         * benchtests/bench-strncmp.c: Likewise.
28297         * benchtests/bench-strncpy.c: Likewise.
28298         * benchtests/bench-strnlen.c: Likewise.
28299         * benchtests/bench-strpbrk.c: Likewise.
28300         * benchtests/bench-strrchr.c: Likewise.
28301         * benchtests/bench-strspn.c: Likewise.
28302         * benchtests/bench-strstr.c: Likewise.
28304 2013-09-04  Will Newton  <will.newton@linaro.org>
28306         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
28308 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
28310         [BZ #15427]
28311         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
28312         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
28313         * math/libm-test.inc (lgamma_test_data): Add more tests.
28314         * sysdeps/i386/fpu/libm-test-ulps: Update.
28315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28317 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
28319         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
28320         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28321         Add ifunc.
28322         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28323         Add strcmp-sse2-unaligned
28324         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
28326 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28328         * Versions.def (libc): Add GLIBC_2.19.
28330 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
28332         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
28333         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
28335 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
28337         [BZ #14155]
28338         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
28339         intermediate calculations in recurrence.
28340         (__ieee754_ynf): Likewise.
28341         * math/libm-test.inc (jn_test_data): Do not allow spurious
28342         underflow exception.  Add more tests.
28343         (yn_test_data): Add more tests.
28344         * sysdeps/i386/fpu/libm-test-ulps: Update.
28345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28347 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
28349         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
28351 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28353         * csu/init-first.c: Fix then/than typos.
28354         * locale/programs/ld-collate.c: Likewise.
28355         * locale/programs/linereader.h: Likewise.
28356         * manual/charset.texi: Likewise.
28357         * manual/filesys.texi: Likewise.
28358         * manual/stdio.texi: Likewise.
28359         * manual/string.texi: Likewise.
28360         * stdlib/fmtmsg.c: Likewise.
28361         * sysdeps/i386/stpncpy.S: Likewise.
28362         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
28363         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28364         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
28365         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
28367 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
28369         * elf/dl-open.c: Fix typos.
28370         * iconvdata/gbbig5.c: Likewise.
28371         * iconvdata/iso-2022-jp.c: Likewise.
28372         * iconv/gconv_int.h: Likewise.
28373         * iconv/loop.c: Likewise.
28374         * nis/rpcsvc/nis.h: Likewise.
28375         * resolv/ns_name.c: Likewise.
28376         * stdio-common/vfscanf.c: Likewise.
28377         * streams/stropts.h: Likewise.
28378         * sunrpc/rpc_thread.c: Likewise.
28379         * sysdeps/i386/strpbrk.S: Likewise.
28380         * sysdeps/ieee754/k_standard.c: Likewise.
28381         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
28382         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
28383         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
28384         * sysdeps/mach/hurd/profil.c: Likewise.
28385         * sysdeps/s390/dl-procinfo.h: Likewise.
28386         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
28387         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28388         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
28389         * sysdeps/x86_64/dl-trampoline.S: Likewise.
28390         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
28392 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
28394         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
28395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
28397 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
28399         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
28400         aix specific files.
28401         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
28402         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
28403         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
28404         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
28405         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
28406         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
28407         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
28408         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
28410 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28411             Roland McGrath  <roland@hack.frob.com>
28413         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
28414         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
28416 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28418         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
28419         __executable_start symbol instead of _start.
28421 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
28423         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
28424         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
28425         Move macros to...
28426         * sysdeps/gnu/ldsodefs.h: ... this new file.
28428         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
28429         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
28430         instead of ELFOSABI_LINUX.
28432         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
28433         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
28434         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
28435         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
28436         Likewise.
28437         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
28438         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
28439         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
28440         Likewise.
28441         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
28442         (ibm_extended_long_double): Add ieee_nan member.
28443         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
28444         (do_test): New function.
28446         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
28447         TEST_TRUNC.
28448         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
28449         functions, renamed from truncdfsf_test, trunctfsf_test,
28450         trunctfdf_test.
28451         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
28452         functions.
28453         (do_test): Run all these.
28455 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
28457         * argp/argp-help.c: Fix typos.
28458         * argp/argp-parse.c: Likewise.
28459         * debug/backtracesyms.c: Likewise.
28460         * elf/elf.h: Likewise.
28461         * malloc/malloc.c: Likewise.
28462         * nis/nis_print.c: Likewise.
28463         * resolv/res_comp.c: Likewise.
28464         * stdlib/stdlib.h: Likewise.
28465         * sunrpc/clnt_tcp.c: Likewise.
28466         * sunrpc/clnt_udp.c: Likewise.
28467         * sunrpc/clnt_unix.c: Likewise.
28468         * sysdeps/unix/bsd/ptsname.c: Likewise.
28469         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
28470         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
28471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
28472         Likewise.
28473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
28474         Likewise.
28475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28476         Likewise.
28477         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
28479 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28481         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
28482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
28484 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
28486         [BZ #15897]
28487         * dlfcn/Makefile (tests): Add bug-dl-leaf.
28488         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
28489         ($(objpfx)bug-dl-leaf): New rule.
28490         ($(objpfx)bug-dl-leaf.so): Likewise.
28491         ($(objpfx)bug-dl-leaf.out): Likewise.
28492         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
28493         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
28494         * dlfcn/bug-dl-leaf.c: New test.
28495         * dlfcn/bug-dl-leaf-lib.c: Likewise.
28496         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
28497         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
28498         (dlclose): Likewise.
28499         (dlmopen): Likewise.
28501 2013-08-27  Roland McGrath  <roland@hack.frob.com>
28503         * include/netdb.h [!_ISOMAC]:
28504         Don't include <tls.h>.
28505         (h_errno, __libc_h_errno): Move declaration and macros out of
28506         [_LIBC_REENTRANT].
28508         * include/resolv.h [_RESOLV_H_]:
28509         Don't include <tls.h>.
28510         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
28511         * resolv/res_libc.c: Don't include <tls.h>.
28512         (_res): Use __attribute__ ((nocommon)) in place of
28513         __attribute__ ((section (".bss"))).
28515         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
28516         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
28518         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
28520         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
28521         only under [SIOCGIFCONF && SIOCGIFNETMASK].
28523         * resolv/res_mkquery.c: Include <sys/time.h>.
28525         * inet/ifreq.c: Moved to ...
28526         * sysdeps/unix/ifreq.c: ... here.
28527         * inet/ifreq.c: New file, true stub version.
28529         * socket/sa_len.c: New file.
28530         * socket/Makefile (aux): Add it.
28531         * sysdeps/unix/sysv/linux/Makefile
28532         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
28533         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
28534         and #include <socket/sa_len.c>.
28535         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
28536         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
28538         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
28539         * bits/socket.h: ... here.
28541         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
28542         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
28543         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
28545 2013-08-27  Andreas Schwab  <schwab@suse.de>
28547         [BZ #15736]
28548         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
28549         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
28550         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
28551         * string/test-strcasecmp.c (test_main): Run tests in several
28552         locales.
28553         * string/test-strncasecmp.c (test_main): Likewise.
28555         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
28556         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
28557         to __strcasecmp_nonascii and __strncasecmp_nonascii.
28558         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
28559         (__strncasecmp_ssse3) [PIC]: Likewise.
28561 2013-08-26  Roland McGrath  <roland@hack.frob.com>
28563         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
28565         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
28566         instead of explicitly declaring xdecrypt.
28567         * nis/nss_nis/nis-publickey.c: Likewise.
28569 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28571         [BZ #15890]
28572         * nscd/aicache.c: Include res_hconf.h.
28573         (addhstaiX): Initialize res_hconf.
28575 2013-08-26  Andreas Schwab  <schwab@suse.de>
28577         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
28578         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
28580 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28582         * nscd/aicache.c (addhstaiX): Fix indentation.
28584 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
28586         * configure.ac: Quote $build_pt_chown test.
28587         * configure: Regenerated.
28589 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
28591         [BZ #15532]
28592         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
28593         * math/s_cexpf.c (__cexpf): Likewise.
28594         * math/s_cexpl.c (__cexpl): Likewise.
28595         * math/libm-test.inc (cexp_test_data): Correct expected return
28596         value for NaN + i0.  Add another test.
28598 2013-08-22  David S. Miller  <davem@davemloft.net>
28600         * po/ca.po: Update Catalan translation from translation project.
28601         * po/uk.po: Add Ukrainian translations from translation project.
28603 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
28605         [BZ #15797]
28606         * math/s_fdim.c (__fdim): Check for infinite arguments if result
28607         is infinite, not alongside NaN test.
28608         * math/s_fdimf.c (__fdimf): Likewise.
28609         * math/s_fdiml.c (__fdiml): Likewise.
28610         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
28611         errno is unchanged.
28613 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
28615         * argp/argp-help.c: Fix typos.
28616         * crypt/speeds.c: Likewise.
28617         * csu/check_fds.c: Likewise.
28618         * elf/dl-load.c: Likewise.
28619         * elf/dl-open.c: Likewise.
28620         * elf/reldep3.c: Likewise.
28621         * elf/reldep.c: Likewise.
28622         * elf/sprof.c: Likewise.
28623         * iconv/iconv_charmap.c: Likewise.
28624         * iconv/skeleton.c: Likewise.
28625         * iconv/strtab.c: Likewise.
28626         * io/lockf64.c: Likewise.
28627         * libio/libioP.h: Likewise.
28628         * resolv/gai_notify.c: Likewise.
28629         * resolv/ns_name.c: Likewise.
28630         * resolv/ns_samedomain.c: Likewise.
28631         * resolv/res_send.c: Likewise.
28632         * stdlib/random.c: Likewise.
28633         * sunrpc/rpc/xdr.h: Likewise.
28634         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
28635         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28636         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28637         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28638         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28639         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28640         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28641         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28642         * sysdeps/mach/hurd/check_fds.c: Likewise.
28643         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
28644         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28645         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
28646         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
28647         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28648         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
28649         * sysdeps/pthread/aio_notify.c: Likewise.
28650         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
28651         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
28652         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
28653         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28654         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
28656 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28658         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
28659         version if bit_Slow_SSE4_2 is set.
28660         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28661         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28663 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28665         [BZ #15867]
28666         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
28667         trampoline stack frame information.
28668         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
28669         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
28670         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
28671         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
28672         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
28673         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28674         (_libc_vdso_platform_setup): Initialize the signal trampolines.
28675         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
28676         sa_flags value.
28677         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
28678         interrupting a syscall and set with option SA_SIGINFO.
28680 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28682         [BZ #15531]
28683         * math/s_cproj.c (__cproj): Only return an infinity if one part of
28684         argument is infinite.
28685         * math/s_cprojf.c (__cprojf): Likewise.
28686         * math/s_cprojl.c (__cprojl): Likewise.
28687         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
28688         * math/libm-test.inc (cproj_test_data): Add more tests.
28690         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
28692         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
28693         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
28694         size.  Use __ffs to determine corresponding shift.
28696 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
28697             Roland McGrath  <roland@hack.frob.com>
28699         * Makefile (INSTALL): Remove trailing blank lines from output of
28700         makeinfo.
28702 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28704         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
28705         Align 32 bit compat elf_greg to 8 bytes.
28707 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
28709         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
28711 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
28713         * string/strcoll_l.c (coll_seq): New structure.
28714         (get_next_seq_cached): New function.
28715         (get_next_seq): New function.
28716         (do_compare): New function.
28717         (STRCOLL): Use GNU style definition.  Simplify implementation
28718         by using get_next_seq, get_next_seq_cached and do_compare.
28720 2013-08-16  Florian Weimer  <fweimer@redhat.com>
28722         [BZ #14699]
28723         CVE-2013-4237
28724         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
28725         member.
28726         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
28727         member.
28728         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
28729         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
28730         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
28731         conditional.
28732         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
28733         GETDENTS_64BIT_ALIGNED.
28734         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28735         * manual/filesys.texi (Reading/Closing Directory): Document
28736         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
28737         strongly.
28738         * manual/conf.texi (Limits for Files): Add portability note to
28739         NAME_MAX, PATH_MAX.
28740         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
28742 2013-08-13  Andreas Schwab  <schwab@suse.de>
28744         [BZ #15749]
28745         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
28746         of fabs.
28747         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
28748         LDBL_MAX_EXP >= 16384]: Add tests for it.
28750 2013-08-12  David S. Miller  <davem@davemloft.net>
28752         * version.h (RELEASE): Set to "development".
28753         (VERSION): Set to "2.18.90".
28754         * NEWS: Add 2.19 section.
28756 2013-08-03  David S. Miller  <davem@davemloft.net>
28758         * po/ko.po: Update Korean translation from translation project.
28760 2013-08-01  David S. Miller  <davem@davemloft.net>
28762         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
28763         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
28764         Bilka.
28766 2013-07-30  David S. Miller  <davem@davemloft.net>
28768         * po/fr.po: Update French translation from translation project.
28770 2013-07-28  David S. Miller  <davem@davemloft.net>
28772         * po/cs.po: Update Czech translation from translation project.
28774         * po/sv.po: Update Swedish translation from translation project.
28776 2013-07-27  David S. Miller  <davem@davemloft.net>
28778         * po/eo.po: Update Esperanto translation from translation project.
28780         * po/vi.po: Update Vietnamese translation from translation project.
28782         * po/de.po: Update German translation from translation project.
28784 2013-07-26  David S. Miller  <davem@davemloft.net>
28786         * po/bg.po: Update Bulgarian translation from translation project.
28788         * po/nl.po: Update Dutch translation from translation project.
28789         * po/pl.po: Update Polish translation from translation project.
28790         * po/ru.po: Update Russian translation from translation project.
28792 2013-07-24  David S. Miller  <davem@davemloft.net>
28794         * po/libc.pot: Update.
28796 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28798         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
28799         variable page size.
28800         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
28801         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
28802         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
28804 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28806         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
28808 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28809             Andreas Schwab  <schwab@suse.de>
28810             Roland McGrath  <roland@hack.frob.com>
28811             Joseph Myers  <joseph@codesourcery.com>
28812             Carlos O'Donell  <carlos@redhat.com>
28814         [BZ #15755]
28815         * config.h.in: Define HAVE_PT_CHOWN.
28816         * config.make.in (build-pt-chown): New variable.
28817         * configure.in (--enable-pt_chown): New configure option.
28818         * configure: Regenerate.
28819         * login/Makefile: Include Makeconfig.  Build pt_chown only if
28820         build-pt-chown is enabled.
28821         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
28822         pt_chown to fix pty ownership.
28823         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
28824         CLOSE_ALL_FDS.
28825         * manual/install.texi (Configuring and compiling): Mention
28826         --enable-pt_chown. Add @findex for grantpt.
28827         * INSTALL: Regenerate.
28829 2013-07-20  David S. Miller  <davem@davemloft.net>
28831         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
28832         difference between 32-bit and 64-bit.
28834 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
28836         [BZ #15711]
28837         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
28838         Avoid system header dependency with -ffreestanding.
28839         ($(objpfx)bits/syscall%d): Likewise.
28841 2013-07-13  David S. Miller  <davem@davemloft.net>
28843         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
28844         underflows from atanl/atan2l due to bug 15319.
28845         (casinh_test_data): Likewise.
28847 2013-07-07  David S. Miller  <davem@davemloft.net>
28849         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28851 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
28853         * sysdeps/i386/fpu/libm-test-ulps: Update.
28854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28856 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28858         * configure.in (--enable-lock-elision): Fix message text.
28859         * INSTALL: Regenerate.
28860         * configure: Regenerate.
28862 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28866 2013-07-03  Andreas Jaeger  <aj@suse.de>
28868         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
28869         define.
28870         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
28871         (ptrace_peeksiginfo_args): Add.
28872         (__ptrace_peeksiginfo_flags): Add.
28873         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28874         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28875         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28877 2013-07-03  Allan McRae  <allan@archlinux.org>
28879         * sysdeps/i386/fpu/libm-test-ulps: Update.
28881 2013-07-02  David S. Miller  <davem@davemloft.net>
28883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28885 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
28887         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28889 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28891         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28894 2013-07-02  Andi Kleen <ak@linux.intel.com>
28896         * config.h.in (ENABLE_LOCK_ELISION): Add.
28897         * configure.in (--enable-lock-elision): Add option.
28898         * manual/install.texi: Document --enable lock elision.
28899         * configure: Regenerate
28900         * INSTALL: Regenerate.
28902 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
28904         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
28905         SSE4.2 strcasecmp for libc.a.
28906         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28908 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
28910         [BZ #13304]
28911         * soft-fp/op-common.h (_FP_FMA): New macro.
28912         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
28913         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
28914         (_FP_MUL_MEAT_1_imm): ... here.
28915         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
28916         (_FP_MUL_MEAT_1_wide): ... here.
28917         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
28918         (_FP_MUL_MEAT_1_hard): ... here.
28919         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
28920         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
28921         (_FP_MUL_MEAT_2_wide): ... here.
28922         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
28923         (_FP_MUL_MEAT_2_wide_3mul): ... here.
28924         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
28925         (_FP_MUL_MEAT_2_gmp): ... here.
28926         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
28927         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
28928         (_FP_MUL_MEAT_4_wide): ... here.
28929         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
28930         (_FP_MUL_MEAT_4_gmp): ... here.
28931         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
28932         (_FP_WFRACBITS_DW_S): Likewise.
28933         (_FP_WFRACXBITS_DW_S): Likewise.
28934         (_FP_HIGHBIT_DW_S): Likewise.
28935         (FP_FMA_S): Likewise.
28936         (_FP_FRAC_HIGH_DW_S): Likewise.
28937         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
28938         (_FP_WFRACBITS_DW_D): Likewise.
28939         (_FP_WFRACXBITS_DW_D): Likewise.
28940         (_FP_HIGHBIT_DW_D): Likewise.
28941         (FP_FMA_D): Likewise.
28942         (_FP_FRAC_HIGH_DW_D): Likewise.
28943         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
28944         (_FP_WFRACBITS_DW_E): Likewise.
28945         (_FP_WFRACXBITS_DW_E): Likewise.
28946         (_FP_HIGHBIT_DW_E): Likewise.
28947         (FP_FMA_E): Likewise.
28948         (_FP_FRAC_HIGH_DW_E): Likewise.
28949         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
28950         (_FP_WFRACBITS_DW_Q): Likewise.
28951         (_FP_WFRACXBITS_DW_Q): Likewise.
28952         (_FP_HIGHBIT_DW_Q): Likewise.
28953         (FP_FMA_Q): Likewise.
28954         (_FP_FRAC_HIGH_DW_Q): Likewise.
28955         * soft-fp/fmasf4.c: New file.
28956         * soft-fp/fmadf4.c: Likewise.
28957         * soft-fp/fmatf4.c: Likewise.
28959 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
28961         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
28962         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
28963         Silvermont.
28964         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
28965         macro.
28966         (index_Slow_SSE4_2): Likewise.
28967         (index_Prefer_PMINUB_for_stringop): Likewise.
28968         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
28969         bit_Slow_SSE4_2 is set.
28970         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28971         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28973 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28975         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
28976         rtld_global._dl_hwcap2.
28977         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
28978         POWER8.
28979         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
28980         POWER8 feature descriptions defined in _dl_hwcap2.
28981         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
28982         string handling for POWER8 feature bits.
28983         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
28984         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
28985         _dl_powerpc_cap_flags.
28986         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
28987         * sysdeps/powerpc/rtld-global-offsets.sym
28988         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
28989         _dl_hwcap2 in the rtld_global_ro structure.
28991 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28993         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
28994         hardware capabilities in support of AT_HWCAP2.
28995         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
28996         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
28997         GLRO(dl_hwcap2).
28998         (_dl_show_auxv): Add support for calling _dl_procinfo to display
28999         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
29000         explicitly the unknown a_type display mechanism is used.
29001         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
29002         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
29003         struct member.
29004         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
29005         to macro prototype for AT_HWCAP2 support.
29006         * sysdeps/i386/dl-procinfo.h: Likewise.
29007         * sysdeps/s390/dl-procinfo.h: Likewise.
29008         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
29009         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
29010         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
29011         return -1 for unknown a_type display fallback.
29012         * sysdeps/sparc/dl-procinfo.h: Likewise.
29013         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
29014         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
29016 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
29018         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
29019         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
29021 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
29023         [BZ #12492]
29024         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
29025         mprotect making __stack_prot writable.
29027 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
29028             Joseph Myers  <joseph@codesourcery.com>
29030         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
29031         as being properly aligned.
29033 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
29035         * dlfcn/modstatic5.c: New file.
29036         * dlfcn/tststatic5.c: New file.
29037         * dlfcn/Makefile (tests): Add tststatic5.
29038         (tests-static): Likewise.
29039         (modules-names): Add modstatic5.
29040         (tststatic5-ENV): New variable.
29041         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
29043         [BZ #15022]
29044         * elf/dl-support.c (_dl_main_map): New variable.
29045         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
29046         (_dl_nns, _dl_load_adds): Set to 1.
29047         (_dl_initial_searchlist): Refer to _dl_main_map.
29048         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
29049         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
29050         call to _dl_get_origin.
29051         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
29052         around call_map.
29053         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
29054         * dlfcn/modstatic3.c: New file.
29055         * dlfcn/tststatic3.c: New file.
29056         * dlfcn/tststatic4.c: New file.
29057         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
29058         (tests-static): Likewise.
29059         (modules-names): Add modstatic3.
29060         (tststatic3-ENV, tststatic4-ENV): New variables.
29061         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
29062         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
29064 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
29066         * configure.in (CC): Require GCC version 4.4 or later.
29067         * configure: Regenerated.
29068         * manual/install.texi (Tools for Compilation): Update GCC version
29069         requirement.
29070         * INSTALL: Regenerated.
29072 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29074         [BZ #15674]
29075         * string/test-memcmp.c (check2): New.
29076         (main): Call check2.
29078         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
29080 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
29082         [BZ #15022]
29083         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
29084         over to...
29085         (dl_open_worker) [!SHARED]: ... here.
29087 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29089         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
29091 2013-06-25  Richard Henderson  <rth@redhat.com>
29093         * locale/programs/locarchive.c: Include <libc-internal.h>
29095 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
29097         * manual/texinfo.tex: Update to version 2013-06-21.17, with
29098         trailing whitespace removed.
29100 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29102         [BZ #10283]
29103         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
29104         * locale/programs/locarchive.c: Include libc-mmap.h.
29105         (prepare_address_space): Take two new outputs (the mmap base and len).
29106         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
29107         values.
29108         (create_archive): Declare new mmap base and len values for
29109         prepare_address_space, and store the result in ah.
29110         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
29111         (enlarge_archive): If ah->mmap_base is not NULL, use that and
29112         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29113         Declare new mmap base and len values for
29114         prepare_address_space, and store the result in new_ah.
29115         (open_archive): Declare new mmap base and len values for
29116         prepare_address_space, and store the result in ah.
29117         (close_archive): If ah->mmap_base is not NULL, use that and
29118         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
29119         * sysdeps/generic/libc-mmap.h: New file.
29121 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
29123         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
29124         (ALIGN_UP): Likewise.
29125         (PTR_ALIGN_DOWN): Likewise.
29126         (PTR_ALIGN_UP): Likewise.
29128 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29130         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
29131         entry mapped to PPC_PLATFORM_POWER8.
29132         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
29133         POWER8.
29134         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
29135         (_dl_string_platform): Add case for exporting platform position for
29136         POWER8.
29137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
29138         search path to sysdeps/powerpc/powerpc32/power8 directory.
29139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
29140         search path to sysdeps/powerpc/powerpc64/power8 directory.
29141         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
29142         power7 directories.
29143         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
29144         power7 directories.
29146 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29148         * INSTALL: Regenerate.
29150         * nscd/connections.c (nscd_init): Fix comment.
29152 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
29154         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
29156         [BZ #15667]
29157         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
29158         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
29160 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29162         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
29163         DL_DST_REQ_STATIC.
29164         (DL_DST_REQ_STATIC): Remove macro.
29166 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
29168         [BZ #7006]
29169         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
29170         with a shift of 0 bits.
29172 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
29174         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
29175         $(tststatic-ENV).
29177 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29179         [BZ #15655]
29180         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
29182 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29184         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
29185         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
29186         accepts -fno-tree-loop-distribute-patterns.
29187         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
29188         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
29189         recursive call.
29190         * string/memset.c (memset): Likewise.
29191         * string/test-memmove.c (simple_memmove): Disable loop transformation
29192         to library calls.
29193         * string/test-memset.c (simple_memset): Likewise.
29194         * benchtests/bench-memmove.c (simple_memmove): Likewise.
29195         * benchtests/bench-memset.c (simple_memset): Likewise.
29196         * configure: Regenerated.
29198 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
29200         * math/test-misc.c (main): Ignore fesetround failure when failures
29201         of subsequent rounding tests would be ignored.
29203         [BZ #15654]
29204         * math/fedisblxcpt.c (fedisableexcept): Return 0.
29205         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
29206         * math/fegetenv.c (__fegetenv): Return 0.
29207         * math/fegetexcept.c (fegetexcept): Return 0.
29208         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
29209         FE_TONEAREST.
29210         * math/feholdexcpt.c (feholdexcept): Return 0.
29211         * math/fesetenv.c (__fesetenv): Return 0.
29212         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
29213         argument FE_TONEAREST.
29214         * math/feupdateenv.c (__feupdateenv): Return 0.
29215         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
29217 2013-06-18  Roland McGrath  <roland@hack.frob.com>
29219         * elf/rtld-Rules (rtld-compile-command.S): New variable.
29220         (rtld-compile-command.s, rtld-compile-command.c): New variables.
29221         ($(objpfx)rtld-%.os rules): Use them.
29223 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29225         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
29226         fields.
29228 2013-06-17  Roland McGrath  <roland@hack.frob.com>
29230         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
29231         length of target pattern, then descending length of dependency pattern.
29232         * configure.in (AWK): Require gawk 3.1.2 or newer.
29233         * manual/install.texi (Tools for Compilation): Say that we do.
29234         * configure: Regenerated.
29236         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
29237         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
29238         * scripts/sysd-rules.awk: ... this new script.
29239         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
29240         than a glob-style pattern.
29242 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
29244         * math/test-misc.c (main): Do not treat incorrectly rounded
29245         conversions as failure unless ROUNDING_TESTS passes.
29247 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
29249         [BZ #15631]
29250         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
29251         restore exception state around main square root computation, then
29252         check for inexactness explicitly.
29254         * math/libm-test.inc (fma_test_data): Add another test.
29256 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29258         * manual/threads.texi (Non-POSIX Extensions): New document
29259         node.  Document pthread_getattr_default_np and
29260         pthread_setattr_default_np.
29262         * Versions.def (libpthread): Add GLIBC_2.18.
29263         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
29264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
29265         Likewise.
29266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
29267         Likewise.
29268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
29269         Likewise.
29270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29271         Likewise.
29272         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
29273         Likewise.
29274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
29275         Likewise.
29276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
29277         Likewise.
29278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
29279         Likewise.
29280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29281         Likewise.
29283 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
29285         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29286         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
29288 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29289             H.J. Lu  <hjl.tools@gmail.com>
29291         [BZ #15627]
29292         * sysdeps/x86_64/rtld-memset.c: Remove file.
29293         * sysdeps/x86_64/rtld-memset.S: New file.
29295 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
29297         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
29298         (test_in_one_mode): Take arguments for whether the rounding mode
29299         is supported for each floating-point type.
29300         (do_test): Pass new arguments to test_in_one_mode using
29301         ROUNDING_TESTS.
29303 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29305         * posix/tst-waitid.c (do_test): Distinguish different instances of
29306         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
29307         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
29308         before entering the kernel for waitpid.
29310 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29312         * NEWS: Fix note on clock function precision.  Text by Roland
29313         McGrath.
29315 2013-06-13  Roland McGrath  <roland@hack.frob.com>
29317         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
29318         it into place only when and if the sanity check passes.
29320 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
29322         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
29323         output for whether conversion result is exact.  Take argument
29324         indicating whether type is IBM long double.
29325         (round_for_all): Change need_exact field to ibm_ld.
29326         * stdlib/tst-strtod-round.c (struct exactness): New type.
29327         (struct test): Change bool ld_ok field to struct exactness exact.
29328         (TEST): Update all definitions for change to field.
29329         (tests): Regenerate array contents.
29330         (test_in_one_mode): Take pointer to new field instead of old ld_ok
29331         field value.  Check for IBM long double here.
29332         (do_test): Update calls to test_in_one_mode.
29334 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29336         [BZ #12515]
29337         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
29338         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
29340 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29342         [BZ #15605]
29343         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
29344         generated by the compiler on loop optimizations.
29345         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
29346         general definitions.
29348 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
29350         * math/bug-nextafter.c: Include <math-tests.h>.
29351         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29352         the relevant type.
29353         * math/bug-nexttoward.c: Include <math-tests.h>.
29354         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29355         the relevant type.
29356         * math/test-misc.c: Include <math-tests.h>.
29357         (main): Only test for exceptions if EXCEPTION_TESTS is true for
29358         the relevant type.
29360 2013-06-12  Andreas Jaeger  <aj@suse.de>
29362         * po/ia.po: Update Interlingua translation from translation
29363         project.
29365 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29367         * include/fenv.h: Include stdbool.h.
29368         (struct rm_ctx): New structure.
29369         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
29370         Define macro.
29371         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
29372         (SET_RESTORE_ROUNDF): Likewise.
29373         (SET_RESTORE_ROUNDL): Likewise.
29374         (SET_RESTORE_ROUND_NOEX): Likewise.
29375         (SET_RESTORE_ROUND_NOEXF): Likewise.
29376         (SET_RESTORE_ROUND_NOEXL): Likewise.
29377         (SET_RESTORE_ROUND_53BIT): Likewise.
29378         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
29379         (libc_feresetround_noexf_ctx): Likewise.
29380         (libc_feresetround_noexl_ctx): Likewise.
29381         (libc_feholdsetround_53bit_ctx): Likewise.
29382         (libc_feresetround_53bit_ctx): Likewise.
29383         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
29384         (libc_feholdexcept_setround_sse_ctx): New function.
29385         (libc_fesetenv_sse_ctx): Likewise.
29386         (libc_feupdateenv_sse_ctx): Likewise.
29387         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
29388         (libc_feholdexcept_setround_387_ctx): Likewise.
29389         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
29390         (libc_feholdsetround_387_prec_ctx): Likewise.
29391         (libc_feholdsetround_387_ctx): Likewise.
29392         (libc_feholdsetround_387_53bit_ctx): Likewise.
29393         (libc_feholdsetround_sse_ctx): Likewise.
29394         (libc_feresetround_sse_ctx): Likewise.
29395         (libc_feresetround_387_ctx): Likewise.
29396         (libc_feupdateenv_387_ctx): Likewise.
29397         (libc_feholdexcept_setroundf_ctx): Define macro.
29398         (libc_fesetenvf_ctx): Likewise.
29399         (libc_feupdateenvf_ctx): Likewise.
29400         (libc_feholdsetroundf_ctx): Likewise.
29401         (libc_feresetroundf_ctx): Likewise.
29402         (libc_feholdexcept_setround_ctx): Likewise.
29403         (libc_fesetenv_ctx): Likewise.
29404         (libc_feupdateenv_ctx): Likewise.
29405         (libc_feholdsetround_ctx): Likewise.
29406         (libc_feresetround_ctx): Likewise.
29407         (libc_feholdexcept_setroundl_ctx): Likewise.
29408         (libc_feupdateenvl_ctx): Likewise.
29409         (libc_feholdsetroundl_ctx): Likewise.
29410         (libc_feresetroundl_ctx): Likewise.
29411         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
29412         (libc_feresetround_53bit_ctx): Likewise.
29414 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29416         * locale/iso-639.def: Convert to UTF-8.
29418 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
29420         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
29421         (EXCEPTION_TESTS_double): Likewise.
29422         (EXCEPTION_TESTS_long_double): Likewise.
29423         (EXCEPTION_TESTS): Likewise.
29424         * math/libm-test.inc (test_exceptions): Only test exceptions if
29425         EXCEPTION_TESTS (FLOAT).
29427 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29429         * benchtests/Makefile (string-bench): Add strcpy_chk and
29430         stpcpy_chk.
29431         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
29432         * benchtests/bench-stpcpy_chk.c: New file.
29433         * benchtests/bench-strcpy_chk-ifunc.c: New file.
29434         * benchtests/bench-strcpy_chk.c: New file.
29435         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
29436         code.
29437         (do_test): Likewise.
29439 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
29441         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
29442         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
29443         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
29444         with tabs where appropriate.
29445         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
29446         dl-procinfo.h.
29447         [PPC_PLATFORM_PPC440]: Likewise.
29448         [PPC_PLATFORM_PPC464]: Likewise.
29449         [PPC_PLATFORM_PPC476]: Likewise.
29450         (_dl_string_platform): Add support for detecting ppc405, ppc440,
29451         ppc464, and ppc476 platform strings merging from ports/
29452         dl-procinfo.h.
29454 2013-06-11  Andreas Schwab  <schwab@suse.de>
29456         [BZ #14991]
29457         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
29458         (from_ucs4_idx): Regenerate.
29459         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
29460         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
29461         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
29462         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
29463         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
29464         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
29465         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
29466         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
29467         from FROM_LOOP and TO_LOOP specific macros.
29468         (BODY): Handle combining characters.
29469         * iconvdata/BIG5HKSCS.irreversible: Update.
29470         * iconvdata/BIG5HKSCS.precomposed: New file.
29471         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
29472         characters.
29473         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
29475 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29477         * include/sys/time.h: Fix indentation and add copyright header.
29479         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
29480         (do_test): Likewise.
29481         * string/test-memchr.c (do_one_test): Likewise.
29482         (do_test): Likewise.
29483         * string/test-memcmp.c (do_one_test): Likewise.
29484         (do_test): Likewise.
29485         * string/test-memcpy.c (do_one_test): Likewise.
29486         (do_test): Likewise.
29487         * string/test-memmem.c (do_one_test): Likewise.
29488         (do_test): Likewise.
29489         (do_random_tests): Likewise.
29490         * string/test-memmove.c (do_one_test): Likewise.
29491         (do_test): Likewise.
29492         * string/test-memset.c (do_one_test): Likewise.
29493         (do_test): Likewise.
29494         * string/test-rawmemchr.c (do_one_test): Likewise.
29495         (do_test): Likewise.
29496         * string/test-strcasecmp.c (do_one_test): Likewise.
29497         (do_test): Likewise.
29498         * string/test-strcasestr.c (do_one_test): Likewise.
29499         (do_test): Likewise.
29500         * string/test-strcat.c (do_one_test): Likewise.
29501         (do_test): Likewise.
29502         * string/test-strchr.c (do_one_test): Likewise.
29503         (do_test): Likewise.
29504         * string/test-strcmp.c (do_one_test): Likewise.
29505         (do_test): Likewise.
29506         * string/test-strcpy.c (do_one_test): Likewise.
29507         (do_test): Likewise.
29508         * string/test-string.h: Likewise.
29509         (test_init): Likewise.
29510         * string/test-strlen.c (do_one_test): Likewise.
29511         (do_test): Likewise.
29512         * string/test-strncasecmp.c (do_one_test): Likewise.
29513         (do_test): Likewise.
29514         * string/test-strncat.c (do_one_test): Likewise.
29515         (do_test): Likewise.
29516         * string/test-strncmp.c (do_one_test): Likewise.
29517         (do_test_limit): Likewise.
29518         (do_test): Likewise.
29519         * string/test-strncpy.c (do_one_test): Likewise.
29520         (do_test): Likewise.
29521         * string/test-strnlen.c (do_one_test): Likewise.
29522         (do_test): Likewise.
29523         * string/test-strpbrk.c (do_one_test): Likewise.
29524         (do_test): Likewise.
29525         * string/test-strrchr.c (do_one_test): Likewise.
29526         (do_test): Likewise.
29527         * string/test-strspn.c (do_one_test): Likewise.
29528         (do_test): Likewise.
29529         * string/test-strstr.c (do_one_test): Likewise.
29530         (do_test): Likewise.
29532         * benchtests/Makefile (string-bench): Add string benchmarks.
29533         * benchtests/bench-bcopy-ifunc.c: New file.
29534         * benchtests/bench-bcopy.c: New file.
29535         * benchtests/bench-bzero-ifunc.c: New file.
29536         * benchtests/bench-bzero.c: New file.
29537         * benchtests/bench-memccpy-ifunc.c: New file.
29538         * benchtests/bench-memccpy.c: New file.
29539         * benchtests/bench-memchr-ifunc.c: New file.
29540         * benchtests/bench-memchr.c: New file.
29541         * benchtests/bench-memcmp-ifunc.c: New file.
29542         * benchtests/bench-memcmp.c: New file.
29543         * benchtests/bench-memmem-ifunc.c: New file.
29544         * benchtests/bench-memmem.c: New file.
29545         * benchtests/bench-memmove-ifunc.c: New file.
29546         * benchtests/bench-memmove.c: New file.
29547         * benchtests/bench-mempcpy-ifunc.c: New file.
29548         * benchtests/bench-mempcpy.c: New file.
29549         * benchtests/bench-memset-ifunc.c: New file.
29550         * benchtests/bench-memset.c: New file.
29551         * benchtests/bench-rawmemchr-ifunc.c: New file.
29552         * benchtests/bench-rawmemchr.c: New file.
29553         * benchtests/bench-stpcpy-ifunc.c: New file.
29554         * benchtests/bench-stpcpy.c: New file.
29555         * benchtests/bench-stpncpy-ifunc.c: New file.
29556         * benchtests/bench-stpncpy.c: New file.
29557         * benchtests/bench-strcasecmp-ifunc.c: New file.
29558         * benchtests/bench-strcasecmp.c: New file.
29559         * benchtests/bench-strcasestr-ifunc.c: New file.
29560         * benchtests/bench-strcasestr.c: New file.
29561         * benchtests/bench-strcat-ifunc.c: New file.
29562         * benchtests/bench-strcat.c: New file.
29563         * benchtests/bench-strchr-ifunc.c: New file.
29564         * benchtests/bench-strchr.c: New file.
29565         * benchtests/bench-strchrnul-ifunc.c: New file.
29566         * benchtests/bench-strchrnul.c: New file.
29567         * benchtests/bench-strcmp-ifunc.c: New file.
29568         * benchtests/bench-strcmp.c: New file.
29569         * benchtests/bench-strcpy-ifunc.c: New file.
29570         * benchtests/bench-strcpy.c: New file.
29571         * benchtests/bench-strcspn-ifunc.c: New file.
29572         * benchtests/bench-strcspn.c: New file.
29573         * benchtests/bench-strlen-ifunc.c: New file.
29574         * benchtests/bench-strlen.c: New file.
29575         * benchtests/bench-strncasecmp-ifunc.c: New file.
29576         * benchtests/bench-strncasecmp.c: New file.
29577         * benchtests/bench-strncat-ifunc.c: New file.
29578         * benchtests/bench-strncat.c: New file.
29579         * benchtests/bench-strncmp-ifunc.c: New file.
29580         * benchtests/bench-strncmp.c: New file.
29581         * benchtests/bench-strncpy-ifunc.c: New file.
29582         * benchtests/bench-strncpy.c: New file.
29583         * benchtests/bench-strnlen-ifunc.c: New file.
29584         * benchtests/bench-strnlen.c: New file.
29585         * benchtests/bench-strpbrk-ifunc.c: New file.
29586         * benchtests/bench-strpbrk.c: New file.
29587         * benchtests/bench-strrchr-ifunc.c: New file.
29588         * benchtests/bench-strrchr.c: New file.
29589         * benchtests/bench-strspn-ifunc.c: New file.
29590         * benchtests/bench-strspn.c: New file.
29591         * benchtests/bench-strstr-ifunc.c: New file.
29592         * benchtests/bench-strstr.c: New file.
29594         * benchtests/Makefile: Disable parallel execution of targets.
29595         (string-bench): Add memcpy.
29596         (benchset): New variable to store a list of benchmark sets.
29597         (bench-func): Renamed from bench.
29598         (bench-set): New target.
29599         (bench): Depend on bench-func and bench-set.
29600         * benchtests/README: Add section on benchmark sets.
29601         * benchtests/bench-memcpy-ifunc.c: New file.
29602         * benchtests/bench-memcpy.c: New file.
29603         * benchtests/bench-string.h: New file.
29605 2013-06-11  Andreas Schwab  <schwab@suse.de>
29607         [BZ #15577]
29608         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
29609         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
29610         values in the triple.
29611         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
29612         terminator in the group key.
29614 2013-06-11  Andreas Jaeger  <aj@suse.de>
29616         * po/zh_TW.po: Update Chinese (traditional) translation from
29617         translation project.
29619 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29621         * include/time.h (__clock_gettime): Add libc_hidden_proto.
29622         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
29623         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
29624         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29625         (clock_getcpuclockid): Likewise.
29626         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
29627         Add weak_alias and libc_hidden_def.
29628         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
29629         * rt/clock_gettime.c (clock_gettime): Rename to
29630         __clock_gettime.  Add weak_alias and libc_hidden_def.
29631         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
29632         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
29633         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
29634         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
29635         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
29636         Likewise.
29637         * rt/clock_settime.c (clock_settime): Rename to
29638         __clock_settime.  Add weak_alias and libc_hidden_def.
29639         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
29641 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
29643         * mach/err_boot.sub: Remove trailing whitespace.
29644         * mach/err_ipc.sub: Likewise.
29645         * mach/err_mach.sub: Likewise.
29647         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
29648         (ROUNDING_TESTS_double): Likewise.
29649         (ROUNDING_TESTS_long_double): Likewise.
29650         (ROUNDING_TESTS): Likewise.
29651         * math/libm-test.inc: Include <math-tests.h>.
29652         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
29653         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29654         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29655         (IF_ROUND_INIT_FE_UPWARD): Likewise.
29657 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29659         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
29660         of assigning.
29662 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
29664         * sysdeps/gnu/errlist.awk: Do not generate space at end of
29665         otherwise empty TRANS lines.
29666         * sysdeps/gnu/errlist.c: Regenerated.
29668         * catgets/gencat.c (error_print): Use (void) in function
29669         definition.
29670         * crypt/crypt_util.c (__init_des): Likewise.
29671         * crypt/speeds.c (Stop): Likewise.
29672         (main): Likewise.
29673         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
29674         * inet/ruserpass.c (token): Likewise.
29675         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
29676         * intl/localealias.c (extend_alias_table): Likewise.
29677         * intl/plural-exp.c (init_germanic_plural): Likewise.
29678         * libio/fcloseall.c (__fcloseall): Likewise.
29679         * libio/genops.c (_IO_flush_all): Likewise.
29680         (_IO_flush_all_linebuffered): Likewise.
29681         (_IO_cleanup): Likewise.
29682         (_IO_iter_begin): Likewise.
29683         (_IO_iter_end): Likewise.
29684         (_IO_list_lock): Likewise.
29685         (_IO_list_unlock): Likewise.
29686         (_IO_list_resetlock): Likewise.
29687         * libio/getchar.c (getchar): Likewise.
29688         * libio/getchar_u.c (getchar_unlocked): Likewise.
29689         * libio/getwchar.c (getwchar): Likewise.
29690         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
29691         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
29692         * login/getpt.c (__getpt): Likewise.
29693         * login/tst-utmp.c (main): Likewise.
29694         * malloc/hooks.c (__malloc_check_init): Likewise.
29695         * malloc/malloc.c (__malloc_stats): Likewise.
29696         * malloc/mtrace.c (tr_break): Likewise.
29697         (mtrace): Likewise.
29698         (muntrace): Likewise.
29699         * misc/fstab.c (endfsent): Likewise.
29700         * misc/getclktck.c (__getclktck): Likewise.
29701         * misc/getdtsz.c (__getdtablesize): Likewise.
29702         * misc/gethostid.c (gethostid): Likewise.
29703         * misc/getpagesize.c (__getpagesize): Likewise.
29704         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
29705         (__get_nprocs): Likewise.
29706         (__get_phys_pages): Likewise.
29707         (__get_avphys_pages): Likewise.
29708         * misc/getttyent.c (getttyent): Likewise.
29709         (setttyent): Likewise.
29710         (endttyent): Likewise.
29711         * misc/getusershell.c (getusershell): Likewise.
29712         (endusershell): Likewise.
29713         (setusershell): Likewise.
29714         (initshells): Likewise.
29715         * misc/hsearch.c (__hdestroy): Likewise.
29716         * misc/sync.c (sync): Likewise.
29717         * misc/syslog.c (closelog_internal): Likewise.
29718         (closelog): Likewise.
29719         * misc/ttyslot.c (ttyslot): Likewise.
29720         * misc/vhangup.c (vhangup): Likewise.
29721         * posix/fork.c (__fork): Likewise.
29722         * posix/getegid.c (__getegid): Likewise.
29723         * posix/geteuid.c (__geteuid): Likewise.
29724         * posix/getgid.c (__getgid): Likewise.
29725         * posix/getpid.c (__getpid): Likewise.
29726         * posix/getppid.c (__getppid): Likewise.
29727         * posix/getuid.c (__getuid): Likewise.
29728         * posix/pause.c (pause): Likewise.
29729         * posix/setpgrp.c (setpgrp): Likewise.
29730         * posix/setsid.c (__setsid): Likewise.
29731         * posix/test-vfork.c (noop): Likewise.
29732         * resolv/gethnamaddr.c (_endhtent): Likewise.
29733         (_gethtent): Likewise.
29734         (ht_endhostent): Likewise.
29735         (gethostent): Likewise.
29736         (dns_service): Likewise.
29737         * stdlib/drand48.c (drand48): Likewise.
29738         * stdlib/lrand48.c (lrand48): Likewise.
29739         * stdlib/mrand48.c (mrand48): Likewise.
29740         * stdlib/rand.c (rand): Likewise.
29741         * stdlib/random.c (__random): Likewise.
29742         * stdlib/setenv.c (clearenv): Likewise.
29743         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
29744         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
29745         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
29746         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
29747         (__get_nprocs): Likewise.
29748         (__get_phys_pages): Likewise.
29749         (__get_avphys_pages): Likewise.
29750         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
29751         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
29752         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
29753         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
29754         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
29755         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
29756         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
29757         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
29758         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
29759         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
29760         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
29761         * sysdeps/mach/hurd/sync.c (sync): Likewise.
29762         * sysdeps/posix/clock.c (clock): Likewise.
29763         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
29764         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
29765         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
29766         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
29767         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
29768         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
29769         (__get_nprocs_conf): Likewise.
29770         (__get_phys_pages): Likewise.
29771         (__get_avphys_pages): Likewise.
29772         * time/clock.c (clock): Likewise.
29773         * time/tzset.c (__tzname_max): Likewise.
29775 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
29777         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
29778         (__bswap_32): Do not use "register".
29779         * crypt/crypt.c (_ufc_doit_r): Likewise.
29780         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
29781         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
29782         * gmon/gmon.c (__monstartup): Likewise.
29783         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
29784         * hurd/hurdmalloc.c (more_memory): Likewise.
29785         (malloc): Likewise.
29786         (free): Likewise.
29787         (realloc): Likewise.
29788         (malloc_fork_prepare): Likewise.
29789         (malloc_fork_parent): Likewise.
29790         (malloc_fork_child): Likewise.
29791         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
29792         (_svcauth_des): Likewise.
29793         * inet/inet_lnaof.c (inet_lnaof): Likewise.
29794         * inet/inet_net.c (inet_network): Likewise.
29795         * inet/inet_netof.c (inet_netof): Likewise.
29796         * inet/rcmd.c (__validuser2_sa): Likewise.
29797         * io/fts.c (fts_open): Likewise.
29798         (fts_load): Likewise.
29799         (fts_close): Likewise.
29800         (fts_read): Likewise.
29801         (fts_children): Likewise.
29802         (fts_build): Likewise.
29803         (fts_stat): Likewise.
29804         (fts_sort): Likewise.
29805         (fts_alloc): Likewise.
29806         (fts_lfree): Likewise.
29807         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
29808         (_IO_file_xsgetn): Likewise.
29809         (_IO_file_xsgetn_mmap): Likewise.
29810         * libio/iofopncook.c (_IO_cookie_read): Likewise.
29811         (_IO_cookie_write): Likewise.
29812         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
29813         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
29814         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
29815         * malloc/obstack.c (_obstack_begin): Likewise.
29816         (_obstack_begin_1): Likewise.
29817         (_obstack_newchunk): Likewise.
29818         (_obstack_allocated_p): Likewise.
29819         (obstack_free): Likewise.
29820         (_obstack_memory_used): Likewise.
29821         * misc/getttyent.c (getttynam): Likewise.
29822         (getttyent): Likewise.
29823         (skip): Likewise.
29824         (value): Likewise.
29825         * misc/getusershell.c (initshells): Likewise.
29826         * misc/syslog.c (__vsyslog_chk): Likewise.
29827         * misc/ttyslot.c (ttyslot): Likewise.
29828         * nis/nis_hash.c (__nis_hash): Likewise.
29829         * posix/fnmatch_loop.c (FCT): Likewise.
29830         * posix/getconf.c (print_all): Likewise.
29831         (main): Likewise.
29832         * posix/getopt.c (exchange): Likewise.
29833         * posix/glob.c (globfree): Likewise.
29834         (prefix_array): Likewise.
29835         (__glob_pattern_type): Likewise.
29836         * resolv/arpa/nameser.h (NS_GET16): Likewise.
29837         (NS_GET32): Likewise.
29838         (NS_PUT16): Likewise.
29839         (NS_PUT32): Likewise.
29840         * resolv/gethnamaddr.c (getanswer): Likewise.
29841         (gethostbyname2): Likewise.
29842         (gethostbyaddr): Likewise.
29843         (_gethtent): Likewise.
29844         (_gethtbyname2): Likewise.
29845         (_gethtbyaddr): Likewise.
29846         * resolv/ns_print.c (dst_s_get_int16): Likewise.
29847         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29848         * resolv/res_init.c (__res_vinit): Likewise.
29849         (net_mask): Likewise.
29850         * resolv/res_mkquery.c (outchar): Likewise.
29851         (PRINT): Likewise.
29852         * stdio-common/printf_fp.c (outchar): Likewise.
29853         (PRINT): Likewise.
29854         * stdio-common/printf_fphex.c (outchar): Likewise.
29855         (PRINT): Likewise.
29856         * stdio-common/printf_size.c (outchar): Likewise.
29857         (PRINT): Likewise.
29858         * stdio-common/test_rdwr.c (main): Likewise.
29859         * stdio-common/tfformat.c (matches): Likewise.
29860         * stdio-common/vfprintf.c (outchar): Likewise.
29861         (printf_unknown): Likewise.
29862         (buffered_vfprintf): Likewise.
29863         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
29864         * stdio-common/xbug.c (AppendToBuffer): Likewise.
29865         (ReadFile): Likewise.
29866         * stdlib/qsort.c (SWAP): Likewise.
29867         (_quicksort): Likewise.
29868         * stdlib/setenv.c (__add_to_environ): Likewise.
29869         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
29870         * stdlib/strtol_l.c (__strtol_l): Likewise.
29871         * stdlib/tst-strtod.c (main): Likewise.
29872         * stdlib/tst-strtol.c (main): Likewise.
29873         * stdlib/tst-strtoll.c (main): Likewise.
29874         * string/bits/string2.h (__strcmp_cc): Likewise.
29875         (__strcmp_cg): Likewise.
29876         (__strcspn_c1): Likewise.
29877         (__strcspn_c2): Likewise.
29878         (__strcspn_c3): Likewise.
29879         (__strspn_c1): Likewise.
29880         (__strspn_c2): Likewise.
29881         (__strspn_c3): Likewise.
29882         (__strsep_1c): Likewise.
29883         (__strsep_2c): Likewise.
29884         (__strsep_3c): Likewise.
29885         * string/memccpy.c (__memccpy): Likewise.
29886         * string/stpcpy.c (__stpcpy): Likewise.
29887         * string/strcmp.c (strcmp): Likewise.
29888         * string/strrchr.c (strrchr): Likewise.
29889         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
29890         Likewise.
29891         * sysdeps/mach/hurd/getcwd.c
29892         (_hurd_canonicalize_directory_name_internal): Likewise.
29893         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
29894         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
29895         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
29896         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
29897         Likewise, in both definitions.
29898         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
29899         definitions.
29900         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
29901         64] (__bswap_64): Likewise.
29902         * time/test_time.c (main): Likewise.
29903         * time/tzfile.c (__tzfile_read): Likewise.
29904         (__tzfile_compute): Likewise.
29905         * time/tzset.c (__tzset_parse_tz): Likewise.
29906         (tzset_internal): Likewise.
29907         (compute_change): Likewise.
29908         * wcsmbs/wcscat.c (__wcscat): Likewise.
29909         * wcsmbs/wcschr.c (wcschr): Likewise.
29910         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
29911         * wcsmbs/wcscspn.c (wcscspn): Likewise.
29912         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
29913         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
29914         * wcsmbs/wcsspn.c (wcsspn): Likewise.
29915         * wcsmbs/wcsstr.c (wcsstr): Likewise.
29916         * wcsmbs/wmemchr.c (wmemchr): Likewise.
29917         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
29918         * wcsmbs/wmemset.c (wmemset): Likewise.
29920 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
29922         * scripts/config.guess: Update to version 2013-05-16.
29923         * scripts/config.sub: Update to version 2013-04-24.
29924         * scripts/install-sh: Update to version 2011-11-20.07.
29925         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
29926         * scripts/move-if-change: Update to version 2012-01-06 07:23.
29928 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
29930         * debug/fgetws_u_chk.c: Fix leading whitespaces.
29931         * elf/sln.c: Likewise.
29932         * hurd/hurd/ioctl.h: Likewise.
29933         * hurd/hurdmalloc.c: Likewise.
29934         * hurd/xattr.c: Likewise.
29935         * include/shlib-compat.h: Likewise.
29936         * inet/ruserpass.c: Likewise.
29937         * libio/iofgets_u.c: Likewise.
29938         * libio/iofgetws_u.c: Likewise.
29939         * locale/programs/ld-identification.c: Likewise.
29940         * locale/programs/ld-time.c: Likewise.
29941         * mach/msg-destroy.c: Likewise.
29942         * nss/nss_files/files-netgrp.c: Likewise.
29943         * resolv/res_data.c: Likewise.
29944         * soft-fp/op-1.h: Likewise.
29945         * soft-fp/op-2.h: Likewise.
29946         * soft-fp/op-4.h: Likewise.
29947         * soft-fp/op-common.h: Likewise.
29948         * stdio-common/printf_fphex.c: Likewise.
29949         * stdlib/strtod_l.c: Likewise.
29950         * sunrpc/rpc/clnt.h: Likewise.
29951         * sysdeps/generic/framestate.c: Likewise.
29952         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29953         * sysdeps/i386/bsd-setjmp.S: Likewise.
29954         * sysdeps/i386/__longjmp.S: Likewise.
29955         * sysdeps/i386/setjmp.S: Likewise.
29956         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29957         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29958         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29959         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
29960         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
29961         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
29962         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29963         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29964         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29965         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29966         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
29967         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
29968         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
29969         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
29970         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
29971         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29972         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
29973         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
29974         * sysdeps/ieee754/support.c: Likewise.
29975         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29976         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
29977         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
29978         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
29979         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
29980         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
29981         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
29982         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
29983         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
29984         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
29985         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
29986         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
29987         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
29988         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
29989         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
29990         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
29991         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
29992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
29994 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
29996         * posix/transbug.c: Remove executable mode.
29998 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
30000         * crypt/speeds.c: Remove trailing whitespace.
30001         * dlfcn/default.c: Likewise.
30002         * elf/ifuncdep2.c: Likewise.
30003         * elf/ifuncmain1.c: Likewise.
30004         * elf/ifuncmain1vis.c: Likewise.
30005         * elf/testobj.h: Likewise.
30006         * elf/tst-stackguard1.c: Likewise.
30007         * gmon/sys/gmon.h: Likewise.
30008         * hurd/hurdmsg.c: Likewise.
30009         * hurd/new-fd.c: Likewise.
30010         * hurd/ports-get.c: Likewise.
30011         * iconvdata/ibm1008_420.c: Likewise.
30012         * inet/tst-getni1.c: Likewise.
30013         * inet/tst-getni2.c: Likewise.
30014         * libio/ioungetc.c: Likewise.
30015         * libio/wfiledoalloc.c: Likewise.
30016         * manual/libm-err-tab.pl: Likewise.
30017         * math/w_dremf.c: Likewise.
30018         * misc/ftruncate.c: Likewise.
30019         * posix/bug-glob2.c: Likewise.
30020         * posix/tst-pcre.c: Likewise.
30021         * posix/wait4.c: Likewise.
30022         * resolv/README: Likewise.
30023         * resolv/res_debug.h: Likewise.
30024         * resolv/tst-inet_ntop.c: Likewise.
30025         * setjmp/bug269-setjmp.c: Likewise.
30026         * soft-fp/extended.h: Likewise.
30027         * soft-fp/op-1.h: Likewise.
30028         * soft-fp/op-2.h: Likewise.
30029         * soft-fp/op-4.h: Likewise.
30030         * soft-fp/op-8.h: Likewise.
30031         * soft-fp/testit.c: Likewise.
30032         * stdio-common/bug16.c: Likewise.
30033         * stdlib/random.c: Likewise.
30034         * sunrpc/rpcsvc/rquota.x: Likewise.
30035         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
30036         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
30037         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
30038         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
30039         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
30040         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
30041         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
30042         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
30043         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
30044         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
30045         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
30046         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
30047         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
30048         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
30049         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
30050         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
30051         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
30052         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
30053         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
30054         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
30055         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
30056         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
30057         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
30058         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
30059         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
30060         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
30061         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
30062         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
30063         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
30064         * sysdeps/ieee754/s_lib_version.c: Likewise.
30065         * sysdeps/mach/hurd/check_fds.c: Likewise.
30066         * sysdeps/mach/hurd/getsockname.c: Likewise.
30067         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
30068         * sysdeps/mach/hurd/recvfrom.c: Likewise.
30069         * sysdeps/powerpc/bits/link.h: Likewise.
30070         * sysdeps/powerpc/dl-procinfo.c: Likewise.
30071         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
30072         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
30073         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
30074         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30075         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
30076         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
30077         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30078         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
30079         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30080         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
30081         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
30082         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
30083         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30084         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30085         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30086         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
30087         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
30088         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30089         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30090         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30091         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
30092         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
30093         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
30094         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
30095         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
30096         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
30097         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30098         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30099         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
30100         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
30101         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
30102         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
30103         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
30104         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
30105         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
30106         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
30107         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
30108         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
30109         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
30110         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
30111         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
30112         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
30113         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
30114         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
30115         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
30116         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
30117         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
30118         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
30119         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
30120         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
30121         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
30122         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
30123         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
30124         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
30125         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
30126         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
30127         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
30128         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
30129         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
30130         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
30131         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
30132         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
30133         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
30134         * sysdeps/powerpc/sysdep.h: Likewise.
30135         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30136         * sysdeps/s390/s390-64/sub_n.S: Likewise.
30137         * sysdeps/sh/dl-trampoline.S: Likewise.
30138         * sysdeps/sh/memset.S: Likewise.
30139         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
30140         * sysdeps/sh/strlen.S: Likewise.
30141         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
30142         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
30143         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
30144         * sysdeps/sparc/sparc32/rem.S: Likewise.
30145         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
30146         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
30147         * sysdeps/sparc/sparc32/strchr.S: Likewise.
30148         * sysdeps/sparc/sparc32/udiv.S: Likewise.
30149         * sysdeps/sparc/sparc32/urem.S: Likewise.
30150         * sysdeps/sparc/sparc64/add_n.S: Likewise.
30151         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
30152         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
30153         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
30154         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
30155         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
30156         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
30157         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
30158         * sysdeps/unix/bsd/times.c: Likewise.
30159         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
30160         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
30161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
30162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
30163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
30164         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
30165         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
30166         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
30167         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
30168         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
30169         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
30170         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30171         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
30172         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
30173         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30174         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
30175         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30176         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
30177         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
30178         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
30179         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
30180         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
30181         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
30182         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
30183         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
30184         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
30185         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
30186         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
30187         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
30188         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
30189         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
30190         * sysdeps/x86_64/strcspn.S: Likewise.
30192 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30194         * locale/C-translit.h: Revert #include <stdint.h> because this is a
30195         generated file.  Regenerate properly from gen-translit.pl.
30196         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
30197         locale/C-translit.h.
30199 2013-06-05  Andreas Schwab  <schwab@suse.de>
30201         [BZ #15100]
30202         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
30203         week as 6 instead of -1.
30204         * time/tst-strptime.c (day_tests): Add test case.
30206 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
30208         * sysdeps/generic/math_private.h
30209         (libc_feholdexcept_setround_53bit): Replace with
30210         libc_feholdsetround_53bit.
30211         (libc_feupdateenv_53bit): Replace with
30212         libc_feresetround_53bit.
30213         (SET_RESTORE_ROUND_53BIT): Adjust.
30215 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
30217         * string/test-strchrnul.c: Add copyright header.
30219         * posix/tst-getaddrinfo4.c: Increase test timeout.
30221 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
30223         [BZ #15536]
30224         * math/libm-test.inc (MAX_EXP): Remove
30225         (MIN_EXP): Define.
30226         (ulp): Use MIN_EXP - MANT_DIG.
30227         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
30229 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
30231         * po/be.po: Revert last change.
30232         * po/zh_CN.po: Likewise.
30233         * po/header.pot: Likewise.
30235 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
30237         * Makefile ($(common-objpfx)linkobj/libc.so): Define
30238         link-libc-deps to empty as target-specific variable.
30239         * Makerules (link-libc-args): New variable.
30240         (libc-for-link): Likewise.
30241         (link-libc-deps): Likewise.
30242         (lib%.so): Depend on $(link-libc-deps).  Link with
30243         $(link-libc-args).
30244         (build-module): Link with $(link-libc-args).
30245         (build-module-asneeded): Likewise.
30246         (build-module-helper-objlist): Filter out $(link-libc-deps) from
30247         list of objects.
30248         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
30249         target-specific variable.
30250         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
30251         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
30252         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
30253         libc.
30254         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
30255         libc and ld.so.
30256         ($(objpfx)libpcprofile.so): Likewise.
30257         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
30258         libc_nonshared.a.
30259         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
30260         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
30261         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
30262         $(link-libc-deps).
30263         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
30264         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
30265         * login/Makefile ($(objpfx)libutil.so): Likewise.
30266         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
30267         * math/Makefile ($(objpfx)libm.so): Likewise.
30268         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
30269         $(objpfx)libnsl.so): Define libc-for-link as target-specific
30270         variable instead of depending directly on libc.
30271         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
30272         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
30273         $(link-libc-deps).
30274         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
30275         libc.
30276         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
30277         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
30278         ($(objpfx)libanl.so): Likewise.
30279         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
30280         ld.so.
30281         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
30282         $(link-libc-deps).
30283         * sysdeps/i386/fpu/Makefile: Remove file.
30284         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
30285         ($(objpfx)libm.so): Remove dependency on ld.so.
30287 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
30289         [BZ # 15553]
30290         * nis/yp_xdr.c (XDRMAXNAME): Define.
30291         (XDRMAXRECORD): Define.
30292         (xdr_domainname): Use XDRMAXNAME.
30293         (xdr_mapname): Likewise.
30294         (xdr_peername): Likewise.
30295         (xdr_keydat): Use XDRMAXRECORD.
30296         (xdr_valdat): Likewise.
30298 2013-05-30  Jeff Law  <law@redhat.com>
30300         [BZ #14256]
30301         * manual/errno.texi (ESTALE): Update to account for more than
30302         just NFS file systems.
30303         * sysdeps/gnu/errlist.c: Regenerated.
30305 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
30307         [BZ #15465]
30308         * elf/Makefile (tests): Add tst-null-argv.
30309         (modules-names):  Add tst-null-argv-lib.
30310         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
30311         (tst-null-argv-ENV): Set environment for tst-null-argv.
30312         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
30313         (RTLD_PROGNAME): New macro.
30314         * elf/tst-null-argv.c: New test case.
30315         * elf/tst-null-argv-lib.c: Library for test case.
30316         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
30317         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
30318         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
30319         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
30320         * elf/dl-init.c (call_init): Likewise.
30321         (_dl_init): Likewise.
30322         * elf/dl-load.c (print_search_path): Likewise.
30323         (_dl_map_object): Likewise.
30324         * elf/dl-lookup.c (do_lookup_x): Likewise.
30325         (add_dependency): Likewise.
30326         (_dl_lookup_symbol_x): Likewise.
30327         (_dl_debug_bindings): Likewise.
30328         * elf/dl-open.c (_dl_show_scope): Likewise.
30329         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
30330         * elf/dl-version.c (match_symbol): Likewise.
30331         (_dl_check_map_versions): Likewise.
30332         * elf/rtld.c (dl_main): Likewise.
30333         (print_unresolved): Use RTLD_PROGNAME.
30334         (print_missing_version): Likewise.
30335         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
30336         (elf_machine_rela): Likewise.
30337         * sysdeps/powerpc/powerpc32/dl-machine.c
30338         (__process_machine_rela): Likewise.
30339         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
30340         Likewise.
30341         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30342         Likewise.
30343         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
30344         Likewise.
30345         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
30346         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
30347         Likewise.
30348         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
30349         Likewise.
30350         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
30352 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
30354         * po/be.po: Add descriptive title.
30355         * po/zh_CN.po: Likewise.
30356         * po/header.pot: Likewise.
30358 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
30360         * locale/programs/locarchive.c (create_archive): Inlucde fname in
30361         error message.
30362         (enlarge_archive): Likewise.
30364 2013-05-28  Ben North  <ben@redfrontdoor.org>
30366         * manual/arith.texi (frexp): It is the magnitude of the return
30367         value which lies in [0.5, 1), not the return value itself.
30369 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30373 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
30375         * stdio-common/bug26.c (main): Correct fscanf template.
30377         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
30378         declare _dl_skip_args.
30380         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
30381         Don't declare.
30383         * manual/platform.texi: Add missing @end deftypefun.
30385 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30387         [BZ #15529]
30388         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
30389         bit of mantissa of 2^16382.
30390         * math/libm-test.inc (hypot_test_data): Add more tests.
30392         * math/libm-test.inc: Add drem and pow10 to list of tested
30393         functions.
30394         (pow10_test): New function.
30395         (drem_test): Likewise.
30396         (drem_test_tonearest): Likewise.
30397         (drem_test_towardzero): Likewise.
30398         (drem_test_downward): Likewise.
30399         (drem_test_upward): Likewise.
30400         (main): Call the new functions.
30402         * math/libm-test.inc (finite_test_data): Remove.
30403         (finite_test): Run tests from isfinite_test_data.
30404         (gamma_test_data): Remove.
30405         (gamma_test): Run tests from lgamma_test_data.
30406         * sysdeps/i386/fpu/libm-test-ulps: Update.
30407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30409 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30411         * manual/platform.texi: Add PowerPC PPR function set documentation.
30412         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
30413         implementation.
30415 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
30417         * math/libm-test.inc (MAX_EXP): Define.
30418         (ULPDIFF): Define.
30419         (ulp): New function.
30420         (check_float_internal): Use ULPDIFF.
30421         (cpow_test): Disable failing test.
30422         (check_ulp): Test ulp() implemetnation.
30423         (main): Call check_ulp before starting tests.
30425 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
30427         * math/gen-libm-test.pl (generate_testfile): Do not handle
30428         START_DATA and END_DATA.
30429         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
30430         END_DATA.
30431         (acos_tonearest_test_data): Likewise.
30432         (acos_towardzero_test_data): Likewise.
30433         (acos_downward_test_data): Likewise.
30434         (acos_upward_test_data): Likewise.
30435         (acosh_test_data): Likewise.
30436         (asin_test_data): Likewise.
30437         (asin_tonearest_test_data): Likewise.
30438         (asin_towardzero_test_data): Likewise.
30439         (asin_downward_test_data): Likewise.
30440         (asin_upward_test_data): Likewise.
30441         (asinh_test_data): Likewise.
30442         (atan_test_data): Likewise.
30443         (atanh_test_data): Likewise.
30444         (atan2_test_data): Likewise.
30445         (cabs_test_data): Likewise.
30446         (cacos_test_data): Likewise.
30447         (cacosh_test_data): Likewise.
30448         (carg_test_data): Likewise.
30449         (casin_test_data): Likewise.
30450         (casinh_test_data): Likewise.
30451         (catan_test_data): Likewise.
30452         (catanh_test_data): Likewise.
30453         (cbrt_test_data): Likewise.
30454         (ccos_test_data): Likewise.
30455         (ccosh_test_data): Likewise.
30456         (ceil_test_data): Likewise.
30457         (cexp_test_data): Likewise.
30458         (cimag_test_data): Likewise.
30459         (clog_test_data): Likewise.
30460         (clog10_test_data): Likewise.
30461         (conj_test_data): Likewise.
30462         (copysign_test_data): Likewise.
30463         (cos_test_data): Likewise.
30464         (cos_tonearest_test_data): Likewise.
30465         (cos_towardzero_test_data): Likewise.
30466         (cos_downward_test_data): Likewise.
30467         (cos_upward_test_data): Likewise.
30468         (cosh_test_data): Likewise.
30469         (cosh_tonearest_test_data): Likewise.
30470         (cosh_towardzero_test_data): Likewise.
30471         (cosh_downward_test_data): Likewise.
30472         (cosh_upward_test_data): Likewise.
30473         (cpow_test_data): Likewise.
30474         (cproj_test_data): Likewise.
30475         (creal_test_data): Likewise.
30476         (csin_test_data): Likewise.
30477         (csinh_test_data): Likewise.
30478         (csqrt_test_data): Likewise.
30479         (ctan_test_data): Likewise.
30480         (ctan_tonearest_test_data): Likewise.
30481         (ctan_towardzero_test_data): Likewise.
30482         (ctan_downward_test_data): Likewise.
30483         (ctan_upward_test_data): Likewise.
30484         (ctanh_test_data): Likewise.
30485         (ctanh_tonearest_test_data): Likewise.
30486         (ctanh_towardzero_test_data): Likewise.
30487         (ctanh_downward_test_data): Likewise.
30488         (ctanh_upward_test_data): Likewise.
30489         (erf_test_data): Likewise.
30490         (erfc_test_data): Likewise.
30491         (exp_test_data): Likewise.
30492         (exp_tonearest_test_data): Likewise.
30493         (exp_towardzero_test_data): Likewise.
30494         (exp_downward_test_data): Likewise.
30495         (exp_upward_test_data): Likewise.
30496         (exp10_test_data): Likewise.
30497         (exp2_test_data): Likewise.
30498         (expm1_test_data): Likewise.
30499         (fabs_test_data): Likewise.
30500         (fdim_test_data): Likewise.
30501         (finite_test_data): Likewise.
30502         (floor_test_data): Likewise.
30503         (fma_test_data): Likewise.
30504         (fma_towardzero_test_data): Likewise.
30505         (fma_downward_test_data): Likewise.
30506         (fma_upward_test_data): Likewise.
30507         (fmax_test_data): Likewise.
30508         (fmin_test_data): Likewise.
30509         (fmod_test_data): Likewise.
30510         (fpclassify_test_data): Likewise.
30511         (frexp_test_data): Likewise.
30512         (gamma_test_data): Likewise.
30513         (hypot_test_data): Likewise.
30514         (ilogb_test_data): Likewise.
30515         (isfinite_test_data): Likewise.
30516         (isgreater_test_data): Likewise.
30517         (isgreaterequal_test_data): Likewise.
30518         (isinf_test_data): Likewise.
30519         (isless_test_data): Likewise.
30520         (islessequal_test_data): Likewise.
30521         (islessgreater_test_data): Likewise.
30522         (isnan_test_data): Likewise.
30523         (isnormal_test_data): Likewise.
30524         (issignaling_test_data): Likewise.
30525         (isunordered_test_data): Likewise.
30526         (j0_test_data): Likewise.
30527         (j1_test_data): Likewise.
30528         (jn_test_data): Likewise.
30529         (ldexp_test_data): Likewise.
30530         (lgamma_test_data): Likewise.
30531         (lrint_test_data): Likewise.
30532         (lrint_tonearest_test_data): Likewise.
30533         (lrint_towardzero_test_data): Likewise.
30534         (lrint_downward_test_data): Likewise.
30535         (lrint_upward_test_data): Likewise.
30536         (llrint_test_data): Likewise.
30537         (llrint_tonearest_test_data): Likewise.
30538         (llrint_towardzero_test_data): Likewise.
30539         (llrint_downward_test_data): Likewise.
30540         (llrint_upward_test_data): Likewise.
30541         (log_test_data): Likewise.
30542         (log10_test_data): Likewise.
30543         (log1p_test_data): Likewise.
30544         (log2_test_data): Likewise.
30545         (logb_test_data): Likewise.
30546         (logb_downward_test_data): Likewise.
30547         (lround_test_data): Likewise.
30548         (llround_test_data): Likewise.
30549         (modf_test_data): Likewise.
30550         (nearbyint_test_data): Likewise.
30551         (nextafter_test_data): Likewise.
30552         (nexttoward_test_data): Likewise.
30553         (pow_test_data): Likewise.
30554         (pow_tonearest_test_data): Likewise.
30555         (pow_towardzero_test_data): Likewise.
30556         (pow_downward_test_data): Likewise.
30557         (pow_upward_test_data): Likewise.
30558         (remainder_test_data): Likewise.
30559         (remainder_tonearest_test_data): Likewise.
30560         (remainder_towardzero_test_data): Likewise.
30561         (remainder_downward_test_data): Likewise.
30562         (remainder_upward_test_data): Likewise.
30563         (remquo_test_data): Likewise.
30564         (rint_test_data): Likewise.
30565         (rint_tonearest_test_data): Likewise.
30566         (rint_towardzero_test_data): Likewise.
30567         (rint_downward_test_data): Likewise.
30568         (rint_upward_test_data): Likewise.
30569         (round_test_data): Likewise.
30570         (scalb_test_data): Likewise.
30571         (scalbn_test_data): Likewise.
30572         (scalbln_test_data): Likewise.
30573         (signbit_test_data): Likewise.
30574         (sin_test_data): Likewise.
30575         (sin_tonearest_test_data): Likewise.
30576         (sin_towardzero_test_data): Likewise.
30577         (sin_downward_test_data): Likewise.
30578         (sin_upward_test_data): Likewise.
30579         (sincos_test_data): Likewise.
30580         (sinh_test_data): Likewise.
30581         (sinh_tonearest_test_data): Likewise.
30582         (sinh_towardzero_test_data): Likewise.
30583         (sinh_downward_test_data): Likewise.
30584         (sinh_upward_test_data): Likewise.
30585         (sqrt_test_data): Likewise.
30586         (tan_test_data): Likewise.
30587         (tan_tonearest_test_data): Likewise.
30588         (tan_towardzero_test_data): Likewise.
30589         (tan_downward_test_data): Likewise.
30590         (tan_upward_test_data): Likewise.
30591         (tanh_test_data): Likewise.
30592         (tgamma_test_data): Likewise.
30593         (trunc_test_data): Likewise.
30594         (y0_test_data): Likewise.
30595         (y1_test_data): Likewise.
30596         (yn_test_data): Likewise.
30597         (significand_test_data): Likewise.
30599         * math/gen-libm-test.pl (@functions): Remove variable.
30600         (generate_testfile): Don't handle START and END lines.
30601         * math/libm-test.inc (START): New macro.
30602         (END): Likewise.
30603         (END_COMPLEX): Likewise.
30604         (acos_test): Use END macro without arguments.
30605         (acos_test_tonearest): Likewise.
30606         (acos_test_towardzero): Likewise.
30607         (acos_test_downward): Likewise.
30608         (acos_test_upward): Likewise.
30609         (acosh_test): Likewise.
30610         (asin_test): Likewise.
30611         (asin_test_tonearest): Likewise.
30612         (asin_test_towardzero): Likewise.
30613         (asin_test_downward): Likewise.
30614         (asin_test_upward): Likewise.
30615         (asinh_test): Likewise.
30616         (atan_test): Likewise.
30617         (atanh_test): Likewise.
30618         (atan2_test): Likewise.
30619         (cabs_test): Likewise.
30620         (cacos_test): Use END_COMPLEX macro without arguments.
30621         (cacosh_test): Likewise.
30622         (carg_test): Use END macro without arguments.
30623         (casin_test): Use END_COMPLEX macro without arguments.
30624         (casinh_test): Likewise.
30625         (catan_test): Likewise.
30626         (catanh_test): Likewise.
30627         (cbrt_test): Use END macro without arguments.
30628         (ccos_test): Use END_COMPLEX macro without arguments.
30629         (ccosh_test): Likewise.
30630         (ceil_test): Use END macro without arguments.
30631         (cexp_test): Use END_COMPLEX macro without arguments.
30632         (cimag_test): Use END macro without arguments.
30633         (clog_test): Use END_COMPLEX macro without arguments.
30634         (clog10_test): Likewise.
30635         (conj_test): Likewise.
30636         (copysign_test): Use END macro without arguments.
30637         (cos_test): Likewise.
30638         (cos_test_tonearest): Likewise.
30639         (cos_test_towardzero): Likewise.
30640         (cos_test_downward): Likewise.
30641         (cos_test_upward): Likewise.
30642         (cosh_test): Likewise.
30643         (cosh_test_tonearest): Likewise.
30644         (cosh_test_towardzero): Likewise.
30645         (cosh_test_downward): Likewise.
30646         (cosh_test_upward): Likewise.
30647         (cpow_test): Use END_COMPLEX macro without arguments.
30648         (cproj_test): Likewise.
30649         (creal_test): Use END macro without arguments.
30650         (csin_test): Use END_COMPLEX macro without arguments.
30651         (csinh_test): Likewise.
30652         (csqrt_test): Likewise.
30653         (ctan_test): Likewise.
30654         (ctan_test_tonearest): Likewise.
30655         (ctan_test_towardzero): Likewise.
30656         (ctan_test_downward): Likewise.
30657         (ctan_test_upward): Likewise.
30658         (ctanh_test): Likewise.
30659         (ctanh_test_tonearest): Likewise.
30660         (ctanh_test_towardzero): Likewise.
30661         (ctanh_test_downward): Likewise.
30662         (ctanh_test_upward): Likewise.
30663         (erf_test): Use END macro without arguments.
30664         (erfc_test): Likewise.
30665         (exp_test): Likewise.
30666         (exp_test_tonearest): Likewise.
30667         (exp_test_towardzero): Likewise.
30668         (exp_test_downward): Likewise.
30669         (exp_test_upward): Likewise.
30670         (exp10_test): Likewise.
30671         (exp2_test): Likewise.
30672         (expm1_test): Likewise.
30673         (fabs_test): Likewise.
30674         (fdim_test): Likewise.
30675         (finite_test): Likewise.
30676         (floor_test): Likewise.
30677         (fma_test): Likewise.
30678         (fma_test_towardzero): Likewise.
30679         (fma_test_downward): Likewise.
30680         (fma_test_upward): Likewise.
30681         (fmax_test): Likewise.
30682         (fmin_test): Likewise.
30683         (fmod_test): Likewise.
30684         (fpclassify_test): Likewise.
30685         (frexp_test): Likewise.
30686         (gamma_test): Likewise.
30687         (hypot_test): Likewise.
30688         (ilogb_test): Likewise.
30689         (isfinite_test): Likewise.
30690         (isgreater_test): Likewise.
30691         (isgreaterequal_test): Likewise.
30692         (isinf_test): Likewise.
30693         (isless_test): Likewise.
30694         (islessequal_test): Likewise.
30695         (islessgreater_test): Likewise.
30696         (isnan_test): Likewise.
30697         (isnormal_test): Likewise.
30698         (issignaling_test): Likewise.
30699         (isunordered_test): Likewise.
30700         (j0_test): Likewise.
30701         (j1_test): Likewise.
30702         (jn_test): Likewise.
30703         (ldexp_test): Likewise.
30704         (lgamma_test): Likewise.
30705         (lrint_test): Likewise.
30706         (lrint_test_tonearest): Likewise.
30707         (lrint_test_towardzero): Likewise.
30708         (lrint_test_downward): Likewise.
30709         (lrint_test_upward): Likewise.
30710         (llrint_test): Likewise.
30711         (llrint_test_tonearest): Likewise.
30712         (llrint_test_towardzero): Likewise.
30713         (llrint_test_downward): Likewise.
30714         (llrint_test_upward): Likewise.
30715         (log_test): Likewise.
30716         (log10_test): Likewise.
30717         (log1p_test): Likewise.
30718         (log2_test): Likewise.
30719         (logb_test): Likewise.
30720         (logb_test_downward): Likewise.
30721         (lround_test): Likewise.
30722         (llround_test): Likewise.
30723         (modf_test): Likewise.
30724         (nearbyint_test): Likewise.
30725         (nextafter_test): Likewise.
30726         (nexttoward_test): Likewise.
30727         (pow_test): Likewise.
30728         (pow_test_tonearest): Likewise.
30729         (pow_test_towardzero): Likewise.
30730         (pow_test_downward): Likewise.
30731         (pow_test_upward): Likewise.
30732         (remainder_test): Likewise.
30733         (remainder_test_tonearest): Likewise.
30734         (remainder_test_towardzero): Likewise.
30735         (remainder_test_downward): Likewise.
30736         (remainder_test_upward): Likewise.
30737         (remquo_test): Likewise.
30738         (rint_test): Likewise.
30739         (rint_test_tonearest): Likewise.
30740         (rint_test_towardzero): Likewise.
30741         (rint_test_downward): Likewise.
30742         (rint_test_upward): Likewise.
30743         (round_test): Likewise.
30744         (scalb_test): Likewise.
30745         (scalbn_test): Likewise.
30746         (scalbln_test): Likewise.
30747         (signbit_test): Likewise.
30748         (sin_test): Likewise.
30749         (sin_test_tonearest): Likewise.
30750         (sin_test_towardzero): Likewise.
30751         (sin_test_downward): Likewise.
30752         (sin_test_upward): Likewise.
30753         (sincos_test): Likewise.
30754         (sinh_test): Likewise.
30755         (sinh_test_tonearest): Likewise.
30756         (sinh_test_towardzero): Likewise.
30757         (sinh_test_downward): Likewise.
30758         (sinh_test_upward): Likewise.
30759         (sqrt_test): Likewise.
30760         (tan_test): Likewise.
30761         (tan_test_tonearest): Likewise.
30762         (tan_test_towardzero): Likewise.
30763         (tan_test_downward): Likewise.
30764         (tan_test_upward): Likewise.
30765         (tanh_test): Likewise.
30766         (tgamma_test): Likewise.
30767         (trunc_test): Likewise.
30768         (y0_test): Likewise.
30769         (y1_test): Likewise.
30770         (yn_test): Likewise.
30771         (significand_test): Likewise.
30773 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
30775         [BZ #15381]
30776         * libio/genops.c (_IO_no_init): Initialize wide struct info.
30778 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
30780         [BZ #14894]
30781         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
30782         __ppc_mdoio and __ppc_mdoom.
30783         * manual/platform.texi: Document new functions __ppc_yield,
30784         __ppc_mdoio and __ppc_mdoom.
30786 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
30788         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
30789         (main): Mention "tls" pseudo-hwcap is legacy.
30790         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
30792 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30794         * math/gen-libm-test.pl (parse_args): Output only string of
30795         arguments as text for test name, not full call or descriptions of
30796         tests for extra outputs.
30797         (generate_testfile): Do not pass function name to parse_args.
30798         Generate this_func variable from START.
30799         * math/libm-test.inc (struct test_f_f_data): Rename test_name
30800         field to arg_str.
30801         (struct test_ff_f_data): Likewise.
30802         (test_ff_f_data_nexttoward): Likewise.
30803         (struct test_fi_f_data): Likewise.
30804         (struct test_fl_f_data): Likewise.
30805         (struct test_if_f_data): Likewise.
30806         (struct test_fff_f_data): Likewise.
30807         (struct test_c_f_data): Likewise.
30808         (struct test_f_f1_data): Likewise.  Remove field extra_name.
30809         (struct test_fF_f1_data): Likewise.
30810         (struct test_ffI_f1_data): Likewise.
30811         (struct test_c_c_data): Rename test_name field to arg_str.
30812         (struct test_cc_c_data): Likewise.
30813         (struct test_f_i_data): Likewise.
30814         (struct test_ff_i_data): Likewise.
30815         (struct test_f_l_data): Likewise.
30816         (struct test_f_L_data): Likewise.
30817         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
30818         and extra2_name.
30819         (COMMON_TEST_SETUP): New macro.
30820         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
30821         (COMMON_TEST_CLEANUP): Likewise.
30822         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
30823         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
30824         macros.
30825         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
30826         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
30827         macros.
30828         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
30829         (RUN_TEST_fff_f): Take argument string.  Call new setup and
30830         cleanup macros.
30831         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
30832         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
30833         macros.
30834         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
30835         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
30836         macros.
30837         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
30838         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
30839         cleanup macros.
30840         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
30841         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
30842         cleanup macros.
30843         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
30844         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
30845         cleanup macros.
30846         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
30847         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
30848         macros.
30849         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
30850         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
30851         macros.
30852         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
30853         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
30854         macros.
30855         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
30856         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
30857         cleanup macros.
30858         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
30859         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
30860         cleanup macros.
30861         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
30862         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
30863         macros.
30864         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
30865         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
30866         cleanup macros.
30867         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
30868         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
30869         macros.
30870         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
30871         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
30872         macros.
30873         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
30874         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
30875         cleanup macros.
30876         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
30878 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
30880         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
30881         to _sifields.sigfault.
30882         (si_addr_lsb): Define new macro.
30883         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
30884         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
30885         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
30887 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
30889         [BZ #15441]
30890         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
30891         returns -1.
30892         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
30893         null return -1.
30894         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
30895         loading the domain.
30897 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
30899         * math/gen-libm-test.pl (parse_args): Do not include expected
30900         result in test name.
30901         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
30902         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
30903         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
30904         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
30905         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
30906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30908 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
30910         * benchtests/Makefile: Sort function entries.
30912         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
30913         tanh, asinh, acosh, atanh.
30914         * benchtests/acos-inputs: New file.
30915         * benchtests/acosh-inputs: New file.
30916         * benchtests/asin-inputs: New file.
30917         * benchtests/asinh-inputs: New file.
30918         * benchtests/atanh-inputs: New file.
30919         * benchtests/cosh-inputs: New file.
30920         * benchtests/log-inputs: New file.
30921         * benchtests/sinh-inputs: New file.
30922         * benchtests/tanh-inputs: New file.
30924 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
30926         [BZ #15339]
30927         * posix/tst-getaddrinfo4.c: New test.
30928         * posix/Makefile (tests): Add it.
30930 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30932         [BZ #15339]
30933         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
30934         when no services were used.
30935         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
30936         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
30938 2013-05-21  Andreas Schwab  <schwab@suse.de>
30940         [BZ #15014]
30941         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
30942         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
30943         successful.
30944         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
30945         redundant variable declarations and reallocation of buffer when
30946         parsing as IPv6 address.  Always set NSS status when called from
30947         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
30948         buffer too small.  Correct computation of needed size.
30949         * nss/Makefile (tests): Add test-digits-dots.
30950         * nss/test-digits-dots.c: New test.
30952 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30954         * benchtests/Makefile: Remove instructions for adding
30955         benchmark tests.
30956         * benchtests/README: New file to explain how to execute and
30957         enhance the benchmark tests.
30959 2013-05-21  Andreas Schwab  <schwab@suse.de>
30961         [BZ #15493]
30962         * setjmp/Makefile (tests): Add tst-sigsetjmp.
30963         * setjmp/tst-sigsetjmp.c: New test.
30965 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30967         * sysdeps/x86_64/memset.S (memset): New implementation.
30968         (__bzero): Likewise.
30969         (__memset_tail): New function.
30971 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
30973         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
30974         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
30975         __memcpy_sse2_unaligned ifunc selection.
30976         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30977         Add memcpy-sse2-unaligned.S.
30978         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30979         Add: __memcpy_sse2_unaligned.
30981 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
30983         [BZ #15490]
30984         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30985         math_force_eval before restoring floating-point envrionment.
30986         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
30987         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
30988         Likewise.
30989         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
30990         <math_private.h>.
30991         (__nearbyintl): Use math_force_eval before restoring
30992         floating-point environment.
30993         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
30995         * math/gen-libm-test.pl (special_functions): Remove.
30996         (parse_args): Don't handle TEST_extra.  Handle functions with no
30997         return value.
30998         * math/libm-test.inc (struct test_sincos_data): Replace with
30999         struct test_fFF_11_data.
31000         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
31001         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
31002         (sincos_test_data): Change element type to struct
31003         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
31004         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
31005         RUN_TEST_LOOP_sincos.
31006         * math/README.libm-test: Don't mention special handling of
31007         individual functions.
31008         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
31009         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31010         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31011         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
31012         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31015         * math/gen-libm-test.pl (get_variable): Remove function.
31016         (parse_args): Don't show pointer parameters to call in test
31017         names.  Use "extra output N" in test names for extra outputs
31018         rather than naming variables.
31020 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
31022         [BZ #15488]
31023         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
31024         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
31025         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
31026         double tests.
31027         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
31028         disable.
31029         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
31030         check_long_double.
31032         * math/gen-libm-test.pl (@tests): Remove variable.
31033         ($count): Likewise.
31034         (new_test): Remove function.
31035         (show_exceptions): New function.
31036         (special_functions): Use show_exceptions instead of new_test.
31037         (parse_args): Likewise.
31038         (generate_testfile): Pass only function name in generated call to
31039         print_max_error or print_complex_max_error.
31040         (get_ulps): Do not handle complex tests specially.
31041         (output_test): Rename to ...
31042         (get_all_ulps_for_test): ... this.  Return a string rather than
31043         printing to a file.  Require ulps to be present.
31044         (output_ulps): Generate arrays rather than #defines.
31045         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
31046         (struct ulp_data): New type.
31047         (BUILD_COMPLEX_ULP): Remove macro.
31048         (compare_ulp_data): New function.
31049         (find_ulps): Likewise.
31050         (find_test_ulps): Likewise.
31051         (find_function_ulps): Likewise.
31052         (find_complex_function_ulps): Likewise.
31053         (print_max_error): Determine allowed ulps using
31054         find_function_ulps.
31055         (print_complex_max_error): Determine allowed ulps using
31056         find_complex_function_ulps.
31057         (check_float_internal): Determine max ulps using find_test_ulps.
31058         (check_float): Do not take max_ulp parameter.  Update call to
31059         check_float_internal.
31060         (check_complex): Likewise.
31061         (check_int): Do not take max_ulp parameter.
31062         (check_long): Likewise.
31063         (check_bool): Likewise.
31064         (check_longlong): Likewise.
31065         (struct test_f_f_data): Remove max_ulp field.
31066         (struct test_ff_f_data): Likewise.
31067         (struct test_ff_f_data_nexttoward): Likewise.
31068         (struct test_fi_f_data): Likewise.
31069         (struct test_fl_f_data): Likewise.
31070         (struct test_if_f_data): Likewise.
31071         (struct test_fff_f_data): Likewise.
31072         (struct test_c_f_data): Likewise.
31073         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
31074         (struct test_fF_f1_data): Likewise.
31075         (struct test_ffI_f1_data): Likewise.
31076         (struct test_c_c_data): Remove max_ulp field.
31077         (struct test_cc_c_data): Likewise.
31078         (struct test_f_i_data): Likewise.
31079         (struct test_ff_i_data): Likewise.
31080         (struct test_f_l_data): Likewise.
31081         (struct test_f_L_data): Likewise.
31082         (struct test_sincos_data): Likewise.
31083         (RUN_TEST_f_f): Do not handle ulps.
31084         (RUN_TEST_LOOP_f_f): Likewise.
31085         (RUN_TEST_2_f): Likewise.
31086         (RUN_TEST_LOOP_2_f): Likewise.
31087         (RUN_TEST_fff_f): Likewise.
31088         (RUN_TEST_LOOP_fff_f): Likewise.
31089         (RUN_TEST_c_f): Likewise.
31090         (RUN_TEST_LOOP_c_f): Likewise.
31091         (RUN_TEST_f_f1): Likewise.
31092         (RUN_TEST_LOOP_f_f1): Likewise.
31093         (RUN_TEST_fF_f1): Likewise.
31094         (RUN_TEST_LOOP_fF_f1): Likewise.
31095         (RUN_TEST_fI_f1): Likewise.
31096         (RUN_TEST_LOOP_fI_f1): Likewise.
31097         (RUN_TEST_ffI_f1): Likewise.
31098         (RUN_TEST_LOOP_ffI_f1): Likewise.
31099         (RUN_TEST_c_c): Likewise.
31100         (RUN_TEST_LOOP_c_c): Likewise.
31101         (RUN_TEST_cc_c): Likewise.
31102         (RUN_TEST_LOOP_cc_c): Likewise.
31103         (RUN_TEST_f_i): Likewise.
31104         (RUN_TEST_LOOP_f_i): Likewise.
31105         (RUN_TEST_f_i_tg): Likewise.
31106         (RUN_TEST_LOOP_f_i_tg): Likewise.
31107         (RUN_TEST_ff_i_tg): Likewise.
31108         (RUN_TEST_LOOP_ff_i_tg): Likewise.
31109         (RUN_TEST_f_b): Likewise.
31110         (RUN_TEST_LOOP_f_b): Likewise.
31111         (RUN_TEST_f_b_tg): Likewise.
31112         (RUN_TEST_LOOP_f_b_tg): Likewise.
31113         (RUN_TEST_f_l): Likewise.
31114         (RUN_TEST_LOOP_f_l): Likewise.
31115         (RUN_TEST_f_L): Likewise.
31116         (RUN_TEST_LOOP_f_L): Likewise.
31117         (RUN_TEST_sincos): Likewise.
31118         (RUN_TEST_LOOP_sincos): Likewise.
31120 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
31122         [BZ #15480]
31123         [BZ #15485]
31124         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
31125         main case of finite arguments, set rounding mode to FE_TONEAREST
31126         and discard exceptions.
31127         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
31128         exceptions.
31129         (remainder_tonearest_test_data): New variable.
31130         (remainder_test_tonearest): New function.
31131         (remainder_towardzero_test_data): New variable.
31132         (remainder_test_towardzero): New function.
31133         (remainder_downward_test_data): New variable.
31134         (remainder_test_downward): New function.
31135         (remainder_upward_test_data): New variable.
31136         (remainder_test_upward): New function.
31137         (main): Call the new test functions.
31139         * math/libm-test.inc (struct test_f_f1_data): Remove field
31140         extra_init.
31141         (struct test_fF_f1_data): Likewise.
31142         (struct test_ffI_f1_data): Likewise.
31143         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
31144         based on value of EXTRA_EXPECTED.
31145         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
31146         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
31147         EXTRA_VAR based on value of EXTRA_EXPECTED.
31148         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
31149         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
31150         EXTRA_VAR based on value of EXTRA_EXPECTED.
31151         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
31152         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
31153         EXTRA_VAR based on value of EXTRA_EXPECTED.
31154         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
31155         * math/gen-libm-test.pl (parse_args): Don't output initializers
31156         for extra output values.
31158         * math/libm-test.inc (check_int): Expect result to be exactly
31159         equal to expected value and do not handle ulps.
31160         (check_long): Likewise.
31161         (check_longlong): Likewise.
31163         * math/libm-test.inc (ceil_test_data): Test for "inexact"
31164         exceptions.
31165         (cimag_test_data): Likewise.
31166         (conj_test_data): Likewise.
31167         (copysign_test_data): Likewise.
31168         (cproj_test_data): Likewise.
31169         (creal_test_data): Likewise.
31170         (fabs_test_data): Likewise.
31171         (fdim_test_data): Likewise.
31172         (finite_test_data): Likewise.
31173         (floor_test_data): Likewise.
31174         (fmax_test_data): Likewise.
31175         (fmin_test_data): Likewise.
31176         (fmod_test_data): Likewise.
31177         (fpclassify_test_data): Likewise.
31178         (frexp_test_data): Likewise.
31179         (ilogb_test_data): Likewise.
31180         (isfinite_test_data): Likewise.
31181         (isgreater_test_data): Likewise.
31182         (isgreaterequal_test_data): Likewise.
31183         (isinf_test_data): Likewise.
31184         (isless_test_data): Likewise.
31185         (islessequal_test_data): Likewise.
31186         (islessgreater_test_data): Likewise.
31187         (isnan_test_data): Likewise.
31188         (isnormal_test_data): Likewise.
31189         (issignaling_test_data): Likewise.
31190         (isunordered_test_data): Likewise.
31191         (ldexp_test_data): Likewise.
31192         (lrint_test_data): Likewise.
31193         (lrint_test_data) [TEST_FLOAT]: Disable one test.
31194         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
31195         (lrint_tonearest_test_data): Test for "inexact" exceptions.
31196         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31197         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
31198         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31199         test input.
31200         (lrint_towardzero_test_data): Test for "inexact" exceptions.
31201         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31202         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
31203         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
31204         that test input.
31205         (lrint_downward_test_data): Test for "inexact" exceptions.
31206         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31207         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
31208         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
31209         test input.
31210         (lrint_upward_test_data): Test for "inexact" exceptions.
31211         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
31212         test input.
31213         (llrint_test_data): Test for "inexact" exceptions.
31214         (llrint_test_data) [TEST_FLOAT]: Disable one test.
31215         (llrint_tonearest_test_data): Test for "inexact" exceptions.
31216         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
31217         (llrint_towardzero_test_data): Test for "inexact" exceptions.
31218         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
31219         (llrint_downward_test_data): Test for "inexact" exceptions.
31220         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
31221         (llrint_upward_test_data): Test for "inexact" exceptions.
31222         (logb_test_data): Likewise.
31223         (logb_downward_test_data): Likewise.
31224         (nextafter_test_data): Likewise.
31225         (nexttoward_test_data): Likewise.
31226         (remainder_test_data): Likewise.
31227         (remquo_test_data): Likewise.
31228         (scalbn_test_data): Likewise.
31229         (scalbln_test_data): Likewise.
31230         (signbit_test_data): Likewise.
31231         (sqrt_test_data): Likewise.
31232         (significand_test_data): Likewise.
31234 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
31236         [BZ #15424]
31237         * benchtests/bench-modf.c (struct args): Mark arg0 as
31238         volatile.
31239         * scripts/bench.pl: Mark members of struct args as volatile.
31241 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31243         [BZ # 15497]
31244         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
31245         negative infinity on POWER6 or lower.
31246         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
31248 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
31250         [BZ #15442]
31251         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
31252         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
31253         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
31254         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
31255         (_FP_SETQNAN): New macro.
31256         (_FP_SETQNAN_SEMIRAW): Likewise.
31257         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
31258         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
31259         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
31260         (FP_EXTEND): Use _FP_FRAC_SNANP.
31261         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
31262         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
31263         into account.
31264         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31265         New macro.
31266         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
31267         Likewise.
31269 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31271         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
31272         with DIVIDE_BY_ZERO_EXCEPTION.
31273         (gamma_test_data): Likewise.
31274         (lgamma_test_data): Likewise.
31275         (log_test_data): Likewise.
31276         (log10_test_data): Likewise.
31277         (log2_test_data): Likewise.
31278         (tgamma_test_data): Likewise.
31280         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
31281         (acos_test_tonearest): Likewise.
31282         (acos_test_towardzero): Likewise.
31283         (acos_test_downward): Likewise.
31284         (acos_test_upward): Likewise.
31285         (acosh_test): Likewise.
31286         (asin_test): Likewise.
31287         (asin_test_tonearest): Likewise.
31288         (asin_test_towardzero): Likewise.
31289         (asin_test_downward): Likewise.
31290         (asin_test_upward): Likewise.
31291         (asinh_test): Likewise.
31292         (atan_test): Likewise.
31293         (atanh_test): Likewise.
31294         (atan2_test): Likewise.
31295         (cabs_test): Likewise.
31296         (cacos_test): Likewise.
31297         (cacosh_test): Likewise.
31298         (casin_test): Likewise.
31299         (casinh_test): Likewise.
31300         (catan_test): Likewise.
31301         (catanh_test): Likewise.
31302         (cbrt_test): Likewise.
31303         (ccos_test): Likewise.
31304         (ccosh_test): Likewise.
31305         (cexp_test): Likewise.
31306         (clog_test): Likewise.
31307         (clog10_test): Likewise.
31308         (cos_test): Likewise.
31309         (cos_test_tonearest): Likewise.
31310         (cos_test_towardzero): Likewise.
31311         (cos_test_downward): Likewise.
31312         (cos_test_upward): Likewise.
31313         (cosh_test): Likewise.
31314         (cosh_test_tonearest): Likewise.
31315         (cosh_test_towardzero): Likewise.
31316         (cosh_test_downward): Likewise.
31317         (cosh_test_upward): Likewise.
31318         (cpow_test): Likewise.
31319         (csin_test): Likewise.
31320         (csinh_test): Likewise.
31321         (csqrt_test): Likewise.
31322         (ctan_test): Likewise.
31323         (ctan_test_tonearest): Likewise.
31324         (ctan_test_towardzero): Likewise.
31325         (ctan_test_downward): Likewise.
31326         (ctan_test_upward): Likewise.
31327         (ctanh_test): Likewise.
31328         (ctanh_test_tonearest): Likewise.
31329         (ctanh_test_towardzero): Likewise.
31330         (ctanh_test_downward): Likewise.
31331         (ctanh_test_upward): Likewise.
31332         (erf_test): Likewise.
31333         (erfc_test): Likewise.
31334         (exp_test): Likewise.
31335         (exp_test_tonearest): Likewise.
31336         (exp_test_towardzero): Likewise.
31337         (exp_test_downward): Likewise.
31338         (exp_test_upward): Likewise.
31339         (exp10_test): Likewise.
31340         (exp2_test): Likewise.
31341         (expm1_test): Likewise.
31342         (fmod_test): Likewise.
31343         (gamma_test): Likewise.
31344         (hypot_test): Likewise.
31345         (j0_test): Likewise.
31346         (j1_test): Likewise.
31347         (jn_test): Likewise.
31348         (lgamma_test): Likewise.
31349         (log_test): Likewise.
31350         (log10_test): Likewise.
31351         (log1p_test): Likewise.
31352         (log2_test): Likewise.
31353         (logb_test_downward): Likewise.
31354         (pow_test): Likewise.
31355         (pow_test_tonearest): Likewise.
31356         (pow_test_towardzero): Likewise.
31357         (pow_test_downward): Likewise.
31358         (pow_test_upward): Likewise.
31359         (remainder_test): Likewise.
31360         (remquo_test): Likewise.
31361         (sin_test): Likewise.
31362         (sin_test_tonearest): Likewise.
31363         (sin_test_towardzero): Likewise.
31364         (sin_test_downward): Likewise.
31365         (sin_test_upward): Likewise.
31366         (sincos_test): Likewise.
31367         (sinh_test): Likewise.
31368         (sinh_test_tonearest): Likewise.
31369         (sinh_test_towardzero): Likewise.
31370         (sinh_test_downward): Likewise.
31371         (sinh_test_upward): Likewise.
31372         (sqrt_test): Likewise.
31373         (tan_test): Likewise.
31374         (tan_test_tonearest): Likewise.
31375         (tan_test_towardzero): Likewise.
31376         (tan_test_downward): Likewise.
31377         (tan_test_upward): Likewise.
31378         (tanh_test): Likewise.
31379         (tgamma_test): Likewise.
31380         (y0_test): Likewise.
31381         (y1_test): Likewise.
31382         (yn_test): Likewise.
31384         * math/gen-libm-test.pl (adjust_arg): Remove function.
31385         (special_function): Remove argument $in_func.  Only handle
31386         generating output for tables of tests, not inside functions.
31387         (parse_args): Likewise.
31388         (generate_testfile): Remove variable $in_func.  Update call to
31389         parse_args.
31390         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
31391         (MINUS_ZERO_INIT): Rename macro to minus_zero.
31392         (PLUS_INFTY_INIT): Rename macro to plus_infty.
31393         (MINUS_INFTY_INIT): Rename macro to minus_infty.
31394         (QNAN_VALUE_INIT): Rename macro to qnan_value.
31395         (MAX_VALUE_INIT): Rename macro to max_value.
31396         (MIN_VALUE_INIT): Rename macro to min_value.
31397         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
31398         (plus_zero): Remove variable.
31399         (minus_zero): Likewise.
31400         (plus_infty): Likewise.
31401         (minus_infty): Likewise.
31402         (qnan_value): Likewise.
31403         (max_value): Likewise.
31404         (min_value): Likewise.
31405         (min_subnorm_value): Likewise.
31407 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31409         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
31410         uint64_t or uint32_t usage.
31411         * crypt/sha256-block.c: Likewise.
31412         * crypt/sha256-crypt.c: Likewise.
31413         * crypt/sha256.c: Likewise.
31414         * crypt/sha512-block.c: Likewise.
31415         * crypt/sha512-crypt.c: Likewise.
31416         * crypt/sha512.c: Likewise.
31417         * debug/backtrace-tst.c: Likewise.
31418         * debug/pcprofiledump.c: Likewise.
31419         * elf/cache.c: Likewise.
31420         * elf/dl-cache.c: Likewise.
31421         * elf/dl-misc.c: Likewise.
31422         * elf/dl-profile.c: Likewise.
31423         * elf/dl-support.c: Likewise.
31424         * elf/ldconfig.c: Likewise.
31425         * elf/sprof.c: Likewise.
31426         * iconv/dummy-repertoire.c: Likewise.
31427         * iconv/iconv_charmap.c: Likewise.
31428         * iconv/skeleton.c: Likewise.
31429         * iconvdata/8bit-generic.c: Likewise.
31430         * iconvdata/cp737.h: Likewise.
31431         * iconvdata/cp775.h: Likewise.
31432         * iconvdata/ibm1008.h: Likewise.
31433         * iconvdata/ibm1025.h: Likewise.
31434         * iconvdata/ibm1046.h: Likewise.
31435         * iconvdata/ibm1097.h: Likewise.
31436         * iconvdata/ibm1112.h: Likewise.
31437         * iconvdata/ibm1122.h: Likewise.
31438         * iconvdata/ibm1123.h: Likewise.
31439         * iconvdata/ibm1124.h: Likewise.
31440         * iconvdata/ibm1129.h: Likewise.
31441         * iconvdata/ibm1130.h: Likewise.
31442         * iconvdata/ibm1132.h: Likewise.
31443         * iconvdata/ibm1133.h: Likewise.
31444         * iconvdata/ibm1137.h: Likewise.
31445         * iconvdata/ibm1140.h: Likewise.
31446         * iconvdata/ibm1141.h: Likewise.
31447         * iconvdata/ibm1142.h: Likewise.
31448         * iconvdata/ibm1143.h: Likewise.
31449         * iconvdata/ibm1144.h: Likewise.
31450         * iconvdata/ibm1145.h: Likewise.
31451         * iconvdata/ibm1146.h: Likewise.
31452         * iconvdata/ibm1147.h: Likewise.
31453         * iconvdata/ibm1148.h: Likewise.
31454         * iconvdata/ibm1149.h: Likewise.
31455         * iconvdata/ibm1153.h: Likewise.
31456         * iconvdata/ibm1154.h: Likewise.
31457         * iconvdata/ibm1155.h: Likewise.
31458         * iconvdata/ibm1156.h: Likewise.
31459         * iconvdata/ibm1157.h: Likewise.
31460         * iconvdata/ibm1158.h: Likewise.
31461         * iconvdata/ibm1160.h: Likewise.
31462         * iconvdata/ibm1161.h: Likewise.
31463         * iconvdata/ibm1162.h: Likewise.
31464         * iconvdata/ibm1163.h: Likewise.
31465         * iconvdata/ibm1164.h: Likewise.
31466         * iconvdata/ibm1166.h: Likewise.
31467         * iconvdata/ibm1167.h: Likewise.
31468         * iconvdata/ibm12712.h: Likewise.
31469         * iconvdata/ibm1390.h: Likewise.
31470         * iconvdata/ibm1399.h: Likewise.
31471         * iconvdata/ibm16804.h: Likewise.
31472         * iconvdata/ibm4517.h: Likewise.
31473         * iconvdata/ibm4899.h: Likewise.
31474         * iconvdata/ibm4909.h: Likewise.
31475         * iconvdata/ibm4971.h: Likewise.
31476         * iconvdata/ibm5347.h: Likewise.
31477         * iconvdata/ibm803.h: Likewise.
31478         * iconvdata/ibm856.h: Likewise.
31479         * iconvdata/ibm901.h: Likewise.
31480         * iconvdata/ibm902.h: Likewise.
31481         * iconvdata/ibm9030.h: Likewise.
31482         * iconvdata/ibm9066.h: Likewise.
31483         * iconvdata/ibm921.h: Likewise.
31484         * iconvdata/ibm922.h: Likewise.
31485         * iconvdata/ibm9448.h: Likewise.
31486         * iconvdata/isiri-3342.h: Likewise.
31487         * iconvdata/jis0201.h: Likewise.
31488         * include/link.h: Likewise.
31489         * include/netdb.h: Likewise.
31490         * inet/check_native.c: Likewise.
31491         * inet/check_pf.c: Likewise.
31492         * inet/getipv4sourcefilter.c: Likewise.
31493         * inet/getnameinfo.c: Likewise.
31494         * inet/getsourcefilter.c: Likewise.
31495         * inet/htonl.c: Likewise.
31496         * inet/setipv4sourcefilter.c: Likewise.
31497         * inet/setsourcefilter.c: Likewise.
31498         * inet/test-inet6_opt.c: Likewise.
31499         * inet/tst-network.c: Likewise.
31500         * locale/C-collate.c: Likewise.
31501         * locale/C-ctype.c: Likewise.
31502         * locale/C-time.c: Likewise.
31503         * locale/C-translit.h: Likewise.
31504         * locale/loadarchive.c: Likewise.
31505         * locale/programs/3level.h: Likewise.
31506         * locale/programs/charmap.c: Likewise.
31507         * locale/programs/charmap.h: Likewise.
31508         * locale/programs/ld-address.c: Likewise.
31509         * locale/programs/ld-collate.c: Likewise.
31510         * locale/programs/ld-ctype.c: Likewise.
31511         * locale/programs/ld-identification.c: Likewise.
31512         * locale/programs/ld-measurement.c: Likewise.
31513         * locale/programs/ld-messages.c: Likewise.
31514         * locale/programs/ld-monetary.c: Likewise.
31515         * locale/programs/ld-name.c: Likewise.
31516         * locale/programs/ld-numeric.c: Likewise.
31517         * locale/programs/ld-paper.c: Likewise.
31518         * locale/programs/ld-telephone.c: Likewise.
31519         * locale/programs/ld-time.c: Likewise.
31520         * locale/programs/linereader.c: Likewise.
31521         * locale/programs/locale.c: Likewise.
31522         * locale/programs/locarchive.c: Likewise.
31523         * locale/programs/locfile.h: Likewise.
31524         * locale/programs/repertoire.c: Likewise.
31525         * locale/programs/simple-hash.c: Likewise.
31526         * locale/programs/simple-hash.h: Likewise.
31527         * malloc/memusage.c: Likewise.
31528         * malloc/memusagestat.c: Likewise.
31529         * nis/nis_defaults.c: Likewise.
31530         * nis/nis_hash.c: Likewise.
31531         * nis/nis_print.c: Likewise.
31532         * nis/nis_xdr.c: Likewise.
31533         * nscd/connections.c: Likewise.
31534         * nscd/hstcache.c: Likewise.
31535         * nscd/nscd_gethst_r.c: Likewise.
31536         * nscd/nscd_getserv_r.c: Likewise.
31537         * nscd/nscd_helper.c: Likewise.
31538         * nscd/servicescache.c: Likewise.
31539         * nss/makedb.c: Likewise.
31540         * nss/nss_db/db-XXX.c: Likewise.
31541         * nss/nss_db/db-initgroups.c: Likewise.
31542         * nss/nss_db/db-netgrp.c: Likewise.
31543         * nss/nss_files/files-network.c: Likewise.
31544         * nss/nss_files/files-parse.c: Likewise.
31545         * posix/bug-regex5.c: Likewise.
31546         * posix/fnmatch_loop.c: Likewise.
31547         * posix/regcomp.c: Likewise.
31548         * posix/regexec.c: Likewise.
31549         * posix/tst-rfc3484-2.c: Likewise.
31550         * posix/tst-rfc3484-3.c: Likewise.
31551         * posix/tst-rfc3484.c: Likewise.
31552         * resolv/nss_dns/dns-canon.c: Likewise.
31553         * resolv/nss_dns/dns-network.c: Likewise.
31554         * resolv/res_init.c: Likewise.
31555         * resolv/res_mkquery.c: Likewise.
31556         * resolv/tst-aton.c: Likewise.
31557         * stdlib/cxa_atexit.c: Likewise.
31558         * stdlib/cxa_finalize.c: Likewise.
31559         * stdlib/gen-fpioconst.c: Likewise.
31560         * stdlib/strtol_l.c: Likewise.
31561         * string/tst-endian.c: Likewise.
31562         * sunrpc/auth_des.c: Likewise.
31563         * sunrpc/clnt_udp.c: Likewise.
31564         * sunrpc/rtime.c: Likewise.
31565         * sunrpc/svcauth_des.c: Likewise.
31566         * sunrpc/xdr.c: Likewise.
31567         * sunrpc/xdr_intXX_t.c: Likewise.
31568         * sunrpc/xdr_rec.c: Likewise.
31569         * sysdeps/generic/ldconfig.h: Likewise.
31570         * sysdeps/generic/ldsodefs.h: Likewise.
31571         * sysdeps/generic/memusage.h: Likewise.
31572         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
31573         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
31574         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
31575         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
31576         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31577         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
31578         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
31579         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
31580         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31581         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
31582         * sysdeps/posix/getaddrinfo.c: Likewise.
31583         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31584         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31585         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31586         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31587         * sysdeps/powerpc/test-gettimebase.c: Likewise.
31588         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31589         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
31590         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
31591         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31592         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
31593         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
31594         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
31595         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
31596         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
31597         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
31598         * sysdeps/x86_64/dl-tls.h: Likewise.
31599         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
31600         * time/alt_digit.c: Likewise.
31601         * time/era.c: Likewise.
31602         * wcsmbs/tst-c16c32-1.c: Likewise.
31604 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31606         * math/libm-test.inc (struct test_sincos_data): New type.
31607         (RUN_TEST_LOOP_sincos): New macro.
31608         (sincos_test_data): New variable.
31609         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
31611 2013-05-16  Richard Henderson  <rth@redhat.com>
31613         * math/atest-exp2.c (LIMB64): New macro.
31614         (CONSTSZ): New macro.
31615         (mp_exp1, mp_exp_m1, mp_log2): New variables.
31616         (hexdig): Move ...
31617         (print_mpn_fp): ... to function scope.
31618         (read_mpn_hex): Remove.
31619         (get_log2): Remove.
31620         (exp2_mpn): Use mp_log2.
31621         (main): Use mp_exp1.
31623 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
31625         * math/libm-test.inc: Remove comment about not testing "inexact"
31626         exceptions.
31627         (INEXACT_EXCEPTION): New macro.
31628         (NO_INEXACT_EXCEPTION): Likewise.
31629         (INVALID_EXCEPTION_OK): Update value.
31630         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31631         (OVERFLOW_EXCEPTION_OK): Likewise.
31632         (UNDERFLOW_EXCEPTION_OK): Likewise.
31633         (IGNORE_ZERO_INF_SIGN): Likewise.
31634         (ERRNO_UNCHANGED): Likewise.
31635         (ERRNO_EDOM): Likewise.
31636         (ERRNO_ERANGE): Likewise.
31637         (test_exceptions): Handle testing "inexact" exceptions.
31638         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
31639         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
31640         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
31641         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
31642         INEXACT_EXCEPTION.
31643         (rint_towardzero_test_data): Likewise.
31644         (rint_downward_test_data): Likewise.
31645         (rint_upward_test_data): Likewise.
31647         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
31648         with OVERFLOW_EXCEPTION.
31649         (exp10_test_data): Likewise.
31650         (exp2_test_data): Likewise.
31651         (expm1_test_data): Likewise.
31652         (lgamma_test_data): Likewise.
31653         (pow_test_data): Likewise.
31654         (tgamma_test_data): Likewise.
31655         (yn_test_data): Remove duplicate test of overflow.
31657         * math/libm-test.inc (struct test_cc_c_data): New type.
31658         (RUN_TEST_LOOP_cc_c): New macro.
31659         (cpow_test_data): New variable.
31660         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
31662         * math/libm-test.inc (struct test_f_L_data): New type.
31663         (RUN_TEST_LOOP_f_L): New macro.
31664         (llrint_test_data): New variable.
31665         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
31666         (llrint_tonearest_test_data): New variable.
31667         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
31668         (llrint_towardzero_test_data): New variable.
31669         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
31670         (llrint_downward_test_data): New variable.
31671         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
31672         (llrint_upward_test_data): New variable.
31673         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
31674         (llround_test_data): New variable.
31675         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
31677 2013-05-13  Peter Collingbourne  <pcc@google.com>
31679         * math/atest-exp2.c (get_log2): Remove const attribute.
31681 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31683         * math/libm-test.inc (struct test_f_l_data): New type.
31684         (RUN_TEST_LOOP_f_l): New macro.
31685         (lrint_test_data): New variable.
31686         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
31687         (lrint_tonearest_test_data): New variable.
31688         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
31689         (lrint_towardzero_test_data): New variable.
31690         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
31691         (lrint_downward_test_data): New variable.
31692         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
31693         (lrint_upward_test_data): New variable.
31694         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
31695         (lround_test_data): New variable.
31696         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
31698 2013-05-15  Peter Collingbourne  <pcc@google.com>
31700         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
31701         (EXTRACT_WORDS64) Use where appropriate.
31702         (INSERT_WORDS64) Likewise.
31704         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
31705         constraints with x constraints.
31706         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
31708         * malloc/obstack.c (_obstack_compat): Add initializer.
31710 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
31712         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
31713         si_trapno and add si_addr_lsb to _sifields.sigfault.
31714         (si_trapno): Remove macro.
31715         (si_addr_lsb): Define new macro.
31716         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
31718 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
31720         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
31721         instead of TEST_f_l.
31722         (llrint_test_tonearest): Likewise.
31723         (llrint_test_towardzero): Likewise.
31724         (llrint_test_downward): Likewise.
31725         (llrint_test_upward): Likewise.
31726         (llround_test): Likewise.
31728         * math/libm-test.inc (struct test_f_i_data): Add comment.
31729         (RUN_TEST_LOOP_f_b): New macro.
31730         (RUN_TEST_LOOP_f_b_tg): Likewise.
31731         (finite_test_data): New variable.
31732         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
31733         (isfinite_test_data): New variable.
31734         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31735         (isinf_test_data): New variable.
31736         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31737         (isnan_test_data): New variable.
31738         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31739         (isnormal_test_data): New variable.
31740         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31741         (issignaling_test_data): New variable.
31742         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31743         (signbit_test_data): New variable.
31744         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
31746         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
31747         with INVALID_EXCEPTION.
31748         (acosh_test_data): Likewise.
31749         (asin_test_data): Likewise.
31750         (atanh_test_data): Likewise.
31751         (fmod_test_data): Likewise.
31752         (log_test_data): Likewise.
31753         (log10_test_data): Likewise.
31754         (log2_test_data): Likewise.
31755         (pow_test_data): Likewise.
31756         (sqrt_test_data): Likewise.
31757         (y0_test_data): Likewise.
31758         (y1_test_data): Likewise.
31759         (yn_test_data): Likewise.
31761         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
31762         function contents.
31764         * math/libm-test.inc (struct test_ff_i_data): New type.
31765         (RUN_TEST_LOOP_ff_i_tg): New macro.
31766         (isgreater_test_data): New variable.
31767         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31768         (isgreaterequal_test_data): New variable.
31769         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31770         (isless_test_data): New variable.
31771         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31772         (islessequal_test_data): New variable.
31773         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31774         (islessgreater_test_data): New variable.
31775         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31776         (isunordered_test_data): New variable.
31777         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
31779 2013-05-14  David S. Miller  <davem@davemloft.net>
31781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31783 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
31785         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
31787         * math/libm-test.inc (struct test_fF_f1_data): Change type of
31788         extra_test to int.
31789         (struct test_f_i_data): Change type of max_ulp to int.
31791         * math/libm-test.inc (test_ffI_f1_data): New type.
31792         (RUN_TEST_LOOP_ffI_f1): New macro.
31793         (remquo_test_data): New variable.
31794         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
31796         * setjmp/tst-setjmp-fp.c: New file.
31797         * setjmp/Makefile (tests): Add tst-setjmp-fp.
31798         (link-libm): New variable.
31799         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
31801         * math/libm-test.inc (struct test_f_i_data): New type.
31802         (RUN_TEST_LOOP_f_i): New macro.
31803         (RUN_TEST_LOOP_f_i_tg): Likewise.
31804         (fpclassify_test_data): New variable.
31805         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
31806         (ilogb_test_data): New variable.
31807         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
31809         * math/libm-test.inc (scalbln_test): Correct function name in END
31810         call.
31812         * math/libm-test.inc (struct test_f_f1_data): Add comment.
31813         (RUN_TEST_LOOP_fI_f1): New macro.
31814         (frexp_test_data): New variable.
31815         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
31817         * math/libm-test.inc (struct test_fF_f1_data): New type.
31818         (RUN_TEST_LOOP_fF_f1): New macro.
31819         (modf_test_data): New variable.
31820         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
31822         * math/libm-test.inc (struct test_f_f1_data): New type.
31823         (RUN_TEST_LOOP_f_f1): New macro.
31824         (gamma_test_data): New variable.
31825         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31826         (lgamma_test_data): New variable.
31827         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
31829 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
31831         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
31832         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
31833         (main): Comment "tls" pseudo-hwcap.
31835 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
31837         * math/libm-test.inc (struct test_fl_f_data): New type.
31838         (RUN_TEST_LOOP_fl_f): New variable.
31839         (scalbln_test_data): New variable.
31840         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
31842         * math/libm-test.inc (struct test_fi_f_data): New type.
31843         (RUN_TEST_LOOP_fi_f): New macro.
31844         (ldexp_test_data): New variable.
31845         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
31846         (scalbn_test_data): New variable.
31847         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
31849         * math/libm-test.inc (struct test_c_f_data): New type.
31850         (RUN_TEST_LOOP_c_f): New macro.
31851         (cabs_test_data): New variable.
31852         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
31853         (carg_test_data): New variable.
31854         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
31855         (cimag_test_data): New variable.
31856         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
31857         (creal_test_data): New variable.
31858         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
31860         * math/libm-test.inc (struct test_if_f_data): New type.
31861         (RUN_TEST_LOOP_if_f): New macro.
31862         (jn_test_data): New variable.
31863         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
31864         (yn_test_data): New variable.
31865         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
31867         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
31869 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31871         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
31872         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
31874 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31876         * benchtests/Makefile (CPPFLAGS-nonlib): Add
31877         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
31878         (bench-deps): Add bench-timing.h.
31879         * benchtests-bench-skeleton.c: Include bench-timing.h.
31880         (main): Use TIMING_* macros instead of clock_gettime.
31881         * benchtests/bench-timing.h: New file.
31883         [BZ #14582]
31884         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
31885         Renamed from _LIB_VERSION.
31886         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
31888 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
31890         * math/libm-test.inc (struct test_fff_f_data): New type.
31891         (RUN_TEST_LOOP_fff_f): New macro.
31892         (fma_test_data): New variable.
31893         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
31894         (fma_towardzero_test_data): New variable.
31895         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
31896         (fma_downward_test_data): New variable.
31897         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
31898         (fma_upward_test_data): New variable.
31899         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
31901         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
31902         (struct test_c_c_data): New type.
31903         (RUN_TEST_LOOP_c_c): New macro.
31904         (cacos_test_data): New variable.
31905         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
31906         (cacosh_test_data): New variable.
31907         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
31908         (casin_test_data): New variable.
31909         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
31910         (casinh_test_data): New variable.
31911         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
31912         (catan_test_data): New variable.
31913         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
31914         (catanh_test_data): New variable.
31915         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
31916         (ccos_test_data): New variable.
31917         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
31918         (ccosh_test_data): New variable.
31919         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
31920         (cexp_test_data): New variable.
31921         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
31922         (clog_test_data): New variable.
31923         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
31924         (clog10_test_data): New variable.
31925         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
31926         (conj_test_data): New variable.
31927         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
31928         (cproj_test_data): New variable.
31929         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
31930         (csin_test_data): New variable.
31931         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
31932         (csinh_test_data): New variable.
31933         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
31934         (csqrt_test_data): New variable.
31935         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
31936         (ctan_test_data): New variable.
31937         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
31938         (ctan_tonearest_test_data): New variable.
31939         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31940         (ctan_towardzero_test_data): New variable.
31941         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31942         (ctan_downward_test_data): New variable.
31943         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31944         (ctan_upward_test_data): New variable.
31945         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31946         (ctanh_test_data): New variable.
31947         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
31948         (ctanh_tonearest_test_data): New variable.
31949         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
31950         (ctanh_towardzero_test_data): New variable.
31951         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
31952         (ctanh_downward_test_data): New variable.
31953         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
31954         (ctanh_upward_test_data): New variable.
31955         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
31956         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
31957         of BUILD_COMPLEX.
31959         * math/libm-test.inc (struct test_ff_f_data): New type.
31960         (struct test_ff_f_data_nexttoward): Likewise.
31961         (RUN_TEST_LOOP_2_f): New macro.
31962         (RUN_TEST_LOOP_ff_f): Likewise.
31963         (atan2_test_data): New variable.
31964         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
31965         (copysign_test_data): New variable.
31966         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
31967         (fdim_test_data): New variable.
31968         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
31969         (fmax_test_data): New variable.
31970         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
31971         (fmin_test_data): New variable.
31972         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
31973         (fmod_test_data): New variable.
31974         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
31975         (hypot_test_data): New variable.
31976         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
31977         (nextafter_test_data): New variable.
31978         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
31979         (nexttoward_test_data): New variable.
31980         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
31981         (pow_test_data): New variable.
31982         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
31983         (pow_tonearest_test_data): New variable.
31984         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
31985         (pow_towardzero_test_data): New variable.
31986         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
31987         (pow_downward_test_data): New variable.
31988         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
31989         (pow_upward_test_data): New variable.
31990         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
31991         (remainder_test_data): New variable.
31992         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
31993         (scalb_test_data): New variable.
31994         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
31995         * sysdeps/i386/fpu/libm-test-ulps: Update.
31997 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
31999         * math/libm-test.inc (fma_test): Use max_value instead of local
32000         variable fltmax.
32001         (nextafter_test): Likewise.
32003         * math/libm-test.inc (acos_towardzero_test_data): New variable.
32004         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32005         (acos_downward_test_data): New variable.
32006         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32007         (acos_upward_test_data): New variable.
32008         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32009         (acosh_test_data): New variable.
32010         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
32011         (asin_test_data): New variable.
32012         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
32013         (asin_tonearest_test_data): New variable.
32014         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32015         (asin_towardzero_test_data): New variable.
32016         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32017         (asin_downward_test_data): New variable.
32018         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32019         (asin_upward_test_data): New variable.
32020         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32021         (asinh_test_data): New variable.
32022         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
32023         (atan_test_data): New variable.
32024         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
32025         (atanh_test_data): New variable.
32026         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
32027         (cbrt_test_data): New variable.
32028         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
32029         (ceil_test_data): New variable.
32030         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
32031         (cos_test_data): New variable.
32032         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
32033         (cos_tonearest_test_data): New variable.
32034         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32035         (cos_towardzero_test_data): New variable.
32036         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32037         (cos_downward_test_data): New variable.
32038         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32039         (cos_upward_test_data): New variable.
32040         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32041         (cosh_test_data): New variable.
32042         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
32043         (cosh_tonearest_test_data): New variable.
32044         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32045         (cosh_towardzero_test_data): New variable.
32046         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32047         (cosh_downward_test_data): New variable.
32048         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32049         (cosh_upward_test_data): New variable.
32050         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32051         (erf_test_data): New variable.
32052         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
32053         (erfc_test_data): New variable.
32054         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
32055         (exp_test_data): New variable.
32056         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
32057         (exp_tonearest_test_data): New variable.
32058         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32059         (exp_towardzero_test_data): New variable.
32060         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32061         (exp_downward_test_data): New variable.
32062         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32063         (exp_upward_test_data): New variable.
32064         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32065         (exp10_test_data): New variable.
32066         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
32067         (exp2_test_data): New variable.
32068         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
32069         (expm1_test_data): New variable.
32070         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
32071         (fabs_test_data): New variable.
32072         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
32073         (floor_test_data): New variable.
32074         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
32075         (j0_test_data): New variable.
32076         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
32077         (j1_test_data): New variable.
32078         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
32079         (log_test_data): New variable.
32080         (log_test): Run tests with RUN_TEST_LOOP_f_f.
32081         (log10_test_data): New variable.
32082         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
32083         (log1p_test_data): New variable.
32084         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
32085         (log2_test_data): New variable.
32086         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
32087         (logb_test_data): New variable.
32088         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
32089         (logb_downward_test_data): New variable.
32090         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32091         (nearbyint_test_data): New variable.
32092         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
32093         (rint_test_data): New variable.
32094         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
32095         (rint_tonearest_test_data): New variable.
32096         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32097         (rint_towardzero_test_data): New variable.
32098         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32099         (rint_downward_test_data): New variable.
32100         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32101         (rint_upward_test_data): New variable.
32102         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32103         (round_test_data): New variable.
32104         (round_test): Run tests with RUN_TEST_LOOP_f_f.
32105         (sin_test_data): New variable.
32106         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
32107         (sin_tonearest_test_data): New variable.
32108         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32109         (sin_towardzero_test_data): New variable.
32110         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32111         (sin_downward_test_data): New variable.
32112         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32113         (sin_upward_test_data): New variable.
32114         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32115         (sinh_test_data): New variable.
32116         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
32117         (sinh_tonearest_test_data): New variable.
32118         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32119         (sinh_towardzero_test_data): New variable.
32120         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32121         (sinh_downward_test_data): New variable.
32122         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32123         (sinh_upward_test_data): New variable.
32124         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32125         (sqrt_test_data): New variable.
32126         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
32127         (tan_test_data): New variable.
32128         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
32129         (tan_tonearest_test_data): New variable.
32130         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32131         (tan_towardzero_test_data): New variable.
32132         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
32133         (tan_downward_test_data): New variable.
32134         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
32135         (tan_upward_test_data): New variable.
32136         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
32137         (tanh_test_data): New variable.
32138         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
32139         (tgamma_test_data): New variable.
32140         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
32141         (trunc_test_data): New variable.
32142         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
32143         (y0_test_data): New variable.
32144         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
32145         (y1_test_data): New variable.
32146         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
32147         (significand_test_data): New variable.
32148         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
32150 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
32152         [BZ #12387]
32153         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
32155 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
32157         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
32159 2013-05-10  Andreas Jaeger  <aj@suse.de>
32161         [BZ #15448]
32162         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
32163         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
32165 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32167         * math/gen-libm-test.pl (adjust_arg): New function.
32168         (special_functions): Handle generating output in both functions
32169         and arrays.
32170         (parse_args): Likewise.
32171         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
32172         $in_func argument to parse_args.
32173         * math/libm-test.inc (struct test_f_f_data): New type.
32174         (IF_ROUND_INIT_): New macro.
32175         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
32176         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
32177         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
32178         (IF_ROUND_INIT_FE_UPWARD): Likewise.
32179         (ROUND_RESTORE_): Likewise.
32180         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
32181         (ROUND_RESTORE_FE_TONEAREST): Likewise.
32182         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
32183         (ROUND_RESTORE_FE_UPWARD): Likewise.
32184         (RUN_TEST_LOOP_f_f): New macro.
32185         (acos_test_data): New variable.
32186         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
32187         (acos_tonearest_test_data): New variable.
32188         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
32190 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32192         * benchtests/bench-skeleton.c (startup): Fix coding style.
32194 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
32196         [BZ #6809]
32197         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
32198         negative infinity argument.
32199         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
32200         negative infinity argument.
32201         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
32202         negative infinity argument.
32203         * math/libm-test.inc (tgamma_test): Expect errno to be set for
32204         domain errors.
32206 2013-05-10  Florian Weimer  <fweimer@redhat.com>
32208         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
32209         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
32210         * iconv/iconv_prog.c (main): Likewise.
32211         * locale/programs/charmap-dir.c (charmap_readdir)
32212         (fopen_uncompressed): Likewise.
32213         * locale/programs/locfile.c (siblings_uncached)
32214         (write_locale_data): Use lstat64 instead of lstat.
32215         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
32216         stat.
32218 2013-05-10  Andreas Jaeger  <aj@suse.de>
32220         [BZ #15395]
32221         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
32222         localization.
32223         Include <locale.h>.
32225 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
32227         * elf/dl-close.c (_dl_close_worker): Add comments.
32229 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
32231         [BZ #15359]
32232         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
32233         high part of pi/2.
32234         (__ieee754_rem_pio2l): Update comments.
32236         [BZ #15429]
32237         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
32238         high part of pi/2.
32239         (__ieee754_rem_pio2l): Update comments.
32241         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
32242         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
32244         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
32245         M_PI_4l.
32247         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
32248         (M_PI_34_LOG10El): Likewise.
32249         (M_PI2_LOG10El): Likewise.
32250         (M_PI4_LOG10El): Likewise.
32251         (M_PI_LOG10El): Likewise.
32253 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32257 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
32259         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
32260         (MINUS_ZERO_INIT): Likewise.
32261         (PLUS_INFTY_INIT): Likewise.
32262         (MINUS_INFTY_INIT): Likewise.
32263         (QNAN_VALUE_INIT): Likewise.
32264         (MAX_VALUE_INIT): Likewise.
32265         (MIN_VALUE_INIT): Likewise.
32266         (MIN_SUBNORM_VALUE_INIT): Likewise.
32267         (plus_zero): Initialize with PLUS_ZERO_INIT.
32268         (minus_zero): Initialize with MINUS_ZERO_INIT.
32269         (plus_infty): Initialize with PLUS_INFTY_INIT.
32270         (minus_infty): Initialize with MINUS_INFTY_INIT.
32271         (qnan_value): Initialize with QNAN_VALUE_INIT.
32272         (max_value): Initialize with MAX_VALUE_INIT.
32273         (min_value): Initialize with MIN_VALUE_INIT.
32274         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
32276         * math/libm-test.inc (RUN_TEST_if_f): New macro.
32277         (jn_test): Use TEST_if_f instead of TEST_ff_f.
32278         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
32279         (yn_test): Use TEST_if_f instead of TEST_ff_f.
32281         * math/libm-test.inc (RUN_TEST_f_f): New macro.
32282         (RUN_TEST_2_f): Likewise.
32283         (RUN_TEST_ff_f): Likewise.
32284         (RUN_TEST_fi_f): Likewise.
32285         (RUN_TEST_fl_f): Likewise.
32286         (RUN_TEST_fff_f): Likewise.
32287         (RUN_TEST_c_f): Likewise.
32288         (RUN_TEST_f_f1): Likewise.
32289         (RUN_TEST_fF_f1): Likewise.
32290         (RUN_TEST_fI_f1): Likewise.
32291         (RUN_TEST_ffI_f1): Likewise.
32292         (RUN_TEST_c_c): Likewise.
32293         (RUN_TEST_cc_c): Likewise.
32294         (RUN_TEST_f_i): Likewise.
32295         (RUN_TEST_f_i_tg): Likewise.
32296         (RUN_TEST_ff_i_tg): Likewise.
32297         (RUN_TEST_f_b): Likewise.
32298         (RUN_TEST_f_b_tg): Likewise.
32299         (RUN_TEST_f_l): Likewise.
32300         (RUN_TEST_f_L): Likewise.
32301         (RUN_TEST_sincos): Likewise.
32302         * math/gen-libm-test.pl (new_test): Take new argument to indicate
32303         whether to show exceptions.  Do not include ");\n" in return
32304         value.
32305         (special_functions): Output call to RUN_TEST_sincos instead of
32306         check_float calls.  Update calls to new_test.
32307         (parse_args): Output call to single RUN_TEST_* macro instead of
32308         check_* calls and other assignments.  Update calls to new_test.
32310         [BZ #2546]
32311         [BZ #2560]
32312         [BZ #5159]
32313         [BZ #15426]
32314         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
32315         input to result for tgamma overflow.
32316         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
32317         (gamma_coeff): New variable.
32318         (NCOEFF): New macro.
32319         (gamma_positive): New function.
32320         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
32321         underflow here.  Use gamma_positive instead of exp (lgamma) for
32322         other arguments.
32323         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
32324         (gamma_coeff): New variable.
32325         (NCOEFF): New macro.
32326         (gammaf_positive): New function.
32327         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
32328         underflow here.  Use gamma_positive instead of exp (lgamma) for
32329         other arguments.
32330         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
32331         (gamma_coeff): New variable.
32332         (NCOEFF): New macro.
32333         (gammal_positive): New function.
32334         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
32335         underflow here.  Use gamma_positive instead of exp (lgamma) for
32336         other arguments.
32337         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
32338         (gamma_coeff): New variable.
32339         (NCOEFF): New macro.
32340         (gammal_positive): New function.
32341         (__ieee754_gammal_r): Handle positive infinity, overflow and
32342         underflow here.  Handle NaN the same as positive infinity.  Remove
32343         check x < 0xffffffff for negative integers.  Use gamma_positive
32344         instead of exp (lgamma) for other arguments.
32345         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
32346         (gamma_coeff): New variable.
32347         (NCOEFF): New macro.
32348         (gammal_positive): New function.
32349         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
32350         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
32351         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
32352         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
32353         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
32354         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
32355         * sysdeps/generic/math_private.h (__gamma_productf): New
32356         prototype.
32357         (__gamma_product): Likewise.
32358         (__gamma_productl): Likewise.
32359         * math/Makefile (libm-calls): Add gamma_product.
32360         * math/libm-test.inc (tgamma_test): Add more tests.
32361         * sysdeps/i386/fpu/libm-test-ulps: Update.
32362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32364 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
32366         * benchtests/bench-skeleton.c (main): Preheat CPU.
32368 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
32370         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
32372 2013-05-07  Roland McGrath  <roland@hack.frob.com>
32374         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
32375         and _dl_skip_args_internal.
32377 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
32379         * manual/message.texi (Message Translation): Talk about users.
32380         Message to key mapping impacts design.
32382 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32384         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
32386         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
32388         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
32389         * sysdeps/wordsize-64/glob64.c: ... here.
32391         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
32392         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
32393         New macros.
32395         * debug/getlogin_r_chk.c: Moved to ...
32396         * login/getlogin_r_chk.c: ... here.
32397         * debug/Makefile (routines): Move getlogin_r_chk to ...
32398         * login/Makefile (routines): ... here.
32399         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
32400         * login/Versions (libc: GLIBC_2.4): ... here.
32402         * io/poll.c (__poll): Renamed from poll.
32403         Add libc_hidden_def.
32404         (poll): Define as weak alias.
32406         * debug/ptsname_r_chk.c: Moved to ...
32407         * login/ptsname_r_chk.c: ... here.
32408         * debug/Makefile (routines): Move ptsname_r_chk to ...
32409         * login/Makefile (routines): ... here.
32410         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
32411         * login/Versions (libc: GLIBC_2.4): ... here.
32413         * posix/getlogin.c: Moved to ...
32414         * login/getlogin.c: ... here.
32415         * posix/getlogin_r.c: Moved to ...
32416         * login/getlogin_r.c: ... here.
32417         * posix/getlogin_r.c: Moved to ...
32418         * login/getlogin_r.c: ... here.
32419         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
32420         * login/Makefile (routines): ... here.
32421         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
32422         * login/Versions (libc: GLIBC_2.0): ... here.
32424         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
32425         (setrlimit): Define as weak alias.
32427         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
32428         Call __ names for open, ftruncate, and close.
32429         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
32430         (truncate): Define as weak alias.
32432 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
32434         * math/gen-libm-test.pl (parse_args): Initialize x before each
32435         test of frexp, modf and remquo.
32437         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
32438         test signgam value.
32440 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32442         [BZ #15418]
32443         [BZ #15419]
32444         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
32445         internal tests.
32446         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
32448 2013-05-06  Roland McGrath  <roland@hack.frob.com>
32450         * elf/dl-writev.h: New file.
32451         * elf/dl-misc.c: Include it.
32452         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
32453         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
32455 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
32457         * math/libm-test.inc (noXFails): Remove variable.
32458         (noXPasses): Likewise.
32459         (BUILD_COMPLEX_INT): Remove macro.
32460         (print_screen): Remove xfail argument.
32461         (print_screen_max_error): Likewise.
32462         (update_stats): Likewise.
32463         (print_max_error): Likewise.  Update calls to other affected
32464         functions.
32465         (print_complex_max_error): Likewise.
32466         (test_single_exception): Update calls to print_screen.
32467         (test_single_errno): Likewise.
32468         (check_float_internal): Remove xfail argument.  Update calls to
32469         other affected functions.
32470         (check_float): Likewise.
32471         (check_complex): Likewise.
32472         (check_int): Likewise.
32473         (check_long): Likewise.
32474         (check_bool): Likewise.
32475         (check_longlong): Likewise.
32476         (main): Don't print noXFails and noXPasses.
32477         * math/gen-libm-test.pl (top level): Don't mention expected
32478         failure handling in comment.
32479         (new_test): Don't handle expected failures.
32480         (parse_args): Don't mention expected failure handling in comment.
32481         (generate_testfile): Don't handle expected failures.
32482         (parse_ulps): Likewise.
32483         (print_ulps_file): Likewise.
32484         (get_failure): Remove function.
32485         (output_test): Don't handle expected failures.
32486         * make/README.libm-test: Don't mention expected failure handling.
32488         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
32489         (minus_zero): Likewise.
32490         (plus_infty): Likewise.
32491         (minus_infty): Likewise.
32492         (qnan_value): Likewise.
32493         (max_value): Likewise.
32494         (min_value): Likewise.
32495         (min_subnorm_value): Likewise.
32496         (initialize): Do not initialize those variables dynamically.
32498 2013-05-03  Roland McGrath  <roland@hack.frob.com>
32500         * io/open.c (__open_2): Moved to ...
32501         * io/open_2.c: ... this new file.
32502         * io/open64.c (__open64_2): Moved to ...
32503         * io/open64_2.c: ... this new file.
32504         * io/openat.c (__openat_2): Moved to ...
32505         * io/openat_2.c: ... this new file.
32506         * io/openat64.c (__openat64_2): Moved to ...
32507         * io/openat64_2.c: ... this new file.
32508         * io/Makefile (routines): Add them.
32509         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
32510         * sysdeps/unix/sysv/linux/open_2.c: File removed.
32511         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
32512         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
32513         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
32514         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
32515         (__openat64): Add hidden_ver.
32516         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
32517         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
32519         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
32520         Separately conditionalize setting of GLRO(dl_sysinfo) so
32521         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
32522         as well, but the actual setting is only under [NEED_DL_SYSINFO].
32524 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32526         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
32527         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
32528         definition.
32529         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
32530         * sysdeps/unix/sysv/linux/powerpc/init-first.c
32531         (_libc_vdso_platform_setup): Add __vdso_time initialization.
32532         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
32533         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
32535 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
32537         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
32538         test signgam value.
32540         * math/libm-test.inc (hypot_test): Do not use
32541         IGNORE_ZERO_INF_SIGN.
32543 2013-05-03  Andreas Jaeger  <aj@suse.de>
32545         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
32546         Linux 3.9.
32547         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
32548         (PF_MAX): Adjust for VSOCK change.
32550 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32554 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
32556         [BZ #15264]
32557         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
32558         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
32559         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
32561 2013-05-02  David S. Miller  <davem@davemloft.net>
32563         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32565 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
32567         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
32569 2013-05-01  Roland McGrath  <roland@hack.frob.com>
32571         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
32573 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
32575         [BZ #14952]
32576         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
32577         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32578         Use __attribute__ ((__gnu_inline__)).
32579         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
32580         Don't use __attribute__ ((__gnu_inline__)).
32582 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
32584         [BZ #15423]
32585         * math/s_catan.c (__catan): Handle small real or imaginary part of
32586         input specially to avoid spurious underflow.
32587         * math/s_catanf.c (__catanf): Likewise.
32588         * math/s_catanh.c (__catanh): Likewise.
32589         * math/s_catanhf.c (__catanhf): Likewise.
32590         * math/s_catanhl.c (__catanhl): Likewise.
32591         * math/s_catanl.c (__catanl): Likewise.
32592         * math/libm-test.inc (catan_test): Add more tests.
32593         (catanh_test): Likewise.
32594         * sysdeps/i386/fpu/libm-test-ulps: Update.
32595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32597 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32599         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32601 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
32603         [BZ #15416]
32604         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
32605         accurately for denominator in atan2.
32606         * math/s_catanf.c (__catanf): Likewise.
32607         * math/s_catanh.c (__catanh): Likewise.
32608         * math/s_catanhf.c (__catanhf): Likewise.
32609         * math/s_catanhl.c (__catanhl): Likewise.
32610         * math/s_catanl.c (__catanl): Likewise.
32611         * math/libm-test.inc (catan_test): Add more tests.
32612         (catanh_test): Likewise.
32613         * sysdeps/i386/fpu/libm-test-ulps: Update.
32614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32616 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
32618         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
32620         * benchtests/Makefile (bench): Remove slow benchmarks.
32621         * benchtests/atan-inputs: Add slow benchmark inputs.
32622         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
32623         (BENCH_FUNC): Accept variant offset.
32624         (VARIANT): Define.
32625         * benchtests/bench-skeleton.c (main): Run benchmark for each
32626         variant.
32627         * benchtests/cos-inputs: Add slow benchmark inputs.
32628         * benchtests/exp-inputs: Likewise.
32629         * benchtests/pow-inputs: Likewise.
32630         * benchtests/sin-inputs: Likewise.
32631         * benchtests/slowatan-inputs: Remove.
32632         * benchtests/slowatan.c: Remove.
32633         * benchtests/slowcos-inputs: Remove.
32634         * benchtests/slowcos.c: Remove.
32635         * benchtests/slowexp-inputs: Remove.
32636         * benchtests/slowexp.c: Remove.
32637         * benchtests/slowpow-inputs: Remove.
32638         * benchtests/slowpow.c: Remove.
32639         * benchtests/slowsin-inputs: Remove.
32640         * benchtests/slowsin.c: Remove.
32641         * benchtests/slowtan-inputs: Remove.
32642         * benchtests/slowtan.c: Remove.
32643         * benchtests/tan-inputs: Add slow benchmark inputs.
32644         * scripts/bench.pl: Parse comments and directives.
32646         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
32647         in CPPFLAGS.
32648         ($(objpfx)bench-%.c): Remove *-ITER.
32649         * benchtests/bench-modf.c: Remove definition of ITER.
32650         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
32651         (main): Loop for DURATION seconds instead of fixed number of
32652         iterations.
32653         * scripts/bench.pl: Don't expect iterations in parameters.
32655 2013-04-29  Roland McGrath  <roland@hack.frob.com>
32657         * io/fchdir.c (__fchdir): Renamed from fchdir.
32658         (fchdir): Define as weak alias.
32660 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32662         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
32663         (ERRNO_EDOM): Likewise.
32664         (ERRNO_ERANGE): Likewise.
32665         (noErrnoTests): New variable.
32666         (init_max_error): Set errno to 0.
32667         (test_single_errno): New function.
32668         (test_errno): Likewise.
32669         (check_float_internal): Call test_errno.  Set errno to 0.
32670         (check_complex): Refer to errno tests in comment.
32671         (check_int): Call test_errno.  Set errno to 0.
32672         (check_long): Likewise.
32673         (check_bool): Likewise.
32674         (check_longlong): Likewise.
32675         (cos_test): Use ERRNO_* flags for errno tests instead of
32676         check_int.
32677         (expm1_test): Likewise.
32678         (fmod_test): Likewise.
32679         (ilogb_test): Likewise.
32680         (lgamma_test): Likewise.
32681         (pow_test): Likewise.
32682         (remainder_test): Likewise.
32683         (sin_test): Likewise.
32684         (tan_test): Likewise.
32685         (yn_test): Likewise.
32686         (initialize): Set errno to 0.
32687         (main): Print number of errno tests.
32688         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
32690 2013-04-29  Andreas Jaeger  <aj@suse.de>
32692         [BZ #15084]
32693         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
32694         and RES_USEVC.
32696         [BZ #15085]
32697         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
32698         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
32699         unimplemented.
32701         [BZ #15380]
32702         * stdlib/random.c (__initstate): Return NULL if
32703         __initstate fails.
32705         [BZ #15086]
32706         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
32707         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
32708         RES_SNGLKUPREOP.
32710 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32714 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
32716         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
32717         of individual tests.
32718         (casin_test): Likewise.
32719         (casinh_test): Likewise.
32721 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
32723         [BZ #15409]
32724         * math/s_catan.c (__catan): Handle arguments with large real or
32725         imaginary part separately without squaring.
32726         * math/s_catanf.c (__catanf): Likewise.
32727         * math/s_catanh.c (__catanh): Likewise.
32728         * math/s_catanhf.c (__catanhf): Likewise.
32729         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32730         and redefine.
32731         (__catanhl): Handle arguments with large real or imaginary part
32732         separately without squaring.
32733         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32734         and redefine.
32735         (__catanl): Handle arguments with large real or imaginary part
32736         separately without squaring.
32737         * math/libm-test.inc (catan_test): Add more tests.
32738         (catanh_test): Likewise.
32739         * sysdeps/i386/fpu/libm-test-ulps: Update.
32740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32742 2013-04-27  Andreas Jaeger  <aj@suse.de>
32744         [BZ #15007]
32745         * stdlib/stdlib.h: Update guards for qecvt.
32746         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
32747         <stdlib.h>.
32749 2013-04-27  Allan McRae  <allan@archlinux.org>
32751         * sysdeps/i386/fpu/libm-test-ulps: Update.
32753 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
32755         [BZ #15406]
32756         * math/s_catan.c: Include <float.h>.
32757         (__catan): Ensure underflow exception occurs for underflowed
32758         result.
32759         * math/s_catanf.c: Include <float.h>.
32760         (__catanf): Ensure underflow exception occurs for underflowed
32761         result.
32762         * math/s_catanh.c: Include <float.h>.
32763         (__catanh): Ensure underflow exception occurs for underflowed
32764         result.
32765         * math/s_catanhf.c: Include <float.h>.
32766         (__catanhf): Ensure underflow exception occurs for underflowed
32767         result.
32768         * math/s_catanhl.c: Include <float.h>.
32769         (__catanhl): Ensure underflow exception occurs for underflowed
32770         result.
32771         * math/s_catanl.c: Include <float.h>.
32772         (__catanl): Ensure underflow exception occurs for underflowed
32773         result.
32774         * math/libm-test.inc (catan_test): Add more tests.
32775         (catanh_test): Likewise.
32777         [BZ #15405]
32778         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
32779         underflowed result.
32780         * math/s_ccoshf.c (__ccoshf): Likewise.
32781         * math/s_ccoshl.c (__ccoshl): Likewise.
32782         * math/s_csin.c (__csin): Likewise.
32783         * math/s_csinf.c (__csinf): Likewise.
32784         * math/s_csinh.c (__csinh): Likewise.
32785         * math/s_csinhf.c (__csinhf): Likewise.
32786         * math/s_csinhl.c (__csinhl): Likewise.
32787         * math/s_csinl.c (__csinl): Likewise.
32788         * math/libm-test.inc (ccos_test): Add more tests.
32789         (ccosh_test): Likewise.
32790         (csin_test): Likewise.
32791         (csinh_test): Likewise.
32793 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32795         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
32796         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
32797         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
32798         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
32799         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
32800         powerpc/power5+/fpu folders.
32801         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
32804 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
32806         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32808 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
32810         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
32811         additions to variable.
32812         [$(config-machine) = x86_64] (modules-names): Likewise.
32813         ($(objpfx)tst-audit3): Remove dependency.
32814         ($(objpfx)tst-audit3.out): Likewise.
32815         ($(objpfx)tst-audit4): Likewise.
32816         ($(objpfx)tst-audit4.out): Likewise.
32817         ($(objpfx)tst-audit5): Likewise.
32818         ($(objpfx)tst-audit5.out): Likewise.
32819         ($(objpfx)tst-audit6): Likewise.
32820         ($(objpfx)tst-audit6.out): Likewise.
32821         ($(objpfx)tst-audit7): Likewise.
32822         ($(objpfx)tst-audit7.out): Likewise.
32823         (tst-audit3-ENV): Remove variable.
32824         (tst-audit4-ENV): Likewise.
32825         (tst-audit5-ENV): Likewise.
32826         (tst-audit6-ENV): Likewise.
32827         (tst-audit7-ENV): Likewise.
32828         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
32829         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
32830         addition to variable.
32831         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
32832         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
32833         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
32834         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
32835         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
32836         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
32837         tst-audit3, tst-audit4 and tst-audit5.
32838         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
32839         tst-audit6 and tst-audit7.
32840         [$(subdir) = elf] (modules-names): Add audit modules for those
32841         tests.
32842         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
32843         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
32844         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
32845         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
32846         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
32847         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
32848         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
32849         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
32850         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
32851         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
32852         [$(subdir) = elf] (tst-audit3-ENV): New variable.
32853         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
32854         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
32855         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
32856         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
32857         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
32858         Likewise.
32859         [$(subdir) = elf && $(config-cflags-avx) = yes]
32860         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
32861         [$(subdir) = elf && $(config-cflags-avx) = yes]
32862         (CFLAGS-tst-auditmod4a.c): Likewise.
32863         [$(subdir) = elf && $(config-cflags-avx) = yes]
32864         (CFLAGS-tst-auditmod4b.c): Likewise.
32865         [$(subdir) = elf && $(config-cflags-avx) = yes]
32866         (CFLAGS-tst-auditmod6b.c): Likewise.
32867         [$(subdir) = elf && $(config-cflags-avx) = yes]
32868         (CFLAGS-tst-auditmod6c.c): Likewise.
32869         [$(subdir) = elf && $(config-cflags-avx) = yes]
32870         (CFLAGS-tst-auditmod7b.c): Likewise.
32871         * elf/tst-audit3.c: Move to ...
32872         * sysdeps/x86_64/tst-audit3.c: ... here.
32873         * elf/tst-audit4.c: Move to ...
32874         * sysdeps/x86_64/tst-audit4.c: ... here.
32875         * elf/tst-audit5.c: Move to ...
32876         * sysdeps/x86_64/tst-audit5.c: ... here.
32877         * elf/tst-audit6.c: Move to ...
32878         * sysdeps/x86_64/tst-audit6.c: ... here.
32879         * elf/tst-audit7.c: Move to ...
32880         * sysdeps/x86_64/tst-audit7.c: ... here.
32881         * elf/tst-auditmod3a.c: Move to ...
32882         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
32883         * elf/tst-auditmod3b.c: Move to ...
32884         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
32885         * elf/tst-auditmod4a.c: Move to ...
32886         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
32887         * elf/tst-auditmod4b.c: Move to ...
32888         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
32889         * elf/tst-auditmod5a.c: Move to ...
32890         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
32891         * elf/tst-auditmod5b.c: Move to ...
32892         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
32893         * elf/tst-auditmod6a.c: Move to ...
32894         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
32895         * elf/tst-auditmod6b.c: Move to ...
32896         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
32897         * elf/tst-auditmod6c.c: Move to ...
32898         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
32899         * elf/tst-auditmod7a.c: Move to ...
32900         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
32901         * elf/tst-auditmod7b.c: Move to ...
32902         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
32904 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
32906         [BZ #15366]
32907         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
32908         define unconditionally.
32909         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
32910         define unconditionally.
32911         (INT8_C, INT16_C, etc.): Likewise.
32913 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
32915         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
32916         __ehdr_start with hidden visibility.
32918         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
32920 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
32922         * math/libm-test.inc (cos_test): Use accurate hex constants.
32923         (sincost_test): Likewise.
32925 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
32927         * math/libm-test.inc (catan_test): Add more tests.
32928         (catanh_test): Likewise.
32930         * math/s_catanf.c (__catanf): Use suffixed floating-point
32931         constants.
32932         * math/s_catanhf.c (__catanhf): Likewise.
32933         * math/s_catanhl.c (__catanhl): Likewise.
32934         * math/s_catanl.c (__catanl): Likewise.
32936         [BZ #15394]
32937         * math/s_catan.c (__catan): Calculate imaginary part of result
32938         with log1p not log unless computing log of number close to 0.
32939         * math/s_catanf.c (__catanf): Likewise.
32940         * math/s_catanl.c (__catanl): Likewise.
32941         * math/s_catanh.c (__catanh): Calculate real part of result with
32942         log1p not log unless computing log of number close to 0.
32943         * math/s_catanhf.c (__catanhf): Likewise.
32944         * math/s_catanhl.c (__catanhl): Likewise.
32945         * math/libm-test.inc (catan_test): Add more tests.
32946         (catanh_test): Likewise.
32947         * sysdeps/i386/fpu/libm-test-ulps: Update.
32948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32950 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32952         * benchtests/Makefile: Mention files in which fast and slow
32953         paths of math functions are implemented.
32955 2013-04-23  Roland McGrath  <roland@hack.frob.com>
32957         * sysdeps/posix/timespec_get.c: New file.
32959 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32961         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
32962         POWER.
32963         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
32964         for POWER.
32965         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
32966         powerpc/power5/fpu folders.
32967         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
32968         * benchtests/Makefile: Add modf testcase.
32969         * benchtests/bench-modf.c: New file: Benchmark test for mo
32971 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
32973         [BZ #14888]
32974         * time/Makefile (tests): Add tst-strptime-whitespace.
32975         * time/strptime_l.c (get_number): Use ISSPACE.
32976         (__strptime_internal): Likewise.
32977         * time/tst-strptime-whitespace.c: New test case.
32979 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
32981         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
32982         member.
32983         (_nss_files_init): Set it here.
32985 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
32987         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
32988         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
32989         unsigned.
32991 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
32993         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
32995 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
32997         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
32998         size just once.
33000 2013-04-21  David S. Miller  <davem@davemloft.net>
33002         * po/ru.po: Update Russion translation from translation project.
33004 2013-04-17  Adam Conrad  <adconrad@0c3.net>
33006         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
33007         and setfsgid.
33009 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
33011         * configure.in: Remove i386 configure warning. Remove i386 case.
33012         * configure: Regenerate.
33013         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
33014         Add example to error message.
33015         * sysdeps/i386/configure: Regenerate.
33017 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
33019         * benchtests/Makefile (bench): Add cos, tan, slowcos and
33020         slowtan.
33021         * benchtests/cos-inputs: New file.
33022         * benchtests/slowcos-inputs: New file.
33023         * benchtests/slowcos.c: New file.
33024         * benchtests/slowtan-inputs: New file.
33025         * benchtests/slowtan.c: New file.
33026         * benchtests/tan-inputs: New file.
33028 2013-04-16  Roland McGrath  <roland@hack.frob.com>
33030         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
33031         considered kosher.
33033 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33035         * benchtests/Makefile: Include cppflags-iterator.mk to add
33036         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
33038         * Makefile.in (bench-clean): New target.
33039         * benchtests/Makefile (bench-clean): Likewise.
33041 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
33043         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
33045 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
33047         * stdio-common/tstdiomisc.c: Fix coding-style violation.
33049 2013-04-15  Andreas Schwab  <schwab@suse.de>
33051         * nscd/grpcache.c (cache_addgr): Properly check for short write.
33052         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33053         * nscd/pwdcache.c (cache_addpw): Likewise.
33054         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
33055         more than recsize.
33057 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33059         * benchtests/Makefile (bench): Write all output to
33060         bench-out.tmp together.
33062 2013-04-15  Andreas Schwab  <schwab@suse.de>
33064         * nscd/nscd.c (main): Don't fork again after closing files.
33066 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33068         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
33070         * benchtests/Rules (bench-deps): Collect dependencies into a
33071         single variable.  Add Makefile to dependencies.
33072         ($(objpfx)bench-%.c): Depend on bench-deps.
33074 2013-04-12  Roland McGrath  <roland@hack.frob.com>
33075             Xavier Roche  <roche+kml2@exalead.com>
33077         [BZ #15361]
33078         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
33079         just that it's a file descriptor.
33080         * manual/llio.texi (Synchronizing AIO Operations): Update description
33081         for EBADF error from aio_fsync.
33083 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
33085         * Rules (bench): Move target definition...
33086         * benchtests/Makefile: ... here.
33088 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
33090         * math/libm-test.inc (cos_test): Fix PI/2 test.
33091         (sincos_test): Likewise.
33092         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
33093         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
33095 2013-04-11  Andreas Schwab  <schwab@suse.de>
33097         [BZ #13988]
33098         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
33099         accept exponent character only when digits were seen.
33100         * stdio-common/Makefile (tests): Add bug26.
33101         * stdio-common/bug26.c: New file.
33103         [BZ #14293]
33104         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
33105         non-freeable.
33107 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33109         * Makeconfig (rtld-prefix): Define built linker prefix.
33110         * Rules (run-bench): Use it.
33111         * math/Makefile (run-regen-ulps): Likewise.
33113         * Rules (bench): Remove eval.
33115 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33116             Roland McGrath  <roland@hack.frob.com>
33117             Ondrej Bilka  <neleai@seznam.cz>
33119         [BZ #15346]
33120         * time/getdate.c: Include ctype.h and alloca.h.
33121         (__getdate_r): Trim leading and trailing spaces of input.
33122         * time/tst-getdate.c (tests): Add tests with leading and
33123         trailing spaces.
33125 2013-04-08  Roland McGrath  <roland@hack.frob.com>
33127         [BZ #14280]
33128         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
33129         when computing value.
33131 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33133         * math/README.libm-test (How can I generate "libm-test-ulps"?):
33134         Use testrun.sh to run libm tests.
33136         [BZ #15309]
33137         * elf/dl-open.c (dl_open_worker): memset all of seen array.
33139 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
33141         [BZ #15264]
33142         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
33144 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33146         * Makefile.in (regen-ulps): New target.
33147         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
33148         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
33149         [ifneq (no,$(PERL)] (regen-ulps): New target.
33150         [ifeq (no,$(PERL)] (regen-ulps): New target.
33151         * math/libm-test.inc (ulps_file_name): Define.
33152         (output_dir): New variable.
33153         (options): Add "output-dir" option.
33154         (parse_opt): Handle 'o' case.
33155         (main): If output_dir is non-NULL use it as a prefix
33156         otherwise use "".
33157         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
33159 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33161         [BZ #10060, #10062]
33162         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
33163         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
33164         fail configure if __sync_val_compare_and_swap is not inlined.
33165         * sysdeps/i386/configure: Regenerate.
33166         * configure.in: Build for i686 when configured for i386.
33167         * configure: Regenerate.
33168         * README: Remove i386 reference.
33170 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
33172         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
33173         * sysdeps/s390/s390-64/sysdep.h: Likewise.
33175 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33177         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
33178         (lmsnanval): New variables.
33179         (F): Add conversion tests.
33180         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
33181         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
33183         * stdio-common/tstdiomisc.c (F): Properly collect individual
33184         tests' results.
33186         [BZ #14686, #15336]
33187         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
33188         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
33189         Instead, use input NaN values or generate a qNaN by arithmetic
33190         operation.  Also fix bugs to comply with the standard.
33191         * math/libm-test.inc (remainder_test): Add more tests.
33193         [BZ #15335, #15342]
33194         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
33195         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
33196         input NaN values or generate a qNaN by arithmetic operation.
33198         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
33199         unreachable code.
33201         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
33202         definitions.
33204 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
33206         [BZ #14478]
33207         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
33208         underflowed result.
33209         * math/s_cexpf.c (__cexpf): Likewise.
33210         * math/s_cexpl.c (__cexpl): Likewise.
33211         * math/libm-test.inc (cexp_test): Add more tests.
33213 2013-04-03  Andreas Schwab  <schwab@suse.de>
33215         [BZ #15330]
33216         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
33217         order arrays from heap if bigger than alloca cutoff.
33219 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
33221         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
33222         (SNAN_TESTS_double): Refer to GCC PR56831.
33223         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
33224         GCC PR56828.
33226 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
33228         * Rules (bench): Move bench.out after the run is complete.
33230         * Rules (bench): Echo currently running benchmark.
33232         * benchtests/Makefile (bench): Add atan and slowatan.
33233         * benchtests/atan-inputs: New file.
33234         * benchtests/slowatan-inputs: New file.
33235         * benchtests/slowatan.c: New file.
33237         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
33238         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
33239         its value.
33241         [BZ #15305]
33242         * sysdeps/unix/sysv/linux/kernel-features.h
33243         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
33244         __ASSUME_XFS_RESTRICTED_CHOWN.
33245         * sysdeps/unix/sysv/linux/pathconf.c
33246         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
33247         Save and restore errno.
33249 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
33251         [BZ #15327]
33252         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
33253         arguments using __kernel_casinh.
33254         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
33255         arguments using __kernel_casinhf.
33256         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
33257         arguments using __kernel_casinhl.
33258         * math/libm-test.inc (cacosh_test): Add more tests.
33259         * sysdeps/i386/fpu/libm-test-ulps: Update.
33260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33262 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33264         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
33265         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
33267         * bench/Makefile (bench): Add sin and slowsin.
33268         * benchtests/sin-inputs: New file.
33269         * benchtests/slowsin-inputs: New file.
33270         * benchtests/slowsin.c: New file.
33272         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
33273         (bench): Add slowexp and slowpow.
33274         (exp-ITER): Increase iterations.
33275         (pow-ITER): Likewise.
33276         * benchtests/exp-inputs: Change input.
33277         * benchtests/pow-inputs: Likewise.
33278         * benchtests/slowexp-inputs: New file.
33279         * benchtests/slowexp.c: New file.
33280         * benchtests/slowpow-inputs: New file.
33281         * benchtests/slowpow.c: New file.
33283 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33285         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
33286         instructions.
33287         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
33288         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
33289         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33290         * benchtests/Makefile: Add rint benchtest.
33291         * benchtests/rint-inputs: Input for rint benchtest.
33293 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33295         * Versions.def (libm): Add GLIBC_2.18.
33296         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
33297         hidden libm prototypes.
33298         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
33299         * math/Makefile (libm-calls): Add s_issignaling.
33300         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
33301         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
33302         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
33303         declaration.
33304         * math/math.h [__USE_GNU] (issignaling): New macro.
33305         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
33306         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
33307         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
33308         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
33309         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
33310         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
33311         * manual/arith.texi (issignaling): New section.
33312         * manual/libm-err-tab.pl (@all_functions): Update comment.
33313         * math/gen-libm-test.pl (parse_args): Apply special handling for
33314         issignaling.
33315         * math/libm-test.inc (print_float, issignaling_test): New
33316         functions.
33317         (check_float_internal): Add issignaling checks.
33318         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
33319         default definition.
33320         * sysdeps/powerpc/math-tests.h: New file.
33321         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
33322         tests.
33323         * math/test-snan.c (TEST_FUNC): Likewise.
33325 2013-03-30  David S. Miller  <davem@davemloft.net>
33327         * po/de.po: Update from translation team.
33329 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
33331         [BZ #10357]
33332         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33333         imaginary part less than 1.0 and real part less than 0.5
33334         specially.
33335         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33336         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33337         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
33338         (cacos_test): Add more tests.
33339         (casin_test): Likewise.
33340         (casinh_test): Likewise.
33341         * sysdeps/i386/fpu/libm-test-ulps: Update.
33342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33344 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33346         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
33347         ONE with its value.
33349         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
33350         (__pow_mp): Replace ONE and MONE with their values.
33351         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33352         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
33353         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33354         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
33355         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33356         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33358         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
33360         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
33361         (__pow_mp): Replace ZERO and MZERO with their values.
33362         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33363         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33364         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33365         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33366         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33367         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
33368         (__sqr): Likewise.
33370         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
33372         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
33374 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33376         * include/stdlib.h [!SHARED] (__call_tls_dtors):
33377         Declare with __attribute__ ((weak)).
33378         * stdlib/exit.c (__libc_atexit) [!SHARED]:
33379         Call __call_tls_dtors only if it's not NULL.
33381 2013-03-28  Roland McGrath  <roland@hack.frob.com>
33383         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
33384         didn't do it already, then set _dl_phdr and _dl_phnum based on the
33385         magic __ehdr_start linker symbol if it's defined.
33386         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
33387         them up here if it was already done.
33389         * elf/dl-support.c (_dl_phdr): Make pointer to const.
33390         (_dl_aux_init): Use const in cast when setting it.
33391         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
33392         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
33393         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
33395         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
33396         Declare them here.
33397         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
33398         * csu/libc-tls.c: Nor here.
33399         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
33401         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
33402         (__libc_message): Never call vsyslog.
33404 2013-03-28  Alan Modra  <amodra@gmail.com>
33406         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
33407         Define as empty.
33408         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
33409         Likewise.
33411 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33413         [BZ #15214]
33414         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
33415         underflow.
33416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33418 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33420         [BZ #15304]
33421         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
33422         Don't add gid passed as argument.
33424         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
33426 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
33428         [BZ #15307]
33429         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33430         imaginary part between 1.0 and 1.5 and real part less than 0.5
33431         specially.
33432         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33433         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33434         * math/libm-test.inc (cacos_test): Add more tests.
33435         (casin_test): Likewise.
33436         (casinh_test): Likewise.
33437         * sysdeps/i386/fpu/libm-test-ulps: Update.
33438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33440 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33442         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
33443         constants.
33444         (norm): Likewise.
33445         (denorm): Likewise.
33446         (__dbl_mp): Likewise.
33447         (add_magnitudes): Likewise.
33448         (sub_magnitudes): Likewise.
33449         (__add): Likewise.
33450         (__sub): Likewise.
33451         (__mul): Likewise.
33452         (__sqr): Likewise.
33453         (__inv): Likewise.
33454         (__dvd): Likewise.
33456         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
33457         commented code.
33458         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
33459         (__dubcos): Likewise.
33460         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
33461         (__ieee754_acos): Likewise.
33462         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
33463         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
33464         (__exp1): Likewise.
33465         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
33466         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
33467         (log1): Likewise.
33468         (my_log2): Likewise.
33469         (checkint): Likewise.
33470         * sysdeps/ieee754/dbl-64/e_remainder.c
33471         (__ieee754_remainder): Likewise.
33472         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
33473         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
33474         (bsloww): Likewise.
33475         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33477         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33478         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
33479         MANTISSA_STORE_T to store computations on mantissa.  Use
33480         macros for rounding and division.
33481         (denorm): Likewise.
33482         (__dbl_mp): Likewise.
33483         (add_magnitudes): Likewise.
33484         (sub_magnitudes): Likewise.
33485         (__mul): Likewise.
33486         (__sqr): Likewise.
33487         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33488         powers of two in terms of TWOPOW macro.
33489         (mp_no): Make type of mantissa as MANTISSA_T.
33490         [!RADIXI]: Define RADIXI.
33491         [!TWO52]: Define TWO52.
33492         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33494 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33496         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
33497         llroundl symbol when building for PPC32.
33499 2013-03-24  Mark H Weaver  <mhw@netris.org>
33501         * manual/arith.texi (Normalization Functions): Fix prototypes for
33502         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
33504 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33506         [BZ #13889]
33507         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
33508         high value to check if expl overflow.
33509         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
33510         to check for underflow and overflow.
33511         * math/libm-test.inc: Add exp test.
33513 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
33515         [BZ #11120]
33516         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
33517         with NOT_IN_libc.
33519 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33521         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
33522         symbol.
33524 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
33526         * math/gen-libm-test.pl (parse_args, special_functions): Properly
33527         wrap blocks consisting of several statements.
33529         * sysdeps/generic/math-tests.h: New file.
33530         * sysdeps/i386/fpu/math-tests.h: Likewise.
33531         * math/test-snan.c: Include it.
33532         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
33534 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33536         [BZ #15285]
33537         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
33538         (__ieee754_j0l): Do not improve calculations using cos of twice
33539         input for inputs above LDBL_MAX / 2.0L.
33540         (__ieee754_y0l): Likewise.
33541         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
33542         (__ieee754_j1l): Do not improve calculations using cos of twice
33543         input for inputs above LDBL_MAX / 2.0L.
33544         (__ieee754_y1l): Likewise.
33545         * math/libm-test.inc (j0_test): Add another test.
33546         (j1_test): Likewise.
33547         (y0_test): Likewise.
33548         (y1_test): Likewise.
33549         * sysdeps/i386/fpu/libm-test-ulps: Update.
33551 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33553         * Rules ($(objpfx)bench-%.c): Include code from a C source
33554         file.
33556 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
33558         [BZ #15287]
33559         * math/k_casinh.c (__kernel_casinh): Handle arguments with
33560         imaginary part 1.0 and real part less than 0.5 specially.
33561         * math/k_casinhf.c (__kernel_casinhf): Likewise.
33562         * math/k_casinhl.c (__kernel_casinhl): Likewise.
33563         * math/libm-test.inc (cacos_test): Add more tests.
33564         (casin_test): Likewise.
33565         (casinh_test): Likewise.
33566         * sysdeps/i386/fpu/libm-test-ulps: Update.
33567         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33569 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33571         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
33572         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
33574 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
33576         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
33577         * config.make.in (config-cflags-sse4): Remove variable.
33578         (config-cflags-avx): Likewise.
33579         (config-cflags-sse2avx): Likewise.
33580         (config-cflags-novzeroupper): Likewise.
33581         (config-asflags-i686): Likewise.
33582         (have-mfma4): Likewise.
33583         (have-as-vis3): Likewise.
33584         (MIG): Likewise.
33585         * configure.in (MIG): Do not AC_SUBST.
33586         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
33587         (libc_cv_cc_sse4): Do not AC_SUBST.
33588         (libc_cv_cc_avx): Likewise.
33589         (libc_cv_cc_sse2avx): Likewise.
33590         (libc_cv_cc_novzeroupper): Likewise.
33591         (libc_cv_cc_fma4): Likewise.
33592         (libc_cv_as_i686): Likewise.
33593         (libc_cv_sparc_as_vis3): Likewise.
33594         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
33595         LIBC_CONFIG_VAR.
33596         (config-asflags-i686): Likewise.
33597         (config-cflags-avx): Likewise.
33598         (config-cflags-sse2avx): Likewise.
33599         (have-mfma4): Likewise.
33600         (config-cflags-novzeroupper): Likewise.
33601         * sysdeps/mach/configure.in (MIG): Likewise.
33602         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
33603         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
33604         LIBC_CONFIG_VAR.
33605         (config-cflags-avx): Likewise.
33606         (config-cflags-sse2avx): Likewise.
33607         (have-mfma4): Likewise.
33608         (config-cflags-novzeroupper): Likewise.
33609         * configure: Regenerated.
33610         * sysdeps/i386/configure: Likewise.
33611         * sysdeps/mach/configure: Likewise.
33612         * sysdeps/sparc/configure: Likewise.
33613         * sysdeps/x86_64/configure: Likewise.
33615 2013-03-20  Roland McGrath  <roland@hack.frob.com>
33617         [BZ #14812]
33618         * locale/programs/localedef.c (options): Put N_ translation marker
33619         on argument names, not just descriptions.
33621 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33623         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
33625 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
33627         [BZ #14176]
33628         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
33630 2013-03-19  Roland McGrath  <roland@hack.frob.com>
33632         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
33633         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
33634         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
33635         [!BEFORE_ABORT] (before_abort): New function.
33636         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
33637         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
33638         (writev_for_fatal): New function.
33639         (WRITEV_FOR_FATAL): New macro; call that.
33640         (backtrace_and_maps): New function.
33641         (BEFORE_ABORT): New macro; call that.
33642         (struct str_list): Type removed.
33643         (__libc_message, __libc_fatal): Functions removed.
33644         Include <sysdeps/posix/libc_fatal.c> instead.
33646 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
33648         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
33649         constants.
33650         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
33651         double constants.
33653 2013-03-19  Andreas Schwab  <schwab@suse.de>
33655         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
33656         * sysdeps/gnu/configure: Regenerate.
33658         * configure.in: Substitute libc_cv_rtlddir.
33659         * configure: Regenerate.
33660         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
33661         * Makeconfig (rtlddir, inst_rtlddir): New variables.
33662         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
33663         * elf/Makefile (install-others, CFLAGS-interp.c)
33664         (ldso_install, common-ldd-rewrite): Likewise.
33665         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
33666         $(inst_slibdir)/$(rtld-installed-name).
33667         * scripts/rellns-sh: Add -p option.
33668         * Makerules (make-shlib-link): Use rellns-sh to get relative name
33669         for source.
33671 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33673         * manual/nptl.texi: Renamed to ...
33674         * manual/threads.texi: ... this.
33675         * manual/Makefile (chapters): Update.
33677 2013-03-18  Roland McGrath  <roland@hack.frob.com>
33679         [BZ #14812]
33680         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
33681         on argument names, not just descriptions.
33682         * malloc/memusagestat.c (options): Likewise.
33683         * nss/getent.c (options): Likewise.
33685 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
33687         [BZ #14812]
33688         * iconv/iconv_prog.c (options): Put N_ translation marker
33689         on argument names, not just descriptions.
33690         * iconv/iconvconfig.c (options): Likewise.
33692 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
33694         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
33695         implementation which is faster on all x86_64 architectures.
33696         Tested on AMD, Intel Nehalem, SNB, IVB.
33697         * sysdeps/x86_64/strnlen.S: Likewise.
33699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
33700         Remove all multiarch strlen and strnlen versions.
33701         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
33702         Remove strlen and strnlen related parts.
33704         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
33705         Inline strlen part.
33706         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33708         * sysdeps/x86_64/multiarch/strlen.S: Remove.
33709         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
33710         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
33711         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
33712         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33713         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
33715 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
33717         * manual/memory.texi (Malloc Tunable Parameters):
33718         Sort parameters alphabetically. Add comments for missing entries.
33720 2013-03-17  David S. Miller  <davem@davemloft.net>
33722         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33724 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
33726         [BZ #15283]
33727         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
33728         for arguments at most half maximum finite value.
33729         * math/libm-test.inc (j0_test): Add more tests.
33730         (j1_test): Likewise.
33731         (y0_test): Likewise.
33732         (y1_test): Likewise.
33733         * sysdeps/i386/fpu/libm-test-ulps: Update.
33734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33736         [BZ #14155]
33737         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
33738         1 / x and functions P and Q for arguments above 0x1p256L.
33739         (__ieee754_y0l): Likewise.
33740         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
33741         (__ieee754_y1l): Likewise.
33742         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
33743         (j1_test): Likewise.
33744         (y0_test): Likewise.
33745         (y1_test): Likewise.
33747 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
33749         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
33750         variable.
33752 2013-03-15  Roland McGrath  <roland@hack.frob.com>
33754         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
33755         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
33756         zero since it's initialized to EXEC_PAGESIZE.
33758         * sysdeps/unix/sysv/linux/ldsodefs.h
33759         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
33760         * sysdeps/generic/ldsodefs.h: ... here.
33762 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
33764         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
33766         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
33767         math/test-snan.c.
33768         * math/test-snan.c: Renamed from
33769         sysdeps/powerpc/fpu/test-powerpc-snan.c.
33770         * math/Makefile (tests): Add test-snan.
33771         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
33772         test-powerpc-snan.
33774         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
33775         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
33776         functions.
33777         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
33778         __builtin_nan family of functions.
33779         * math/libm-test.inc (initialize): Initialize qnan_value with
33780         __builtin_nan family of functions.
33781         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
33782         Remove variables.
33783         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
33784         Remove functions.
33785         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
33786         storage class.  Initialize qNaN_var and sNaN_var with
33787         __builtin_nan and __builtin_nans families of functions,
33788         respectively.
33790         * math/libm-test.inc (acosh_test): Also test with qNaN input.
33791         (sqrt_test): Remove duplicate test with qNaN input.
33792         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
33793         (round_test, signbit_test, significand_test): Note missing +/-Inf
33794         as well as qNaN tests.
33796         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
33797         qNaN_var.  Fix a few strings, too.
33798         * math/libm-test.inc (nan_value): Rename to qnan_value.
33799         * math/gen-libm-test.pl (%beautify): Adjust to that.
33800         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
33801         * math/test-misc.c (main): Likewise.
33802         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
33803         to __qnan_bytes, and __qnan_union, respectively.
33804         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
33805         Likewise.
33806         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
33807         and lqnanval, respectively.
33808         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
33809         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
33810         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
33811         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
33813         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
33814         * math/test-misc.c (main) [__x86_64__]: Enable test for long
33815         doubles.
33817         * math/test-misc.c (main): Fix copy'n'pastos.
33818         * misc/tst-efgcvt.c (special): Likewise.
33820         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
33821         Remove declarations.
33823 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33825         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
33826         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
33827         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
33828         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
33830 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33832         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
33833         macro to return vdso values correctly in IFUNC implementations.
33834         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
33835         Optimization by using IFUNC.
33837 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33838             Richard Henderson  <rth@redhat.com>
33839             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33841         * Makefile.in (bench): New target.
33842         * NEWS: Mention the benchmark framework.
33843         * Rules (bench): Likewise.
33844         (binaries-bench): Generate binaries for functions to
33845         benchmark.
33846         * benchtests/Makefile: New makefile for benchmark tests.
33847         * benchtests/bench-skeleton.c: New skeleton file for benchmark
33848         programs.
33849         * benchtests/exp-inputs: New input file for EXP function.
33850         * benchtests/pow-inputs: New input file for POW function.
33851         * scripts/bench.pl: New script to generate source files for
33852         benchmark programs.
33854 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
33856         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
33857         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
33858         computations on mantissa.  Use macros for rounding and
33859         division.
33860         (denorm): Likewise.
33861         (__dbl_mp): Likewise.
33862         (add_magnitudes): Likewise.
33863         (sub_magnitudes): Likewise.
33864         (__mul): Likewise.
33865         (__sqr): Likewise.
33866         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
33867         powers of two in terms of TWOPOW macro.
33868         (mp_no): Make type of mantissa as MANTISSA_T.
33869         [!RADIXI]: Define RADIXI.
33870         [!TWO52]: Define TWO52.
33871         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
33873         * manual/nptl.texi (cindex): Modify threads to pthreads.
33875 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
33877         * sysdeps/x86_64/preconfigure: Regenerated.
33879 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
33881         [BZ #14155]
33882         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
33883         0x1p28 and above.
33884         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
33885         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
33886         0x1p28 and above.
33887         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
33888         * math/libm-test.inc (j0_test): Do not allow one spurious
33889         underflow exception.
33890         (y1_test): Likewise.
33892 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33894         * manual/Makefile (chapters): Add nptl.
33895         * manual/debug.texi (Debugging Support): Add link to Threads
33896         chapter.
33897         * manual/nptl.texi: New file.
33899         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
33901 2013-03-14  Petr Baudis  <pasky@ucw.cz>
33903         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
33904         for non-NULL pointer before the memory validity test. Pointed
33905         out by Holger Brunck <holger.brunck@keymile.com>.
33907 2013-03-13  Andreas Schwab  <schwab@suse.de>
33909         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
33910         instead of .os.
33912 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
33914         * timezone/zic.c: Update from tzcode 2013b.
33916 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
33918         * manual/install.texi (Configuring and compiling):
33919         Mention i686 and i586.
33920         * INSTALL: Regenerate.
33922 2013-03-12  Roland McGrath  <roland@hack.frob.com>
33924         * sysdeps/init_array/elf-init.c: New file.
33925         * csu/elf-init.c
33926         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
33927         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
33929         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
33930         __gmon_start__ as global, but as static with a .preinit_array pointer.
33931         * sysdeps/init_array/gmon-start.c: New file.  Use that.
33932         * sysdeps/init_array/crti.S: New file, empty except for comments.
33933         * sysdeps/init_array/crtn.S: Likewise.
33935 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
33937         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
33938         definining bcopy.
33939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33940         Remove Prefer_SSE_for_memop.
33941         * sysdeps/x86_64/multiarch/init-arch.h: Remove
33942         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
33943         HAS_PREFER_SSE_FOR_MEMOP.
33944         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
33945         memset-x86-64.
33946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
33947         Remove bzero, memset ifunc support.
33948         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
33949         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
33950         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33951         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33953 2013-03-11  Andreas Schwab  <schwab@suse.de>
33955         [BZ #15234]
33956         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
33957         by SHLIB_COMPAT.
33958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
33959         (GLIBC_2.16): Remove pthread_atfork.
33961 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
33963         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
33964         (ptestcases.h): Likewise.
33966 2013-03-08  Roland McGrath  <roland@hack.frob.com>
33968         * Makeconfig ($(common-objpfx)config.status): Depend on
33969         sysdeps/*/preconfigure{,.in} too.
33971 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
33973         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
33974         (__free_hook): Use void * instead of __malloc_ptr_t.
33975         (__malloc_hook): Likewise.
33976         (__realloc_hook): Likewise.
33977         (__memalign_hook): Likewise.
33978         (__after_morecore_hook): Likewise.
33979         * malloc/arena.c (save_malloc_hook): Likewise.
33980         (save_free_hook): Likewise.
33981         * malloc/hooks.c (malloc_hook_ini): Likewise.
33982         (realloc_hook_ini): Likewise.
33983         (memalign_hook_ini): Likewise.
33984         * malloc/malloc.c (malloc_hook_ini): Likewise.
33985         (realloc_hook_ini): Likewise.
33986         (memalign_hook_ini): Likewise.
33987         (__free_hook): Likewise.
33988         (__malloc_hook): Likewise.
33989         (__realloc_hook): Likewise.
33990         (__memalign_hook): Likewise.
33991         (__libc_malloc): Likewise.
33992         (__libc_free): Likewise.
33993         (__libc_realloc): Likewise.
33994         (__libc_memalign): Likewise.
33995         (__libc_valloc): Likewise.
33996         (__libc_pvalloc): Likewise.
33997         (__libc_calloc): Likewise.
33998         (__posix_memalign): Likewise.
33999         * malloc/morecore.c (__sbrk): Likewise.
34000         (__default_morecore): Likewise.
34002         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
34004         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
34005         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
34006         __malloc_ptrdiff_t.
34008         * malloc/malloc.h (__malloc_size_t): Remove macro.
34009         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
34010         __malloc_size_t.
34011         (old_memalign_hook): Likewise.
34012         (old_realloc_hook): Likewise.
34013         (struct hdr): Likewise.
34014         (flood): Likewise.
34015         (mallochook): Likewise.
34016         (memalignhook): Likewise.
34017         (reallochook): Likewise.
34018         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
34019         (tr_old_realloc_hook): Likewise.
34020         (tr_old_memalign_hook): Likewise.
34021         (tr_mallochook): Likewise.
34022         (tr_reallochook): Likewise.
34023         (tr_memalignhook): Likewise.
34025 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34027         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
34028         default_ldbl_pack and using as default implementation.
34029         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
34030         implementation.
34031         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
34032         redundant definition.
34033         (ldbl_insert_mantissa): Likewise.
34034         (ldbl_canonicalize): Likewise.
34035         (ldbl_nearbyint): Likewise.
34036         (ldbl_pack): Rename to ldbl_pack_ppc.
34037         (ldbl_unpack): Rename to ldbl_unpack_ppc.
34038         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
34039         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
34041 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
34044         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
34045         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
34046         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
34047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
34048         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
34049         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
34050         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
34052 2013-03-07  Andreas Jaeger  <aj@suse.de>
34054         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34055         bits/mman-linux.h.
34057 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34059         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
34060         Include mpa.h and declare __MPEXP.
34061         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
34062         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34063         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34064         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
34065         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34066         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
34067         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
34069         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
34070         (__slowpow): Use long double EXPL and LOGL functions to
34071         compute POW.
34072         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
34073         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34074         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
34075         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
34076         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
34077         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
34079         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
34080         intermediate variable to calculate exponent.
34081         (__sqr): Likewise.
34082         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
34083         Likewise.
34084         (__sqr): Likewise.
34086         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
34087         [!NO__SQR]: Define __sqr.
34088         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
34089         and NO__SQR.  Remove all code except __mul and __sqr.  Include
34090         sysdeps/ieee754/dbl-64/mpa.c.
34091         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34093         [BZ #12723]
34094         * posix/Makefile (tests): Add tst-pathconf.
34095         * posix/tst-pathconf.c: New test case.
34096         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
34097         _PC_PIPE_BUF.
34098         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
34100 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
34102         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
34104 2013-03-06  Andreas Jaeger  <aj@suse.de>
34106         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
34107         definition via __MAP_ANONYMOUS.
34109         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
34110         it's not part of Linux headers.
34112         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
34113         (MAP_HUGE_MASK): Define.
34115         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34116         Define.
34117         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34118         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34119         Define.
34120         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34121         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
34122         Define.
34123         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34124         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
34125         Define.
34126         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
34128         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
34129         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
34130         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
34131         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
34132         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
34133         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
34135         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
34136         Handle f2fs.
34138         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34139         Handle f2fs and efivarfs.
34141         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
34142         f2fs.
34144         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
34145         (EFIVARFS_MAGIC): Add.
34146         (F2FS_LINK_MAX): Add.
34148 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34150         * stdio-common/vfprintf.c: Replace __builtin_expect with
34151         __glibc_unlikely.
34153 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
34155         [BZ #13550]
34156         * sysdeps/generic/bp-sym.h: Remove file.
34157         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
34158         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
34159         <bp-sym.h> and <bp-asm.h>.
34160         (__longjmp): Don't use BP_SYM.
34161         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
34162         and <bp-asm.h>.
34163         (memcpy): Don't use BP_SYM.
34164         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
34165         <bp-sym.h> and <bp-asm.h>.
34166         (memcpy): Don't use BP_SYM.
34167         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
34168         <bp-asm.h>.
34169         (memcpy): Don't use BP_SYM.
34170         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
34171         <bp-asm.h>.
34172         (memset): Don't use BP_SYM.
34173         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34174         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34175         (__bzero): Don't use BP_SYM.
34176         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34177         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34178         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
34179         <bp-sym.h> and <bp-asm.h>.
34180         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34181         pointers.
34182         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
34183         <bp-sym.h> and <bp-asm.h>.
34184         (memcpy): Don't use BP_SYM.
34185         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
34186         <bp-sym.h> and <bp-asm.h>.
34187         (memset): Don't use BP_SYM.
34188         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34189         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34190         (__bzero): Don't use BP_SYM.
34191         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34192         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34193         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
34194         <bp-sym.h> and <bp-asm.h>.
34195         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34196         pointers.
34197         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
34198         <bp-sym.h> and <bp-asm.h>.
34199         (memcpy): Don't use BP_SYM.
34200         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
34201         <bp-sym.h> and <bp-asm.h>.
34202         (memset): Don't use BP_SYM.
34203         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34204         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34205         (__bzero): Don't use BP_SYM.
34206         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34207         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34208         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
34209         <bp-sym.h> and <bp-asm.h>.
34210         (__memchr): Don't use BP_SYM.
34211         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
34212         <bp-sym.h> and <bp-asm.h>.
34213         (memcmp): Don't use BP_SYM.  Remove comment about bounded
34214         pointers.
34215         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
34216         <bp-sym.h> and <bp-asm.h>.
34217         (memcpy): Don't use BP_SYM.
34218         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
34219         <bp-sym.h> and <bp-asm.h>.
34220         (__mempcpy): Don't use BP_SYM.
34221         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
34222         <bp-sym.h> and <bp-asm.h>.
34223         (__memrchr): Don't use BP_SYM.
34224         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
34225         <bp-sym.h> and <bp-asm.h>.
34226         (memset): Don't use BP_SYM.
34227         (__bzero): Likewise.
34228         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
34229         <bp-sym.h> and <bp-asm.h>.
34230         (__rawmemchr): Don't use BP_SYM.
34231         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
34232         <bp-sym.h> and <bp-asm.h>.
34233         (__STRCMP): Don't use BP_SYM.
34234         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
34235         <bp-sym.h> and <bp-asm.h>.
34236         (strchr): Don't use BP_SYM.
34237         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
34238         <bp-sym.h> and <bp-asm.h>.
34239         (__strchrnul): Don't use BP_SYM.
34240         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
34241         <bp-sym.h> and <bp-asm.h>.
34242         (strlen): Don't use BP_SYM.
34243         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
34244         <bp-sym.h> and <bp-asm.h>.
34245         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34246         pointers.
34247         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
34248         <bp-sym.h> and <bp-asm.h>.
34249         (__strnlen): Don't use BP_SYM.
34250         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
34251         <bp-sym.h> and <bp-asm.h>.
34252         (__GI__setjmp): Don't use BP_SYM.
34253         (_setjmp): Likewise.
34254         (__sigsetjmp): Likewise.
34255         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
34256         (L(start_addresses)): Don't use BP_SYM.
34257         (_start): Likewise.
34258         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
34259         <bp-asm.h>.
34260         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
34261         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
34262         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34263         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34264         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
34265         <bp-asm.h>.
34266         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
34267         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
34268         about bounded pointers.
34269         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34270         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34271         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
34272         <bp-asm.h>.
34273         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34274         about bounded pointers.  Remove GKM FIXME comments.
34275         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34276         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
34277         <bp-asm.h>.
34278         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
34279         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
34280         Remove GKM FIXME comments.
34281         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34282         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34283         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
34284         <bp-asm.h>.
34285         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
34286         about bounded pointers.  Remove GKM FIXME comment.
34287         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
34288         and <bp-asm.h>.
34289         (strncmp): Don't use BP_SYM.  Remove comment about bounded
34290         pointers.
34291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
34292         <bp-sym.h> and <bp-asm.h>.
34293         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
34295         <bp-sym.h> and <bp-asm.h>.
34296         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34297         comment.
34299 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34301         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
34302         call free(NULL).
34304 2013-03-05  David S. Miller  <davem@davemloft.net>
34306         * po/es.po: Update from translation team.
34308 2013-03-05  Andreas Jaeger  <aj@suse.de>
34310         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
34311         <bits/mman-linux.h>.
34312         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34313         is fine.
34314         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
34315         <bits/mman-linux.h> to end of file.
34316         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34317         is fine.
34318         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
34319         <bits/mman-linux.h> to end of file.
34320         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
34321         is fine.
34322         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
34323         <bits/mman-linux.h> to end of file.
34325         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
34326         (MCL_CURRENT, MCL_FUTURE): Define here.
34328 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34330         [BZ #15232]
34331         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
34332         attribute_hidden.
34333         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34335 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34337         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
34338         fourth parameter needed for rt_sigprocmask syscall.
34339         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
34340         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
34341         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
34342         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
34343         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
34344         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
34346 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
34348         [BZ #13550]
34349         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
34350         comment about bounded pointers.
34351         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
34352         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
34354 2013-03-04  Andreas Jaeger  <aj@suse.de>
34356         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
34357         common definitions.
34359         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
34360         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
34361         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
34362         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34363         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34364         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34366 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34368         [BZ #15055]
34369         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
34370         __ieee754_sqrl instead of __sqrl.
34372 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
34374         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
34375         * sysdeps/powerpc/fpu_control.h: ... here.
34376         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
34377         * sysdeps/powerpc/bits/fenvinline.h: ... here.
34378         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
34379         * sysdeps/powerpc/bits/mathinline.h: ... here.
34381 2013-03-01  Roland McGrath  <roland@hack.frob.com>
34383         * elf/dl-hwcaps.c (_dl_important_hwcaps):
34384         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
34385         to just [NEED_DL_SYSINFO_DSO].
34386         * elf/dl-support.c: Likewise.
34387         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34388         * elf/rtld.c (dl_main): Likewise.
34389         * elf/setup-vdso.h (setup_vdso): Likewise.
34390         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
34391         * sysdeps/unix/sysv/linux/dl-sysdep.c
34392         (_dl_discover_osversion): Likewise.
34394 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
34396         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
34397         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34399 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
34401         * NEWS: Mention libm performance improvements and non-x86 PI
34402         futex support.
34404         * csu/libc-start.c (__pthread_initialize_minimal): Change
34405         function arguments.
34406         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
34408 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
34410         [BZ #13550]
34411         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
34412         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
34413         <bp-sym.h> and <bp-asm.h>.
34414         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34415         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
34416         and <bp-asm.h>.
34417         (memcpy): Don't use BP_SYM.
34418         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
34419         <bp-asm.h>.
34420         (__mpn_add_n): Don't use BP_SYM.
34421         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
34422         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
34423         and <bp-asm.h>.
34424         (__mpn_addmul_1): Don't use BP_SYM.
34425         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34426         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
34427         <bp-sym.h>.
34428         (_setjmp): Don't use BP_SYM.
34429         (__novmx_setjmp): Likewise.
34430         (__GI__setjmp): Likewise.
34431         (__vmx_setjmp): Likewise.
34432         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
34433         <bp-sym.h>.
34434         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
34435         (__bzero): Don't use BP_SYM.
34436         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
34437         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
34438         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
34439         <bp-sym.h> and <bp-asm.h>.
34440         (memcpy): Don't use BP_SYM.
34441         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
34442         <bp-sym.h> and <bp-asm.h>.
34443         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34444         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
34445         <bp-sym.h> and <bp-asm.h>.
34446         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
34447         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
34448         <bp-asm.h>.
34449         (__mpn_lshift): Don't use BP_SYM.
34450         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34451         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
34452         <bp-asm.h>.
34453         (memset): Don't use BP_SYM.
34454         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
34455         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
34456         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
34457         <bp-asm.h>.
34458         (__mpn_mul_1): Don't use BP_SYM.
34459         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34460         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
34461         <bp-sym.h> and <bp-asm.h>.
34462         (memcmp): Don't use BP_SYM.
34463         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
34464         <bp-sym.h> and <bp-asm.h>.
34465         (memcpy): Don't use BP_SYM.
34466         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
34467         <bp-sym.h> and <bp-asm.h>.
34468         (memset): Don't use BP_SYM.
34469         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
34470         <bp-sym.h> and <bp-asm.h>.
34471         (strncmp): Don't use BP_SYM.
34472         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
34473         <bp-sym.h> and <bp-asm.h>.
34474         (memcpy): Don't use BP_SYM.
34475         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
34476         <bp-sym.h> and <bp-asm.h>.
34477         (memset): Don't use BP_SYM.
34478         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
34479         <bp-sym.h> and <bp-asm.h>.
34480         (__memchr): Don't use BP_SYM.
34481         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
34482         <bp-sym.h> and <bp-asm.h>.
34483         (memcmp): Don't use BP_SYM.
34484         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
34485         <bp-sym.h> and <bp-asm.h>.
34486         (memcpy): Don't use BP_SYM.
34487         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
34488         <bp-sym.h> and <bp-asm.h>.
34489         (__mempcpy): Don't use BP_SYM.
34490         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
34491         <bp-sym.h> and <bp-asm.h>.
34492         (__memrchr): Don't use BP_SYM.
34493         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
34494         <bp-sym.h> and <bp-asm.h>.
34495         (memset): Don't use BP_SYM.
34496         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
34497         <bp-sym.h> and <bp-asm.h>.
34498         (__rawmemchr): Don't use BP_SYM.
34499         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
34500         <bp-sym.h> and <bp-asm.h>.
34501         (__STRCMP): Don't use BP_SYM.
34502         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
34503         <bp-sym.h> and <bp-asm.h>.
34504         (strchr): Don't use BP_SYM.
34505         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
34506         <bp-sym.h> and <bp-asm.h>.
34507         (__strchrnul): Don't use BP_SYM.
34508         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
34509         <bp-sym.h> and <bp-asm.h>.
34510         (strlen): Don't use BP_SYM.
34511         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
34512         <bp-sym.h> and <bp-asm.h>.
34513         (strncmp): Don't use BP_SYM.
34514         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
34515         <bp-sym.h> and <bp-asm.h>.
34516         (__strnlen): Don't use BP_SYM.
34517         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
34518         <bp-asm.h>.
34519         (__mpn_rshift): Don't use BP_SYM.
34520         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
34521         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
34522         <bp-sym.h> and <bp-asm.h>.
34523         (__sigsetjmp): Don't use BP_SYM.
34524         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
34525         (L(start_addresses)): Don't use BP_SYM.
34526         (_start): Likewise.
34527         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
34528         <bp-asm.h>.
34529         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
34530         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34531         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34532         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
34533         <bp-asm.h>.
34534         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
34535         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
34536         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
34537         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
34538         <bp-asm.h>.
34539         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34540         comments.
34541         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
34542         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
34543         <bp-asm.h>.
34544         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
34545         FIXME comments.
34546         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
34547         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
34548         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
34549         <bp-asm.h>.
34550         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
34551         comment.
34552         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
34553         and <bp-asm.h>.
34554         (strncmp): Don't use BP_SYM,
34555         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
34556         <bp-asm.h>.
34557         (__mpn_sub_n): Don't use BP_SYM.
34558         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
34559         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
34560         and <bp-asm.h>.
34561         (__mpn_submul_1): Don't use BP_SYM.
34562         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
34563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
34564         <bp-sym.h> and <bp-asm.h>.
34565         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
34566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
34567         <bp-sym.h> and <bp-asm.h>.
34568         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
34569         comment.
34571 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34573         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
34574         Use ZK to minimize writes to Z.
34575         (sub_magnitudes): Simplify code a bit.
34576         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
34577         Use ZK to minimize writes to Z.
34578         (sub_magnitudes): Simplify code a bit.
34580 2013-02-27  Roland McGrath  <roland@hack.frob.com>
34582         * csu/gmon-start.c: Add special exception to license text.
34584 2013-02-27  Richard Henderson  <rth@redhat.com>
34586         * scripts/config.guess: Update from config.git.
34587         * scripts/config.sub: Likewise.
34589 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34591         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
34593         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
34595         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
34597         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
34599         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
34601 2013-02-26  Roland McGrath  <roland@hack.frob.com>
34603         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
34604         [$(build-shared = yes].
34606 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34608         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
34609         (__mul): Reduce iterations for calculating mantissa.
34611         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
34612         MPTWO.
34613         (__mpranred): Likewise.
34615         [BZ #15160]
34616         * malloc/memusagestat.c (main): Draw graphs for heap and stack
34617         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
34619 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
34621         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
34622         Define __attribute__.
34624 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34626         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
34627         unused.
34628         * posix/regex_internal.h (__attribute): Remove.
34629         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
34630         (re_string_context_at): Likewise.
34631         (bitset_not): Use __attribute__ and mark function as possibly
34632         unused.
34633         (bitset_merge): Likewise.
34634         (bitset_mask): Likewise.
34635         (re_string_char_size_at): Likewise.
34636         (re_string_wchar_at): Likewise.
34637         (re_string_elem_size_at): Likewise.
34639 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34641         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
34642         code.
34643         (cc32): Likewise.
34645         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
34646         (__acr): Likewise.
34647         (__cpy): Likewise.
34648         (norm): Likewise.
34649         (denorm): Likewise.
34650         (__dbl_mp): Likewise.
34651         (add_magnitudes): Likewise.
34652         (sub_magnitudes): Likewise.
34653         (__mul): Likewise.
34654         (__inv): Likewise.
34656         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
34657         style.
34659         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
34660         style.
34662         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
34663         code.
34665         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
34666         up changes with default code.
34667         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
34668         Likewise.
34670 2013-02-24  Allan McRae  <allan@archlinux.org>
34672         * manual/socket.texi (The Internet Namespace): Order menu items
34673         to match that in the file.
34675         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
34676         node listing of the info page menu.
34678 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
34680         [BZ #13550]
34681         * sysdeps/i386/bp-asm.h: Remove file.
34682         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34683         (PARMS): Do not use macros from bp-asm.h.
34684         (S1): Likewise.
34685         (S2): Likewise.
34686         (SIZE): Likewise.
34687         (__mpn_add_n): Do not use BP_SYM
34688         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
34689         "bp-asm.h".
34690         (PARMS): Do not use macros from bp-asm.h.
34691         (S1): Likewise.
34692         (SIZE): Likewise.
34693         (__mpn_addmul_1): Do not use BP_SYM
34694         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
34695         "bp-asm.h".
34696         (PARMS): Do not use macros from bp-asm.h.
34697         (SIGMSK): Likewise.
34698         (_setjmp): Likewise.  Do not use BP_SYM.
34699         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
34700         "bp-asm.h".
34701         (PARMS): Do not use macros from bp-asm.h.
34702         (SIGMSK): Likewise.
34703         (setjmp): Likewise.  Do not use BP_SYM.
34704         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
34705         "bp-asm.h".
34706         (PARMS): Do not use macros from bp-asm.h.
34707         (__frexp): Do not use BP_SYM.
34708         (frexp): Likewise.
34709         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
34710         "bp-asm.h".
34711         (PARMS): Do not use macros from bp-asm.h.
34712         (__frexpf): Do not use BP_SYM.
34713         (frexpf): Likewise.
34714         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
34715         "bp-asm.h".
34716         (PARMS): Do not use macros from bp-asm.h.
34717         (__frexpl): Do not use BP_SYM.
34718         (frexpl): Likewise.
34719         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
34720         "bp-asm.h".
34721         (PARMS): Do not use macros from bp-asm.h.
34722         (__remquo): Do not use BP_SYM.
34723         (remquo): Likewise.
34724         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
34725         "bp-asm.h".
34726         (PARMS): Do not use macros from bp-asm.h.
34727         (__remquof): Do not use BP_SYM.
34728         (remquof): Likewise.
34729         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
34730         "bp-asm.h".
34731         (PARMS): Do not use macros from bp-asm.h.
34732         (__remquol): Do not use BP_SYM.
34733         (remquol): Likewise.
34734         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
34735         "bp-asm.h".
34736         (PARMS): Do not use macros from bp-asm.h.
34737         (DEST): Likewise.
34738         (SRC): Likewise.
34739         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
34740         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
34741         "bp-asm.h".
34742         (PARMS): Do not use macros from bp-asm.h.
34743         (strlen): Do not use BP_SYM.
34744         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
34745         "bp-asm.h".
34746         (PARMS): Do not use macros from bp-asm.h.
34747         (S1): Likewise.
34748         (S2): Likewise.
34749         (SIZE): Likewise.
34750         (__mpn_add_n): Do not use BP_SYM.
34751         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
34752         "bp-asm.h".
34753         (PARMS): Do not use macros from bp-asm.h.
34754         (S1): Likewise.
34755         (SIZE): Likewise.
34756         (__mpn_addmul_1): Do not use BP_SYM.
34757         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
34758         weak_alias.
34759         (bzero): Likewise.
34760         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
34761         "bp-asm.h".
34762         (PARMS): Do not use macros from bp-asm.h.
34763         (S): Likewise.
34764         (SIZE): Likewise.
34765         (__mpn_lshift): Do not use BP_SYM.
34766         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
34767         "bp-asm.h".
34768         (PARMS): Do not use macros from bp-asm.h.
34769         (DEST): Likewise.
34770         (SRC): Likewise.
34771         (LEN): Likewise.
34772         (memcpy): Likewise.  Do not use BP_SYM.
34773         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
34774         libc_hidden_def and weak_alias.
34775         (mempcpy): Do not use BP_SYM in weak_alias.
34776         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
34777         "bp-asm.h".
34778         (PARMS): Do not use macros from bp-asm.h.
34779         (DEST): Likewise.
34780         (LEN): Likewise.
34781         [!BZERO_P] (CHR): Likewise.
34782         (memset): Likewise.  Do not use BP_SYM.
34783         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
34784         "bp-asm.h".
34785         (PARMS): Do not use macros from bp-asm.h.
34786         (S1): Likewise.
34787         (SIZE): Likewise.
34788         (__mpn_mul_1): Do not use BP_SYM.
34789         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
34790         "bp-asm.h".
34791         (PARMS): Do not use macros from bp-asm.h.
34792         (S): Likewise.
34793         (SIZE): Likewise.
34794         (__mpn_rshift): Do not use BP_SYM.
34795         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
34796         "bp-asm.h".
34797         (PARMS): Do not use macros from bp-asm.h.
34798         (STR): Likewise.
34799         (CHR): Likewise.
34800         (strchr): Likewise.  Do not use BP_SYM.
34801         (index): Do not use BP_SYM in weak_alias.
34802         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
34803         "bp-asm.h".
34804         (PARMS): Do not use macros from bp-asm.h.
34805         (DEST): Likewise.
34806         (SRC): Likewise.
34807         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
34808         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
34809         "bp-asm.h".
34810         (PARMS): Do not use macros from bp-asm.h.
34811         (strlen): Do not use BP_SYM.
34812         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
34813         "bp-asm.h".
34814         (PARMS): Do not use macros from bp-asm.h.
34815         (S1): Likewise.
34816         (S2): Likewise.
34817         (SIZE): Likewise.
34818         (__mpn_sub_n): Do not use BP_SYM.
34819         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
34820         "bp-asm.h".
34821         (PARMS): Do not use macros from bp-asm.h.
34822         (S1): Likewise.
34823         (SIZE): Likewise.
34824         (__mpn_submul_1): Do not use BP_SYM.
34825         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
34826         "bp-asm.h".
34827         (PARMS): Do not use macros from bp-asm.h.
34828         (S1): Likewise.
34829         (S2): Likewise.
34830         (SIZE): Likewise.
34831         (__mpn_add_n): Do not use BP_SYM.
34832         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
34833         weak_alias.
34834         (bzero): Likewise.
34835         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
34836         "bp-asm.h".
34837         (PARMS): Do not use macros from bp-asm.h.
34838         (BLK2): Likewise.
34839         (LEN): Likewise.
34840         (memcmp): Do not use BP_SYM.
34841         (bcmp): Do not use BP_SYM in weak_alias.
34842         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
34843         "bp-asm.h".
34844         (PARMS): Do not use macros from bp-asm.h.
34845         (DEST): Likewise.
34846         (SRC): Likewise.
34847         (LEN): Likewise.
34848         (memcpy): Likewise.  Do not use BP_SYM.
34849         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
34850         "bp-asm.h".
34851         (PARMS): Do not use macros from bp-asm.h.
34852         (DEST): Likewise.
34853         (SRC): Likewise.
34854         (LEN): Likewise.
34855         (memmove): Likewise.  Do not use BP_SYM.
34856         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
34857         "bp-asm.h".
34858         (PARMS): Do not use macros from bp-asm.h.
34859         (DEST): Likewise.
34860         (SRC): Likewise.
34861         (LEN): Likewise.
34862         (__mempcpy): Likewise.  Do not use BP_SYM.
34863         (mempcpy): Do not use BP_SYM in weak_alias.
34864         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
34865         "bp-asm.h".
34866         (PARMS): Do not use macros from bp-asm.h.
34867         (DEST): Likewise.
34868         (LEN): Likewise.
34869         [!BZERO_P] (CHR): Likewise.
34870         (memset): Likewise.  Do not use BP_SYM.
34871         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
34872         "bp-asm.h".
34873         (PARMS): Do not use macros from bp-asm.h.
34874         (STR2): Likewise.
34875         (strcmp): Do not use BP_SYM.
34876         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
34877         "bp-asm.h".
34878         (PARMS): Do not use macros from bp-asm.h.
34879         (STR): Likewise.
34880         (DELIM): Likewise.
34881         [USE_AS_STRTOK_R] (SAVE): Likewise.
34882         (FUNCTION): Likewise.  Do not use BP_SYM.
34883         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
34884         aliases.
34885         (strtok_r): Likewise.
34886         (__GI___strtok_r): Likewise.
34887         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34888         (PARMS): Do not use macros from bp-asm.h.
34889         (S): Likewise.
34890         (SIZE): Likewise.
34891         (__mpn_lshift): Do not use BP_SYM.
34892         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34893         (PARMS): Do not use macros from bp-asm.h.
34894         (STR): Likewise.
34895         (CHR): Likewise.
34896         (__memchr): Do not use BP_SYM.
34897         (memchr): Do not use BP_SYM in weak_alias.
34898         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34899         (PARMS): Do not use macros from bp-asm.h.
34900         (BLK2): Likewise.
34901         (LEN): Likewise.
34902         (memcmp): Do not use BP_SYM.
34903         (bcmp): Do not use BP_SYM in weak_alias.
34904         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
34905         (PARMS): Do not use macros from bp-asm.h.
34906         (S1): Likewise.
34907         (SIZE): Likewise.
34908         (__mpn_mul_1): Do not use BP_SYM.
34909         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
34910         "bp-asm.h".
34911         (PARMS): Do not use macros from bp-asm.h.
34912         (STR): Likewise.
34913         (CHR): Likewise.
34914         (__rawmemchr): Do not use BP_SYM.
34915         (rawmemchr): Do not use BP_SYM in weak_alias.
34916         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
34917         (PARMS): Do not use macros from bp-asm.h.
34918         (S): Likewise.
34919         (SIZE): Likewise.
34920         (__mpn_rshift): Do not use BP_SYM.
34921         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
34922         (PARMS): Do not use macros from bp-asm.h.
34923         (SIGMSK): Likewise.
34924         (__sigsetjmp): Likewise.  Do not use BP_SYM.
34925         * sysdeps/i386/start.S: Do not include "bp-sym.h".
34926         (_start): Do not use BP_SYM.
34927         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
34928         (PARMS): Do not use macros from bp-asm.h.
34929         (DEST): Likewise.
34930         (SRC): Likewise.
34931         (__stpcpy): Likewise.  Do not use BP_SYM.
34932         (stpcpy): Do not use BP_SYM in weak_alias.
34933         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
34934         "bp-asm.h".
34935         (PARMS): Do not use macros from bp-asm.h.
34936         (DEST): Likewise.
34937         (SRC): Likewise.
34938         (LEN): Likewise.
34939         (__stpncpy): Likewise.  Do not use BP_SYM.
34940         (stpncpy): Do not use BP_SYM in weak_alias.
34941         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
34942         (PARMS): Do not use macros from bp-asm.h.
34943         (STR): Likewise.
34944         (CHR): Likewise.
34945         (strchr): Likewise.  Do not use BP_SYM.
34946         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
34947         "bp-asm.h".
34948         (PARMS): Do not use macros from bp-asm.h.
34949         (STR): Likewise.
34950         (CHR): Likewise.
34951         (__strchrnul): Likewise.  Do not use BP_SYM.
34952         (strchrnul): Do not use BP_SYM in weak_alias.
34953         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
34954         "bp-asm.h".
34955         (PARMS): Do not use macros from bp-asm.h.
34956         (STOP): Likewise.
34957         (strcspn): Do not use BP_SYM.
34958         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
34959         "bp-asm.h".
34960         (PARMS): Do not use macros from bp-asm.h.
34961         (STR): Likewise.
34962         (STOP): Likewise.
34963         (strpbrk): Likewise.  Do not use BP_SYM.
34964         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
34965         "bp-asm.h".
34966         (PARMS): Do not use macros from bp-asm.h.
34967         (STR): Likewise.
34968         (CHR): Likewise.
34969         (strrchr): Likewise.  Do not use BP_SYM.
34970         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
34971         (PARMS): Do not use macros from bp-asm.h.
34972         (SKIP): Likewise.
34973         (strspn): Do not use BP_SYM.
34974         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
34975         (PARMS): Do not use macros from bp-asm.h.
34976         (STR): Likewise.
34977         (DELIM): Likewise.
34978         (SAVE): Likewise.
34979         (FUNCTION): Likewise.  Do not use BP_SYM.
34980         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
34981         aliases.
34982         (strtok_r): Likewise.
34983         (__GI___strtok_r): Likewise.
34984         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
34985         (PARMS): Do not use macros from bp-asm.h.
34986         (S1): Likewise.
34987         (S2): Likewise.
34988         (SIZE): Likewise.
34989         (__mpn_sub_n): Do not use BP_SYM.
34990         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
34991         "bp-asm.h".
34992         (PARMS): Do not use macros from bp-asm.h.
34993         (S1): Likewise.
34994         (SIZE): Likewise.
34995         (__mpn_submul_1): Do not use BP_SYM.
34996         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
34997         <bp-sym.h>.
34998         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
34999         and <bp-asm.h>.
35000         (PARMS): Do not use macros from bp-asm.h.
35001         (FLAGS): Likewise.
35002         (PTID): Likewise.
35003         (TLS): Likewise.
35004         (CTID): Likewise.
35005         (__clone): Do not use BP_SYM.
35006         (clone): Do not use BP_SYM in weak_alias.
35007         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
35008         and <bp-asm.h>.
35009         (PARMS): Do not use macros from bp-asm.h.
35010         (LEN): Likewise.
35011         (__mmap64): Do not use BP_SYM.
35012         (mmap64): Do not use BP_SYM in weak_alias.
35013         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
35014         <bp-sym.h> and <bp-asm.h>.
35015         (PARMS): Do not use macros from bp-asm.h.
35016         (__posix_fadvise64_l64): Do not use BP_SYM.
35017         * sysdeps/unix/sysv/linux/i386/semtimedop.S
35018         (PARMS): Do not use macros from bp-asm.h.
35019         (NSOPS): Likewise.
35020         (semtimedop): Do not use BP_SYM.
35021         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
35022         and <bp-asm.h>.
35024 2013-02-21  Allan McRae  <allan@archlinux.org>
35026         * manual/message.texi (Charset conversion in gettext):
35027         Move @end statement to beginning of line.
35029 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35031         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
35032         static.
35033         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
35034         Likewise.
35036         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
35037         (denorm): Likewise.
35038         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
35039         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
35041 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35043         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
35044         tail-call to the resolved function if pltexit isn't needed.
35046 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
35048         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
35049         or Y being zero as being unlikely.
35050         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
35051         Likewise.
35053 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
35055         * manual/nss.texi (System Databases and Name Service Switch):
35056         Remove frobnicate @pxref.
35058 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35060         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35061         __attribute__ ((unused)) to __attribute__ ((__unused__)).
35063 2013-02-20  Petr Machata  <pmachata@redhat.com>
35065         * elf/elf.h (R_ARM_TARGET1): New macro.
35066         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
35067         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
35068         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
35069         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
35070         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
35071         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
35072         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
35073         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
35074         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
35075         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
35076         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
35077         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
35078         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
35079         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
35080         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
35081         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
35082         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
35083         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
35084         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
35085         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
35086         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
35087         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
35088         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
35089         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
35090         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
35091         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
35092         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
35093         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
35094         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
35095         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
35096         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
35097         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
35098         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
35099         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
35100         (R_ARM_THM_GOT_BREL12): Likewise.
35101         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
35102         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
35103         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
35104         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
35105         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
35106         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
35107         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
35108         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
35109         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
35111 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
35113         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
35114         __attribute_used__ to __attribute__ ((unused)).
35116 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
35118         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
35119         powerpc mpa.c.
35120         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
35121         comment formatting.
35122         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
35124 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
35126         [BZ #13550]
35127         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
35128         Remove macro.
35129         (ENTER): Remove both macro definitions.
35130         (LEAVE): Likewise.
35131         (CHECK_BOUNDS_LOW): Likewise.
35132         (CHECK_BOUNDS_HIGH): Likewise.
35133         (CHECK_BOUNDS_BOTH): Likewise.
35134         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
35135         (RETURN_BOUNDED_POINTER): Likewise.
35136         (RETURN_NULL_BOUNDED_POINTER): Likewise.
35137         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
35138         (POP_ERRNO_LOCATION_RETURN): Likewise.
35139         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
35140         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35141         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
35142         macros.
35143         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35144         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
35145         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
35146         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
35147         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
35148         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
35149         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
35150         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
35151         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
35152         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
35153         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
35154         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
35155         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35156         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
35157         removed macros.
35158         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35159         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
35160         macros.
35161         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35162         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
35163         * sysdeps/i386/i586/memset.S (memset): Likewise.
35164         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
35165         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35166         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
35167         macros.
35168         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35169         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
35170         Change uses of L(2) to L(out).
35171         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
35172         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
35173         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
35174         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35175         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
35176         removed macros.
35177         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35178         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
35179         macros.
35180         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35181         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
35182         (RETURN): Do not use macro LEAVE.
35183         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
35184         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
35185         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
35186         * sysdeps/i386/i686/memset.S (memset): Likewise.
35187         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
35188         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
35189         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
35190         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
35191         Likewise.
35192         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35193         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
35194         L(1_2) and L(1_3) into L(1).
35195         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35196         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
35197         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35198         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
35199         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
35200         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
35201         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
35202         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35203         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
35204         macros.
35205         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
35206         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
35207         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
35208         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
35209         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
35210         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
35211         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
35212         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
35213         * sysdeps/i386/strcspn.S (strcspn): Likewise.
35214         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
35215         * sysdeps/i386/strrchr.S (strrchr): Likewise.
35216         * sysdeps/i386/strspn.S (strspn): Likewise.
35217         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
35218         conditional code.
35219         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
35220         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
35221         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
35222         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
35223         L(1_3) into L(1_1).
35224         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
35225         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
35226         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
35227         macros.
35228         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
35230 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
35232         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
35233         macro.
35235 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35237         * math/atest-exp.c (exp_mpn): Remove ROUND.
35238         * math/atest-exp2.c (exp_mpn): Likewise.
35239         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
35241         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
35242         * stdlib/tst-tls-atexit-lib.c: Likewise.
35243         * stdlib/tst-tls-atexit.c: Likewise.
35245 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35247         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
35248         and __attribute_alloc_size__.
35250 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35252         * include/programs/xmalloc.h: Change __attribute_alloc_size to
35253         __attribute_alloc_size__.
35254         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
35255         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
35257 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
35259         * include/programs/xmalloc.h: New file.
35260         * catgets/gencat.c: Include it.
35261         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
35262         * elf/pldd.c: Likewise.
35263         * iconv/iconv_charmap.c: Likewise.
35264         * iconv/iconvconfig.c: Likewise.
35265         * iconv/strtab.c: Likewise.
35266         * locale/programs/locale.c: Likewise.
35267         * locale/programs/localedef.h: Likewise.
35268         * locale/programs/simple-hash.c: Likewise.
35269         * nscd/nscd.h: Likewise.
35270         * nss/makedb.c: Likewise.
35271         * sysdeps/generic/ldconfig.h: Likewise.
35273 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
35275         * Versions.def: Add GLIBC_2.18.
35276         * include/link.h (struct link_map): New member l_tls_dtor_count.
35277         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
35278         (__call_tls_dtors): Likewise.
35279         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
35280         __cxa_thread_atexit_impl.
35281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35282         Likewise.
35283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35284         Likewise.
35285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
35286         Likewise.
35287         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
35288         Likewise.
35289         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
35291         Likewise.
35292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
35293         Likewise.
35294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
35296         Likewise.
35297         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
35298         (tests): Add test case tst-tls-atexit.
35299         (modules-names): Add shared library for tst-tls-atexit.
35300         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
35301         (GLIBC_PRIVATE): Add __call_tls_dtors.
35302         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
35303         for libstdc++.
35304         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
35305         * stdlib/tst-tls-atexit.c: New test case.
35306         * stdlib/tst-tls-atexit-lib.c: New test case.
35308         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
35310         * elf/Versions (ld): Add _dl_find_dso_for_object.
35311         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
35312         * elf/dl-open.c (_dl_find_dso_for_object): New function.
35313         (dl_open_worker): Use _dl_find_dso_for_object.
35314         * elf/dl-sym.c (do_sym): Likewise.
35315         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
35317 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35319         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
35320         Syntactic changes only.
35321         (_dl_runtime_profile): Do a tail-call to the resolved function.
35323 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
35325         [BZ #13550]
35326         * sysdeps/x86_64/bp-asm.h: Remove file.
35327         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
35328         <bp-sym.h> and <bp-asm.h>.
35329         (__clone): Do not use BP_SYM.
35330         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
35331         <bp-sym.h> and <bp-asm.h>.
35332         * sysdeps/unix/x86_64/sysdep.S: Likewise.
35333         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
35334         "bp-asm.h".
35335         (_setjmp): Do not use BP_SYM.
35336         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
35337         "bp-asm.h".
35338         (setjmp): Do not use BP_SYM.
35339         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
35340         libc_hidden_def.
35341         (mempcpy): Do not use BP_SYM in weak_alias.
35342         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
35343         "bp-asm.h".
35344         (strchr): Do not use BP_SYM.
35345         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
35346         "bp-asm.h".
35347         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
35348         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
35349         (_start): Do not use BP_SYM.
35350         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
35351         "bp-asm.h".
35352         (strcat): Do not use BP_SYM.
35353         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
35354         "bp-asm.h".
35355         (STRCMP): Do not use BP_SYM.
35356         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
35357         "bp-asm.h".
35358         (STRCPY): Do not use BP_SYM.
35359         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
35360         "bp-asm.h".
35361         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
35362         "bp-asm.h".
35363         (FUNCTION): Do not use BP_SYM.
35364         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
35365         weak_alias.
35366         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
35368 2013-02-17  Andreas Jaeger  <aj@suse.de>
35370         * time/Versions: Sort entries.
35371         * string/Versions: Likewise.
35372         * resolv/Versions: Likewise.
35373         * posix/Versions: Likewise.
35374         * iconv/Versions: Likewise.
35375         * elf/Versions: Likewise.
35376         * wcsmbs/Versions: Likewise.
35378 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35380         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
35381         loop termination condition.
35383         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
35384         variable to calculate EZ.
35385         (__sqr): Likewise.
35387         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
35388         the lower precision input.
35390 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
35392         [BZ #13550]
35393         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
35394         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
35395         (run-via-rtld-prefix): Do not handle %-bp tests.
35396         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
35397         (all-object-suffixes): Remove .ob.
35398         (bppfx): Remove variable.
35399         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
35400         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
35401         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
35402         [$(build-bounded) = yes] (libtype.ob): Likewise.
35403         * Makerules (elide-routines.ob): Remove variable.
35404         (do-tests-clean): Do not handle *-bp.out.
35405         (common-mostlyclean): Do not handle *-bp and *-bp.out.
35406         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
35407         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
35408         (tests): Do not include $(tests-bp.out).
35409         (xtests): Do not include $(xtests-bp.out).
35410         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
35411         [$(build-bounded) = yes] ($(addprefix
35412         $(objpfx),$(binaries-bounded))): Remove rule.
35413         ($(objpfx)%-bp.out): Remove rule.
35414         * config.make.in (build-bounded): Remove variable.
35415         * crypt/Makefile [$(build-bounded) = yes]
35416         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
35417         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
35418         append to variable.
35419         [$(build-bounded) = yes] (install-lib): Likewise.
35420         [$(build-bounded) = yes] (generated): Likewise.
35421         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
35422         Remove rule.
35423         * intl/Makefile [$(build-bounded) = yes]
35424         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
35425         * math/Makefile [$(build-bounded) = yes]
35426         ($(tests:%=$(objpfx)%-bp): Likewise.
35427         * misc/Makefile [$(build-bounded) = yes]
35428         ($(objpfx)tst-tsearch-bp): Likewise.
35429         * nptl/Makeconfig (bounded-thread-library): Remove variable.
35430         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
35431         Remove dependency.
35432         * string/Makefile (o-objects.ob): Remove variable.
35433         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
35434         (CFLAGS-.ob): Remove variable.
35435         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
35436         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
35437         both definitions of variable.
35438         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
35439         (ASFLAGS-.ob): Remove variable.
35441 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
35443         [BZ #13550]
35444         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
35445         Remove __BOUNDED_POINTERS__ from condition.
35446         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
35447         * string/bits/string2.h [!__NO_STRING_INLINES &&
35448         !__BOUNDED_POINTERS__]: Likewise.
35449         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
35450         Likewise.
35451         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
35452         Remove conditional code.
35453         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
35454         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
35455         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
35456         condition.
35458         [BZ #13550]
35459         * csu/libc-start.c: Do not include <bp-sym.h>.
35460         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
35461         * elf/dl-open.c: Do not include <bp-sym.h>.
35462         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
35463         * math/fegetenv.c: Do not include <bp-sym.h>.
35464         (fegetenv): Do not use BP_SYM in versioned symbols.
35465         * nptl/sysdeps/pthread/bits/libc-lockP.h
35466         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
35467         <bp-sym.h>.
35468         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35469         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
35470         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35471         (__pthread_mutex_destroy): Likewise.
35472         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35473         (__pthread_mutex_lock): Likewise.
35474         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35475         (__pthread_mutex_trylock): Likewise.
35476         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35477         (__pthread_mutex_unlock): Likewise.
35478         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35479         (__pthread_mutexattr_init): Likewise.
35480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35481         (__pthread_mutexattr_destroy): Likewise.
35482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35483         (__pthread_mutexattr_settype): Likewise.
35484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35485         (__pthread_rwlock_init): Likewise.
35486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35487         (__pthread_rwlock_destroy): Likewise.
35488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35489         (__pthread_rwlock_rdlock): Likewise.
35490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35491         (__pthread_rwlock_tryrdlock): Likewise.
35492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35493         (__pthread_rwlock_wrlock): Likewise.
35494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35495         (__pthread_rwlock_trywrlock): Likewise.
35496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35497         (__pthread_rwlock_unlock): Likewise.
35498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35499         (__pthread_key_create): Likewise.
35500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35501         (__pthread_setspecific): Likewise.
35502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35503         (__pthread_getspecific): Likewise.
35504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
35505         Likewise.
35506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35507         (_pthread_cleanup_push_defer): Likewise.
35508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35509         (_pthread_cleanup_pop_restore): Likewise.
35510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
35511         (pthread_setcancelstate): Likewise.
35512         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
35513         <bp-sym.h>.
35514         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
35515         (memchr): Do not use BP_SYM in weak_alias.
35516         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
35517         (fegetenv): Do not use BP_SYM in versioned symbols.
35518         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
35519         (fesetenv): Do not use BP_SYM in versioned symbols.
35520         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35521         (feupdateenv): Do not use BP_SYM in versioned symbols.
35522         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35523         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35524         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
35525         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
35526         (open64): Do not use BP_SYM in weak_alias.
35527         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
35528         (fegetenv): Do not use BP_SYM in versioned symbols.
35529         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
35530         (fesetenv): Do not use BP_SYM in versioned symbols.
35531         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
35532         (feupdateenv): Do not use BP_SYM in versioned symbols.
35533         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
35534         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
35535         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
35536         (feraiseexcept): Do not use BP_SYM in versioned symbols.
35537         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
35538         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
35539         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
35540         <bp-sym.h>.
35541         (__libc_start_main): Do not use BP_SYM.
35543 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
35545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
35546         redundant return line.
35547         (norm): Likewise.
35548         (denorm): Likewise.
35549         (dbl_mp): Likewise.
35550         (sub_magnitudes): Likewise.
35551         (__add): Likewise.
35552         (__sub): Likewise.
35553         (__mul): Likewise.
35554         (__inv): Likewise.
35555         (__dvd): Likewise.
35556         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
35557         (norm): Likewise.
35558         (denorm): Likewise.
35559         (dbl_mp): Likewise.
35560         (sub_magnitudes): Likewise.
35561         (__add): Likewise.
35562         (__sub): Likewise.
35563         (__mul): Likewise.
35564         (__inv): Likewise.
35565         (__dvd): Likewise.
35567         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
35568         instead of __mul.
35569         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
35570         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
35571         (cc32): Likewise.
35573         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
35574         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
35575         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
35576         of __mul for squares.
35577         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
35578         function
35579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
35580         Likewise.
35581         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
35582         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35584 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
35586         [BZ #13550]
35587         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
35588         code.
35589         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
35590         prototype or function definition.  Rename ubp_* variables and
35591         parameters.  Remove argv definitions conditional on
35592         [__BOUNDED_POINTERS__].
35593         * debug/backtrace.c (__backtrace): Do not use __unbounded.
35594         * elf/dl-runtime.c (_dl_fixup): Likewise.
35595         * include/set-hooks.h (RUN_HOOK): Likewise.
35596         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
35597         definition.
35598         * string/strcpy.c (strcpy): Do not use __unbounded.
35599         * sysdeps/generic/frame.h (struct layout): Likewise.
35600         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
35601         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
35602         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
35603         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
35604         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
35605         (__backtrace): Likewise.
35606         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
35607         use __ptrvalue.
35608         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
35609         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
35610         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
35611         Likewise.
35612         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
35613         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
35614         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
35615         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
35616         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
35617         Do not use __unbounded.
35618         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
35619         Rename __unboundedrlimits parameter to rlimits in prototype.
35620         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
35621         Do not use __unbounded.
35622         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
35623         not use __ptrvalue.
35624         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
35625         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
35626         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
35627         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
35628         __ptrvalue or __unbounded.
35629         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
35630         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
35631         use __unbounded.
35632         (__new_msgctl): Do not use __ptrvalue.
35633         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
35634         __unbounded.
35635         (__libc_msgrcv): Do not use __ptrvalue.
35636         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
35637         startup_info): Do not use __unbounded.
35638         (__libc_start_main): Likewise.  Rename ubp_* variables and
35639         parameters.  Remove argv definitions conditional on
35640         [__BOUNDED_POINTERS__].
35641         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
35642         __ptrvalue.
35643         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
35644         use __unbounded.
35645         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
35646         or __ptrvalue.
35647         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
35648         use __unbounded.
35649         (__new_shmctl): Do not use __ptrvalue.
35650         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
35651         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
35652         Likewise.
35653         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
35654         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
35655         (__libc_sigaction): Likewise.
35656         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
35657         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
35658         Likewise.
35659         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
35661 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
35663         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
35665         * string/mempcpy.c: Implement by calling memcpy.
35667 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
35669         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
35671         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
35672         evaluation.
35674         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
35675         values in the mantissa.
35677         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
35678         minimize writes to Z.
35679         (sub_magnitudes): Simplify code a bit.
35681 2013-02-12  Roland McGrath  <roland@hack.frob.com>
35683         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
35684         from the message.  The linker prefixes all warnings with that already.
35686 2013-02-12  Andreas Schwab  <schwab@suse.de>
35688         [BZ #15078]
35689         * posix/regexec.c (extend_buffers): Add parameter min_len.
35690         (check_matching): Pass minimum needed length.
35691         (clean_state_log_if_needed): Likewise.
35692         (get_subexp): Likewise.
35693         * posix/Makefile (tests): Add bug-regex34.
35694         (bug-regex34-ENV): Define.
35695         * posix/bug-regex34.c: New file.
35697         [BZ #11561]
35698         * posix/regcomp.c (parse_bracket_exp): When looking up collating
35699         elements compare against the byte sequence of it, not its name.
35700         * posix/Makefile (tests): Add bug-regex35.
35701         (bug-regex35-ENV): Define.
35702         * posix/bug-regex35.c: New file.
35704 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35706         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
35707         comment.
35708         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
35709         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
35710         (CHECK_EOL): Add undef.
35712 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
35714         * bits/stdlib-bsearch.h: New file.
35715         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
35716         * stdlib/stdlib.h: Likewise.
35718 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35720         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
35721         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
35722         declaration.
35723         * manual/search.texi (Array Search Function): Add missing const in
35724         lfind prototype.
35725         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
35726         declaration to use rlim_t.
35727         (Basic Scheduling Functions): Remove erroneous const from
35728         sched_getparam prototype.  Remove erroneous * from
35729         sched_get_priority_max and sched_get_priority_min prototypes.
35730         (Resource Usage): Fix summary @comment on vtimes to refer to
35731         sys/vtimes.h rather than vtimes.h.
35732         Add missing *s in vtimes prototype.
35733         (Limits on Resources): Fix ulimit prototype to return long int.
35734         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
35735         prototypes to use long int rather than double.
35736         (BSD Random): Fix initstate and setstate to use char *, not void *.
35737         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
35738         prototype to make second argument 'struct aiocb64 *const[]'.
35739         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
35740         (Status of AIO Operations): Remove erroneous const in aio_return and
35741         aio_return64 prototypes.
35742         (Synchronizing I/O): Fix sync prototype to return void.
35743         * manual/startup.texi (Suboptions): Remove an erroneous const in
35744         getsubopt prototype.
35745         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
35746         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
35747         use size_t rather than int.
35748         (Scanning All Users): Likewise for getpwent_r.
35749         (Setting Groups): Add missing const to setgroups prototype.
35750         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
35751         * manual/socket.texi (Host Names): Fix gethostbyaddr and
35752         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
35753         'const void *' rather than 'const char *'.
35754         (Host Address Functions): Likewise for inet_ntop.
35755         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
35756         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
35757         ssize_t for return value.
35758         (Sending Data): Likewise for send, sendto, sendmsg.
35759         (Socket Option Functions): Add a missing const in setsockopt prototype.
35760         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
35761         use wchar_t for the argument.
35762         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
35763         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
35764         take no arguments.
35765         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
35766         double/float/long double for second argument.
35767         Fix return types of significand, significandf, significandl.
35768         * manual/filesys.texi (Setting Permissions): Use mode_t for second
35769         argument in fchmod prototype.
35770         (File Owner): Use uid_t and gid_t in fchown prototype.
35771         (File Times): Add const to utimes, futimes, and lutimes prototypes.
35772         (Making Special Files): Use mode_t and dev_t in mknod prototype.
35773         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
35774         use 'const struct dirent **' as argument types to CMP function pointer
35775         argument.
35776         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
35777         (File Times): Fix summary magic @comment for struct utimbuf and utime
35778         to refer to utime.h, not time.h.
35779         * manual/string.texi (Argz Functions): Add missing const in
35780         argz_extract and argz_next prototypes.
35781         (Finding Tokens in a String): Likewise for basename.
35782         (String/Array Comparison): Fix typo in wcscasecmp prototype.
35783         (Copying and Concatenation): Fix typo in wmemmove prototype.
35784         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
35785         (Signal Stack): Remove erroneous const in sigstack prototype.
35786         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
35787         prototype.
35788         (Simple Calendar Time): Likewise for stime.
35789         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
35790         prototype.
35791         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
35792         say sys/sysctl.h instead.
35793         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
35794         and vsyslog prototypes.
35796 2013-02-11  Tom de Vries  <tom@codesourcery.com>
35798         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
35799         Remove.
35801 2013-02-11  Roland McGrath  <roland@hack.frob.com>
35803         * misc/sys/mman.h: Fix typo in mremap comment.
35805 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35807         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
35808         the '\0' terminator.
35810 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35812         [BZ #13550]
35813         * debug/segfault.c: Don't include <bp-checks.h>.
35814         * sysdeps/generic/bp-checks.h: Remove file.
35815         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
35816         (__GETDENTS): Don't use CHECK_N.
35817         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
35818         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35819         (__getgroups): Don't use CHECK_N.
35820         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
35821         (setgroups): Don't use CHECK_N.
35822         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
35823         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
35824         (__libc_msgrcv): Don't use CHECK_N.
35825         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
35826         (__libc_msgsnd): Don't use CHECK_N.
35827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
35828         <bp-checks.h>.
35829         (__libc_pread): Don't use CHECK_N.
35830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
35831         include <bp-checks.h>.
35832         (__libc_pread64): Don't use CHECK_N.
35833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
35834         include <bp-checks.h>.
35835         (__libc_pwrite): Don't use CHECK_N.
35836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
35837         include <bp-checks.h>.
35838         (__libc_pwrite64): Don't use CHECK_N.
35839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
35840         <bp-checks.h>.
35841         (__libc_pread): Don't use CHECK_N.
35842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
35843         include <bp-checks.h>.
35844         (__libc_pread64): Don't use CHECK_N.
35845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
35846         include <bp-checks.h>.
35847         (__libc_pwrite): Don't use CHECK_N.
35848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
35849         include <bp-checks.h>.
35850         (__libc_pwrite64): Don't use CHECK_N.
35851         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
35852         (do_pread): Don't use CHECK_N.
35853         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
35854         (do_pread64): Don't use CHECK_N.
35855         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
35856         (do_pwrite): Don't use CHECK_N.
35857         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
35858         (do_pwrite64): Don't use CHECK_N.
35859         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
35860         (__libc_readv): Don't use CHECK_N.
35861         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
35862         (semop): Don't use CHECK_N.
35863         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
35864         <bp-checks.h>.
35865         (semtimedop): Don't use CHECK_N.
35866         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
35867         (__libc_pread): Don't use CHECK_N.
35868         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
35869         <bp-checks.h>.
35870         (__libc_pread64): Don't use CHECK_N.
35871         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
35872         <bp-checks.h>.
35873         (__libc_pwrite): Don't use CHECK_N.
35874         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
35875         <bp-checks.h>.
35876         (__libc_pwrite64): Don't use CHECK_N.
35877         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
35878         <bp-checks.h>.
35879         (__libc_msgrcv): Don't use CHECK_N.
35880         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
35881         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
35882         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
35883         (__libc_writev): Don't use CHECK_N.
35885 2013-02-08  Roland McGrath  <roland@hack.frob.com>
35887         * string/strcpy.c: Removed unused variable.
35889         * Makeconfig (+sysdep-includes): Define with := rather than =.
35890         Use an existing include/ subdir of each sysdeps dir before it.
35892 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35894         * nscd/connection.c (register_traced_file): Comment function.
35895         [HAVE_INOTIFY] (union __inev): Define.
35896         [HAVE_INOTIFY] (inotify_check_files): New function.
35897         [HAVE_INOTIFY] (clear_db_cache): Likewise.
35898         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
35899         clear_db_cache.
35900         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
35902 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35904         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
35905         loaded if not already and that a failure is permanent.
35907 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
35909         [BZ #15006]
35910         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
35911         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
35913 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
35915         [BZ #13550]
35916         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
35917         (CHECK_1_NULL_OK): Likewise.
35918         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
35919         (__fxstat): Do not use CHECK_1.
35920         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
35921         <bp-checks.h>.
35922         (___fxstat64): Do not use CHECK_1.
35923         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35924         <bp-checks.h>.
35925         (__fxstatat): Do not use CHECK_1.
35926         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35927         <bp-checks.h>.
35928         (__fxstatat64): Do not use CHECK_1.
35929         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
35930         <bp-checks.h>.
35931         (__fxstat): Do not use CHECK_1.
35932         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35933         <bp-checks.h>.
35934         (__fxstatat): Do not use CHECK_1.
35935         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
35936         <bp-checks.h>.
35937         (__getresgid): Do not use CHECK_1.
35938         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
35939         <bp-checks.h>.
35940         (__getresuid): Do not use CHECK_1.
35941         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
35942         <bp-checks.h>.
35943         (__lxstat): Do not use CHECK_1.
35944         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
35945         <bp-checks.h>.
35946         (__old_msgctl): Do not use CHECK_1.
35947         (__new_msgctl): Likewise.
35948         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
35949         <bp-checks.h>.
35950         (__new_setrlimit): Do not use CHECK_1.
35951         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
35952         <bp-checks.h>.
35953         (__old_shmctl): Do not use CHECK_1.
35954         (__new_shmctl): Likewise.
35955         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
35956         <bp-checks.h>.
35957         (__xstat): Do not use CHECK_1.
35958         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
35959         (__lxstat): Do not use CHECK_1.
35960         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
35961         <bp-checks.h>.
35962         (___lxstat64): Do not use CHECK_1.
35963         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
35964         (__old_msgctl): Do not use CHECK_1.
35965         (__new_msgctl): Likewise.
35966         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
35967         <bp-checks.h>.
35968         (__gettimeofday): Do not use CHECK_1.
35969         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
35970         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
35971         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
35972         <bp-checks.h>.
35973         (__gettimeofday): Do not use CHECK_1.
35974         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
35975         (__old_shmctl): Do not use CHECK_1_NULL_OK.
35976         (__new_shmctl): Do not use CHECK_1.
35977         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
35978         <bp-checks.h>.
35979         (do_sigtimedwait): Do not use CHECK_1.
35980         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
35981         <bp-checks.h>.
35982         (do_sigwaitinfo): Do not use CHECK_1.
35983         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
35984         <bp-checks.h>.
35985         (msgctl): Do not use CHECK_1.
35986         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
35987         <bp-checks.h>.
35988         (shmctl): Do not use CHECK_1.
35989         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
35990         (ustat): Do not use CHECK_1.
35991         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
35992         <bp-checks.h>.
35993         (__fxstat): Do not use CHECK_1.
35994         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35995         <bp-checks.h>.
35996         (__fxstatat): Do not use CHECK_1.
35997         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
35998         <bp-checks.h>.
35999         (__lxstat): Do not use CHECK_1.
36000         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
36001         <bp-checks.h>.
36002         (__xstat): Do not use CHECK_1.
36003         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
36004         (__xstat): Do not use CHECK_1.
36005         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
36006         (___xstat64): Do not use CHECK_1.
36008         [BZ #13550]
36009         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
36010         definitions.
36011         (CHECK_BOUNDS_HIGH): Likewise.
36012         * string/strcpy.c: Do not include <bp-checks.h>.
36013         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
36015 2013-02-07  Roland McGrath  <roland@hack.frob.com>
36017         * nscd/nscd-client.h (__nscd_drop_map_ref):
36018         Add __attribute__ ((unused)).
36019         * nis/nss-nisplus.h (niserr2nss): Likewise.
36021         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
36022         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
36024         * csu/libc-tls.c (init_static_tls, init_slotinfo):
36025         Remove inline keyword.
36026         * include/rounding-mode.h (round_away): Likewise.
36027         * libio/wfileops.c (adjust_wide_data): Likewise.
36028         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
36029         (__m128i_strloadu_tolower): Likewise.
36030         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
36031         (__m128i_strloadu_tolower): Likewise.
36032         * time/mktime.c (ydhms_diff): Likewise.
36033         * locale/elem-hash.h (elem_hash): Likewise.
36034         * locale/setlocale.c (setdata): Likewise.
36035         * posix/regex_internal.h (re_string_char_size_at): Likewise.
36036         (re_string_wchar_at): Likewise.
36037         (bitset_not, bitset_merge, bitset_mask): Likewise.
36038         [!(__GNUC__ > 3)] (inline): Remove macro.
36039         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
36040         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
36041         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
36042         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
36043         * string/memcmp.c (memcmp_bytes): Likewise.
36044         * locale/programs/locarchive.c (compute_hashval): Likewise.
36045         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
36046         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
36047         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
36048         * nss/getent.c (print_rpc, print_protocols): Likewise.
36049         (print_passwd, print_group, print_aliases): Likewise.
36050         * nis/nss-nisplus.h (niserr2nss): Likewise.
36051         * nscd/connections.c (restart_p): Likewise.
36052         Change return type to bool.
36054 2013-02-05  Roland McGrath  <roland@hack.frob.com>
36056         * Makeconfig (all-Depend-files): Add existing
36057         $(sorted-subdirs:=/Depend) files.
36058         (all-subdirs): Remove nss.
36059         * sysdeps/unix/inet/Subdirs: Add it here instead.
36060         * hesiod/Depend: New file.
36062         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
36063         instead of calling alloca.
36065         * io/lseek.c (__lseek): Rename to __libc_lseek.
36066         Define __lseek as an alias.
36068         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
36070 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
36072         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
36073         else clause and remove check for non-standard endianness.
36075 2013-02-04  David S. Miller  <davem@davemloft.net>
36077         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36079 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
36081         [BZ #13550]
36082         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
36083         (__ubp_memchr): Remove prototype.
36084         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
36085         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36086         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
36087         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
36088         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
36089         Remove alias.
36090         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
36091         (__ubp_memchr): Likewise.
36092         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
36093         (__ubp_memchr): Likewise.
36094         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
36095         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
36096         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
36097         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
36098         CHECK_STRING.
36099         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
36100         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
36101         (__getcwd): Do not use CHECK_STRING.
36102         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
36103         <bp-checks.h>.
36104         (__real_chown): Do not use CHECK_STRING.
36105         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
36106         <bp-checks.h>.
36107         (fchownat): Do not use CHECK_STRING.
36108         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
36109         CHECK_STRING.
36110         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
36111         <bp-checks.h>.
36112         (__lchown): Do not use CHECK_STRING.
36113         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
36114         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
36115         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
36116         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
36117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
36118         include <bp-checks.h>.
36119         (truncate64): Do not use CHECK_STRING.
36120         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
36121         <bp-checks.h>.
36122         (__real_chown): Do not use CHECK_STRING.
36123         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
36124         <bp-checks.h>.
36125         (__lchown): Do not use CHECK_STRING.
36126         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
36127         <bp-checks.h>.
36128         (__chown): Do not use CHECK_STRING.
36129         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
36130         <bp-checks.h>.
36131         (truncate64): Do not use CHECK_STRING.
36132         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
36133         Likewise.
36134         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
36135         (__xmknod): Do not use CHECK_STRING.
36136         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
36137         <bp-checks.h>.
36138         (__xmknodat): Do not use CHECK_STRING.
36139         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
36140         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
36142 2013-02-04  Andreas Schwab  <schwab@suse.de>
36144         [BZ #14142]
36145         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
36146         * include/netdb.h: Likewise for h_errno.
36147         * elf/tst-stackguard1.c: Include <tls.h>.
36149 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
36151         * elf/link.h (struct link_map): Extend the l_addr comment.
36152         * include/link.h (struct link_map): Likewise.
36154 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
36156         [BZ #13550]
36157         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
36158         (BOUNDED_1): Remove macro.
36159         * debug/backtrace.c: Don't include <bp-checks.h>.
36160         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
36161         (__backtrace): Likewise.
36162         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
36163         <bp-checks.h>.
36164         (__backtrace): Don't use BOUNDED_1.
36165         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
36166         <bp-checks.h>.
36167         (__backtrace): Don't use BOUNDED_1.
36168         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
36169         (__backtrace): Don't use BOUNDED_1.
36170         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
36171         (shmat): Don't use BOUNDED_N.
36173 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
36175         [BZ #13550]
36176         * sysdeps/generic/bp-start.h: Remove file.
36177         * csu/libc-start.c: Don't include <bp-start.h>.
36178         (LIBC_START_MAIN): Set up __environ directly instead of using
36179         INIT_ARGV_and_ENVIRON.
36180         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
36181         <bp-start.h>.
36183         [BZ #13550]
36184         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
36185         definitions.
36186         (CHECK_FCNTL): Likewise.
36187         (CHECK_N_PAGES): Likewise.
36189         [BZ #13550]
36190         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
36191         definitions.
36192         (CHECK_SIGSET_NULL_OK): Likewise.
36193         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
36194         <bp-checks.h>.
36195         (sigpending): Don't use CHECK_SIGSET.
36196         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
36197         <bp-checks.h>.
36198         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36199         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
36200         <bp-checks.h>.
36201         (do_sigsuspend): Don't use CHECK_SIGSET.
36202         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
36203         use CHECK_SIGSET.
36204         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
36205         (do_sigwait): Don't use CHECK_SIGSET.
36206         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
36207         use CHECK_SIGSET.
36208         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
36209         include <bp-checks.h>.
36210         (sigpending): Don't use CHECK_SIGSET.
36211         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
36212         include <bp-checks.h>.
36213         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36214         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
36215         <bp-checks.h>.
36216         (sigpending): Don't use CHECK_SIGSET.
36217         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
36218         <bp-checks.h>.
36219         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
36221         [BZ #13550]
36222         * sysdeps/generic/bp-semctl.h: Remove file.
36223         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
36224         <bp-checks.h> and <bp-semctl.h>.
36225         (__old_semctl): Don't use CHECK_SEMCTL.
36226         (__new_semctl): Likewise.
36227         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
36228         and <bp-semctl.h>.
36229         (__old_semctl): Don't use CHECK_SEMCTL.
36230         (__new_semctl): Likewise.
36231         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
36232         <bp-checks.h> and <bp-semctl.h>.
36233         (__old_semctl): Don't use CHECK_SEMCTL.
36234         (__new_semctl): Likewise.
36235         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
36236         <bp-checks.h> and <bp-semctl.h>.
36237         (semctl): Don't use CHECK_SEMCTL.
36239         [BZ #13550]
36240         * Makerules (elide-bp-thunks): Remove variable.
36241         (elide-routines.oS): Don't use $(elide-bp-thunks).
36242         (elide-routines.os): Likewise.
36243         (elide-routines.o): Likewise.
36244         (elide-routines.op): Likewise.
36245         (elide-routines.og): Likewise.
36246         (objects): Don't use $(bp-thunks).
36247         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
36248         include.
36249         (common-generated): Do not add s-proto-bp.d.
36250         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
36251         (int): Likewise.
36252         (typ): Likewise.
36253         Do not generate makefile rules for bounded-pointer thunks.
36254         * sysdeps/generic/bp-thunks.h: Remove file.
36255         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
36256         * sysdeps/unix/s-proto-bp.S: Likewise.
36258         [BZ #15062]
36259         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
36260         parts of result separately when argument is not close to line from
36261         -i to i and one part of argument is small.
36262         * math/k_casinhf.c (__kernel_casinhf): Likewise.
36263         * math/k_casinhl.c (__kernel_casinhl): Likewise.
36264         * math/libm-test.inc (cacos_test): Add more tests.
36265         (casin_test): Likewise.
36266         (casinh_test): Likewise.
36267         * sysdeps/i386/fpu/libm-test-ulps: Update.
36268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36270 2013-01-31  David S. Miller  <davem@davemloft.net>
36272         * po/de.po: Update from translation team.
36274 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
36276         * time/tzfile.c: Include stdint.h for SIZE_MAX.
36278 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
36280         * configure.in (_AC_PROG_CC_C89): New definition.
36281         * configure: Regenerate.
36283         * configure.in (AC_PROG_CPP): New definition.
36284         * configure: Regenerate.
36286 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36288         * debug/tst-backtrace.h: New file.
36289         * debug/tst-backtrace2.c: Include tst-backtrace.h.
36290         (ret): Remove variable.
36291         (x): Likewise.
36292         (FAIL): Remove macro.
36293         (NO_INLINE): Likewise.
36294         (fn1): Use match function instead of strstr.
36295         * debug/tst-backtrace3.c: Include tst-backtrace.h.
36296         (ret): Remove variable.
36297         (x): Likewise.
36298         (FAIL): Remove macro.
36299         (NO_INLINE): Likewise.
36300         (fn): Use match function instead of strstr.
36301         * debug/tst-backtrace4.c: Include tst-backtrace.h.
36302         (ret): Remove variable.
36303         (x): Likewise.
36304         (FAIL): Remove macro.
36305         (NO_INLINE): Likewise.
36306         (handle_signal): Use match function instead of strstr.
36307         * debug/tst-backtrace5.c: Include tst-backtrace.h.
36308         (ret): Remove variable.
36309         (x): Likewise.
36310         (FAIL): Remove macro.
36311         (NO_INLINE): Likewise.
36312         (handle_signal): Use match function instead of strstr.
36314 2013-01-23  Roland McGrath  <roland@hack.frob.com>
36316         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
36318 2013-01-23  David S. Miller  <davem@davemloft.net>
36320         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
36321         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
36322         argument of CAS if possible.
36323         * sysdeps/sparc/sparc64/bits/atomic.h
36324         (__arch_compare_and_exchange_val_32_acq): Likewise.
36325         (__arch_compare_and_exchange_val_64_acq): Likewise.
36327 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
36329         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
36330         * sysdeps/posix/ulimit.c: ... this.
36331         Include <limits.h>.
36332         * sysdeps/unix/bsd/ulimit.c: Remove file.
36334 2013-01-23  Adam Conrad  <adconrad@0c3.net>
36336         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
36337         (LDFLAGS-tst-array5): Likewise.
36339 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
36341         [BZ #15036]
36342         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
36343         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
36344         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
36345         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
36347 2013-01-21  David S. Miller  <davem@davemloft.net>
36349         * sysdeps/sparc/backtrace.c: New file.
36350         * sysdeps/sparc/sparc32/backtrace.h: New file.
36351         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
36352         * sysdeps/sparc/sparc64/backtrace.h: New file.
36353         * sysdeps/sparc/sparc64/backtrace.c: Delete.
36354         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
36355         -funwind-tables.
36357 2013-01-21  Andreas Schwab  <schwab@suse.de>
36359         [BZ #15020]
36360         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
36361         closed its stdout.
36363 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
36365         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
36366         "mpa2.h".
36367         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36369 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
36370             Mark Mitchell  <mark@codesourcery.com>
36371             Tom de Vries  <tom@codesourcery.com>
36372             Paul Pluzhnikov  <ppluzhnikov@google.com>
36374         * debug/tst-backtrace2.c: New file.
36375         * debug/tst-backtrace3.c: Likewise.
36376         * debug/tst-backtrace4.c: Likewise.
36377         * debug/tst-backtrace5.c: Likewise.
36378         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
36379         (CFLAGS-tst-backtrace3.c): Likewise.
36380         (CFLAGS-tst-backtrace4.c): Likewise.
36381         (CFLAGS-tst-backtrace5.c): Likewise.
36382         (LDFLAGS-tst-backtrace2): Likewise.
36383         (LDFLAGS-tst-backtrace3): Likewise.
36384         (LDFLAGS-tst-backtrace4): Likewise.
36385         (LDFLAGS-tst-backtrace5): Likewise.
36386         (tests): Add new tests tst-backtrace2, tst-backtrace3,
36387         tst-backtrace4 and tst-backtrace5.
36389 2013-01-18  Anton Blanchard  <anton@samba.org>
36390             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36392         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
36393         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
36394         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
36395         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
36396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36397         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
36398         "+r" and remove output regs list as redundant.  Add explicit inline
36399         asm to specify register of return val to work around compiler codegen
36400         bug.  Remove (int) cast on return value.  Add return type parameter to
36401         use in macro so that this macro does not truncate return value for
36402         64-bit values.
36403         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
36404         pass to INTERNAL_VSYSCALL_NCS.
36405         (INLINE_VSYSCALL): Add 'long int' as return type to
36406         INTERNAL_VSYSCALL_NCS macro invocation.
36407         (INTERNAL_VSYSCALL): Add 'long int' as return type to
36408         INTERNAL_VSYSCALL_NCS macro invocation.
36409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36411 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36413         [BZ #14496]
36414         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
36415         Fix application of SIMD FP exception mask.
36417         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
36418         mp_no from a power of two.
36419         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
36420         __mpexp_twomm1.  Use __pow_mp.
36422         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
36423         multiplication.
36425 2013-01-17  David S. Miller  <davem@davemloft.net>
36427         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36429 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36431         [BZ #15023]
36432         * include/complex.h: Condition contents on [!_COMPLEX_H].
36433         (__kernel_casinhf): New prototype.
36434         (__kernel_casinh): Likewise.
36435         (__kernel_casinhl): Likewise.
36436         * math/Makefile (libm_calls): Add k_casinh.
36437         * math/k_casinh.c: New file.
36438         * math/k_casinhf.c: Likewise.
36439         * math/k_casinhl.c: Likewise.
36440         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
36441         finite nonzero arguments.
36442         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
36443         finite nonzero arguments.
36444         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
36445         finite nonzero arguments.
36446         * math/s_casinh.c: Do not include <float.h>.
36447         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
36448         * math/s_casinhf.c: Do not include <float.h>.
36449         (__casinhf): Move code for finite nonzero arguments to
36450         k_casinhf.c.
36451         * math/s_casinhl.c: Do not include <float.h>.
36452         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
36453         redefine.
36454         (__casinhl): Move code for finite nonzero arguments to
36455         k_casinhl.c.
36456         * math/libm-test.inc (cacos_test): Add more tests.
36457         * sysdeps/i386/fpu/libm-test-ulps: Update.
36458         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36460 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
36462         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
36463         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
36464         [!HAVE_MREMAP]: Remove [defined linux] case.
36465         * malloc/arena.c: Do not include <malloc-sysdep.h>.
36467 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
36469         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
36471 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
36473         * elf/elf.h (R_386_SIZE32): New relocation.
36474         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
36475         R_386_SIZE32.
36476         (elf_machine_rela): Likewise.
36477         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
36478         R_X86_64_SIZE64 and R_X86_64_SIZE32.
36480 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
36482         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
36483         (FP_FAST_FMA): Do not define.
36484         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
36485         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
36486         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
36487         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
36488         !_SOFT_FLOAT]: Likewise.
36489         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
36490         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
36491         value.
36492         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
36493         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
36494         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
36495         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
36496         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
36497         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
36498         file.
36500 2013-01-16  Andreas Schwab  <schwab@suse.de>
36502         [BZ #14327]
36503         * include/stdlib.h (__mktemp): Add declaration.
36504         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
36505         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
36507 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36509         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
36510         definitions.
36511         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
36512         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
36513         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
36514         definitions here.
36515         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
36516         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
36517         definitions.
36518         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
36519         and ONE.
36520         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
36521         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
36522         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
36523         definitions.
36524         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
36525         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
36526         definitions.
36527         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
36529         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
36531 2013-01-15  David S. Miller  <davem@davemloft.net>
36533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36534         trunc{,f} to libm-sysdep_routes.
36535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
36537         file.
36538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
36539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
36540         file.
36541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
36542         file.
36543         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
36544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
36545         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
36546         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
36547         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
36548         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
36549         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
36550         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
36552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36553         nearbyint{,f} to libm-sysdep_routes.
36554         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
36556         New file.
36557         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
36558         file.
36559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
36560         New file.
36561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
36562         file.
36563         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
36564         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
36565         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
36566         file.
36567         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
36568         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
36569         file.
36570         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
36571         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
36572         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
36574         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
36575         libc_feholdexcept and libc_fesetenv.
36577 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
36579         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
36581 2013-01-14  David S. Miller  <davem@davemloft.net>
36583         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
36584         (SPARC_ASM_VIS2_IFUNC): Likewise.
36585         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
36586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
36587         use of 'siam' instruction.
36588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
36589         Likewise.
36590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
36591         Likewise.
36592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
36593         Likewise.
36594         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
36595         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
36596         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
36597         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
36598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
36599         file.
36600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
36601         file.
36602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
36603         file.
36604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
36605         file.
36606         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
36607         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
36608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
36609         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
36610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
36611         new VIS2 routines.
36612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36615         Likewise.
36616         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36617         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36618         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36619         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
36621         routines to libm-sysdep_routines.
36622         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
36624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
36625         fdim/fdimf to libm-sysdep_routines.
36626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
36627         file.
36628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
36629         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
36630         file.
36631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
36632         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
36633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
36634         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
36635         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
36636         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
36637         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
36639 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
36641         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
36642         to optimize copies.
36644         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
36645         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
36646         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
36648         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
36649         local variable MPTWO.
36650         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
36651         Likewise.
36653 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36655         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
36656         GLOB_NOESCAPE.
36658 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36660         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
36662 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
36664         * manual/pattern.texi (glob_t): Document gl_flags.
36665         (glob64_t): Likewise.
36667 2013-01-11  David S. Miller  <davem@davemloft.net>
36669         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
36670         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
36671         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
36672         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
36673         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
36674         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
36675         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
36676         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
36677         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
36678         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
36679         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
36680         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
36681         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
36683         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36684         sparc V9 rather than using V8 code.
36685         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36686         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36688         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36689         Move to...
36690         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
36691         Here.
36693 2013-01-11  Roland McGrath  <roland@hack.frob.com>
36695         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
36696         not in the main loop.
36697         * configure: Regenerated.
36699 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
36701         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
36702         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
36703         to just #else.
36704         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
36705         [!__GLIBC_HAVE_LONG_LONG] case.
36706         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
36707         condition to just #else.
36708         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
36709         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
36710         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
36711         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
36712         unconditional.
36713         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
36714         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36715         #elif condition to just #else.
36716         * sysdeps/unix/sysv/linux/sys/sysmacros.h
36717         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
36718         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
36719         #elif condition to just #else.
36721 2013-01-11  Steve Ellcey  <sellcey@mips.com>
36723         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
36724         (EF_MIPS_ARCH_64): Fix value.
36725         (EF_MIPS_ARCH_32R2): New.
36726         (EF_MIPS_ARCH_64R2): New.
36728 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
36730         * Makeconfig (+link-pie-before-libc): New.
36731         (+link-pie-after-libc): Likewise.
36732         (+link-pie-tests): Likewise.
36733         (+link-pie): Rewritten.
36734         (link-before-libc): Remove $(config-LDFLAGS).
36735         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
36736         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
36737         (config-LDFLAGS): Renamed to ...
36738         (rtld-LDFLAGS): This.
36739         (rtld-tests-LDFLAGS): New macro.
36740         (link-libc-rpath-link): Likewise.
36741         (link-libc-tests-rpath-link): Likewise.
36742         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
36743         (link-libc): Prepand $(link-libc-rpath-link).
36744         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
36745         (test-program-prefix): New macro.
36746         (test-via-rtld-prefix): Likewise.
36747         (test-program-cmd): Likewise.
36748         (host-test-program-cmd): Likewise.
36749         * Makefile ($(common-objpfx)testrun.sh): Replace
36750         $(run-program-prefix) with $(test-program-prefix).
36751         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
36752         $(rtld-LDFLAGS).
36753         ($(common-objpfx)shlib.lds): Likewise.
36754         (build-module-helper): Likewise.
36755         ($(common-objpfx)format.lds): Likewise.
36756         * Rules (binaries-pie-tests): New.
36757         (binaries-pie-notests): Likewise.
36758         (binaries-pie): Rewritten.
36759         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
36760         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
36761         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
36762         (make-test-out): Replace $(host-built-program-cmd) with
36763         $(host-test-program-cmd).
36764         * config.make.in (build-hardcoded-path-in-tests): New variable.
36765         * configure.in (--enable-hardcoded-path-in-tests): New configure
36766         option.
36767         (hardcoded_path_in_tests): New AC_SUBST.
36768         * configure: Regenerated.
36769         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
36770         $(built-program-cmd) with $(test-program-cmd).
36771         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
36772         (test_program_cmd): This.
36773         * elf/Makefile ($(objpfx)order.out): Run test with
36774         $(test-program-prefix).
36775         ($(objpfx)order2.out): Likewise.
36776         ($(objpfx)tst-initorder.out): Likewise.
36777         ($(objpfx)tst-initorder2.out): Likewise.
36778         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
36779         $(test-program-cmd).
36780         ($(objpfx)tst-array1-static.out): Likewise.
36781         ($(objpfx)tst-array2.out): Likewise.
36782         ($(objpfx)tst-array3.out): Likewise.
36783         ($(objpfx)tst-array4.out): Likewise.
36784         ($(objpfx)tst-array5.out): Likewise.
36785         ($(objpfx)tst-array5-static.out): Likewise.
36786         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
36787         $(test-program-cmd).
36788         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
36789         $(run-program-prefix) with $(test-program-prefix).
36790         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
36791         (test_program_prefix): This.
36792         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
36793         $(run-program-prefix) with $(test-program-prefix).
36794         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
36795         (test_program_prefix): This.
36796         * iconvdata/tst-tables.sh: Likewise.
36797         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
36798         $(run-program-prefix) with $(test-program-prefix).
36799         ($(objpfx)tst-translit.out): Likewise.
36800         ($(objpfx)tst-gettext2.out): Likewise.
36801         ($(objpfx)tst-gettext4.out): Likewise.
36802         ($(objpfx)tst-gettext6.out): Likewise.
36803         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
36804         (test_program_prefix): This.
36805         * intl/tst-gettext2.sh: Likewise.
36806         * intl/tst-gettext4.sh  Likewise.
36807         * intl/tst-gettext6.sh: Likewise.
36808         * intl/tst-translit.sh: Likewise.
36809         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
36810         with $(test-program-cmd).
36811         * libio/Makefile ($(objpfx)test-freopen.out): Replace
36812         $(run-program-prefix) with $(test-program-prefix).
36813         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
36814         (test_program_prefix): This.
36815         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
36816         $(run-program-prefix) with $(test-program-prefix).
36817         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
36818         (test_program_prefix): This.
36819         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
36820         * posix/Makefile ($(objpfx)globtest.out): Replace
36821         $(run-via-rtld-prefix) and $(test-wrapper) with
36822         $(test-program-prefix) and $(test-via-rtld-prefix).
36823         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
36824         $(test-program-prefix).
36825         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
36826         $(host-test-program-cmd).
36827         (tst-spawn-ARGS): Likewise.
36828         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
36829         $(test-program-prefix).
36830         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
36831         (test_via_rtld_prefix): This.
36832         (test_wrapper): Renamed to ...
36833         (test_program_prefix): This.
36834         (run_program_prefix): Replaced by test_program_prefix.
36835         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
36836         (test_program_prefix): This.
36837         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
36838         with $(host-test-program-cmd).
36839         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
36840         $(run-program-prefix) with $(test-program-prefix).
36841         ($(objpfx)tst-printf.out): Likewise.
36842         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
36843         $(test-program-cmd).
36844         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
36845         (test_program_prefix): This.
36846         * stdio-common/tst-unbputc.sh: Likewise.
36847         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
36848         $(run-program-prefix) with $(test-program-prefix).
36849         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
36850         (test_program_prefix): This.
36851         * string/Makefile ($(objpfx)tst-svc.out):  Replace
36852         $(built-program-cmd) with $(test-program-cmd).
36854 2013-01-11  Andreas Jaeger  <aj@suse.de>
36856         [BZ #15003]
36857         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
36858         value. Sync with Linux 3.7.
36860 2013-01-10  David S. Miller  <davem@davemloft.net>
36862         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
36863         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36864         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36866 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36868         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
36869         never set.
36870         * configure: Regenerated.
36872 2013-01-10  David S. Miller  <davem@davemloft.net>
36874         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
36875         sparc V9 rather than using V8 code.
36876         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
36877         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
36879 2013-01-10  Roland McGrath  <roland@hack.frob.com>
36881         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
36882         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
36883         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
36884         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
36885         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
36886         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
36887         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
36888         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
36889         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
36890         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
36891         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
36892         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
36893         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
36894         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
36895         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
36896         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
36897         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
36898         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
36899         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
36900         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
36901         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
36902         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
36903         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
36904         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
36905         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
36906         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
36907         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
36909 2013-01-10  David S. Miller  <davem@davemloft.net>
36911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36913 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36915         * posix/Makefile (tests-static): New variable.
36916         (tests): Add $(tests-static).
36917         (tst-exec-static-ARGS): New variable.
36918         (tst-spawn-static-ARGS): Likewise.
36919         * posix/tst-exec-static.c: New file.
36920         * posix/tst-spawn-static.c: Likewise.
36921         * posix/tst-exec.c: Support run directly.
36922         * posix/tst-spawn.c: Likewise.
36924 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
36926         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
36927         long.
36928         * math/bits/mathcalls.h (llrint): Likewise.
36929         (llround): Likewise.
36930         * stdlib/stdlib.h (struct drand48_data): Likewise.
36931         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
36932         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
36933         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
36934         Likewise.
36935         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
36936         Likewise.
36937         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
36938         (elf_greg_t): Likewise.
36939         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
36940         (__jmp_buf): Likewise.
36941         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
36942         definitions.
36943         (llrint): Likewise, for all definitions.
36944         (llrintl): Likewise.
36946         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
36947         Remove [__GNUC__] condition.
36948         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
36949         condition to just [__USE_ISOC99].
36950         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
36952 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
36954         [BZ #14200]
36955         * sysdeps/unix/sysv/linux/x86/bits/environments.h
36956         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
36957         defined.
36958         (_POSIX_V6_ILP32_OFF32): Likewise.
36959         (_XBS5_ILP32_OFF32): Likewise.
36960         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
36961         (__ILP32_OFFBIG_LDFLAGS): Likewise.
36963 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36965         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
36967         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
36968         doubles __mpexp_twomm1.  Adjust usage.
36969         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
36970         Remove.
36972 2013-01-10  Andreas Schwab  <schwab@suse.de>
36974         [BZ #14964]
36975         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
36976         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
36978 2013-01-09  David S. Miller  <davem@davemloft.net>
36980         [BZ #15003]
36981         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
36982         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
36983         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
36984         (TCP_FASTOPEN): Define.
36985         (tcp_repair_opt): New structure.
36986         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
36987         enum values.
36988         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
36989         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
36990         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
36991         (tcp_cookie_transactions): New structure.
36993 2013-01-09  Anton Blanchard  <anton@samba.org>
36995         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
36996         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
36997         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
36998         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37000 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
37002         * include/features.h (__USE_ANSI): Remove.
37004 2013-01-09  Roland McGrath  <roland@hack.frob.com>
37006         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
37008         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
37010 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37012         * sysdeps/s390/fpu/libm-test-ulps: Update.
37014         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37016         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
37017         (__acr): Likewise.
37018         (__cpy): Likewise.
37019         (norm): Likewise.
37020         (denorm): Likewise.
37021         (__mp_dbl): Likewise.
37022         (__dbl_mp): Likewise.
37023         (add_magnitudes): Likewise.
37024         (sub_magnitudes): Likewise.
37025         (__add): Likewise.
37026         (__sub): Likewise.
37027         (__mul): Likewise.
37028         (__inv): Likewise.
37029         (__dvd): Likewise.
37030         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
37031         (__acr): Likewise.
37032         (__cpy): Likewise.
37033         (norm): Likewise.
37034         (denorm): Likewise.
37035         (__mp_dbl): Likewise.
37036         (__dbl_mp): Likewise.
37037         (add_magnitudes): Likewise.
37038         (sub_magnitudes): Likewise.
37039         (__add): Likewise.
37040         (__sub): Likewise.
37041         (__mul): Likewise.
37042         (__inv): Likewise.
37043         (__dvd): Likewise.
37044         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
37045         (__acr): Likewise.
37046         (__cpy): Likewise.
37047         (norm): Likewise.
37048         (denorm): Likewise.
37049         (__mp_dbl): Likewise.
37050         (__dbl_mp): Likewise.
37051         (add_magnitudes): Likewise.
37052         (sub_magnitudes): Likewise.
37053         (__add): Likewise.
37054         (__sub): Likewise.
37055         (__mul): Likewise.
37056         (__inv): Likewise.
37057         (__dvd): Likewise.
37059 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
37061         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
37062         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
37063         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
37064         2 && __USE_EXTERN_INLINES]: Likewise.
37066 2013-01-08  Andreas Jaeger  <aj@suse.de>
37068         [BZ# 14985]
37069         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
37070         Remove.
37071         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37072         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
37074 2013-01-07  Anton Blanchard  <anton@samba.org>
37076         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
37077         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
37078         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
37079         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
37080         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
37081         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37082         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
37083         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37084         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37085         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37086         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
37087         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
37088         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37089         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
37090         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
37091         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
37092         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
37093         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
37094         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
37095         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
37096         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
37097         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
37098         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
37099         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
37100         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
37101         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
37102         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
37103         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
37104         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
37105         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37106         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
37107         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37108         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37109         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
37110         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
37111         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
37112         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
37113         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37114         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
37115         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
37116         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
37117         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
37118         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
37120 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
37122         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
37123         (__MALLOC_PMT): Likewise.
37124         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
37125         [__GNUC__], only on [_LIBC].
37126         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37127         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
37128         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
37129         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
37130         forward declaration.
37131         (realloc_hook_ini): Likewise.
37132         (memalign_hook_ini): Likewise.
37133         (__libc_memalign): Do not use __MALLOC_PMT in variable
37134         declaration.
37135         (__libc_valloc): Likewise.
37136         (__libc_pvalloc): Likewise.
37137         (__libc_calloc): Likewise.
37138         (__posix_memalign): Likewise.
37140         [BZ #14996]
37141         * math/s_casinh.c: Include <float.h>.
37142         (__casinh): Do not do computation with squaring and square root
37143         for large arguments.
37144         * math/s_casinhf.c: Include <float.h>.
37145         (__casinhf): Do not do computation with squaring and square root
37146         for large arguments.
37147         * math/s_casinhl.c: Include <float.h>.
37148         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
37149         (__casinhl): Do not do computation with squaring and square root
37150         for large arguments.
37151         * math/libm-test.inc (casin_test): Add more tests.
37152         (casinh_test): Likewise.
37153         * sysdeps/i386/fpu/libm-test-ulps: Update.
37154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37156 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
37158         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
37159         (__x86_64_raw_data_cache_size): Likewise.
37160         (__x86_64_data_cache_size_half): Likewise.
37161         (__x86_64_raw_data_cache_size_half): Likewise.
37162         (__x86_64_shared_cache_size): Likewise.
37163         (__x86_64_raw_shared_cache_size): Likewise.
37164         (__x86_64_shared_cache_size_half): Likewise.
37165         (__x86_64_raw_shared_cache_size_half): Likewise.
37166         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
37167         to ...
37168         (__x86_data_cache_size): This.
37169         (__x86_64_raw_data_cache_size): Renamed to ...
37170         (__x86_raw_data_cache_size): This.
37171         (__x86_64_data_cache_size_half): Renamed to ...
37172         (__x86_data_cache_size_half): This.
37173         (__x86_64_raw_data_cache_size_half): Renamed to ...
37174         (__x86_raw_data_cache_size_half): This.
37175         (__x86_64_shared_cache_size): Renamed to ...
37176         (__x86_shared_cache_size): This.
37177         (__x86_64_raw_shared_cache_size): Renamed to ...
37178         (__x86_raw_shared_cache_size): This.
37179         (__x86_64_shared_cache_size_half): Renamed to ...
37180         (__x86_shared_cache_size_half): This.
37181         (__x86_64_raw_shared_cache_size_half): Renamed to ...
37182         (__x86_raw_shared_cache_size_half): This.
37183         * sysdeps/x86_64/memcpy.S: Updated.
37184         * sysdeps/x86_64/memset.S: Likewise.
37185         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
37186         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
37187         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
37189 2013-01-04  David S. Miller  <davem@davemloft.net>
37191         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37193 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
37195         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
37196         1 to avoid redefinition warning.
37197         (__USE_GNU): Don't define.
37198         (init_signaling_nan): Protoize.
37200         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37202 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37204         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
37205         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
37206         (__cpymn): Likewise.
37207         (norm): Remove commented code.
37208         (denorm): Likewise.
37209         (__mp_dbl): Likewise.
37210         (__inv): Likewise.
37211         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
37212         (__cpymn): Likewise.
37213         (norm): Remove commented code.
37214         (denorm): Likewise.
37215         (__mp_dbl): Likewise.
37216         (__inv): Likewise.
37218         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
37219         mp_no value for 1.0 and 2.0.
37220         (norm): Use RADIXI instead of radixi.d.
37221         (denorm): Likewise.
37222         (__mul): Use 0.0 instead of zero.d.
37223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
37224         mp_no value for 1.0 and 2.0.
37225         (norm): Use RADIXI instead of radixi.d.
37226         (denorm): Likewise.
37227         (__mul): Use 0.0 instead of zero.d.
37229 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
37231         [BZ #14994]
37232         * math/s_casinh.c (__casinh): Reduce finite argument to first
37233         quadrant then set signs of results at the end.
37234         * math/s_casinhf.c (__casinhf): Likewise.
37235         * math/s_casinhl.c (__casinhl): Likewise.
37236         * math/libm-test.inc (casin_test): Add more tests.
37237         (casinh_test): Likewise.
37238         * sysdeps/i386/fpu/libm-test-ulps: Update.
37239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37241 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37243         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
37245         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
37247         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
37248         declarations.
37249         (denorm): Likewise.
37250         (__mp_dbl): Likewise.
37251         (__inv): Likewise.
37253         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
37254         and adjust the header comment.
37256         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
37257         variable name from declaration.
37259 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
37261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37262         Initialize COMMON_CPUID_INDEX_7 element.
37263         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
37264         (CPUID_RTM): Likewise.
37265         (HAS_RTM): Likewise.
37266         (COMMON_CPUID_INDEX_7): New enum.
37268 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
37270         [BZ #14981]
37271         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
37272         size is zero, record memory as freed.
37274 2013-01-03  Andreas Jaeger  <aj@suse.de>
37276         * po/ia.po: Add new Interlingua translation.
37278 2012-01-03  Allan McRae  <allan@archlinux.org>
37280         * locale/programs/localedef.c: Fix description of '--posix' flag.
37282 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
37284         * NEWS: Update dates in second copyright notice.
37285         * README: Update copyright dates in example.
37286         * manual/libc.texinfo: Update copyright dates.
37287         * scripts/test-installation.pl: Update copyright date in --version
37288         output.
37290         * hurd/ctty-input.c: Fix copyright notice formatting.
37291         * hurd/ctty-output.c: Likewise.
37292         * hurd/dtable.c: Likewise.
37293         * hurd/hurd-raise.c: Likewise.
37294         * hurd/hurdprio.c: Likewise.
37295         * hurd/msgportdemux.c: Likewise.
37296         * misc/sys/file.h: Likewise.
37297         * misc/sys/ioctl.h: Likewise.
37298         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
37299         * sysdeps/mach/hurd/chdir.c: Likewise.
37300         * sysdeps/mach/hurd/fchdir.c: Likewise.
37301         * sysdeps/mach/hurd/rename.c: Likewise.
37302         * sysdeps/mach/hurd/rmdir.c: Likewise.
37303         * sysdeps/mach/hurd/seekdir.c: Likewise.
37304         * sysdeps/mach/hurd/setsid.c: Likewise.
37305         * sysdeps/posix/wait3.c: Likewise.
37307         * All files with FSF copyright notices: Update copyright dates
37308         using scripts/update-copyrights.
37309         * intl/plural.c: Regenerated.
37310         * locale/programs/charmap-kw.h: Likewise.
37311         * locale/programs/locfile-kw.h: Likewise.
37313 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37315         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
37316         four values.
37318         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
37319         calculation loop and add branch prediction.
37321         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
37322         check access beyond bounds of m1np.
37324         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37325         MPTWO.
37326         (__inv): Remove local variable MPTWO to use the global
37327         constant.
37328         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
37329         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37330         variable MPTWO.
37331         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
37332         MP3HALFS static const.
37334 2013-01-01  David S. Miller  <davem@davemloft.net>
37336         * po/ca.po: Update from translation team.
37338 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
37340         * scripts/update-copyrights: New file.
37341         * Makeconfig: Reformat copyright notice.
37342         * ctype/ctype.h: Likewise.
37343         * debug/swprintf_chk.c: Likewise.
37344         * elf/dl-cache.c: Likewise.
37345         * elf/dl-debug.c: Likewise.
37346         * elf/dl-object.c: Likewise.
37347         * grp/initgroups.c: Likewise.
37348         * hurd/Makefile: Likewise.
37349         * hurd/hurd/signal.h: Likewise.
37350         * hurd/hurdfault.c: Likewise.
37351         * hurd/hurdioctl.c: Likewise.
37352         * hurd/hurdlookup.c: Likewise.
37353         * hurd/intr-msg.c: Likewise.
37354         * iconv/gconv_open.c: Likewise.
37355         * libio/swprintf.c: Likewise.
37356         * locale/lc-ctype.c: Likewise.
37357         * locale/nl_langinfo.c: Likewise.
37358         * mach/Machrules: Likewise.
37359         * mach/Makefile: Likewise.
37360         * malloc/obstack.h: Likewise.
37361         * manual/Makefile: Likewise.
37362         * manual/tsort.awk: Likewise.
37363         * misc/bits/stab.def: Likewise.
37364         * nis/nis_print_group_entry.c: Likewise.
37365         * nis/nis_table.c: Likewise.
37366         * nis/nss_compat/compat-pwd.c: Likewise.
37367         * nis/nss_compat/compat-spwd.c: Likewise.
37368         * po/Makefile: Likewise.
37369         * posix/fnmatch.c: Likewise.
37370         * posix/regex.h: Likewise.
37371         * resolv/Makefile: Likewise.
37372         * resolv/nss_dns/dns-network.c: Likewise.
37373         * resolv/res_hconf.c: Likewise.
37374         * scripts/gen-sorted.awk: Likewise.
37375         * soft-fp/soft-fp.h: Likewise.
37376         * stdio-common/printf.h: Likewise.
37377         * stdlib/monetary.h: Likewise.
37378         * stdlib/random.c: Likewise.
37379         * stdlib/random_r.c: Likewise.
37380         * sysdeps/generic/Makefile: Likewise.
37381         * sysdeps/gnu/Makefile: Likewise.
37382         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37383         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37384         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37385         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37386         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37387         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37388         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37389         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37390         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37391         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37392         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37393         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37394         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37395         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37396         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
37397         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37398         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37399         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37400         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37401         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37402         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37403         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37404         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37405         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
37406         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
37407         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
37408         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
37409         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
37410         * sysdeps/mach/hurd/errnos.awk: Likewise.
37411         * sysdeps/mach/hurd/fork.c: Likewise.
37412         * sysdeps/mach/hurd/getcwd.c: Likewise.
37413         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
37414         * sysdeps/mach/hurd/mmap.c: Likewise.
37415         * sysdeps/mach/hurd/utimes.c: Likewise.
37416         * sysdeps/mach/hurd/xmknod.c: Likewise.
37417         * sysdeps/posix/profil.c: Likewise.
37418         * sysdeps/posix/readdir_r.c: Likewise.
37419         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37420         * sysdeps/powerpc/bits/setjmp.h: Likewise.
37421         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
37422         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
37423         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
37424         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37425         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37426         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37427         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
37428         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37429         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37430         * sysdeps/pthread/lio_listio.c: Likewise.
37431         * sysdeps/sparc/dl-procinfo.h: Likewise.
37432         * sysdeps/unix/i386/sysdep.S: Likewise.
37433         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
37434         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
37435         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
37436         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
37437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37438         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
37439         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
37440         * sysdeps/unix/sysv/linux/speed.c: Likewise.
37441         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
37442         * sysdeps/wordsize-32/divdi3.c: Likewise.
37443         * time/sys/time.h: Likewise.
37444         * wcsmbs/Makefile: Likewise.
37446 2013-01-01  David S. Miller  <davem@davemloft.net>
37448         * po/fr.po: Update from translation team.
37450         * catgets/gencat.c: Update copyright year.
37451         * csu/version.c: Likewise.
37452         * debug/catchsegv.sh: Likewise.
37453         * debug/pcprofiledump.c: Likewise.
37454         * debug/xtrace.sh: Likewise.
37455         * elf/ldconfig.c: Likewise.
37456         * elf/ldd.bash.in: Likewise.
37457         * elf/pldd.c: Likewise.
37458         * elf/sotruss.ksh: Likewise.
37459         * elf/sprof.c: Likewise.
37460         * iconv/iconv_prog.c: Likewise.
37461         * iconv/iconvconfig.c: Likewise.
37462         * locale/programs/locale.c: Likewise.
37463         * locale/programs/localedef.c: Likewise.
37464         * login/programs/pt_chown.c: Likewise.
37465         * malloc/memusage.sh: Likewise.
37466         * malloc/memusagestat.c: Likewise.
37467         * malloc/mtrace.pl: Likewise.
37468         * nscd/nscd.c: Likewise.
37469         * nss/getent.c: Likewise.
37470         * nss/makedb.c: Likewise.
37471         * posix/getconf.c: Likewise.
37473 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
37475         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
37476         numbers.
37478 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
37480         * math/bits/mathcalls.h (modf): Use __nonnull.
37482 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37484         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
37485         (split): Use macro CN instead of the bare value.
37486         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
37487         could be used.
37488         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
37489         instead of the bare value.
37490         (power1): Likewise.
37492 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37494         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
37495         __ATAN_TWOM.
37496         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37498         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
37499         their values.
37500         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
37501         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
37502         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
37503         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
37505 2012-12-28  Andreas Jaeger  <aj@suse.de>
37507         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
37508         values are from Linux 3.7.
37510         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
37511         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
37513 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37515         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
37516         TRUE case.
37518         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
37519         (norm): Likewise.
37520         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
37521         variables with preprocessor constants.
37522         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37523         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37524         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37526 2012-12-27  Bruno Haible  <bruno@clisp.org>
37528         [BZ #14317]
37529         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
37530         only if needed.
37532 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37534         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
37535         and use variable directly.
37536         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
37538         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
37539         MPONE.
37540         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
37541         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
37542         variable MPONE.
37543         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
37544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
37545         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
37546         include directive.  Remove local variable MPONE.
37547         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
37548         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
37549         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37551 2012-12-25  David S. Miller  <davem@davemloft.net>
37553         * version.h (RELEASE): Set to "development".
37554         (VERSION): Set to "2.17.90".
37555         * NEWS: Add 2.18 section.
37557 2012-12-21  David S. Miller  <davem@davemloft.net>
37559         * po/hr.po: Update from translation team.
37561 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37563         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
37565 2012-12-19  Steve Ellcey  <sellcey@mips.com>
37567         * NEWS:  Mention new memcpy for MIPS.
37569 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
37571         * manual/contrib.texi (Contributors): Spelling correction.
37573 2012-12-15  David S. Miller  <davem@davemloft.net>
37575         * po/ru.po: Update from translation team.
37577 2012-12-13  David S. Miller  <davem@davemloft.net>
37579         * NEWS: Mention IFUNC testsuite enhancements.
37581         * po/pl.po: Update from translation team.
37582         * po/bg.po: Likewise.
37584         * manual/contrib.texi (Contributors): Update entries for Hongjiu
37585         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
37587 2012-12-11  David S. Miller  <davem@davemloft.net>
37589         * po/sv.po: Update from translation team.
37591         * po/vi.po: Update from translation team.
37593         * po/cs.po: Update from translation team.
37595         * po/de.po: Update from translation team.
37596         * po/eo.po: Likewise.
37597         * po/nl.po: Likewise.
37599 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
37601         [BZ #14246]
37602         * manual/argp.texi (Argp Helper Functions): Move node to follow
37603         Argp Parsing State.
37605         [BZ #14872]
37606         * manual/conf.texi (Limits on File System Capacity): Mention if
37607         terminating null is included in the max size.
37609 2012-12-10  Andreas Jaeger  <aj@suse.de>
37611         * po/cs.po: Update from translation team.
37613 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37615         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
37616         void pointer and cast to uintptr_t.
37617         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
37618         path.
37619         * sysdeps/s390/s390-64/memcpy.S: Likewise.
37620         * sysdeps/s390/s390-64/memset.S: Likewise.
37622 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
37624         [BZ #14833]
37625         * menual/message.texi (Message Translation): Fix typos.
37626         (Helper programs for gettext): Likewise.
37628 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
37630         [BZ #14898]
37631         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
37632         Change to -1.
37634 2012-12-07  David S. Miller  <davem@davemloft.net>
37636         * po/libc.pot: Update.
37638 2012-12-07  Richard Henderson  <rth@redhat.com>
37640         [BZ #10114]
37641         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
37642         normal/normal case to before the switch.
37643         (_FP_DIV): Likewise.
37645 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
37646             Mike Frysinger  <vapier@gentoo.org>
37648         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
37649         check for __NR_fadvise64_64.
37651 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
37653         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
37654         0, not just to plain "0" as a statement.
37655         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
37656         with cw.
37658 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
37660         * NEWS: Use sourceware.org in Bugzilla URL.
37662 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
37664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37665         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37667         * stdio-common/tst-put-error.c (do_test): Add newline to the
37668         padded test to ensure flush.
37670 2012-12-05  Jeff Law  <law@redhat.com>
37672         * sunrpc/etc.rpc (fedfs_admin): Add entry.
37674 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
37676         * README: Don't refer to ports add-on as distributed separately.
37677         Mention AArch64 in list of systems supported in the ports add-on.
37679         * LICENSES: Add more non-FSF copyright and license notices.
37681         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
37682         ((unused)).
37684         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
37686         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
37687         10000 as width of padded output.
37689 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37691         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
37693         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
37694         variable LX with __attribute__ ((unused)).
37695         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
37696         Likewise.
37697         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
37698         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37699         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
37700         with __attribute__ ((unused)).
37702 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
37704         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
37706 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
37708         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
37709         (CFLAGS-nldbl-acos.c): New variable.
37710         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
37711         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
37712         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
37713         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
37714         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
37715         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
37716         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
37717         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
37718         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
37719         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
37720         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
37721         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
37722         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
37723         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
37724         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
37725         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
37726         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
37727         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
37728         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
37729         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
37730         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
37731         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
37732         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
37733         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
37734         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
37735         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
37736         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
37737         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
37738         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
37739         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
37740         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
37741         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
37742         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
37743         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
37744         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
37745         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
37746         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
37747         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
37748         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
37749         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
37750         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
37751         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
37752         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
37753         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
37754         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
37755         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
37756         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
37757         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
37758         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
37759         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
37760         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
37761         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
37762         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
37763         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
37764         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
37765         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
37766         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
37767         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
37768         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
37769         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
37770         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
37771         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
37772         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
37773         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
37774         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
37775         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
37776         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
37777         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
37778         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
37779         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
37780         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
37781         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
37782         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
37783         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
37784         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
37785         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
37786         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
37787         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
37788         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
37789         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
37790         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
37791         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
37792         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
37793         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
37794         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
37795         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
37796         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
37797         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
37798         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
37799         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
37800         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
37801         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
37802         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
37803         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
37804         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
37805         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
37806         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
37808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37809         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
37811         [BZ #14914]
37812         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
37813         whole low double instead of just low 47 bits when splitting values
37814         into two parts.
37816 2012-12-03  Allan McRae  <allan@archlinux.org>
37818         * manual/stdio.texi (Predefined Printf Handlers): Remove
37819         @hsep and @vsep usage.
37821 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
37823         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
37824         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
37826 2012-12-03  Jeff Law  <law@redhat.com>
37828         * time/sys/time.h (settimeofday): Do not mark TV argument
37829         as __nonnull.
37831 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
37833         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
37834         when currently writing and seek to current position when not.
37835         * libio/Makefile (tests): Remove bug-fclose1.
37836         * libio/bug-fclose1.c: Delete.
37838 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
37840         * manual/arith.texi (feenableexcept): Fix typo.
37841         (fedisableexcept): Likewise.
37843 2012-11-30  Roland McGrath  <roland@hack.frob.com>
37845         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
37846         second, differently-typed declaration, rather than a cast.
37848 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
37850         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
37851         * include/rpc/svc.h: ... here.
37853 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
37855         [BZ #13013]
37856         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
37857         depending n and resplen2 to catch cases where answer
37858         equals answerp2.
37860 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
37862         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
37863         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
37865 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
37867         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
37869 2012-11-29  Roland McGrath  <roland@hack.frob.com>
37871         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
37873 2012-11-28  Jeff Law  <law@redhat.com>
37875         [BZ #13761]
37876         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
37877         dataset_temporary.  Track alloca usage into alloca_used.
37878         If dataset is large allocate and release it via malloc/free.
37880 2012-06-04  Florian Weimer  <fweimer@redhat.com>
37882         [BZ #14197]
37883         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
37885 2012-11-28  David S. Miller  <davem@davemloft.net>
37887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37889 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37891         [BZ #14803]
37892         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
37893         of pi/2 rounded to nearest to 64 bits.
37894         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
37895         nearest to 64 bits.
37896         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
37897         bits.
37899 2012-11-28  Jeff Law <law@redhat.com>
37900             Martin Osvald <mosvald@redhat.com>
37902         [BZ #14889]
37903         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
37904         * sunrpc/svc.c: Include time.h.
37905         (__svc_accept_failed): New function.
37906         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
37907         any reason other than EINTR, call __svc_accept_failed.
37908         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
37909         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
37911 2012-11-28  Andreas Schwab  <schwab@suse.de>
37913         * scripts/abilist.awk: Also handle indirect functions in .opd
37914         section.
37916 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
37918         [BZ #13881]
37919         * sysdeps/x86/fpu/powl_helper.c: New file.
37920         * sysdeps/x86/fpu/Makefile: Likewise.
37921         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
37922         (p3): New object.
37923         (__ieee754_powl): Use __powl_helper for finite arguments except
37924         integer exponents below 8.
37925         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
37926         (p3): New object.
37927         (__ieee754_powl): Use __powl_helper for finite arguments except
37928         integer exponents below 8.
37929         * math/libm-test.inc (pow_test): Add more tests and enable some
37930         previously disabled tests.
37931         * sysdeps/i386/fpu/libm-test-ulps: Update.
37932         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37934 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37935             Carlos O'Donell  <carlos_odonell@mentor.com>
37937         * nss/makedb.c (is_prime): Assert that input is odd and greater
37938         than 4.  Note that fact in a comment too.
37939         (next_prime): Add 4 to input.
37941 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37943         [BZ #11741]
37944         * libio/Makefile (tests): Add test case tst-fwrite-error.
37945         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
37946         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
37947         * libio/tst-fwrite-error.c: New test case.
37949 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
37951         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
37952         before casting to void *.
37953         * include/libc-internal.h (__pointer_type): New macro.
37954         (__integer_if_pointer_type_sub): Likewise.
37955         (__integer_if_pointer_type): Likewise.
37956         (cast_to_integer): Likewise.
37957         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
37958         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
37959         before casting to atomic64_t.
37960         (atomic_exchange_acq): Likewise.
37961         (__arch_exchange_and_add_body): Likewise.
37962         (__arch_add_body): Likewise.
37963         (atomic_add_negative): Likewise.
37964         (atomic_add_zero): Likewise.
37966 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
37968         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
37969         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
37970         (add_fdes): Likewise.
37971         (linear_search_fdes): Likewise.
37972         (binary_search_unencoded_fdes): Likewise.
37974 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
37976         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
37978 2012-11-24  Adam Conrad  <adconrad@0c3.net>
37980         * configure.in: Autodetect C++ header directories.
37981         * configure: Regenerated.
37983 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
37985         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
37987 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
37989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37991 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
37993         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
37994         LDBL_MANT_DIG == 106]: Disable some tests.
37995         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37996         Likewise.
37997         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
37998         Likewise.
38000         [BZ #14871]
38001         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
38002         input for small inputs.  Return +/- pi/2 for large inputs.
38003         * math/libm-test.inc (atan_test): Add more tests.
38005         * sysdeps/generic/unwind-dw2-fde-glibc.c
38006         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
38007         __attribute__ ((unused)).
38009         [BZ #14645]
38010         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
38011         x * y if x and y are nonzero and z is zero.
38013         [BZ #14811]
38014         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
38015         nonzero exponents with absolute value below 0x1p-117 to +/-
38016         0x1p-117.
38018         [BZ #14869]
38019         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
38020         up arguments below 2**-450, not just those below 2**-500.
38021         * math/libm-test.inc (hypot_test): Add another test.
38023         [BZ #14868]
38024         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
38025         Return a+b for ratio over 2**120, not 2**60.
38026         * math/libm-test.inc (hypot_test): Add another test.
38028         * math/libm-test.inc (clog_test): Use
38029         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
38030         (clog10_test): Likewise.
38032         [BZ #6778]
38033         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
38035 2012-11-22  Andreas Schwab  <schwab@suse.de>
38037         * sysdeps/i386/fpu/libm-test-ulps: Update.
38039 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
38041         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
38042         printf output with newline.
38044 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
38046         [BZ #14865]
38047         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
38048         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
38049         -z nodlopen, -z initfirst and -z execstack support.
38050         * configure: Regenerated.
38052         * elf/elf.h (DF_1_NODIRECT): New macro.
38053         (DF_1_IGNMULDEF): Likewise.
38054         (DF_1_NOKSYMS): Likewise.
38055         (DF_1_NOHDR): Likewise.
38056         (DF_1_EDITED): Likewise.
38057         (DF_1_NORELOC): Likewise.
38058         (DF_1_SYMINTPOSE): Likewise.
38059         (DF_1_GLOBAUDIT): Likewise.
38060         (DF_1_SINGLETON): Likewise.
38061         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
38062         DT_1_SUPPORTED_MASK bits.
38063         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
38065 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
38067         * sysdeps/unix/make-syscalls.sh: Document prefixes.
38069 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
38071         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
38072         macro.
38074         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
38075         (sendmmsg): Move declarations...
38076         * socket/sys/socket.h: ... here.
38077         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
38078         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
38079         include it from...
38080         * socket/recvmmsg.c: ... this new file.
38081         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
38082         (sendmmsg): Rename to __sendmmsg, create weak alias and make
38083         definition of __sendmmsg hidden.
38084         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
38085         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
38086         Move ENOSYS stub into and include it from...
38087         * socket/sendmmsg.c: ... this new file.
38088         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
38089         (sysdep_routines): Move recvmmsg and sendmmsg...
38090         * socket/Makefile (routines): ... here.
38091         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
38092         (GLIBC_PRIVATE): Add __sendmmsg.
38093         * include/sys/socket.h (__sendmmsg): Add declarations.
38094         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
38095         sendmmsg.
38097 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
38099         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
38100         variable I1 with __attribute__ ((unused)).
38101         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38103 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38105         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
38106         DUMMY variables with __attribute__ ((unused)).
38108         * bits/byteswap.h: Include <bits/types.h>.
38109         (__bswap_64): Use __uint64_t instead of unsigned long long int.
38111 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38113         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
38114         string_t.  Do not manually set errno.
38115         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
38116         length with __strnlen.  Make sure to both set errno and return it on
38117         failure.
38119 2012-11-19  David S. Miller  <davem@davemloft.net>
38121         With help from Joseph Myers.
38122         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
38123         very large arguments properly.
38124         * math/libm-test.inc (atan_test): New tests.
38125         (atan2_test): New tests.
38126         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38127         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38129 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
38131         [BZ #14856]
38132         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
38133         Define to 3.
38135         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
38136         [POSIX] (EADDRNOTAVAIL): Likewise.
38137         [POSIX] (EAFNOSUPPORT): Likewise.
38138         [POSIX] (EALREADY): Likewise.
38139         [POSIX] (ECONNABORTED): Likewise.
38140         [POSIX] (ECONNREFUSED): Likewise.
38141         [POSIX] (ECONNRESET): Likewise.
38142         [POSIX] (EDESTADDRREQ): Likewise.
38143         [POSIX] (EDQUOT): Likewise.
38144         [POSIX] (EHOSTUNREACH): Likewise.
38145         [POSIX] (EIDRM): Likewise.
38146         [POSIX] (EISCONN): Likewise.
38147         [POSIX] (ELOOP): Likewise.
38148         [POSIX] (EMULTIHOP): Likewise.
38149         [POSIX] (ENETDOWN): Likewise.
38150         [POSIX] (ENETUNREACH): Likewise.
38151         [POSIX] (ENOBUFS): Likewise.
38152         [POSIX] (ENODATA): Likewise.
38153         [POSIX] (ENOLINK): Likewise.
38154         [POSIX] (ENOMSG): Likewise.
38155         [POSIX] (ENOPROTOOPT): Likewise.
38156         [POSIX] (ENOSR): Likewise.
38157         [POSIX] (ENOSTR): Likewise.
38158         [POSIX] (ENOTCONN): Likewise.
38159         [POSIX] (ENOTSOCK): Likewise.
38160         [POSIX] (EOPNOTSUPP): Likewise.
38161         [POSIX] (EOVERFLOW): Likewise.
38162         [POSIX] (EPROTO): Likewise.
38163         [POSIX] (EPROTONOSUPPORT): Likewise.
38164         [POSIX] (EPROTOTYPE): Likewise.
38165         [POSIX] (ESTALE): Likewise.
38166         [POSIX] (ETIME): Likewise.
38167         [POSIX] (ETXTBSY): Likewise.
38168         [POSIX] (EWOULDBLOCK): Likewise.
38169         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
38170         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
38171         [POSIX] (SEEK_CUR): Likewise.
38172         [POSIX] (SEEK_END): Likewise.
38173         [POSIX || UNIX98] (mode_t): Do not require.
38174         [POSIX] (off_t): Likewise.
38175         [POSIX] (pid_t): Likewise.
38176         [POSIX] (sys/stat.h): Do not allow header.
38177         [POSIX] (unistd.h): Likewise.
38178         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
38179         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
38180         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
38181         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
38182         require.
38183         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
38184         sigevent): Specify elements.
38185         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
38186         entry.
38187         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
38188         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
38190         * conform/data/cpio.h-data [POSIX]: Disable whole file.
38191         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
38192         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
38193         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
38194         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
38195         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
38196         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
38197         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
38198         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
38199         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
38200         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
38201         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
38202         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
38203         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
38204         Likewise.
38205         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
38206         Likewise.
38207         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
38208         Likewise.
38209         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
38210         Likewise.
38211         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
38212         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
38213         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
38214         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
38215         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
38216         Specify lower bound on value.
38217         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
38218         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
38219         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
38220         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
38221         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
38222         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
38223         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
38224         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
38225         value.
38226         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
38227         as optional.
38228         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
38229         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
38230         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
38231         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
38232         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
38233         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
38234         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
38235         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
38236         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
38237         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
38238         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
38239         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
38240         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
38241         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
38242         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
38243         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
38244         entry.
38245         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
38246         optional.
38247         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
38248         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
38249         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
38250         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
38251         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
38252         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
38253         Likewise.
38254         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
38255         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
38256         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
38257         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
38258         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
38259         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
38260         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
38261         as optional.
38262         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
38263         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
38264         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
38265         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
38266         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
38267         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
38268         specify as optional.
38269         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
38270         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
38271         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
38272         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
38273         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
38274         [XPG3] (NL_LANGMAX): Likewise.
38275         [POSIX || XPG3] (NL_MSGMAX): Likewise.
38276         [POSIX || XPG3] (NL_NMAX): Likewise.
38277         [POSIX || XPG3] (NL_SETMAX): Likewise.
38278         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
38279         [XPG3] (NZERO): Likewise.
38280         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
38281         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
38282         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
38283         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
38284         (REG_ERANGE): Expect.
38285         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
38286         optional-constant.
38287         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
38288         Use (void) in prototype.
38289         [POSIX] (*_t): Allow.
38290         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
38291         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
38292         (WRDE_BADVAL): Expect.
38294         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
38295         expect.
38296         [XPG3 || XPG4] (O_RSYNC): Likewise.
38297         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
38298         Likewise.
38299         [XPG3 || XPG4] (pthread_sigmask): Likewise.
38300         [XPG3 || XPG4] (sigqueue): Likewise.
38301         [XPG3 || XPG4] (sigtimedwait): Likewise.
38302         [XPG3 || XPG4] (sigwaitinfo): Likewise.
38303         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
38304         [XPG3 || XPG4] (vsnprintf): Likewise.
38305         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
38306         Likewise.
38307         [XPG3 || XPG4] (blksize_t): Likewise.
38308         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
38309         Likewise.
38310         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
38311         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
38312         [XPG3 || XPG4] (struct itimerspec): Likewise.
38313         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
38314         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
38315         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
38316         [XPG3 || XPG4] (clockid_t): Likewise.
38317         [XPG3 || XPG4] (timer_t): Likewise.
38318         [XPG3 || XPG4] (clock_getres): Likewise.
38319         [XPG3 || XPG4] (clock_gettime): Likewise.
38320         [XPG3 || XPG4] (clock_settime): Likewise.
38321         [XPG3 || XPG4] (nanosleep): Likewise.
38322         [XPG3 || XPG4] (timer_create): Likewise.
38323         [XPG3 || XPG4] (timer_delete): Likewise.
38324         [XPG3 || XPG4] (timer_gettime): Likewise.
38325         [XPG3 || XPG4] (timer_getoverrun): Likewise.
38326         [XPG3 || XPG4] (timer_settime): Likewise.
38327         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
38328         [XPG3 || XPG4] (getlogin_r): Likewise.
38329         [XPG3 || XPG4] (pread): Likewise.
38330         [XPG3 || XPG4] (pthread_atfork): Likewise.
38331         [XPG3 || XPG4] (pwrite): Likewise.
38333         [BZ #14835]
38334         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
38335         <bits/siginfo.h>.
38337 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
38339         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
38340         finalizing MALLSTREAM.
38342         * sysdeps/mach/hurd/syncfs.c: New file.
38344 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
38346         [BZ #14719]
38347         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
38348         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
38349         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
38350         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
38351         (_nss_dns_gethostbyname4_r): Likewise.
38352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
38353         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
38355 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
38357         [BZ #13763]
38358         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
38360 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
38362         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
38363         * elf/cache.c (print_entry): Print ",AArch64" for
38364         FLAG_AARCH64_LIB64
38366         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
38367         * elf/cache.c (print_entry): Print ",hard-float" for
38368         FLAG_ARM_LIBHF.
38370 2012-11-18  David S. Miller  <davem@davemloft.net>
38372         With help from Joseph Myers.
38373         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
38374         cutoff to 2**-13.
38375         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
38376         cutoff to 2**-25.
38377         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
38378         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
38379         small.
38380         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
38381         * math/libm-test.inc (y0_test): New tests.
38382         (y1_test): New tests.
38383         * sysdeps/i386/fpu/libm-test-ulps: Update.
38384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38385         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38387 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
38389         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
38390         64-bit targets.
38391         * configure: Regenerated.
38393 2012-11-17  David S. Miller  <davem@davemloft.net>
38395         [BZ #14811]
38396         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
38397         nonzero exponents with absolute value below 0x1p-128 to +/-
38398         0x1p-128.
38400 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
38402         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
38404         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
38406         * posix/getconf-speclist.c: New file.
38407         * posix/posix-envs.def: Likewise.
38408         * posix/confstr.c (START_ENV_GROUP): New macro.
38409         (END_ENV_GROUP): Likewise.
38410         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38411         (KNOWN_PRESENT_ENV_STRING): Likewise.
38412         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38413         (UNKNOWN_ENVIRONMENT): Likewise.
38414         (confstr): Include posix-envs.def instead of handling
38415         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
38416         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
38417         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
38418         (END_ENV_GROUP): Likewise.
38419         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
38420         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
38421         (UNKNOWN_ENVIRONMENT): Likewise.
38422         (__sysconf): Include posix-envs.def instead of handling associated
38423         cases directly here.
38424         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
38425         preprocessing getconf-speclist.c rather than running getconf or
38426         generating empty file.
38428 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
38430         * scripts/check-local-headers.sh: Ignore 'mach' headers.
38432 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
38434         [BZ #14672]
38435         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
38437 2012-11-16  David S. Miller  <davem@davemloft.net>
38439         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
38440         smaller than LDBL_EPSILON/2.0L, just return xm1.
38442 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
38444         * elf/tst-array1.c (init): Set constructor priority to 1000.
38445         (fini): Set destructor priority to 1000.
38446         * elf/tst-array2dep.c: Likewise.
38448 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38450         [BZ #11741]
38451         * libio/fileops.c (_IO_new_file_write): Correctly return error.
38452         (_IO_new_file_xsputn): Also return EOF if none of the input
38453         data was written when overflow failed.
38454         * libio/iopadn.c (_IO_padn): Likewise.
38455         * libio/iowpadn.c (_IO_wpadn): Likewise.
38456         * stdio-common/tst-put-error.c: Add copyright notice.
38457         (do_test): Add case for printing padded string.
38458         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
38459         _IO_padn returned error.
38460         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
38461         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
38462         return EOF.
38464 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
38466         * libio/libioP.h: Add comment note that the references to C++
38467         bits are now obsolete.
38469 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38471         * math/libm-test.inc (check_complex): Use asprintf.
38473 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
38475         * debug/pcprofiledump.c (print_version): Update copyright year.
38476         * malloc/memusagestat.c (print_version): Likewise.
38478 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
38480         [BZ #14831]
38481         * elf/Makefile (tests): Add tst-audit8.
38482         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
38483         ($(objpfx)tst-audit8.out): New target.
38484         (tst-audit8-ENV): New variable.
38485         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
38486         audit if l_reloc_result is NULL.
38487         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
38488         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
38489         * elf/tst-audit8.c: New file.
38491 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38493         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
38494         * misc/Makefile (CFLAGS-select.c): Define.
38495         * posix/Makefile (CFLAGS-pause.c): Define.
38497 2012-11-13  David S. Miller  <davem@davemloft.net>
38499         * crypt/Makefile: Move test targets after toplevel Rules
38500         inclusion.  Grab any necessary sysdep routines when linking.
38501         * crypt/md5.c (md5_process_block): Remove define, we will always
38502         name it __md5_process_block.
38503         (md5_finish_ctx): Update md5_process_block call.
38504         (md5_stream): Likewise.
38505         (md5_process_bytes): Likewise.
38506         (md5_process_block): Rename to __md5_process_block and move to ...
38507         * crypt/md5-block.c: ... here.
38508         * crypt/sha256.c (sha256_process_block): Move to ...
38509         * crypt/sha256-block.c: ... here.
38510         * crypt/sha512.c (sha512_process_block): Move to ...
38511         * crypt/sha512-block.c: ... here.
38512         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
38513         path.
38514         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
38515         * sysdeps/sparc/sparc64/multiarch/Makefile
38516         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
38517         crypt subdir.
38518         (localedef-aux): Add md5 crypto assembler when in locale subdir.
38519         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
38520         multiarch changes.
38521         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
38522         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
38523         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
38524         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
38525         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
38526         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
38527         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
38528         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
38529         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
38530         file.
38531         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
38532         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
38533         file.
38534         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
38536 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
38538         * timezone/tzselect.ksh: Update from tzcode git revision
38539         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
38540         * timezone/zdump.c: Likewise.
38541         * timezone/zic.c: Likewise.
38542         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
38543         in TZVERSION setting, not $(PKGVERSION).
38544         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
38545         REPORT_BUGS_TO settings.
38547         [BZ #14838]
38548         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
38549         macro.
38551 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38553         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
38554         detection to immediately after _FP_ROUND().
38555         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
38556         bits are 0.
38558 2012-11-11  David S. Miller  <davem@davemloft.net>
38560         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
38561         inttypes.h
38562         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
38563         __close rather than their public counterparts.
38565 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
38567         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
38568         file.
38569         [UNIX98] (sem_timedwait): Do not expect.
38570         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
38571         [XPG4 || UNIX98] (sockatmark): Do not expect.
38572         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
38573         (clock_getcpuclockid): Do not expect.
38574         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
38575         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
38576         Do not expect.
38577         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
38578         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
38579         [UNIX98] (vwscanf): Likewise.
38580         [UNIX98] (vswscanf): Likewise.
38582 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
38584         * timezone/version.h: Remove file.
38585         * timezone/README: Do not refer to version.h.
38586         * timezone/Makefile ($(objpfx)zic.o): New dependency on
38587         $(objpfx)version.h.
38588         ($(objpfx)zdump.o): Likewise.
38589         ($(objpfx)version.h): New target.
38591         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
38592         2012i.
38593         * timezone/README: Don't mention modification to tzselect.ksh.
38594         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
38595         work on unmodified tzselect.ksh.  Substitute version numbers in
38596         tzselect.ksh.
38598         * Makefile (format-me): Remove.
38599         (INSTALL): Adjust indentation.  Use commands directly instead of
38600         using $(format-me).
38602         * aclocal.m4 (ACX_PKGVERSION): New macro.
38603         (ACX_BUGURL): Likewise.
38604         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
38605         (PKGVERSION): New AC_DEFINE_UNQUOTED.
38606         (REPORT_BUGS_TO): Likewise.
38607         * configure: Regenerated.
38608         * config.h.in (PKGVERSION): New macro.
38609         (REPORT_BUGS_TO): Likewise.
38610         * config.make.in (PKGVERSION): New variable.
38611         (PKGVERSION_TEXI): Likewise.
38612         (REPORT_BUGS_TO): Likewise.
38613         (REPORT_BUGS_TEXI): Likewise.
38614         * Makefile (format-me): Use -I$(common-objpfx)manual.
38615         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
38616         ($(common-objpfx)manual/%): New target.
38617         (manual/%): Remove target.
38618         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
38619         (print_version): Use PKGVERSION.
38620         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
38621         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
38622         and REPORT_BUGS_TO.
38623         ($(objpfx)xtrace): Likewise.
38624         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
38625         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
38626         (print_version): Use PKGVERSION.
38627         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
38628         (do_version): Use PKGVERSION.
38629         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
38630         REPORT_BUGS_TO.
38631         (common-ldd-rewrite): Likewise.
38632         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
38633         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
38634         (print_version): Use PKGVERSION.
38635         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
38636         * elf/pldd.c (argp_program_bug_address): Remove variable.
38637         (more_help): New function.
38638         (argp): Use more_help.
38639         (print_version): Use PKGVERSION.
38640         * elf/sln.c (main): Use PKGVERSION.
38641         (usage): Use REPORT_BUGS_TO.
38642         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
38643         (top level): Use PKGVERSION.
38644         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
38645         (print_version): Use PKGVERSION.
38646         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
38647         (print_version): Use PKGVERSION.
38648         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
38649         (print_version): Use PKGVERSION.
38650         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
38651         (print_version): Use PKGVERSION.
38652         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
38653         (print_version): Use PKGVERSION.
38654         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
38655         (print_version): Use PKGVERSION.
38656         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
38657         and BUGURL.
38658         ($(objpfx)memusage): Likewise.
38659         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
38660         (do_version): Use PKGVERSION.
38661         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
38662         (print_version): Use PKGVERSION.
38663         * malloc/mtrace.pl ($PACKAGE): Remove variable.
38664         ($PKGVERSION): New variable.
38665         ($REPORT_BUGS_TO): Likewise.
38666         (usage): Use $REPORT_BUGS_TO.
38667         (top level): Use $PKGVERSION.
38668         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
38669         ($(objpfx)pkgvers.texi): New rule.
38670         ($(objpfx)stamp-pkgvers): Likewise.
38671         * manual/install.texi: Include pkgvers.texi.
38672         (--with-pkgversion): Document new configure option.
38673         (--with-bugurl): Likewise.
38674         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
38675         than necessarily for this particular distribution.  Use
38676         REPORT_BUGS_TO for where to report bugs.
38677         * INSTALL: Regenerated.
38678         * manual/libc.texinfo: Include pkgvers.texi.
38679         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
38680         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
38681         (print_version): Use PKGVERSION.
38682         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
38683         (print_version): Use PKGVERSION.
38684         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
38685         (print_version): Use PKGVERSION.
38686         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
38687         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
38688         macro.
38689         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
38690         (print_version): Use PKGVERSION.
38691         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
38692         (print_version): Use PKGVERSION.
38693         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
38694         and PKGVERSION.
38696         * timezone/checktab.awk: Update from tzcode 2012i.
38697         * timezone/ialloc.c: Likewise.
38698         * timezone/private.h: Likewise.
38699         * timezone/scheck.c: Likewise.
38700         * timezone/tzfile.h: Likewise.
38701         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
38702         (TZVERSION): Hardcode tzcode version number.
38703         * timezone/zdump.c: Update from tzcode 2012i.
38704         * timezone/zic.c: Likewise.
38705         * timezone/version.h: New file.
38706         * timezone/README: Describe version.h.  Update upstream location.
38708         [BZ #14824]
38709         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
38710         (mktemp): Enable declaration.
38711         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
38712         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
38713         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
38714         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
38715         Likewise.
38716         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
38717         Likewise.
38718         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
38719         Likewise.
38720         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
38721         Likewise.
38722         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
38723         Likewise.
38724         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
38725         Likewise.
38727         [BZ #14821]
38728         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
38729         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
38730         for copies of such integer values.
38731         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
38732         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
38734 2012-11-09  Andreas Jaeger  <aj@suse.de>
38736         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
38737         definitions and declarations that are provided by
38738         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38740 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38742         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
38743         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
38744         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
38745         definition.
38747 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
38749         * elf/elf.h: Update comment before AArch64 relocations.
38751 2012-11-07  David S. Miller  <davem@davemloft.net>
38753         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
38754         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38755         (__start_context): Declare.
38756         (__makecontext_ret): Delete.
38757         (__makecontext): Hook up __start_context instead of
38758         __makecontext_ret.
38759         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
38760         (sysdep_routines): Add __start_context when in stdlib.
38762 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38764         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
38765         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
38766         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
38767         hardcoded "nm".
38768         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
38769         (READELF): New variable.  Use it instead of hardcoded "readelf".
38771 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
38773         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
38774         * sysdeps/x86/Makefile: Here.
38775         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
38776         * sysdeps/x86/tst-xmmymm.sh: This.
38778 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
38780         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
38781         expectations.
38782         [UNIX98] (pthread_barrier_t): Do not expect.
38783         [UNIX98] (pthread_barrierattr_t): Likewise.
38784         [UNIX98] (pthread_spinlock_t): Likewise.
38785         [UNIX98] (pthread_barrier_destroy): Likewise.
38786         [UNIX98] (pthread_barrier_init): Likewise.
38787         [UNIX98] (pthread_barrier_wait): Likewise.
38788         [UNIX98] (pthread_barrierattr_destroy): Likewise.
38789         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
38790         [UNIX98] (pthread_barrierattr_init): Likewise.
38791         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
38792         [UNIX98] (pthread_getcpuclockid): Likewise.
38793         [UNIX98] (pthread_mutex_timedlock): Likewise.
38794         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
38795         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
38796         [UNIX98] (pthread_sigmask): Likewise.
38797         [UNIX98] (pthread_spin_destroy): Likewise.
38798         [UNIX98] (pthread_spin_init): Likewise.
38799         [UNIX98] (pthread_spin_lock): Likewise.
38800         [UNIX98] (pthread_spin_trylock): Likewise.
38801         [UNIX98] (pthread_spin_unlock): Likewise.
38802         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
38803         Do not expect.
38804         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
38805         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
38806         [XPG3 || XPG4] (pthread_cond_t): Likewise.
38807         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
38808         [XPG3 || XPG4] (pthread_key_t): Likewise.
38809         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
38810         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
38811         [XPG3 || XPG4] (pthread_once_t): Likewise.
38812         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
38813         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
38814         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
38815         [XPG3 || XPG4] (pthread_t): Likewise.
38817         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
38818         not expect.
38819         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
38821         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
38822         Change function return type to int.
38824         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
38825         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
38826         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
38827         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
38828         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
38829         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
38830         [!POSIX] (posix_madvise): Likewise.
38831         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
38832         && !UNIX98].
38833         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
38834         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
38835         (mode_t): Likewise.
38836         (posix_mem_offset): Likewise.
38837         (posix_typed_mem_get_info): Likewise.
38838         (posix_typed_mem_open): Likewise.
38840         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
38841         Change condition to [XOPEN2K8].
38843         * conform/conformtest.pl: Preprocess allow-header data with -x c
38844         instead of from stdin.
38845         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
38846         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
38847         [C99-based standards] (cerfc): Likewise.
38848         [C99-based standards] (cexp2): Likewise.
38849         [C99-based standards] (cexpm1): Likewise.
38850         [C99-based standards] (clog10): Likewise.
38851         [C99-based standards] (clog1p): Likewise.
38852         [C99-based standards] (clog2): Likewise.
38853         [C99-based standards] (clgamma): Likewise.
38854         [C99-based standards] (ctgamma): Likewise.
38855         [C99-based standards] (cerff): Likewise.
38856         [C99-based standards] (cerfcf): Likewise.
38857         [C99-based standards] (cexp2f): Likewise.
38858         [C99-based standards] (cexpm1f): Likewise.
38859         [C99-based standards] (clog10f): Likewise.
38860         [C99-based standards] (clog1pf): Likewise.
38861         [C99-based standards] (clog2f): Likewise.
38862         [C99-based standards] (clgammaf): Likewise.
38863         [C99-based standards] (ctgammaf): Likewise.
38864         [C99-based standards] (cerfl): Likewise.
38865         [C99-based standards] (cerfcl): Likewise.
38866         [C99-based standards] (cexp2l): Likewise.
38867         [C99-based standards] (cexpm1l): Likewise.
38868         [C99-based standards] (clog10l): Likewise.
38869         [C99-based standards] (clog1pl): Likewise.
38870         [C99-based standards] (clog2l): Likewise.
38871         [C99-based standards] (clgammal): Likewise.
38872         [C99-based standards] (ctgammal): Likewise.
38873         * conform/data/inttypes.h-data [C99-based standards]: Include
38874         stdint.h-data.  Remove all expectations for stdint.h contents.
38875         [C99-based standards] (PRI*): Do not allow.
38876         [C99-based standards] (SCN*): Likewise.
38877         [C99-based standards] (*_t): Likewise.
38878         [C99-based-standards] (PRId8): Expect macro.
38879         [C99-based-standards] (PRIi8): Likewise.
38880         [C99-based-standards] (PRIo8): Likewise.
38881         [C99-based-standards] (PRIu8): Likewise.
38882         [C99-based-standards] (PRIx8): Likewise.
38883         [C99-based-standards] (PRIX8): Likewise.
38884         [C99-based-standards] (SCNd8): Likewise.
38885         [C99-based-standards] (SCNi8): Likewise.
38886         [C99-based-standards] (SCNo8): Likewise.
38887         [C99-based-standards] (SCNu8): Likewise.
38888         [C99-based-standards] (SCNx8): Likewise.
38889         [C99-based-standards] (PRIdLEAST8): Likewise.
38890         [C99-based-standards] (PRIiLEAST8): Likewise.
38891         [C99-based-standards] (PRIoLEAST8): Likewise.
38892         [C99-based-standards] (PRIuLEAST8): Likewise.
38893         [C99-based-standards] (PRIxLEAST8): Likewise.
38894         [C99-based-standards] (PRIXLEAST8): Likewise.
38895         [C99-based-standards] (SCNdLEAST8): Likewise.
38896         [C99-based-standards] (SCNiLEAST8): Likewise.
38897         [C99-based-standards] (SCNoLEAST8): Likewise.
38898         [C99-based-standards] (SCNuLEAST8): Likewise.
38899         [C99-based-standards] (SCNxLEAST8): Likewise.
38900         [C99-based-standards] (PRIdFAST8): Likewise.
38901         [C99-based-standards] (PRIiFAST8): Likewise.
38902         [C99-based-standards] (PRIoFAST8): Likewise.
38903         [C99-based-standards] (PRIuFAST8): Likewise.
38904         [C99-based-standards] (PRIxFAST8): Likewise.
38905         [C99-based-standards] (PRIXFAST8): Likewise.
38906         [C99-based-standards] (SCNdFAST8): Likewise.
38907         [C99-based-standards] (SCNiFAST8): Likewise.
38908         [C99-based-standards] (SCNoFAST8): Likewise.
38909         [C99-based-standards] (SCNuFAST8): Likewise.
38910         [C99-based-standards] (SCNxFAST8): Likewise.
38911         [C99-based-standards] (PRId16): Likewise.
38912         [C99-based-standards] (PRIi16): Likewise.
38913         [C99-based-standards] (PRIo16): Likewise.
38914         [C99-based-standards] (PRIu16): Likewise.
38915         [C99-based-standards] (PRIx16): Likewise.
38916         [C99-based-standards] (PRIX16): Likewise.
38917         [C99-based-standards] (SCNd16): Likewise.
38918         [C99-based-standards] (SCNi16): Likewise.
38919         [C99-based-standards] (SCNo16): Likewise.
38920         [C99-based-standards] (SCNu16): Likewise.
38921         [C99-based-standards] (SCNx16): Likewise.
38922         [C99-based-standards] (PRIdLEAST16): Likewise.
38923         [C99-based-standards] (PRIiLEAST16): Likewise.
38924         [C99-based-standards] (PRIoLEAST16): Likewise.
38925         [C99-based-standards] (PRIuLEAST16): Likewise.
38926         [C99-based-standards] (PRIxLEAST16): Likewise.
38927         [C99-based-standards] (PRIXLEAST16): Likewise.
38928         [C99-based-standards] (SCNdLEAST16): Likewise.
38929         [C99-based-standards] (SCNiLEAST16): Likewise.
38930         [C99-based-standards] (SCNoLEAST16): Likewise.
38931         [C99-based-standards] (SCNuLEAST16): Likewise.
38932         [C99-based-standards] (SCNxLEAST16): Likewise.
38933         [C99-based-standards] (PRIdFAST16): Likewise.
38934         [C99-based-standards] (PRIiFAST16): Likewise.
38935         [C99-based-standards] (PRIoFAST16): Likewise.
38936         [C99-based-standards] (PRIuFAST16): Likewise.
38937         [C99-based-standards] (PRIxFAST16): Likewise.
38938         [C99-based-standards] (PRIXFAST16): Likewise.
38939         [C99-based-standards] (SCNdFAST16): Likewise.
38940         [C99-based-standards] (SCNiFAST16): Likewise.
38941         [C99-based-standards] (SCNoFAST16): Likewise.
38942         [C99-based-standards] (SCNuFAST16): Likewise.
38943         [C99-based-standards] (SCNxFAST16): Likewise.
38944         [C99-based-standards] (PRId32): Likewise.
38945         [C99-based-standards] (PRIi32): Likewise.
38946         [C99-based-standards] (PRIo32): Likewise.
38947         [C99-based-standards] (PRIu32): Likewise.
38948         [C99-based-standards] (PRIx32): Likewise.
38949         [C99-based-standards] (PRIX32): Likewise.
38950         [C99-based-standards] (SCNd32): Likewise.
38951         [C99-based-standards] (SCNi32): Likewise.
38952         [C99-based-standards] (SCNo32): Likewise.
38953         [C99-based-standards] (SCNu32): Likewise.
38954         [C99-based-standards] (SCNx32): Likewise.
38955         [C99-based-standards] (PRIdLEAST32): Likewise.
38956         [C99-based-standards] (PRIiLEAST32): Likewise.
38957         [C99-based-standards] (PRIoLEAST32): Likewise.
38958         [C99-based-standards] (PRIuLEAST32): Likewise.
38959         [C99-based-standards] (PRIxLEAST32): Likewise.
38960         [C99-based-standards] (PRIXLEAST32): Likewise.
38961         [C99-based-standards] (SCNdLEAST32): Likewise.
38962         [C99-based-standards] (SCNiLEAST32): Likewise.
38963         [C99-based-standards] (SCNoLEAST32): Likewise.
38964         [C99-based-standards] (SCNuLEAST32): Likewise.
38965         [C99-based-standards] (SCNxLEAST32): Likewise.
38966         [C99-based-standards] (PRIdFAST32): Likewise.
38967         [C99-based-standards] (PRIiFAST32): Likewise.
38968         [C99-based-standards] (PRIoFAST32): Likewise.
38969         [C99-based-standards] (PRIuFAST32): Likewise.
38970         [C99-based-standards] (PRIxFAST32): Likewise.
38971         [C99-based-standards] (PRIXFAST32): Likewise.
38972         [C99-based-standards] (SCNdFAST32): Likewise.
38973         [C99-based-standards] (SCNiFAST32): Likewise.
38974         [C99-based-standards] (SCNoFAST32): Likewise.
38975         [C99-based-standards] (SCNuFAST32): Likewise.
38976         [C99-based-standards] (SCNxFAST32): Likewise.
38977         [C99-based-standards] (PRId64): Likewise.
38978         [C99-based-standards] (PRIi64): Likewise.
38979         [C99-based-standards] (PRIo64): Likewise.
38980         [C99-based-standards] (PRIu64): Likewise.
38981         [C99-based-standards] (PRIx64): Likewise.
38982         [C99-based-standards] (PRIX64): Likewise.
38983         [C99-based-standards] (SCNd64): Likewise.
38984         [C99-based-standards] (SCNi64): Likewise.
38985         [C99-based-standards] (SCNo64): Likewise.
38986         [C99-based-standards] (SCNu64): Likewise.
38987         [C99-based-standards] (SCNx64): Likewise.
38988         [C99-based-standards] (PRIdLEAST64): Likewise.
38989         [C99-based-standards] (PRIiLEAST64): Likewise.
38990         [C99-based-standards] (PRIoLEAST64): Likewise.
38991         [C99-based-standards] (PRIuLEAST64): Likewise.
38992         [C99-based-standards] (PRIxLEAST64): Likewise.
38993         [C99-based-standards] (PRIXLEAST64): Likewise.
38994         [C99-based-standards] (SCNdLEAST64): Likewise.
38995         [C99-based-standards] (SCNiLEAST64): Likewise.
38996         [C99-based-standards] (SCNoLEAST64): Likewise.
38997         [C99-based-standards] (SCNuLEAST64): Likewise.
38998         [C99-based-standards] (SCNxLEAST64): Likewise.
38999         [C99-based-standards] (PRIdFAST64): Likewise.
39000         [C99-based-standards] (PRIiFAST64): Likewise.
39001         [C99-based-standards] (PRIoFAST64): Likewise.
39002         [C99-based-standards] (PRIuFAST64): Likewise.
39003         [C99-based-standards] (PRIxFAST64): Likewise.
39004         [C99-based-standards] (PRIXFAST64): Likewise.
39005         [C99-based-standards] (SCNdFAST64): Likewise.
39006         [C99-based-standards] (SCNiFAST64): Likewise.
39007         [C99-based-standards] (SCNoFAST64): Likewise.
39008         [C99-based-standards] (SCNuFAST64): Likewise.
39009         [C99-based-standards] (SCNxFAST64): Likewise.
39010         [C99-based-standards] (PRIdMAX): Likewise.
39011         [C99-based-standards] (PRIiMAX): Likewise.
39012         [C99-based-standards] (PRIoMAX): Likewise.
39013         [C99-based-standards] (PRIuMAX): Likewise.
39014         [C99-based-standards] (PRIxMAX): Likewise.
39015         [C99-based-standards] (PRIXMAX): Likewise.
39016         [C99-based-standards] (SCNdMAX): Likewise.
39017         [C99-based-standards] (SCNiMAX): Likewise.
39018         [C99-based-standards] (SCNoMAX): Likewise.
39019         [C99-based-standards] (SCNuMAX): Likewise.
39020         [C99-based-standards] (SCNxMAX): Likewise.
39021         [C99-based-standards] (PRIdPTR): Likewise.
39022         [C99-based-standards] (PRIiPTR): Likewise.
39023         [C99-based-standards] (PRIoPTR): Likewise.
39024         [C99-based-standards] (PRIuPTR): Likewise.
39025         [C99-based-standards] (PRIxPTR): Likewise.
39026         [C99-based-standards] (PRIXPTR): Likewise.
39027         [C99-based-standards] (SCNdPTR): Likewise.
39028         [C99-based-standards] (SCNiPTR): Likewise.
39029         [C99-based-standards] (SCNoPTR): Likewise.
39030         [C99-based-standards] (SCNuPTR): Likewise.
39031         [C99-based-standards] (SCNxPTR): Likewise.
39032         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
39033         allow.
39034         * conform/data/stdint.h-data: Update comments to clarify
39035         requirements.
39036         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
39037         type.
39038         [C99-based standards] (INT8_MAX): Likewise.
39039         [C99-based standards] (INT16_MIN): Likewise.
39040         [C99-based standards] (INT16_MAX): Likewise.
39041         [C99-based standards] (INT32_MIN): Likewise.
39042         [C99-based standards] (INT32_MAX): Likewise.
39043         [C99-based standards] (INT64_MIN): Likewise.
39044         [C99-based standards] (INT64_MAX): Likewise.
39045         [C99-based standards] (UINT8_MAX): Likewise.
39046         [C99-based standards] (UINT16_MAX): Likewise.
39047         [C99-based standards] (UINT32_MAX): Likewise.
39048         [C99-based standards] (UINT64_MAX): Likewise.
39049         [C99-based standards] (INT_LEAST8_MIN): Likewise.
39050         [C99-based standards] (INT_LEAST8_MAX): Likewise.
39051         [C99-based standards] (INT_LEAST16_MIN): Likewise.
39052         [C99-based standards] (INT_LEAST16_MAX): Likewise.
39053         [C99-based standards] (INT_LEAST32_MIN): Likewise.
39054         [C99-based standards] (INT_LEAST32_MAX): Likewise.
39055         [C99-based standards] (INT_LEAST64_MIN): Likewise.
39056         [C99-based standards] (INT_LEAST64_MAX): Likewise.
39057         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
39058         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
39059         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
39060         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
39061         [C99-based standards] (INT_FAST8_MIN): Likewise.
39062         [C99-based standards] (INT_FAST8_MAX): Likewise.
39063         [C99-based standards] (INT_FAST16_MIN): Likewise.
39064         [C99-based standards] (INT_FAST16_MAX): Likewise.
39065         [C99-based standards] (INT_FAST32_MIN): Likewise.
39066         [C99-based standards] (INT_FAST32_MAX): Likewise.
39067         [C99-based standards] (INT_FAST64_MIN): Likewise.
39068         [C99-based standards] (INT_FAST64_MAX): Likewise.
39069         [C99-based standards] (UINT_FAST8_MAX): Likewise.
39070         [C99-based standards] (UINT_FAST16_MAX): Likewise.
39071         [C99-based standards] (UINT_FAST32_MAX): Likewise.
39072         [C99-based standards] (UINT_FAST64_MAX): Likewise.
39073         [C99-based standards] (INTPTR_MIN): Likewise.
39074         [C99-based standards] (INTPTR_MAX): Likewise.
39075         [C99-based standards] (UINTPTR_MAX): Likewise.
39076         [C99-based standards] (INTMAX_MIN): Likewise.
39077         [C99-based standards] (INTMAX_MAX): Likewise.
39078         [C99-based standards] (UINTMAX_MAX): Likewise.
39079         [C99-based standards] (PTRDIFF_MIN): Likewise.
39080         [C99-based standards] (PTRDIFF_MAX): Likewise.
39081         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
39082         [C99-based standards] (SIZE_MAX): Likewise.
39083         [C99-based standards] (WCHAR_MAX): Likewise.
39084         [C99-based standards] (WINT_MAX): Likewise.
39085         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
39086         constraint on value.
39087         [C99-based standards] (WCHAR_MIN): Likewise.
39088         [C99-based standards] (WINT_MIN): Likewise.
39089         [C99-based standards] (*_t): Allow.
39090         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
39091         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
39092         Include math.h-data and complex.h-data.  Remove all expectations
39093         of math.h and complex.h contents.
39094         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
39095         at end of line.
39096         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
39097         (struct tm): Expect tag.
39098         [C99-based-standards] (wcstof): Expect function.
39099         [C99-based-standards] (wcstold): Likewise.
39100         [C99-based-standards] (wcstoll): Likewise.
39101         [C99-based-standards] (wcstoull): Likewise.
39102         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
39103         macro-int-constant.  Specify type.
39104         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
39105         constraint on value.
39106         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39107         Specify type.
39108         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
39109         Specify value.
39110         [ISO C standards]: Do not allow headers.
39111         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
39112         wcs[abcdefghijklmnopqrstuvwxyz]*.
39113         [ISO C standards] (*_t): Do not allow.
39114         * conform/data/wctype.h-data [C99-based standards] (iswblank):
39115         Expect function.
39116         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
39117         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
39118         Specify type.
39119         [ISO C standards]: Do not allow headers.
39120         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
39121         is[abcdefghijklmnopqrstuvwxyz]*.
39122         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
39123         to[abcdefghijklmnopqrstuvwxyz]*.
39124         [ISO C standards] (*_t): Do not allow.
39125         * conform/data/stdalign.h-data: New file.
39126         * conform/data/stdbool.h-data: Likewise.
39127         * conform/data/stdnoreturn.h-data: Likewise.
39129 2012-11-07  Roland McGrath  <roland@hack.frob.com>
39131         [BZ #14815]
39132         * manual/filesys.texi (Directory Entries): Typo fix.
39133         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
39135 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
39137         * elf/elf.h (EM_AARCH64): New macro.
39138         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
39139         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
39140         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
39141         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
39142         (R_AARCH64_TLSDESC): Likewise.
39143         (NT_ARM_TLS): Likewise.
39144         (NT_ARM_HW_BREAK): Likewise.
39145         (NT_ARM_HW_WATCH): Likewise.
39147 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39149         [BZ #14811]
39150         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
39151         (__ieee754_powl): Saturate nonzero exponents with absolute value
39152         below 0x1p-79 to +/- 0x1p-79.
39153         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
39154         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
39155         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
39156         nonzero exponents with absolute value below 0x1p-32 to +/-
39157         0x1p-32.
39158         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
39159         (__ieee754_powl): Saturate nonzero exponents with absolute value
39160         below 0x1p-79 to +/- 0x1p-79.
39161         * math/libm-test.inc (pow_test): Add more tests.
39163 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39165         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
39166         _dl_s390_cap_flags with kernel. Increase string length.
39167         (_dl_s390_platforms): Add z196 and zEC12.
39169 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
39171         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
39172         Change XOPEN21K to XOPEN2K.
39174 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
39176         * string/memmove.c: Use memcpy when possible.
39178 2012-11-06  Andreas Jaeger  <aj@suse.de>
39180         * po/eo.po: Update from translation team.
39182 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
39184         [BZ #14793]
39185         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
39186         exponent and small x and y exponents, scale x or y up.  Increase
39187         by 2 the exponent used in scaling up.
39188         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39189         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39190         * math/libm-test.inc (fma_test): Add more tests.
39191         (fma_test_towardzero): Likewise.
39192         (fma_test_downward): Likewise.
39193         (fma_test_upward): Likewise.
39195 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
39197         [BZ #14805]
39198         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
39199         fenv_t *.
39201         [BZ #14801]
39202         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
39203         namespace for names of struct fields.
39204         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
39205         fenv_t fields.
39206         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
39207         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
39209 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39211         [BZ #3665]
39212         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
39214 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39216         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
39217         PTR_DEMANGLE.
39219         [BZ #5246]
39220         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
39221         PTR_DEMANGLE.
39223 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
39225         [BZ #14797]
39226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
39227         definitely overflow as x * y not x * y + z.
39228         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39229         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39230         * math/libm-test.inc (fma_test): Add more tests.
39231         (fma_test_towardzero): Likewise.
39232         (fma_test_downward): Likewise.
39233         (fma_test_upward): Likewise.
39235 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
39237         [BZ #157]
39239         * include/stub-tag.h: Remove file.
39240         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
39241         '#include' of it.
39242         * manual/maint.texi (Porting): Don't reference it.
39243         * Makerules ($(objpfx)stubs): Likewise.
39244         * dirent/closedir.c: Don't include <stub-tag.h>.
39245         * dirent/dirfd.c: Likewise.
39246         * dirent/fdopendir.c: Likewise.
39247         * dirent/getdents.c: Likewise.
39248         * dirent/getdents64.c: Likewise.
39249         * dirent/opendir.c: Likewise.
39250         * dirent/readdir.c: Likewise.
39251         * dirent/readdir64.c: Likewise.
39252         * dirent/readdir64_r.c: Likewise.
39253         * dirent/readdir_r.c: Likewise.
39254         * dirent/rewinddir.c: Likewise.
39255         * dirent/seekdir.c: Likewise.
39256         * dirent/telldir.c: Likewise.
39257         * gmon/profil.c: Likewise.
39258         * grp/setgroups.c: Likewise.
39259         * inet/if_index.c: Likewise.
39260         * io/access.c: Likewise.
39261         * io/chdir.c: Likewise.
39262         * io/chmod.c: Likewise.
39263         * io/chown.c: Likewise.
39264         * io/close.c: Likewise.
39265         * io/dup.c: Likewise.
39266         * io/dup2.c: Likewise.
39267         * io/dup3.c: Likewise.
39268         * io/euidaccess.c: Likewise.
39269         * io/faccessat.c: Likewise.
39270         * io/fchdir.c: Likewise.
39271         * io/fchmod.c: Likewise.
39272         * io/fchmodat.c: Likewise.
39273         * io/fchown.c: Likewise.
39274         * io/fchownat.c: Likewise.
39275         * io/fcntl.c: Likewise.
39276         * io/flock.c: Likewise.
39277         * io/fstatfs.c: Likewise.
39278         * io/fstatfs64.c: Likewise.
39279         * io/fstatvfs.c: Likewise.
39280         * io/fstatvfs64.c: Likewise.
39281         * io/futimens.c: Likewise.
39282         * io/fxstat.c: Likewise.
39283         * io/fxstat64.c: Likewise.
39284         * io/fxstatat.c: Likewise.
39285         * io/fxstatat64.c: Likewise.
39286         * io/getcwd.c: Likewise.
39287         * io/isatty.c: Likewise.
39288         * io/lchmod.c: Likewise.
39289         * io/lchown.c: Likewise.
39290         * io/link.c: Likewise.
39291         * io/linkat.c: Likewise.
39292         * io/lseek.c: Likewise.
39293         * io/lseek64.c: Likewise.
39294         * io/lxstat64.c: Likewise.
39295         * io/mkdir.c: Likewise.
39296         * io/mkdirat.c: Likewise.
39297         * io/mkfifo.c: Likewise.
39298         * io/mkfifoat.c: Likewise.
39299         * io/open.c: Likewise.
39300         * io/open64.c: Likewise.
39301         * io/openat.c: Likewise.
39302         * io/openat64.c: Likewise.
39303         * io/pipe.c: Likewise.
39304         * io/pipe2.c: Likewise.
39305         * io/poll.c: Likewise.
39306         * io/posix_fadvise.c: Likewise.
39307         * io/posix_fadvise64.c: Likewise.
39308         * io/posix_fallocate.c: Likewise.
39309         * io/posix_fallocate64.c: Likewise.
39310         * io/read.c: Likewise.
39311         * io/readlink.c: Likewise.
39312         * io/readlinkat.c: Likewise.
39313         * io/rmdir.c: Likewise.
39314         * io/sendfile.c: Likewise.
39315         * io/sendfile64.c: Likewise.
39316         * io/statfs.c: Likewise.
39317         * io/statfs64.c: Likewise.
39318         * io/statvfs.c: Likewise.
39319         * io/statvfs64.c: Likewise.
39320         * io/symlink.c: Likewise.
39321         * io/symlinkat.c: Likewise.
39322         * io/ttyname.c: Likewise.
39323         * io/ttyname_r.c: Likewise.
39324         * io/umask.c: Likewise.
39325         * io/unlink.c: Likewise.
39326         * io/unlinkat.c: Likewise.
39327         * io/utime.c: Likewise.
39328         * io/utimensat.c: Likewise.
39329         * io/write.c: Likewise.
39330         * io/xmknod.c: Likewise.
39331         * io/xmknodat.c: Likewise.
39332         * io/xstat.c: Likewise.
39333         * io/xstat64.c: Likewise.
39334         * login/getpt.c: Likewise.
39335         * login/grantpt.c: Likewise.
39336         * login/unlockpt.c: Likewise.
39337         * math/e_acoshl.c: Likewise.
39338         * math/e_acosl.c: Likewise.
39339         * math/e_asinl.c: Likewise.
39340         * math/e_atan2l.c: Likewise.
39341         * math/e_atanhl.c: Likewise.
39342         * math/e_coshl.c: Likewise.
39343         * math/e_expl.c: Likewise.
39344         * math/e_fmodl.c: Likewise.
39345         * math/e_gammal_r.c: Likewise.
39346         * math/e_hypotl.c: Likewise.
39347         * math/e_j0l.c: Likewise.
39348         * math/e_j1l.c: Likewise.
39349         * math/e_jnl.c: Likewise.
39350         * math/e_lgammal_r.c: Likewise.
39351         * math/e_log10l.c: Likewise.
39352         * math/e_log2l.c: Likewise.
39353         * math/e_logl.c: Likewise.
39354         * math/e_powl.c: Likewise.
39355         * math/e_rem_pio2l.c: Likewise.
39356         * math/e_sinhl.c: Likewise.
39357         * math/e_sqrtl.c: Likewise.
39358         * math/fclrexcpt.c: Likewise.
39359         * math/fedisblxcpt.c: Likewise.
39360         * math/feenablxcpt.c: Likewise.
39361         * math/fegetenv.c: Likewise.
39362         * math/fegetexcept.c: Likewise.
39363         * math/fegetround.c: Likewise.
39364         * math/feholdexcpt.c: Likewise.
39365         * math/fesetenv.c: Likewise.
39366         * math/fesetround.c: Likewise.
39367         * math/feupdateenv.c: Likewise.
39368         * math/fgetexcptflg.c: Likewise.
39369         * math/fraiseexcpt.c: Likewise.
39370         * math/fsetexcptflg.c: Likewise.
39371         * math/ftestexcept.c: Likewise.
39372         * math/k_cosl.c: Likewise.
39373         * math/k_rem_pio2l.c: Likewise.
39374         * math/k_sinl.c: Likewise.
39375         * math/k_tanl.c: Likewise.
39376         * math/s_asinhl.c: Likewise.
39377         * math/s_atanl.c: Likewise.
39378         * math/s_cbrtl.c: Likewise.
39379         * math/s_erfl.c: Likewise.
39380         * math/s_expm1l.c: Likewise.
39381         * math/s_log1pl.c: Likewise.
39382         * math/s_tanhl.c: Likewise.
39383         * misc/acct.c: Likewise.
39384         * misc/brk.c: Likewise.
39385         * misc/chflags.c: Likewise.
39386         * misc/chroot.c: Likewise.
39387         * misc/fchflags.c: Likewise.
39388         * misc/fgetxattr.c: Likewise.
39389         * misc/flistxattr.c: Likewise.
39390         * misc/fremovexattr.c: Likewise.
39391         * misc/fsetxattr.c: Likewise.
39392         * misc/fsync.c: Likewise.
39393         * misc/ftruncate.c: Likewise.
39394         * misc/futimes.c: Likewise.
39395         * misc/futimesat.c: Likewise.
39396         * misc/getdomain.c: Likewise.
39397         * misc/getdtsz.c: Likewise.
39398         * misc/gethostid.c: Likewise.
39399         * misc/gethostname.c: Likewise.
39400         * misc/getloadavg.c: Likewise.
39401         * misc/getpagesize.c: Likewise.
39402         * misc/getsysstats.c: Likewise.
39403         * misc/getxattr.c: Likewise.
39404         * misc/gtty.c: Likewise.
39405         * misc/ioctl.c: Likewise.
39406         * misc/lgetxattr.c: Likewise.
39407         * misc/listxattr.c: Likewise.
39408         * misc/llistxattr.c: Likewise.
39409         * misc/lremovexattr.c: Likewise.
39410         * misc/lsetxattr.c: Likewise.
39411         * misc/lutimes.c: Likewise.
39412         * misc/madvise.c: Likewise.
39413         * misc/mincore.c: Likewise.
39414         * misc/mlock.c: Likewise.
39415         * misc/mlockall.c: Likewise.
39416         * misc/mmap.c: Likewise.
39417         * misc/mprotect.c: Likewise.
39418         * misc/msync.c: Likewise.
39419         * misc/munlock.c: Likewise.
39420         * misc/munlockall.c: Likewise.
39421         * misc/munmap.c: Likewise.
39422         * misc/preadv.c: Likewise.
39423         * misc/preadv64.c: Likewise.
39424         * misc/ptrace.c: Likewise.
39425         * misc/pwritev.c: Likewise.
39426         * misc/pwritev64.c: Likewise.
39427         * misc/readv.c: Likewise.
39428         * misc/reboot.c: Likewise.
39429         * misc/remap_file_pages.c: Likewise.
39430         * misc/removexattr.c: Likewise.
39431         * misc/revoke.c: Likewise.
39432         * misc/select.c: Likewise.
39433         * misc/setdomain.c: Likewise.
39434         * misc/setegid.c: Likewise.
39435         * misc/seteuid.c: Likewise.
39436         * misc/sethostid.c: Likewise.
39437         * misc/sethostname.c: Likewise.
39438         * misc/setregid.c: Likewise.
39439         * misc/setreuid.c: Likewise.
39440         * misc/setxattr.c: Likewise.
39441         * misc/sstk.c: Likewise.
39442         * misc/stty.c: Likewise.
39443         * misc/swapoff.c: Likewise.
39444         * misc/swapon.c: Likewise.
39445         * misc/sync.c: Likewise.
39446         * misc/syncfs.c: Likewise.
39447         * misc/syscall.c: Likewise.
39448         * misc/truncate.c: Likewise.
39449         * misc/ualarm.c: Likewise.
39450         * misc/usleep.c: Likewise.
39451         * misc/ustat.c: Likewise.
39452         * misc/utimes.c: Likewise.
39453         * misc/vhangup.c: Likewise.
39454         * misc/writev.c: Likewise.
39455         * posix/_exit.c: Likewise.
39456         * posix/alarm.c: Likewise.
39457         * posix/execve.c: Likewise.
39458         * posix/fexecve.c: Likewise.
39459         * posix/fork.c: Likewise.
39460         * posix/fpathconf.c: Likewise.
39461         * posix/getaddrinfo.c: Likewise.
39462         * posix/getegid.c: Likewise.
39463         * posix/geteuid.c: Likewise.
39464         * posix/getgid.c: Likewise.
39465         * posix/getgroups.c: Likewise.
39466         * posix/getlogin.c: Likewise.
39467         * posix/getlogin_r.c: Likewise.
39468         * posix/getpgid.c: Likewise.
39469         * posix/getpid.c: Likewise.
39470         * posix/getppid.c: Likewise.
39471         * posix/getresgid.c: Likewise.
39472         * posix/getresuid.c: Likewise.
39473         * posix/getsid.c: Likewise.
39474         * posix/getuid.c: Likewise.
39475         * posix/glob64.c: Likewise.
39476         * posix/nanosleep.c: Likewise.
39477         * posix/pathconf.c: Likewise.
39478         * posix/pause.c: Likewise.
39479         * posix/posix_madvise.c: Likewise.
39480         * posix/pread.c: Likewise.
39481         * posix/pread64.c: Likewise.
39482         * posix/pwrite.c: Likewise.
39483         * posix/pwrite64.c: Likewise.
39484         * posix/sched_getaffinity.c: Likewise.
39485         * posix/sched_getp.c: Likewise.
39486         * posix/sched_gets.c: Likewise.
39487         * posix/sched_primax.c: Likewise.
39488         * posix/sched_primin.c: Likewise.
39489         * posix/sched_rr_gi.c: Likewise.
39490         * posix/sched_setaffinity.c: Likewise.
39491         * posix/sched_setp.c: Likewise.
39492         * posix/sched_sets.c: Likewise.
39493         * posix/sched_yield.c: Likewise.
39494         * posix/setgid.c: Likewise.
39495         * posix/setlogin.c: Likewise.
39496         * posix/setpgid.c: Likewise.
39497         * posix/setresgid.c: Likewise.
39498         * posix/setresuid.c: Likewise.
39499         * posix/setsid.c: Likewise.
39500         * posix/setuid.c: Likewise.
39501         * posix/sleep.c: Likewise.
39502         * posix/spawni.c: Likewise.
39503         * posix/sysconf.c: Likewise.
39504         * posix/times.c: Likewise.
39505         * posix/wait.c: Likewise.
39506         * posix/wait3.c: Likewise.
39507         * posix/wait4.c: Likewise.
39508         * posix/waitpid.c: Likewise.
39509         * resolv/gai_sigqueue.c: Likewise.
39510         * resource/getpriority.c: Likewise.
39511         * resource/getrlimit.c: Likewise.
39512         * resource/getrusage.c: Likewise.
39513         * resource/nice.c: Likewise.
39514         * resource/setpriority.c: Likewise.
39515         * resource/setrlimit.c: Likewise.
39516         * resource/ulimit.c: Likewise.
39517         * rt/aio_cancel.c: Likewise.
39518         * rt/aio_fsync.c: Likewise.
39519         * rt/aio_read.c: Likewise.
39520         * rt/aio_sigqueue.c: Likewise.
39521         * rt/aio_suspend.c: Likewise.
39522         * rt/aio_write.c: Likewise.
39523         * rt/clock_getres.c: Likewise.
39524         * rt/clock_gettime.c: Likewise.
39525         * rt/clock_nanosleep.c: Likewise.
39526         * rt/clock_settime.c: Likewise.
39527         * rt/lio_listio.c: Likewise.
39528         * rt/mq_close.c: Likewise.
39529         * rt/mq_getattr.c: Likewise.
39530         * rt/mq_notify.c: Likewise.
39531         * rt/mq_open.c: Likewise.
39532         * rt/mq_receive.c: Likewise.
39533         * rt/mq_send.c: Likewise.
39534         * rt/mq_setattr.c: Likewise.
39535         * rt/mq_timedreceive.c: Likewise.
39536         * rt/mq_timedsend.c: Likewise.
39537         * rt/mq_unlink.c: Likewise.
39538         * rt/shm_open.c: Likewise.
39539         * rt/shm_unlink.c: Likewise.
39540         * rt/timer_create.c: Likewise.
39541         * rt/timer_delete.c: Likewise.
39542         * rt/timer_getoverr.c: Likewise.
39543         * rt/timer_gettime.c: Likewise.
39544         * rt/timer_settime.c: Likewise.
39545         * setjmp/__longjmp.c: Likewise.
39546         * setjmp/setjmp.c: Likewise.
39547         * signal/kill.c: Likewise.
39548         * signal/killpg.c: Likewise.
39549         * signal/raise.c: Likewise.
39550         * signal/sigaction.c: Likewise.
39551         * signal/sigaltstack.c: Likewise.
39552         * signal/sigblock.c: Likewise.
39553         * signal/sigignore.c: Likewise.
39554         * signal/sigintr.c: Likewise.
39555         * signal/signal.c: Likewise.
39556         * signal/sigpause.c: Likewise.
39557         * signal/sigpending.c: Likewise.
39558         * signal/sigqueue.c: Likewise.
39559         * signal/sigreturn.c: Likewise.
39560         * signal/sigset.c: Likewise.
39561         * signal/sigsetmask.c: Likewise.
39562         * signal/sigstack.c: Likewise.
39563         * signal/sigsuspend.c: Likewise.
39564         * signal/sigtimedwait.c: Likewise.
39565         * signal/sigvec.c: Likewise.
39566         * signal/sigwait.c: Likewise.
39567         * signal/sigwaitinfo.c: Likewise.
39568         * signal/sysv_signal.c: Likewise.
39569         * socket/accept.c: Likewise.
39570         * socket/accept4.c: Likewise.
39571         * socket/bind.c: Likewise.
39572         * socket/connect.c: Likewise.
39573         * socket/getpeername.c: Likewise.
39574         * socket/getsockname.c: Likewise.
39575         * socket/getsockopt.c: Likewise.
39576         * socket/isfdtype.c: Likewise.
39577         * socket/listen.c: Likewise.
39578         * socket/recv.c: Likewise.
39579         * socket/recvfrom.c: Likewise.
39580         * socket/recvmsg.c: Likewise.
39581         * socket/send.c: Likewise.
39582         * socket/sendmsg.c: Likewise.
39583         * socket/sendto.c: Likewise.
39584         * socket/setsockopt.c: Likewise.
39585         * socket/shutdown.c: Likewise.
39586         * socket/sockatmark.c: Likewise.
39587         * socket/socket.c: Likewise.
39588         * socket/socketpair.c: Likewise.
39589         * stdio-common/ctermid.c: Likewise.
39590         * stdio-common/cuserid.c: Likewise.
39591         * stdio-common/remove.c: Likewise.
39592         * stdio-common/rename.c: Likewise.
39593         * stdio-common/renameat.c: Likewise.
39594         * stdio-common/tempname.c: Likewise.
39595         * stdlib/getcontext.c: Likewise.
39596         * stdlib/makecontext.c: Likewise.
39597         * stdlib/setcontext.c: Likewise.
39598         * stdlib/swapcontext.c: Likewise.
39599         * stdlib/system.c: Likewise.
39600         * streams/fattach.c: Likewise.
39601         * streams/fdetach.c: Likewise.
39602         * streams/getmsg.c: Likewise.
39603         * streams/getpmsg.c: Likewise.
39604         * streams/putmsg.c: Likewise.
39605         * streams/putpmsg.c: Likewise.
39606         * sysdeps/unix/bsd/getpt.c: Likewise.
39607         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
39608         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
39609         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
39610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
39611         Likewise.
39612         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
39613         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
39614         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
39615         * sysvipc/msgctl.c: Likewise.
39616         * sysvipc/msgget.c: Likewise.
39617         * sysvipc/msgrcv.c: Likewise.
39618         * sysvipc/msgsnd.c: Likewise.
39619         * sysvipc/semctl.c: Likewise.
39620         * sysvipc/semget.c: Likewise.
39621         * sysvipc/semop.c: Likewise.
39622         * sysvipc/semtimedop.c: Likewise.
39623         * sysvipc/shmat.c: Likewise.
39624         * sysvipc/shmctl.c: Likewise.
39625         * sysvipc/shmdt.c: Likewise.
39626         * sysvipc/shmget.c: Likewise.
39627         * termios/tcdrain.c: Likewise.
39628         * termios/tcflow.c: Likewise.
39629         * termios/tcflush.c: Likewise.
39630         * termios/tcgetattr.c: Likewise.
39631         * termios/tcgetpgrp.c: Likewise.
39632         * termios/tcsendbrk.c: Likewise.
39633         * termios/tcsetattr.c: Likewise.
39634         * termios/tcsetpgrp.c: Likewise.
39635         * time/adjtime.c: Likewise.
39636         * time/clock.c: Likewise.
39637         * time/getitimer.c: Likewise.
39638         * time/gettimeofday.c: Likewise.
39639         * time/setitimer.c: Likewise.
39640         * time/settimeofday.c: Likewise.
39641         * time/stime.c: Likewise.
39642         * time/time.c: Likewise.
39644 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
39646         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
39647         /usr/old/bin.
39649         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
39650         instead of spaces.
39651         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
39653 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
39655         [BZ #14796]
39656         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
39657         FE_TONEAREST before applying Dekker multiplication and Knuth
39658         addition.  Clear inexact exceptions and check for exact zero
39659         results afterwards.
39660         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39661         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
39662         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39663         * math/libm-test.inc (fma_test): Add more tests.
39664         (fma_test_towardzero): Likewise.
39665         (fma_test_downward): Likewise.
39666         (fma_test_upward): Likewise.
39667         * sysdeps/generic/math_private.h (default_libc_fesetround): New
39668         function.
39669         (libc_fesetround): New macro.
39670         (libc_fesetroundf): Likewise.
39671         (libc_fesetroundl): Likewise.
39672         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
39673         function.
39674         (libc_fesetround_387): Likewise.
39675         (libc_fesetroundf): New macro.
39676         (libc_fesetround): Likewise.
39677         (libc_fesetroundl): Likewise.
39678         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
39679         function.
39680         (libc_fesetroundf): New macro.
39681         (libc_fesetround): Likewise.
39682         (libc_fesetroundl): Likewise.
39683         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
39684         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
39685         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
39686         libm_hidden_ver.
39687         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
39688         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
39689         libm_hidden_def.
39690         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
39691         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
39692         libm_hidden_ver.
39693         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
39694         libm_hidden_def.
39696         [BZ #3439]
39697         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
39698         integer constant usable in #if and use that to give value to enum
39699         constant.
39700         (FE_DIVBYZERO): Likewise.
39701         (FE_UNDERFLOW): Likewise.
39702         (FE_OVERFLOW): Likewise.
39703         (FE_INVALID): Likewise.
39704         (FE_INVALID_SNAN): Likewise.
39705         (FE_INVALID_ISI): Likewise.
39706         (FE_INVALID_IDI): Likewise.
39707         (FE_INVALID_ZDZ): Likewise.
39708         (FE_INVALID_IMZ): Likewise.
39709         (FE_INVALID_COMPARE): Likewise.
39710         (FE_INVALID_SOFTWARE): Likewise.
39711         (FE_INVALID_SQRT): Likewise.
39712         (FE_INVALID_INTEGER_CONVERSION): Likewise.
39713         (FE_TONEAREST): Likewise.
39714         (FE_TOWARDZERO): Likewise.
39715         (FE_UPWARD): Likewise.
39716         (FE_DOWNWARD): Likewise.
39717         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
39718         (FE_DIVBYZERO): Likewise.
39719         (FE_OVERFLOW): Likewise.
39720         (FE_UNDERFLOW): Likewise.
39721         (FE_INEXACT): Likewise.
39722         (FE_TONEAREST): Likewise.
39723         (FE_DOWNWARD): Likewise.
39724         (FE_UPWARD): Likewise.
39725         (FE_TOWARDZERO): Likewise.
39726         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
39727         (FE_UNDERFLOW): Likewise.
39728         (FE_OVERFLOW): Likewise.
39729         (FE_DIVBYZERO): Likewise.
39730         (FE_INVALID): Likewise.
39731         (FE_TONEAREST): Likewise.
39732         (FE_TOWARDZERO): Likewise.
39733         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
39734         (FE_OVERFLOW): Likewise.
39735         (FE_UNDERFLOW): Likewise.
39736         (FE_DIVBYZERO): Likewise.
39737         (FE_INEXACT): Likewise.
39738         (FE_TONEAREST): Likewise.
39739         (FE_TOWARDZERO): Likewise.
39740         (FE_UPWARD): Likewise.
39741         (FE_DOWNWARD): Likewise.
39742         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
39743         (FE_DIVBYZERO): Likewise.
39744         (FE_OVERFLOW): Likewise.
39745         (FE_UNDERFLOW): Likewise.
39746         (FE_INEXACT): Likewise.
39747         (FE_TONEAREST): Likewise.
39748         (FE_DOWNWARD): Likewise.
39749         (FE_UPWARD): Likewise.
39750         (FE_TOWARDZERO): Likewise.
39752 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
39754         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
39756 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
39758         * scripts/cross-test-ssh.sh (command): Use newlines to separate
39759         commands.  Quote $PWD.
39760         (blacklist_exports): Don't use remove_newlines.  Replace "declare
39761         -x" by "export".
39762         (remove_newlines): Remove.
39764 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
39766         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
39767         * stdlib/stdlib.h (atof): Moved to ...
39768         * include/bits/stdlib-float.h: Here.  New file.
39769         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
39770         * stdlib/bits/stdlib-float.h: New file.
39771         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
39772         -mno-sse -mno-mmx.
39773         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
39774         <xmmintrin.h>.
39776 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39778         * conform/conformtest.pl (@headers): Add fenv.h.
39779         * conform/data/fenv.h-data: New file.
39780         * include/fenv.h [_ISOMAC]: Disable all contents of file except
39781         include of <math/fenv.h>.
39783         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
39784         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
39785         && !UNIX98].  Enables tests for XOPEN2K8.
39786         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
39787         POSIX2008]: Likewise.
39789         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
39790         (struct rusage): Do not expect type or its members.
39792         [BZ #3439]
39793         * math/math.h (FP_NAN): Define macro to integer constant usable in
39794         #if and use that to give value to enum constant.
39795         (FP_INFINITE): Likewise.
39796         (FP_ZERO): Likewise.
39797         (FP_SUBNORMAL): Likewise.
39798         (FP_NORMAL): Likewise.
39800 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
39802         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
39803         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
39804         arguments.
39806 2012-11-02  Roland McGrath  <roland@hack.frob.com>
39808         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
39809         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
39810         autoconf-time if not.
39811         * configure.in: Remove AC_PREREQ.
39813 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39815         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
39816         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
39817         of the internal implementation.
39819 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
39821         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
39822         except include of <misc/sys/syslog.h>.
39824 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
39827         function returns with a NULL context exit with zero.
39829 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39831         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
39833 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
39835         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
39836         (run_program_cmd): This.
39837         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
39838         (tst_langinfo): New variable.  Use it.
39840 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
39842         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
39843         floating point opcodes.
39845 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39847         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
39848         variable.
39850         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
39852         * sysdeps/mach/hurd/powerpc: Remove directory.
39853         * sysdeps/mach/powerpc: Likewise.
39855 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
39857         * scripts/check-local-headers.sh: Ignore c++ headers.
39859 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39861         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
39862         __libc_cleanup_region_start argument.
39864 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
39866         [BZ #14784]
39867         [BZ #14785]
39868         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
39869         x * y using scaling, not as x * y + z.
39870         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39871         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39872         * math/libm-test.inc (fma_test): Add more tests.
39873         (fma_test_towardzero): Likewise.
39874         (fma_test_downward): Likewise.
39875         (fma_test_upward): Likewise.
39877 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
39879         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
39881 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39883         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
39884         New variable.
39886 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
39888         * rt/tst-shm.c (worker): Correct checking for mmap failure.
39890 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39893         Fix sort order.
39894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39895         Likewise.
39897 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
39899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39900         Fix the order of the list for glibc 2.17.
39901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39902         Likewise.
39904 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
39906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39908 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
39910         [BZ #14610]
39911         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
39912         for low part of x being zero before using __atanl (y).
39913         * math/libm-test.inc (atan2_test): Add another test.
39915         * manual/install.texi (Configuring and compiling): Document
39916         general use of test-wrapper and test-wrapper-env.
39917         * INSTALL: Regenerated.
39919         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
39920         (__fma): Do not extract and scale down low bits on after-rounding
39921         systems when result rounded to normal precision would have normal
39922         exponent.
39923         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
39924         (__fmal): Do not extract and scale down low bits on after-rounding
39925         systems when result rounded to normal precision would have normal
39926         exponent.
39927         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
39928         (__fmal): Do not extract and scale down low bits on after-rounding
39929         systems when result rounded to normal precision would have normal
39930         exponent.
39931         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
39932         macro.
39933         (fma_test): Add more tests.
39934         (fma_test_towardzero): Likewise.
39935         (fma_test_downward): Likewise.
39936         (fma_test_upward): Likewise.
39938 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
39940         * sysdeps/i386/tininess.h: Renamed to ...
39941         * sysdeps/x86/tininess.h: This.
39942         * sysdeps/x86_64/tininess.h: Removed.
39944 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39946         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
39947         input.  Use $(build-program-cmd).
39948         ($(objpfx)tst-array1-static.out): Likewise.
39949         ($(objpfx)tst-array2.out): Likewise.
39950         ($(objpfx)tst-array3.out): Likewise.
39951         ($(objpfx)tst-array4.out): Likewise.
39952         ($(objpfx)tst-array5.out): Likewise.
39953         ($(objpfx)tst-array5-static.out): Likewise.
39955 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
39957         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
39958         if defined.
39960         * nss/nsswitch.h (nss_interface_function): Provide new
39961         macro for use with NSS functions.
39962         * grp/initgroups.c: Use new macro.
39963         * nss/getXXbyYY.c: Likewise.
39964         * nss/getXXbyYY_r.c: Likewise.
39965         * nss/getXXent.c: Likewise.
39966         * nss/getXXent_r.c: Likewise.
39967         * sysdeps/posix/getaddrinfo.c: Likewise.
39969 2012-10-30  Andreas Jaeger  <aj@suse.de>
39971         * po/ru.po: Update Russion translation from translation project.
39973 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
39975         [BZ #14152]
39976         [BZ #14783]
39977         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
39978         result and shift together with sticky bit instead of replicating
39979         round-to-nearest rounding.
39980         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
39981         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
39982         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
39983         missing underflow exceptions.
39984         (fma_test_towardzero): Add more tests.
39985         (fma_test_downward): Likewise.
39986         (fma_test_upward): Likewise.
39988         [BZ #14047]
39989         * sysdeps/generic/tininess.h: New file.
39990         * sysdeps/i386/tininess.h: Likewise.
39991         * sysdeps/sh/tininess.h: Likewise.
39992         * sysdeps/x86_64/tininess.h: Likewise.
39993         * stdlib/tst-strtod-underflow.c: Likewise.
39994         * stdlib/tst-tininess.c: Likewise.
39995         * stdlib/strtod_l.c: Include <tininess.h>.
39996         (round_and_return): Do not set errno for exact underflow cases.
39997         Force an underflow exception when setting errno for underflow.
39998         Determine underflow based on rounding to normal precision if
39999         TININESS_AFTER_ROUNDING.
40000         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
40001         ERANGE for exact underflow cases.
40002         * stdlib/Makefile (tests): Add tst-tininess and
40003         tst-strtod-underflow.
40004         ($(objpfx)tst-tininess): Use $(link-libm).
40005         ($(objpfx)tst-strtod-underflow): Likewise.
40007 2012-10-30  Andreas Jaeger  <aj@suse.de>
40009         [BZ#14767]
40010         * elf/Makefile (tests): Remove conditional for have-initfini-array
40011         since this is now always required and the variable does not exist
40012         anymore.
40013         (tests-static): Likewise.
40014         (modules-names): Likewise.
40016         * po/eo.po: Add Esperanto translation from translation project.
40018         * elf/tst-array1.c (fini_array): Make writeable so that it can be
40019         merged with constructor/destructor.
40020         (init_array): Likewise.
40021         * elf/tst-array2dep.c (fini_array): Likewise.
40022         (init_array): Likewise.
40024 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
40026         * manual/message.texi: Delete @cartouche tags.
40028 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
40030         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
40031         EOPNOTSUPP.
40032         * sysdeps/mach/hurd/fsync.c: Likewise.
40034         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
40035         [_POSIX_REALTIME_SIGNALS]: Change condition to
40036         [_POSIX_REALTIME_SIGNALS > 0].
40038 2012-10-27  Andreas Jaeger  <aj@suse.de>
40040         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
40041         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
40042         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
40043         [__WORDSIZE != 64]: Likewise.
40045 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
40047         *  iconvdata/tst-table.sh: Remove ${SHELL}.
40048         *  iconvdata/tst-tables.sh: Likewise.
40050 2012-10-25  David S. Miller  <davem@davemloft.net>
40052         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40053         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
40054         of strtoull.
40056         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
40057         ifunc-impl-list.c
40058         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40059         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
40060         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
40061         file.
40063 2012-10-25  Roland McGrath  <roland@hack.frob.com>
40065         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40066         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
40067         __getdirentries.
40069 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40070             Jim Blandy  <jimb@codesourcery.com>
40072         * scripts/cross-test-ssh.sh: New file.
40073         * manual/install.texi (Configuring and compiling): Document use of
40074         cross-test-ssh.sh.
40075         * INSTALL: Regenerated.
40077 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
40079         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
40080         EOPNOTSUPP.
40082 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
40084         * Makeconfig (run-program-prefix): Fix comment.
40086 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40087             Jim Blandy  <jimb@codesourcery.com>
40089         * Makeconfig (test-wrapper): New variable,
40090         (test-wrapper-env): Likewise.
40091         [$(cross-compiling) = yes && $(test-wrapper) != ""]
40092         (run-built-tests): Define to yes.
40093         (run-program-prefix): Use $(test-wrapper).
40094         (built-program-cmd): Likewise.
40095         * Rules (make-test-out): Use $(test-wrapper-env) and
40096         $(host-built-program-cmd).
40097         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
40098         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
40099         tst-pathopt.sh.
40100         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
40101         $(test-wrapper-env) to tst-rtld-load-self.sh.
40102         ($(objpfx)order2.out): Use $(test-wrapper).
40103         ($(objpfx)tst-initorder.out): Likewise.
40104         ($(objpfx)tst-initorder2.out): Likewise.
40105         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
40106         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
40107         (test_wrapper_env): New variable.  Use it to run ld.so.
40108         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
40109         Use it to run ld.so.
40110         (test_wrapper_env): Likewise.
40111         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
40112         $(test-wrapper) to run-iconv-test.sh.
40113         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
40114         (ICONV): Use $test_wrapper.
40115         * posix/Makefile ($(objpfx)globtest.out): Pass
40116         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
40117         globtest.sh, not $(run-program-prefix).
40118         * posix/globtest.sh (run_via_rtld_prefix): New variable.
40119         (test_wrapper): Likewise.
40120         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
40121         set together with run_via_rtld_prefix.
40122         (run_program_prefix): Define in terms of test_wrapper and
40123         run_via_rtld_prefix.
40125 2012-10-24  Roland McGrath  <roland@hack.frob.com>
40127         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
40128         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
40129         Targets removed.
40131         [BZ #14743]
40132         * include/time.h: Remove librt_hidden_proto (clock_gettime).
40133         Declare __clock_getres, __clock_gettime, __clock_settime,
40134         __clock_nanosleep, and __clock_getcpuclockid.
40135         * rt/clock_gettime.c: Define __clock_gettime as an alias.
40136         Remove librt_hidden_def (clock_gettime).
40137         * sysdeps/unix/clock_gettime.c: Likewise.
40138         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
40139         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
40140         * rt/clock_getres.c: Define __clock_getres as an alias.
40141         * sysdeps/posix/clock_getres.c: Likewise.
40142         * rt/clock_settime.c: Define __clock_settime as an alias.
40143         * sysdeps/unix/clock_settime.c: Likewise.
40144         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
40145         * sysdeps/unix/clock_nanosleep.c: Likewise.
40146         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
40147         * rt/clock-compat.c: New file.
40148         * rt/Makefile (librt-routines): Add clock-compat and move
40149         $(clock-routines) to ...
40150         (routines): ... here, new variable.
40151         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
40152         Don't add get_clockfreq here.
40153         * rt/Versions (libc: GLIBC_2.17): New version set.
40154         Add clock_* symbols here.
40155         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
40156         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
40157         (GLIBC_2.17): Add clock_* symbols.
40158         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
40159         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
40160         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
40161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40162         Likewise.
40163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40164         Likewise.
40165         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
40166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
40167         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
40168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
40169         * NEWS: Mention the move.
40171         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40172         Use __open, __read, __close rather than their public counterparts.
40173         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
40174         (__get_clockfreq_via_cpuinfo): Likewise.
40175         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
40176         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
40178         * config.h.in (HAVE_IFUNC): New #undef.
40179         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
40180         was successful.
40181         * configure: Regenerated.
40183 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40185         * configure.in: Move READELF check to start of file.
40186         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
40187         libc_cv_asm_gnu_indirect_function in the process.
40188         * configure: Regenerated.
40190 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
40192         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
40193         send the output to /dev/null.
40194         (libc_cv_cc_with_libunwind): Likewise.
40195         (libc_cv_as_noexecstack): Likewise.
40196         * configure: Regenerate.
40198 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
40200         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
40202         * posix/globtest.sh (TMPDIR): Do not set.
40203         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
40204         (testout): Likewise.
40206 2012-10-24  Andreas Jaeger  <aj@suse.de>
40208         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
40209         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
40210         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
40211         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
40212         posix_fadvise64, posix_fallocate64.
40214         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
40215         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
40216         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
40217         Likewise.
40218         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
40219         Likewise.
40220         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
40222         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
40223         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
40224         <bits/fcntl-linux.h>.
40225         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
40227         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
40228         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
40229         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
40230         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
40231         [__WORDSIZE != 64]: Likewise.
40233 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40235         * Makeconfig (run-built-tests): New variable.
40236         * Rules [$(cross-compiling) = yes]: Change condition to
40237         [$(run-built-tests) = no].
40238         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
40239         to [$(run-built-tests) = yes].
40240         * elf/Makefile [$(cross-compiling) = no]: Likewise
40241         * grp/Makefile [$(cross-compiling) = no]: Likewise.
40242         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
40243         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
40244         * intl/Makefile [$(cross-compiling) = no]: Likewise.
40245         * io/Makefile [$(cross-compiling) = no]: Likewise.
40246         * libio/Makefile [$(cross-compiling) = no]: Likewise.
40247         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
40248         * misc/Makefile [$(cross-compiling) = no]: Likewise.
40249         * posix/Makefile [$(cross-compiling) = no]: Likewise.
40250         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
40251         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
40252         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
40253         * string/Makefile [$(cross-compiling) = no]: Likewise.
40255         * posix/Makefile ($(objpfx)globtest.out): Pass
40256         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
40257         $(rtld-installed-name).
40258         * posix/globtest.sh (elf_objpfx): Remove variable.
40259         (rtld_installed_name): Likewise.
40260         (library_path): Likewise.
40261         (run_program_prefix): New variable.  Use for running globtest
40262         binary.
40264 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
40265             Joseph Myers  <joseph@codesourcery.com>
40267         * Makeconfig (host-built-program-cmd): New variable.
40268         * elf/Makefile (tst-stackguard1-ARGS): Use
40269         $(host-built-program-cmd).
40270         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
40271         (tst-spawn-ARGS): Likewise.
40272         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
40274 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
40275             Jim Blandy  <jimb@codesourcery.com>
40277         * Makeconfig (run-via-rtld-prefix): New variable.
40278         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
40279         (built-program-cmd): Likewise.
40281 2012-10-22  Andreas Jaeger  <aj@suse.de>
40283         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
40284         __O_RSYNC if it exists, otherwise to O_SYNC.
40286 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
40287             Joseph Myers  <joseph@codesourcery.com>
40289         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
40290         /dev/null.
40291         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
40292         from /dev/null
40293         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
40294         /dev/null.
40296 2012-10-22  Andreas Jaeger  <aj@suse.de>
40298         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
40299         Define always.
40300         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
40302         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40303         bits/fcntl-linux.h.
40305         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
40306         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
40308         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
40309         to __O_LARGEFILE.
40310         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
40311         to __O_LARGEFILE.
40313 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
40314             Joseph Myers  <joseph@codesourcery.com>
40316         * config.make.in (NM): New variable.
40318 2012-10-21  Andreas Jaeger  <aj@suse.de>
40320         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
40321         definitions and declarations that are provided by
40322         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
40324 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40326         [BZ #14683]
40327         * elf/Makefile (tests-static): Add tst-leaks1-static.
40328         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
40329         ($(objpfx)tst-leaks1-static): New rule.
40330         ($(objpfx)tst-leaks1-static-mem): Likewise.
40331         (tst-leaks1-static-ENV): New macro.
40332         * elf/dl-open.c (dl_open_worker): Check the main application
40333         only if SHARED is defined.
40334         * elf/tst-leaks1-static.c: New file.
40336 2012-10-20  Andreas Jaeger  <aj@suse.de>
40338         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
40339         generic values for Linux.
40340         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
40341         and declarations that are provided by <bits/fcntl-linux.h> and
40342         include <bits/fcntl-linux.h>.
40343         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
40344         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
40346 2012-10-20  Roland McGrath  <roland@hack.frob.com>
40348         * io/fcntl.h: Move include of <bits/types.h> to the top and
40349         include it unconditionally.
40351 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
40353         * wcsmbs/Makefile (tests-ifunc): New variable.
40354         (tests): Add $(tests-ifunc).
40355         * wcsmbs/test-wcschr-ifunc.c: New file.
40356         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40357         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40358         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40359         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40360         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40362         * string/Makefile (tests-ifunc): New variable.
40363         (tests): Add $(tests-ifunc).
40364         * string/test-memccpy.c (TEST_NAME): New macro.
40365         * string/test-memchr.c (TEST_NAME): Likewise.
40366         * string/test-memcmp.c (TEST_NAME): Likewise.
40367         * string/test-memcpy.c (TEST_NAME): Likewise.
40368         * string/test-memmem.c (TEST_NAME): Likewise.
40369         * string/test-memmove.c (TEST_NAME): Likewise.
40370         * string/test-memset.c (TEST_NAME): Likewise.
40371         * string/test-rawmemchr.c (TEST_NAME): Likewise.
40372         * string/test-stpcpy.c (TEST_NAME): Likewise.
40373         * string/test-stpncpy.c (TEST_NAME): Likewise.
40374         * string/test-strcasecmp.c (TEST_NAME): Likewise.
40375         * string/test-strcasestr.c (TEST_NAME): Likewise.
40376         * string/test-strcat.c (TEST_NAME): Likewise.
40377         * string/test-strchr.c (TEST_NAME): Likewise.
40378         * string/test-strcmp.c(TEST_NAME): Likewise.
40379         * string/test-strcpy.c (TEST_NAME): Likewise.
40380         * string/test-strcspn.c (TEST_NAME): Likewise.
40381         * string/test-strlen.c (TEST_NAME): Likewise.
40382         * string/test-strncasecmp.c (TEST_NAME): Likewise.
40383         * string/test-strncmp.c (TEST_NAME): Likewise.
40384         * string/test-strncpy.c (TEST_NAME): Likewise.
40385         * string/test-strnlen.c (TEST_NAME): Likewise.
40386         * string/test-strpbrk.c (TEST_NAME): Likewise.
40387         * string/test-strrchr.c (TEST_NAME): Likewise.
40388         * string/test-strspn.c (TEST_NAME): Likewise.
40389         * string/test-strstr.c (TEST_NAME): Likewise.
40390         * string/test-bcopy-ifunc.c: New file.
40391         * string/test-bzero-ifunc.c: Likewise.
40392         * string/test-memccpy-ifunc.c: Likewise.
40393         * string/test-memchr-ifunc.c: Likewise.
40394         * string/test-memcmp-ifunc.c: Likewise.
40395         * string/test-memcpy-ifunc.c: Likewise.
40396         * string/test-memmem-ifunc.c: Likewise.
40397         * string/test-memmove-ifunc.c: Likewise.
40398         * string/test-mempcpy-ifunc.c: Likewise.
40399         * string/test-memset-ifunc.c: Likewise.
40400         * string/test-rawmemchr-ifunc.c: Likewise.
40401         * string/test-stpcpy-ifunc.c: Likewise.
40402         * string/test-stpncpy-ifunc.c: Likewise.
40403         * string/test-strcasecmp-ifunc.c: Likewise.
40404         * string/test-strcasestr-ifunc.c: Likewise.
40405         * string/test-strcat-ifunc.c: Likewise.
40406         * string/test-strchr-ifunc.c: Likewise.
40407         * string/test-strchrnul-ifunc.c: Likewise.
40408         * string/test-strcmp-ifunc.c: Likewise.
40409         * string/test-strcpy-ifunc.c: Likewise.
40410         * string/test-strcspn-ifunc.c: Likewise.
40411         * string/test-strlen-ifunc.c: Likewise.
40412         * string/test-strncasecmp-ifunc.c: Likewise.
40413         * string/test-strncat-ifunc.c: Likewise.
40414         * string/test-strncmp-ifunc.c: Likewise.
40415         * string/test-strncpy-ifunc.c: Likewise.
40416         * string/test-strnlen-ifunc.c: Likewise.
40417         * string/test-strpbrk-ifunc.c: Likewise.
40418         * string/test-strrchr-ifunc.c: Likewise.
40419         * string/test-strspn-ifunc.c: Likewise.
40420         * string/test-strstr-ifunc.c: Likewise.
40422         * debug/Makefile (tests-ifunc): New variable.
40423         (tests): Add $(tests-ifunc).
40424         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
40425         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
40426         * debug/test-stpcpy_chk-ifunc.c: New file.
40427         * debug/test-strcpy_chk-ifunc.c: Likewise.
40429 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
40431         [BZ #13601]
40432         * elf/dl-load.c (open_verify): Retry read if the entire ELF
40433         header is not read in.
40435 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
40437         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
40438         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
40439         directly.  Pass built executable to script as
40440         $(built-program-cmd).
40441         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
40442         $testprogram without using LD_LIBRARY_PATH and $ldso.
40444         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
40445         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
40446         $(rtld-installed-name).
40447         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
40448         (rtld_installed_name): Likewise.
40449         (library_path): Likewise.
40450         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
40451         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
40452         $(run-program-prefix) to tst-tables.sh.
40453         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
40454         it to run tst-table-from and tst-table-to.
40455         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
40456         Pass it to tst-table.sh.
40457         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
40458         $(run-program-prefix) to tst-gettext.sh.
40459         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
40460         tst-translit.sh.
40461         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
40462         tst-gettext2.sh.
40463         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
40464         to run tst-gettext.
40465         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
40466         to run tst-gettext2.
40467         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
40468         to run tst-translit.
40469         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
40470         $(run-program-prefix) to tst-mtrace.sh.
40471         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
40472         to run tst-mtrace.
40473         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
40474         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
40475         $(rtld-installed-name).
40476         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
40477         (rtld_installed_name): Likewise.
40478         (run_program_prefix): New variable.  Use it to run wordexp-test.
40480         * Makeconfig (ARCH): Remove all definitions.
40481         (machine): Likewise.
40482         [ARCH]: Remove conditional code.
40483         [!objdir]: Give error.
40484         [!objdir] (objpfx): Remove.
40485         [!objdir] (common-objpfx): Likewise.
40486         [!objdir] (common-objdir): Likewise.
40487         * configure.in (config_makefile): Remove.  Hardcode Makefile in
40488         AC_CONFIG_FILES call.
40489         * configure: Regenerated.
40491         [BZ #13888]
40492         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
40493         or TMPDIR.
40494         (testout): Likewise.
40496         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
40497         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
40498         $(rtld-installed-name).
40499         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
40500         (rtld_installed_name): Likwise.
40501         (runit): Remove function.
40502         (run_getconf): New variable,  Use it for running getconf binary.
40504 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
40506         [BZ #14716]
40507         * string/test-memmem.c (check_result): New function.
40508         (do_one_test): Use it.
40509         (check1): New function.
40510         (test_main): Use it.
40512 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
40514         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
40516 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
40518         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
40519         (_G_LSEEK64): Likewise.
40520         (_G_MMAP64): Likewise.
40521         (_G_FSTAT64): Likewise.
40522         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
40523         (_G_LSEEK64): Likewise.
40524         (_G_MMAP64): Likewise.
40525         (_G_FSTAT64): Likewise.
40526         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
40527         unconditional.  Call __mmap64 directly.
40528         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
40529         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
40530         __lseek64 directly.
40531         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
40532         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
40533         __mmap64 directly.
40534         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
40535         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40536         __lseek64 directly.
40537         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
40538         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
40539         __lseek64 directly.
40540         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
40541         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
40542         __lseek64 directly.
40543         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
40544         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
40545         __fxstat64 directly.
40546         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
40547         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
40548         unconditional.
40549         (freopen64) [!_G_OPEN64]: Remove conditional code.
40550         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
40551         unconditional.
40552         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
40553         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
40554         unconditional.
40555         (ftello64) [!_G_LSEEK64]: Remove conditional code.
40556         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
40557         unconditional.
40558         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40559         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
40560         unconditional.
40561         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
40562         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
40563         unconditional.
40564         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40565         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
40566         unconditional.
40567         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
40568         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
40569         unconditional.
40570         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
40572 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
40574         [BZ #12140]
40575         * manual/memory.texi (Malloc Tunable Parameters): Add note
40576         about free list pointers overwriting some perturb bytes.
40577         Wording suggested by Roland McGrath.
40579 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
40581         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
40582         (lgamma_test): Likewise.
40583         (tgamma_test): Likewise.
40585 2012-10-16  Florian Weimer  <fweimer@redhat.com>
40587         [BZ #14700]
40588         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
40589         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
40591 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
40593         * NEWS: Mention BZ #14716.
40594         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
40595         when removing AVAILABLE1_USES_J macro.
40597 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
40599         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
40600         (__bswap_64): __uint64_t for unsigned 64-bit int.
40602 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
40604         * include/string.h (memmem): Declare libc hidden alias.
40605         * string/memmem.c (memmem): Define libc hidden alias.
40606         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
40607         __read, __close instead of open, read, close.
40609 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
40611         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
40612         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
40613         global and hidden.
40614         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
40615         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
40616         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
40617         Likewise.
40618         (__rawmemchr_sse2): Likewise.
40619         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
40620         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
40621         (__strchr_sse2): Likewise.
40622         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
40623         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
40624         (__strcasecmp_sse2): Likewise.
40625         (__strncasecmp_sse2): Likewise.
40626         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
40627         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
40628         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
40629         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
40630         (__strrchr_sse2): Likewise.
40631         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
40632         ifunc-impl-list.c.
40633         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40634         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40635         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40636         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
40637         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40638         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40639         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40640         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40641         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
40642         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
40643         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
40644         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
40645         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
40646         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40647         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40648         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40649         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40650         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40651         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
40652         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
40653         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
40654         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
40655         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
40656         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
40657         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
40658         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40659         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40660         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40661         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40662         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40664         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
40665         global and hidden.
40666         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
40667         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
40668         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
40669         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
40670         Likewise.
40671         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
40672         Likewise.
40673         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
40674         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
40675         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
40676         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
40677         ifunc-impl-list.c.
40678         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40679         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40680         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40681         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40682         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40683         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40684         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40685         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40686         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40687         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40688         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40689         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40690         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40691         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
40692         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
40693         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40694         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
40695         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
40696         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40697         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40698         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40699         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40700         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40701         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40702         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40703         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
40704         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
40705         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
40706         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
40707         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40708         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
40709         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40710         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40711         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
40712         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40713         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40714         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40715         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40716         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40717         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40718         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
40720         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
40721         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
40722         * include/ifunc-impl-list.h: New file.
40723         * misc/ifunc-impl-list.c: Likewise.
40724         * misc/Makefile (routines): Add ifunc-impl-list.
40725         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
40726         * string/test-string.h: Include <ifunc-impl-list.h>.
40727         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
40728         TEST_NAME]: New variables.
40729         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
40730         are defined.
40731         (test_init): Call __libc_ifunc_impl_list to initialize
40732         func_list if TEST_IFUNC and TEST_NAME are defined.
40734         * string/Makefile (strop-tests): Add bcopy and bzero.
40735         * string/test-bcopy.c: New file.
40736         * string/test-bzero.c: Likewise.
40737         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
40738         defined.
40739         * string/test-memset.c: Support bzero test if TEST_BZERO is
40740         defined.
40741         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
40742         __libc_memmove.
40743         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
40744         __libc_memset.
40745         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
40746         of memset.
40748 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
40750         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
40751         * configure: Regenerated.
40753         * Makeconfig (+link-static-before-libc): Don't include
40754         $(link-static-libc).
40756         * libio/libio.h (_IO_pos_t): Remove.
40758 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40760         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
40761         McGrath.
40763 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40765         * crypt/crypt-entry.c: Include fips-private.h.
40766         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
40767         * crypt/md5c-test.c (main): Tolerate disabled MD5.
40768         * sysdeps/unix/sysv/linux/fips-private.h: New file.
40769         * sysdeps/generic/fips-private.h: New file, dummy fallback.
40771 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
40773         * crypt/crypt-private.h: Include stdbool.h.
40774         (_ufc_setup_salt_r): Return bool.
40775         * crypt/crypt-entry.c: Include errno.h.
40776         (__crypt_r): Return NULL with EINVAL for bad salt.
40777         * crypt/crypt_util.c (bad_for_salt): New.
40778         (_ufc_setup_salt_r): Check that salt is long enough and within
40779         the specified alphabet.
40780         * crypt/badsalttest.c: New file.
40781         * crypt/Makefile (tests): Add it.
40782         ($(objpfx)badsalttest): New.
40784 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
40786         * NEWS: Add entry for BZ #14602.
40788 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40790         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
40791         type-generic.
40792         * math/libm-test.inc: Update comment listing what functions and
40793         macros are tested.
40794         (isgreater_test): New function.
40795         (isgreaterequal_test): Likewise.
40796         (isless_test): Likewise.
40797         (islessequal_test): Likewise.
40798         (islessgreater_test): Likewise.
40799         (isunordered_test): Likewise.
40800         (main): Call the new functions.
40802 2012-10-09  Roland McGrath  <roland@hack.frob.com>
40804         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
40805         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
40806         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
40807         * sysdeps/i386/configure: Regenerated.
40808         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
40809         * sysdeps/mach/configure: Regenerated.
40810         * sysdeps/mach/hurd/configure: Regenerated.
40811         * sysdeps/powerpc/configure: Regenerated.
40812         * sysdeps/powerpc/powerpc32/configure: Regenerated.
40813         * sysdeps/powerpc/powerpc64/configure: Regenerated.
40814         * sysdeps/s390/s390-32/configure: Regenerated.
40815         * sysdeps/s390/s390-64/configure: Regenerated.
40816         * sysdeps/sh/configure: Regenerated.
40817         * sysdeps/sparc/configure: Regenerated.
40818         * sysdeps/unix/sysv/linux/configure: Regenerated.
40819         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
40820         * sysdeps/x86_64/configure: Regenerated.
40822         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
40823         defined.  Don't check if MAP is NULL.
40825 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
40827         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
40828         (_G_stat64): Likewise.
40829         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
40830         (_G_stat64): Likewise.
40831         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
40832         instead of struct _G_stat64.
40833         * libio/fileops.c (mmap_remap_check): Likewise.
40834         (decide_maybe_mmap): Likewise.
40835         (_IO_new_file_seekoff): Likewise.
40836         (_IO_file_stat): Likewise.
40837         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
40838         _G_off64_t.
40839         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
40840         instead of struct _G_stat64.
40841         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
40843 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
40845         [BZ #14602]
40846         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40847         Replace with ...
40848         (CHECK_EOL): New macro.
40849         (two_way_short_needle): Check beginning of haystack for EOL.  Use
40850         CHECK_EOL.
40851         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40852         Replace with CHECK_EOL.
40853         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
40854         Replace with CHECK_EOL.
40856 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
40858         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
40859         type-generic.
40860         * math/libm-test.inc: Update comment listing what functions and
40861         macros are tested.
40862         (finite_test): New function.
40863         (isinf_test): Likewise.
40864         (isnan_test): Likewise.
40865         (fpclassify_test): Test subnormal input.
40866         (isfinite_test): Likewise.
40867         (isnormal_test): Likewise.
40868         (main): Call the new functions.
40870 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
40872         [BZ #14660]
40873         * Makerules (%.dynsym): Force C locale when running
40874         $(OBJDUMP) --dynamic-syms.
40876 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
40878         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
40879         <stdint.h>.
40881 2012-10-06  David S. Miller  <davem@davemloft.net>
40883         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
40884         upper 32-bits of the length value in %o2 since we use branch-on-register
40885         tests which consider the entire 64-bit register.
40887 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
40889         * string/test-strstr.c (check2): Add a test for page boundary.
40891 2012-10-05  David S. Miller  <davem@davemloft.net>
40893         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
40894         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
40895         file.
40896         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
40897         sysdep_routines.
40898         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
40899         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
40900         and bzero when HWCAP_SPARC_CRYPTO is present.
40902 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
40904         [BZ #14602]
40905         * string/test-strstr.c (check2): New function.
40906         (test_main): Call check2.
40908         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
40909         and bug-strchr1.
40910         * string/bug-strcasestr1.c (do_test): Moved to ...
40911         * string/test-strcasestr.c (check1): Here.  New function.
40912         (do_one_test): Break out result checking code into ...
40913         (check_result): This.  New function.
40914         (do_one_test): Call check_result.
40915         (test_main): Call check1.
40916         * string/bug-strchr1.c (do_test): Moved to ...
40917         * string/test-strchr.c (check1): Here.  New function.
40918         (do_one_test): Break out result checking code into ...
40919         (check_result): This.  New function.
40920         (do_one_test): Call check_result.
40921         (test_main): Call check1.
40922         * string/bug-strstr1.c (main): Moved to ...
40923         * string/test-strstr.c (check1): Here.  New function.
40924         (do_one_test): Break out result checking code into ...
40925         (check_result): This.  New function.
40926         (do_one_test): Call check_result.
40927         (test_main): Call check1.
40928         * string/bug-strcasestr1.c: Removed.
40929         * string/bug-strchr1.c: Likewise.
40930         * string/bug-strstr1.c: Likewise.
40932         * elf/Makefile (dl-routines): Add hwcaps.
40933         * elf/dl-support.c (_dl_important_hwcaps): Removed.
40934         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
40935         (_dl_important_hwcaps): Moved to ...
40936         * elf/dl-hwcaps.c: Here.  New file.
40937         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
40939         [BZ #14557]
40940         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
40941         if IS_IN_rtld isn't defined.
40943         * elf/dl-support.c (_dl_sysinfo_map): New.
40944         Include "get-dynamic-info.h" and "setup-vdso.h".
40945         (_dl_non_dynamic_init): Call setup_vdso.
40946         * elf/dynamic-link.h: Don't include <assert.h>.
40947         (elf_get_dynamic_info): Moved to ...
40948         * elf/get-dynamic-info.h: Here.  New file.
40949         * elf/dynamic-link.h: Include "get-dynamic-info.h".
40950         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
40951         * elf/setup-vdso.h: Here.  New file.
40952         * elf/rtld.c: Include "setup-vdso.h".
40953         (dl_main): Call setup_vdso.
40955 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
40957         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
40958         creal in comment listing functions tested.  List finite, isinf,
40959         isnan, isless, islessequal, isgreater, isgreaterequal,
40960         islessgreater, isunordered, lgamma_r and pow10 as functions and
40961         macros not tested.  Mention which functions not tested are aliases
40962         for other functions.  Fix typo.  Note that signs of NaNs are not
40963         tested.
40965         * scripts/config.guess: Update from config.git.
40966         * scripts/config.sub: Likewise.
40968 2012-10-04  Roland McGrath  <roland@hack.frob.com>
40970         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
40971         * misc/madvise.c (madvise): Renamed to __madvise.
40972         Make madvise a weak alias.
40973         * include/sys/mman.h: Declare __madvise.
40974         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
40975         * sysdeps/unix/syscalls.list
40976         (madvise): Make __madvise the strong name, and madvise a weak alias.
40977         * sysdeps/unix/sysv/linux/syscalls.list
40978         (madvise, mmap): Remove redundant entries.
40979         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
40980         * malloc/malloc.c (mtrim): Likewise.
40981         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
40983 2012-10-03  Roland McGrath  <roland@hack.frob.com>
40985         * sysdeps/mach/hurd/dl-cache.c: File removed.
40986         * config.h.in (USE_LDCONFIG): New #undef.
40987         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
40988         * configure: Regenerated.
40989         * elf/Makefile (dl-routines): Add dl-cache only under
40990         [$(use-ldconfig) = yes].
40991         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
40992         cache on [USE_LDCONFIG].
40993         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
40994         [USE_LDCONFIG].
40995         * elf/rtld.c (dl_main): Likewise.
40997 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
40999         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
41000         _SC_LEVEL4_CACHE_LINESIZE.
41002 2012-10-03  Roland McGrath  <roland@hack.frob.com>
41004         * sysdeps/unix/bsd/confstr.h: File removed.
41006 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
41008         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
41009         sys/sdt-config.h.
41011 2012-10-02  Roland McGrath  <roland@hack.frob.com>
41013         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
41014         Make 'mapoff' field ElfW(Off) rather than off_t.
41016 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
41018         * nscd/Makefile: Remove nscd-cflags and all its users.
41019         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
41020         (CFLAGS-nonlib): Add compiler flags for nscd modules.
41022         [BZ #10631]
41023         * malloc.c (malloc_printerr): Clarify error message.
41025 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
41027         [BZ #14648]
41028         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41029         Set bit_FMA_Usable if FMA is supported.
41030         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
41031         macro.
41032         (bit_FMA4_Usable): Updated.
41033         (index_FMA_Usable): New macro.
41034         (CPUID_FMA): Likewise
41035         (HAS_FMA): Defined with bit_FMA_Usable.
41037 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41039         * bits/types.h (__swblk_t): Type removed.
41040         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
41041         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
41042         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41043         (__SWBLK_T_TYPE): Likewise.
41044         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
41045         (__SWBLK_T_TYPE): Likewise.
41046         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41047         (__SWBLK_T_TYPE): Likewise.
41048         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41049         (__SWBLK_T_TYPE): Likewise.
41051 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
41052             Honza Horak <hhorak@redhat.com>
41054         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
41055         (xdr_mapname): Use YPMAXMAP as maxsize.
41056         (xdr_peername): Use YPMAXPEER as maxsize.
41057         (xdr_keydat): Use YPAXRECORD as maxsize.
41058         (xdr_valdat): Use YPMAXRECORD as maxsize.
41060 2012-10-01  Roland McGrath  <roland@hack.frob.com>
41062         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
41064         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
41065         * csu/init-first.c: ... here.
41066         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
41067         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
41068         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
41069         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
41070         * sysdeps/i386/init-first.c: File removed.
41071         * sysdeps/sh/init-first.c: File removed.
41073 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
41075         [BZ #14645]
41076         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
41077         if x * y might underflow to zero and z is zero.
41078         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
41079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41080         * math/libm-test.inc (min_subnorm_value): New variable.
41081         (fma_test): Add more tests.
41082         (fma_test_towardzero): Likewise.
41083         (fma_test_downward): Likewise
41084         (fma_test_upward): Likewise.
41085         (initialize): Set min_subnorm_value.
41087 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
41089         [BZ #14638]
41090         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
41091         0 + 0.
41092         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
41093         mode for addition resulting in exact zero.
41094         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
41095         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
41096         exact 0 + 0.
41097         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
41098         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
41099         * math/libm-test.inc (fma_test): Add more tests.
41100         (fma_test_towardzero): New function.
41101         (fma_test_downward): Likewise.
41102         (fma_test_upward): Likewise.
41103         (main): Call the new functions.
41105 2012-09-28  David S. Miller  <davem@davemloft.net>
41107         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
41109 2012-09-28  Roland McGrath  <roland@hack.frob.com>
41111         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
41112         instead of SIGALRM.
41114         * sysdeps/gnu/_G_config.h: Moved to ...
41115         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
41116         * sysdeps/mach/hurd/_G_config.h: Moved to ...
41117         * sysdeps/generic/_G_config.h: ... here.
41119         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
41121         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
41123         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
41124         Conditionalize target on [libnss_test1.so-version].
41126         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
41128         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
41129         (elfobjdir): Move out of conditionals.
41131         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
41132         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
41133         (__nss_lookup_function): Conditionalize label remove_from_tree on
41134         [!DO_STATIC_NSS || SHARED], matching its only use.
41136 2012-09-28  David S. Miller  <davem@davemloft.net>
41138         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
41139         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
41140         file.
41141         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
41142         sysdep_routines.
41143         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
41144         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
41145         when HWCAP_SPARC_CRYPTO is present.
41147 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41149         * io/tst-mknodat.c: Create a FIFO instead of a socket.
41151 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
41153         [BZ #6530]
41154         * stdio-common/vfprintf.c (process_string_arg): Revert
41155         2000-07-22 change.
41157 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
41159         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
41160         for testcase.
41161         * stdio-common/tst-sprintf.c: Include <locale.h>
41162         (main): Test sprintf's handling of incomplete multibyte
41163         characters.
41165 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
41167         * elf/dl-runtime.c (VERSYMIDX): Removed.
41168         * elf/dl-version.c (VERSYMIDX): Likewise.
41169         * elf/do-rel.h (VERSYMIDX): Likewise.
41170         (VALIDX): Likewise.
41171         * elf/dynamic-link.h (VERSYMIDX): Likewise.
41172         * elf/rtld.c (VALIDX): Likewise.
41173         (ADDRIDX): Likewise.
41174         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
41175         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
41176         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
41177         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
41178         (VALIDX): Likewise.
41179         (ADDRIDX): Likewise.
41181 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41183         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
41185 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
41187         [BZ #11438]
41188         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
41189         to global scope.
41190         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
41191         addresses are in the same scope as 192.0.2/24.
41192         * posix/gai.conf: Document new scope table defaults.
41194 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41196         [BZ #5298]
41197         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
41198         for ftell.  Compute offsets from write pointers instead.
41199         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
41201 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
41203         [BZ #14543]
41204         * libio/Makefile (tests): New test case tst-fseek.
41205         * libio/tst-fseek.c: New test case to verify that fseek/ftell
41206         combination works in wide mode.
41207         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
41208         state when the external buffer state changes.
41210 2012-09-27  David S. Miller  <davem@davemloft.net>
41212         [BZ #14376]
41213         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
41214         pass reloc->r_addend in as the 'high' argument to
41215         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
41217         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41219 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
41221         * rt/tst-aio2.c: Include <pthread.h>.
41222         * rt/tst-aio3.c: Likewise.
41224 2012-09-27  Steve Ellcey  <sellcey@mips.com>
41226         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
41228 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
41230         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
41231         contents on [SHARED].
41233 2012-09-26  Marek Polacek  <polacek@redhat.com>
41235         [BZ #14530]
41236         [BZ #13741]
41237         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
41238         for C++ and GCC <4.3 as well as for non GCC compilers.
41240 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
41242         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41244 2012-09-25  Roland McGrath  <roland@hack.frob.com>
41246         * Makefile.in (all, install): Declare with .PHONY.
41247         Reported by Michael Hope <michael.hope@linaro.org>.
41249 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41251         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
41252         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
41253         system header.
41254         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
41255         Likewise.
41256         (sydep_routines): Add the new and the internal functions.
41257         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
41258         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
41259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
41260         (GLIBC_2.17): Add the new function.
41261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
41262         (GLIBC_2.17): Likewise.
41263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
41264         (GLIBC_2.17): Likewise.
41265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
41266         (GLIBC_2.17): Likewise.
41267         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
41269 2012-09-25  Alan Modra  <amodra@gmail.com>
41271         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
41272         Add release barrier before setting once_control to say
41273         initialisation is done.  Add hints on lwarx.  Use macro in
41274         place of isync.
41275         (clear_once_control): Add release barrier.
41277 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41279         [BZ #13629]
41280         * math/s_clog.c (__clog): Handle more values close to |z| = 1
41281         specially.
41282         * math/s_clog10.c (__clog10): Likewise.
41283         * math/s_clog10f.c (__clog10f): Likewise.
41284         * math/s_clog10l.c (__clog10l): Likewise.
41285         * math/s_clogf.c (__clogf): Likewise.
41286         * math/s_clogl.c (__clogl): Likewise.
41287         * math/Makefile (libm-calls): Add x2y2m1.
41288         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
41289         (__x2y2m1): Likewise.
41290         (__x2y2m1l): Likewise.
41291         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
41292         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
41293         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
41294         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
41295         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
41296         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
41297         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
41298         * sysdeps/i386/fpu/libm-test-ulps: Update.
41299         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41301         [BZ #14621]
41302         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
41303         int as type of variable DEPTH.
41304         (glob): Use size_t instead of int as type of variables NEWCOUNT
41305         and OLD_PATHC.
41307 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41309         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41310         Add s_sincosf-sse2.
41311         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
41312         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
41313         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
41314         macros for using routine as __sincosf_ia32.
41315         Use macro for function declaration and weak_alias.
41316         * sysdeps/i386/fpu/libm-test-ulps: Update.
41318         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
41319         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41321         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
41322         subnormal argument.
41323         * math/s_cexpf.c (__cexpf): Likewise.
41324         * math/s_csinf.c (__csinf): Likewise.
41325         * math/s_csinhf.c (__csinhf): Likewise.
41326         * math/s_ctanf.c (__ctanf): Likewise.
41327         * math/s_ctanhf.c (__ctanhf): Likewise.
41328         * math/s_ccosh.c (__ccoshf): Likewise.
41329         * math/s_cexp.c (__cexpl): Likewise.
41330         * math/s_csin.c (__csin): Likewise.
41331         * math/s_csinh.c (__csinh): Likewise.
41332         * math/s_ctan.c (__ctan): Likewise.
41333         * math/s_ctanh.c (ctanh): Likewise.
41334         * math/s_ccoshl.c (__ccoshl): Likewise.
41335         * math/s_cexpl.c (__cexpl): Likewise.
41336         * math/s_csinl.c (__csinl): Likewise.
41337         * math/s_csinhl.c (__csinhl): Likewise.
41338         * math/s_ctanl.c (__ctanl): Likewise.
41339         * math/s_ctanhl.c (__ctanhl): Likewise.
41341 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
41343         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
41344         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
41345         (_IO_off_t): Define to __off_t, not _G_off_t.
41346         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
41347         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
41348         (_IO_wint_t): Define to wint_t, not _G_wint_t.
41349         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
41350         type of __dummy and __dummy2 fields.
41351         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
41352         (_G_ssize_t): Likewise.
41353         (_G_off_t): Likewise.
41354         (_G_pid_t): Likewise.
41355         (_G_uid_t): Likewise.
41356         (_G_wchar_t): Likewise.
41357         (_G_wint_t): Likewise.
41358         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
41359         (_G_ssize_t): Likewise.
41360         (_G_off_t): Likewise.
41361         (_G_pid_t): Likewise.
41362         (_G_uid_t): Likewise.
41363         (_G_wchar_t): Likewise.
41364         (_G_wint_t): Likewise.
41365         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
41366         (_G_ssize_t): Likewise.
41367         (_G_off_t): Likewise.
41368         (_G_pid_t): Likewise.
41369         (_G_uid_t): Likewise.
41370         (_G_wchar_t): Likewise.
41371         (_G_wint_t): Likewise.
41373 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41375         * malloc/arena.c: Include malloc-sysdep.h.
41376         (shrink_heap): Use check_may_shrink_heap to decide if madvise
41377         is sufficient to shrink the heap or an unmap is needed.
41378         * sysdeps/generic/malloc-sysdep.h: New file.  Define
41379         new function check_may_shrink_heap.
41380         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
41381         new function check_may_shrink_heap.
41383 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41385         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
41386         comments.
41388 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
41390         * catgets/test-gencat.sh: Add "set -e".
41391         * elf/tst-pathopt.sh: Likewise.
41392         * grp/tst_fgetgrent.sh: Likewise.
41393         * iconvdata/run-iconv-test.sh: Likewise.
41394         * intl/tst-gettext.sh: Likewise.
41395         * intl/tst-gettext2.sh: Likewise.
41396         * intl/tst-gettext4.sh: Likewise.
41397         * intl/tst-gettext6.sh: Likewise.
41398         * intl/tst-translit.sh: Likewise.
41399         * io/ftwtest-sh: Likewise.
41400         * libio/test-freopen.sh: Likewise.
41401         * malloc/tst-mtrace.sh: Likewise.
41402         * posix/globtest.sh: Likewise.
41403         * posix/tst-getconf.sh: Likewise.
41404         * posix/wordexp-tst.sh: Likewise.
41405         * stdio-common/tst-printf.sh: Likewise.
41406         * stdio-common/tst-unbputc.sh: Likewise.
41407         * stdlib/tst-fmtmsg.sh: Likewise.
41408         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41409         * catgets/Makefile: Do not specify -e option when running
41410         testsuite shell scripts.
41411         * elf/Makefile: Likewise.
41412         * grp/Makefile: Likewise.
41413         * iconvdata/Makefile: Likewise.
41414         * intl/Makefile: Likewise.
41415         * io/Makefile: Likewise.
41416         * libio/Makefile: Likewise.
41417         * malloc/Makefile: Likewise.
41418         * posix/Makefile: Likewise.
41419         * stdio-common/Makefile: Likewise.
41420         * stdlib/Makefile: Likewise.
41421         * sysdeps/x86_64/Makefile: Likewise.
41423         * io/ftwtest-sh: Add copyright header.
41424         * posix/globtest.sh: Likewise.
41425         * posix/tst-getconf.sh: Likewise.
41426         * posix/wordexp-tst.sh: Likewise.
41427         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
41429 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
41431         [BZ #13679]
41432         * Makeconfig (+link): Defined as $(+link-static) if
41433         $(build-shared) isn't yes.
41434         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
41435         isn't yes.
41436         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
41438         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
41440         [BZ #14562]
41441         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
41442         new chunk size with MALLOC_ALIGN_MASK.
41444 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
41446         [BZ #5044]
41447         * stdio-common/printf_fphex.c: Include <stdbool.h> and
41448         <rounding-mode.h>.
41449         (__printf_fphex): Determine rounding using get_rounding_mode and
41450         round_away.
41451         * stdio-common/tst-printf-round.c (struct hex_test): New
41452         structure.
41453         (hex_tests): New variable.
41454         (test_hex_in_one_mode): New function.
41455         (do_test): Also run tests for hex float output.
41457 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
41459         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41460         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41461         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
41462         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
41463         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
41464         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
41465         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41466         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
41468 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
41470         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
41471         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
41472         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
41473         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
41475 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
41477         [BZ #14579]
41478         * elf/rtld.c (dl_main): Limit the check for self loading to normal
41479         mode only.
41480         * elf/tst-rtld-load-self.sh: New test.
41481         * elf/Makefile: Run it.
41483 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
41485         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
41486         (tst-writev-ENV): Remove.
41487         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
41489 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
41491         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
41493 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
41495         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
41496         unconditional.
41497         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
41498         Likewise.
41499         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
41500         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
41501         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
41502         Likewise.
41504 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
41506         [BZ #14587]
41507         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
41508         * config.make.in (have-cpp-asm-debuginfo): Removed.
41509         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
41510         * configure: Regenerated.
41512 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
41514         [BZ #5044]
41515         * stdio-common/printf_fp.c: Include <stdbool.h> and
41516         <rounding-mode.h>.
41517         (___printf_fp): Determine rounding using get_rounding_mode and
41518         round_away.
41519         * stdio-common/tst-printf-round.c: New file.
41520         * stdio-common/Makefile (tests): Add tst-printf-round.
41521         (link-libm): New variable.
41522         ($(objpfx)tst-printf-round): Depend in $(link-libm).
41524 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
41526         [BZ #14576]
41527         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
41528         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
41529         Likewise.
41530         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
41531         Likewise.
41533 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
41535         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
41536         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41537         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41538         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
41540 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
41542         [BZ #14518]
41543         * include/rounding-mode.h: New file.
41544         * sysdeps/generic/get-rounding-mode.h: Likewise.
41545         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
41546         * stdlib/strtod_l.c: Include <rounding-mode.h>.
41547         (MAX_VALUE): New macro.
41548         (MIN_VALUE): Likewise.
41549         (overflow_value): New function.
41550         (underflow_value): Likewise.
41551         (round_and_return): Use overflow_value and underflow_value to
41552         determine return values in overflow and underflow cases.  Use
41553         round_away to determine rounding depending on rounding mode.
41554         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
41555         determine return values in overflow and underflow cases.
41556         * stdlib/tst-strtod-round.c: Include <fenv.h>.
41557         (struct test_results): New structure.
41558         (struct test): Use struct test_results to store expected results
41559         for all rounding modes.
41560         (TEST): Include expected results for all rounding modes.
41561         (test_in_one_mode): New function.
41562         (do_test): Use test_in_one_mode to compute and check results.
41563         Check results for all rounding modes.
41564         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
41565         $(link-libm).
41567 2012-12-09  Allan McRae  <allan@archlinux.org>
41569         * sysdeps/i386/fpu/libm-test-ulps: Update
41571 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
41573         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
41574         (_G_int32_t): Likewise.
41575         (_G_uint16_t): Likewise.
41576         (_G_uint32_t): Likewise.
41577         (_G_HAVE_BOOL): Likewise.
41578         (_G_HAVE_ATEXIT): Likewise.
41579         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41580         (_G_HAVE_IO_FILE_OPEN): Likewise.
41581         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
41582         (_G_int32_t): Likewise.
41583         (_G_uint16_t): Likewise.
41584         (_G_uint32_t): Likewise.
41585         (_G_HAVE_BOOL): Likewise.
41586         (_G_HAVE_ATEXIT): Likewise.
41587         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41588         (_G_HAVE_IO_FILE_OPEN): Likewise.
41589         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
41590         (_G_int32_t): Likewise.
41591         (_G_uint16_t): Likewise.
41592         (_G_uint32_t): Likewise.
41593         (_G_HAVE_BOOL): Likewise.
41594         (_G_HAVE_ATEXIT): Likewise.
41595         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
41596         (_G_HAVE_IO_FILE_OPEN): Likewise.
41598 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
41600         * csu/libc-tls.c: Update copyright years.
41602 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
41604         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
41605         [!_G_USING_THUNKS]: Remove conditional code.
41606         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
41607         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
41609         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
41610         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
41611         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41612         (_G_VTABLE_LABEL_PREFIX): Likewise.
41613         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41614         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41615         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41616         (_G_VTABLE_LABEL_PREFIX): Likewise.
41617         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41618         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
41619         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
41620         (_G_VTABLE_LABEL_PREFIX): Likewise.
41621         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
41623 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
41625         * libio/Makefile: Include ../Makeconfig before tests.
41626         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
41627         only if $(build-shared) is yes.
41629         * iconv/gconv_db.c: Update copyright years.
41631 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41633         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
41634         unwind info if defined PIC. Fix special cases description.
41635         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
41637         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
41638         DP_HI_MASK entry.
41639         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
41641 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
41643         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
41645         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
41646         is NULL.
41648         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
41649         (LDLIBS-tst-chk4): This.
41650         (LDFLAGS-tst-chk5): Renamed to ...
41651         (LDLIBS-tst-chk5): This.
41652         (LDFLAGS-tst-chk6): Renamed to ...
41653         (LDLIBS-tst-chk6): This.
41654         (LDFLAGS-tst-lfschk4): Renamed to ...
41655         (LDLIBS-tst-lfschk4): This.
41656         (LDFLAGS-tst-lfschk5): Renamed to ...
41657         (LDLIBS-tst-lfschk5): This.
41658         (LDFLAGS-tst-lfschk6): Renamed to ...
41659         (LDLIBS-tst-lfschk6): This.
41661         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
41662         on $(common-objpfx)soversions.mk.
41664 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
41666         [BZ #10014]
41667         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
41668         example host name.
41670 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
41672         * malloc/arena.c (arena_get_retry): New function that gets
41673         another arena for the caller to try its request on.
41674         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
41675         current arena cannot fulfill the request.
41676         (__libc_memalign): Likewise.
41677         (__libc_memalign): Likewise.
41678         (__libc_pvalloc): Likewise.
41679         (__libc_calloc): Likewise.
41681 2012-09-05  John Tobey  <john.tobey@gmail.com>
41683         [BZ #13542]
41684         * manual/arith.texi (Operations on Complex): Fix description
41685         of carg branch cut.
41687 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41689         [BZ #10014]
41690         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
41691         host name.
41693         [BZ #10038]
41694         * manual/memory.texi (Memory): Make order of menu items match
41695         order of sections.
41697 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41699         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
41700         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
41701         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
41703 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41705         * csu/libc-tls.c (static_dtv): Renamed to ...
41706         (_dl_static_dtv): This.  Make it global.
41707         (_dl_initial_dtv): Removed.
41708         (__libc_setup_tls): Updated.
41709         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
41710         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
41711         DL_INITIAL_DTV.
41713 2012-09-06  Petr Machata  <pmachata@redhat.com>
41715         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
41716         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
41717         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
41718         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
41720 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41722         [BZ #14545]
41723         * csu/libc-tls.c (_dl_initial_dtv): New variable.
41724         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
41725         freeing dtv[-1].
41727 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
41729         [BZ #14544]
41730         * Makeconfig (link-static-before-libc): Replace $(+prector)
41731         with $(+prectorT).
41732         (link-static-after-libc): Replace $(+postctor) with
41733         $(+postctorT).
41734         (link-bounded): Replace $(+prector)/$(+postctor) with
41735         $(+prectorT)/$(+postctorT).
41736         (+prectorT): New macro.
41737         (+postctorT): Likewise.
41739 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
41741         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
41742         (round_str): Handle values above the maximum for IBM long double
41743         as inexact.
41744         * stdlib/tst-strtod-round.c (tests): Regenerated.
41746 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41748         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
41749         assembler flag.
41750         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
41751         zarch_nohighgprs around the zarch optimized routines.
41752         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
41753         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
41754         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
41755         for zarch.
41757 2012-09-05  David S. Miller  <davem@davemloft.net>
41759         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41761         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
41762         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
41763         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
41764         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
41765         entries.
41767 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41769         * malloc/arena.c: Fold copyright years.
41770         * malloc/mcheck.c, malloc/memusage.c: Likewise.
41772 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41774         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
41776 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41778         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
41780 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41782         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
41783         change internal state upon failure.
41785 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
41787         * malloc/mcheck.c (mcheck_check_all): Fix typo.
41788         * malloc/memusage.c (mmap): Likewise.
41789         (mmap64, mremap): Likewise.  Adjust name in comment.
41791 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41793         * libio/fileops.c: Fix typos in comments.
41794         * libio/oldfileops.c: Likewise.
41795         * libio/wfileops.c: Likewise.
41797 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
41799         [BZ #1349]
41800         * malloc/Makefile (tests): Add tst-malloc-usable test case.
41801         (tst-malloc-usable-ENV): Set environment for test case.
41802         * malloc/hooks.c (malloc_check_get_size): New function to get
41803         requested size.
41804         * malloc/malloc.c (musable): Use malloc_check_get_size.
41805         * malloc/tst-malloc-usable.c: New test case.
41807 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41809         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
41811 2012-09-05  Allan McRae  <allan@archlinux.org>
41813         [BZ #13966]
41814         * configure.in (CXX_SYSINCLUDES): Use compiler output to
41815         determine header location.
41816         * configure: Regenerated.
41818 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
41820         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
41821         float format.
41822         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
41823         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
41824         format.
41825         (test): Regenerate.
41827 2012-09-04  David S. Miller  <davem@davemloft.net>
41829         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
41830         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
41831         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
41833 2012-09-04  Florian Weimer  <fweimer@redhat.com>
41835         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
41836         failures.
41838         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
41840 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
41842         [BZ #9914]
41843         * libio/iogetdelim.c: Include <limits.h>.
41844         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
41845         + len + 1 would overflow.
41847 2012-09-03  Andreas Jaeger  <aj@suse.de>
41849         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41850         * sysdeps/i386/fpu/libm-test-ulps: Update.
41852 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41854         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
41855         Add s_sinf-sse2, s_conf-sse2.
41857         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
41858         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
41859         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
41860         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
41862         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
41863         for using routine as __sinf_ia32.
41864         Use macro for function declaration and weak_alias.
41865         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
41866         for using routine as __cosf_ia32.
41867         Use macro for function declaration and weak_alias.
41869         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
41870         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
41872         * sysdeps/x86_64/fpu/s_sinf.S: New file.
41873         * sysdeps/x86_64/fpu/s_cosf.S: New file.
41874         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41876         * math/libm-test.inc (cos_test): Add more test cases.
41877         (sin_test): Likewise.
41878         (sincos_test): Likewise.
41880 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41882         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
41883         (IFUNC_RESOLVE): Make pointers to the specialized implementations
41884         hidden.
41885         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
41887 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
41889         [BZ #14538]
41890         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
41891         first element of the GOT.
41892         (elf_machine_load_address): Return the difference between
41893         the runtime address of _DYNAMIC and elf_machine_dynamic ().
41895 2012-09-01  Allan McRae  <allan@archlinux.org>
41897         [BZ #13412]
41898         * configure.in (AWK): Require gawk version 3.0 or later.
41899         * configure: Regenerated.
41901 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
41903         * sysdeps/unix/sysv/linux/kernel-features.h
41904         (__ASSUME_POSIX_CPU_TIMERS): Remove.
41905         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
41906         [__NR_clock_getres]: Make code unconditional.
41907         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
41908         (clock_getcpuclockid): Remove code left unreachable by removal of
41909         conditionals.
41910         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
41911         code unconditional.
41912         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41913         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41914         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
41915         Make code unconditional.
41916         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
41917         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41918         * sysdeps/unix/sysv/linux/clock_settime.c
41919         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
41920         conditional code.
41921         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
41922         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
41924 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
41926         [BZ #14476]
41927         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
41928         scripts/test-installation.pl.
41930         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
41931         and $ld_so_version if it is set.
41933 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41935         [BZ #14516]
41936         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
41937         failure if reading from procfs failed.
41938         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
41940 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41942         * sysdeps/unix/sysv/linux/kernel-features.h
41943         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
41944         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41945         Remove conditional code.
41946         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41947         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
41948         Remove conditional code.
41949         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41950         * sysdeps/unix/sysv/linux/i386/fxstat.c
41951         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41952         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41953         * sysdeps/unix/sysv/linux/i386/fxstatat.c
41954         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41955         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41956         * sysdeps/unix/sysv/linux/i386/lxstat.c
41957         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
41958         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41959         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
41960         Remove conditional code.
41961         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41962         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
41963         Remove conditional code.
41964         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41965         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
41966         <kernel-features.h>.
41967         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
41968         Remove.
41969         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
41970         Remove conditional code.
41971         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
41972         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
41973         Remove conditional.
41975 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
41977         [BZ #5400]
41978         * NEWS: Add fixed bug number.
41980 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
41982         [BZ #14519]
41983         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
41984         underflowing exponent in case of negative sign.
41985         * stdlib/tst-strtod-round-data: Add more tests.
41986         * stdlib/tst-strtod-round.c (tests): Regenerated.
41988         [BZ #3479]
41989         * stdlib/strtod_l.c (NDIG): Remove.
41990         (HEXNDIG): Likewise.
41991         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
41992         smallest representable value.
41993         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
41994         lie within an exact representation of 1/2 ulp of the result.
41995         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
41996         unconditionally.
41997         (TENS_P9_IDX): Define unconditionally.
41998         (TENS_P9_SIZE): Likewise.
41999         (TENS_P10_IDX): Likewise.
42000         (TENS_P10_SIZE): Likewise.
42001         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
42002         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
42003         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
42004         entries for 10^2^13 and 10^2^14.
42005         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
42006         (TENS_P13_IDX): Define.
42007         (TENS_P13_SIZE): Likewise.
42008         (TENS_P14_IDX): Likewise.
42009         (TENS_P14_SIZE): Likewise.
42010         (_fpioconst_pow10): Change array size to
42011         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
42012         unconditional.
42013         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
42014         1024]: Add entries for 10^2^13 and 10^2^14.
42015         [LAST_POW10 > _LAST_POW10]: Remove #error.
42016         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
42017         (_fpioconst_pow10): Change array size to
42018         FPIOCONST_POW10_ARRAY_SIZE.
42019         * stdlib/gen-fpioconst.c: New file.
42020         * stdlib/gen-tst-strtod-round.c: Likewise.
42021         * stdlib/tst-strtod-round-data: Likewise.
42022         * stdlib/tst-strtod-round.c: Likewise.
42023         * stdlib/Makefile (tests): Add tst-strtod-round.
42025         [BZ #14459]
42026         * stdlib/strtod_l.c: Include <stdint.h>.
42027         (NDEBUG): Do not define.
42028         (round_and_return): Change EXPONENT parameter to type intmax_t.
42029         Rearrange calculations to avoid internal overflow possibilities.
42030         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
42031         Rearrange calculations to avoid internal overflow possibilities.
42032         Assert that number fits inside MPNSIZE limbs.
42033         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
42034         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
42035         calculations and add assertions to avoid internal overflow
42036         possibilities.  Add casts to avoid signed/unsigned operations.
42037         * stdlib/tst-strtod-overflow.c: New file.
42038         * stdlib/Makefile (tests): Add tst-strtod-overflow.
42040 2012-08-25  Marek Polacek  <polacek@redhat.com>
42042         * time/time.h: Fix some typos in comments.
42044 2012-08-23  Roland McGrath  <roland@hack.frob.com>
42046         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
42047         * posix/tst-rfc3484-2.c: Likewise.
42048         * posix/tst-rfc3484-3.c: Likewise.
42050 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
42052         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
42053         (EF_ARM_ABI_FLOAT_HARD): Likewise.
42055 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
42057         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
42058         #include of fxstatat64.c.
42060 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42062         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
42063         * shadow/getspent_r.c: Likewise.
42064         * shadow/getspnam.c: Likewise.
42065         * shadow/getspnam_r.c: Likewise.
42066         * gshadow/getsgent.c: Likewise.
42067         * gshadow/getsgent_r.c: Likewise.
42068         * gshadow/getsgnam.c: Likewise.
42069         * gshadow/getsgnam_r.c: Likewise.
42070         * inet/getnetbyad.c: Likewise.
42071         * inet/getnetbyad_r.c: Likewise.
42072         * inet/getnetbynm.c: Likewise.
42073         * inet/getnetbynm_r.c: Likewise.
42074         * inet/getnetent.c: Likewise.
42075         * inet/getnetent_r.c: Likewise.
42076         * inet/getproto.c: Likewise.
42077         * inet/getproto_r.c: Likewise.
42078         * inet/getprtent.c: Likewise.
42079         * inet/getprtent_r.c: Likewise.
42080         * inet/getprtname.c: Likewise.
42081         * inet/getprtname_r.c: Likewise.
42082         * inet/getrpcbyname.c: Likewise.
42083         * inet/getrpcbyname_r.c: Likewise.
42084         * inet/getrpcbynumber.c: Likewise.
42085         * inet/getrpcbynumber_r.c: Likewise.
42086         * inet/getrpcent.c: Likewise.
42087         * inet/getrpcent_r.c: Likewise.
42088         * inet/getaliasent.c: Likewise.
42089         * inet/getaliasent_r.c: Likewise.
42090         * inet/getaliasname.c: Likewise.
42091         * inet/getaliasname_r.c: Likewise.
42092         * nscd/getgrgid_r.c: Likewise.
42093         * nscd/getgrnam_r.c: Likewise.
42094         * nscd/gethstbyad_r.c: Likewise.
42095         * nscd/gethstbynm3_r.c: Likewise.
42096         * nscd/getpwnam_r.c: Likewise.
42097         * nscd/getpwuid_r.c: Likewise.
42098         * nscd/getsrvbynm_r.c: Likewise.
42099         * nscd/getsrvbypt_r.c: Likewise.
42100         * nscd/gai.c: Likewise.
42102         * configure.in (build_nscd): New substituted variable, set
42103         by --disable-build-nscd and defaults to $use_nscd.
42104         * configure: Regenerated.
42105         * config.make.in (build-nscd): New substituted variable.
42106         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
42107         Change conditional to require [$(build-nscd) = yes] as well.
42108         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
42110         [BZ# 13696]
42111         * configure.in (use_nscd): New substituted variable, set by
42112         --disable-nscd.  If enabled, define USE_NSCD.
42113         * configure: Regenerated.
42114         * config.h.in: Add USE_NSCD.
42115         * config.make.in (use-nscd): New substituted variable.
42116         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
42117         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
42118         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
42119         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
42120         (CFLAGS-getgrnam_r.c): Likewise.
42121         (CFLAGS-initgroups.c): Likewise.
42122         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
42123         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
42124         Variables removed.
42125         * inet/getnetgrent_r.c
42126         (nscd_setnetgrent): New function, broken out of ...
42127         (setnetgrent): ... here.  Call it.
42128         (innetgr): Conditionalize nscd bits on [USE_NSCD].
42129         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
42130         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
42131         * nscd/Makefile (routines, aux): Move definitions after include of
42132         Makeconfig.  Conditionalize on [$(use-nscd) != no].
42133         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
42134         Conditionalize on [USE_NSCD].
42135         (is_nscd, nscd_init_cb): Likewise.
42136         (nss_load_library): Conditionalize init callback on [USE_NSCD].
42137         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
42138         * nss/nss_db/db-init.c: Likewise.
42139         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
42140         [USE_NSCD].
42141         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
42142         (make_request): Use it.
42143         (cache_valid_p): New function.
42144         (__check_pf): Use it.
42145         * NEWS: Add item for --disable-nscd.
42147 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
42149         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
42150         to support sed >= 4.2.1-20-ga9bf076.
42151         * configure: Regenerated.
42153 2012-08-22  Roland McGrath  <roland@hack.frob.com>
42155         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
42156         Conditionalize whole body on [IREL].
42158 2012-08-22  Jeff Law <law@redhat.com>
42160         [BZ #14505]
42161         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
42162         if the family is PF_UNSPEC.
42164 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
42166         * Makerules (lib-version): Rename from V.
42167         (install-lib-nosubdir): Change V to lib-version.
42169 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
42171         [BZ #14252]
42172         * powerpc32/power6/wcschr.c: New file.
42173         * powerpc32/power6/wcscpy.c: New file.
42174         * powerpc32/power6/wcsrchr.c: New file.
42175         * powerpc64/power6/wcschr.c: New file.
42176         * powerpc64/power6/wcscpy.c: New file.
42177         * powerpc64/power6/wcsrchr.c: New file.
42179 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42181         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
42182         (two_way_short_needle): Use it.
42183         * string/strstr.c (AVAILABLE1_USES_J): Define.
42184         * string/strcasestr.c: Likewise.
42186         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
42187         array references.
42188         * string/strcasestr.c (TOLOWER): Make side-effect safe.
42190         [BZ #11607]
42191         * NEWS: Add an entry.
42192         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
42193         define their defaults.
42194         (two_way_short_needle): Detect end-of-string on-the-fly.
42195         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
42196         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
42197         * string/bug-strcasestr1.c: New test.
42198         * string/Makefile: Run it.
42200 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
42202         [BZ #11607]
42203         * string/str-two-way.h (two_way_short_needle): Optimize matching of
42204         the first character.
42206 2012-08-21  Roland McGrath  <roland@hack.frob.com>
42208         * csu/elf-init.c (__libc_csu_irel): Function removed.
42209         * csu/libc-start.c (apply_irel): New function.
42210         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
42212 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
42214         * sysdeps/unix/sysv/linux/kernel-features.h
42215         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
42216         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
42217         <kernel-features.h>.
42218         [__NR_fadvise64_64]: Make code unconditional.
42219         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
42220         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42221         !__NR_fadvise64_64)]: Likewise.
42222         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
42223         !__NR_fadvise64_64))]: Likewise.
42224         [__NR_fadvise64]: Make code unconditional.
42225         [!__NR_fadvise64]: Remove conditional code.
42226         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
42227         <kernel-features.h>.
42228         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42229         unconditional.
42230         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42231         conditional code.
42232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
42233         not include <kernel-features.h>.
42234         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42235         unconditional.
42236         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42237         conditional code.
42238         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
42239         include <kernel-features.h>.
42240         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
42241         unconditional.
42242         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
42243         conditional code.
42245 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
42247         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
42248         slight instruction rearrangements per scrollpipe analysis.
42249         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
42251 2012-08-20  Roland McGrath  <roland@hack.frob.com>
42253         * manual/syslog.texi (syslog; vsyslog, closelog):
42254         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
42255         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
42257         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
42258         DSOCAPS to match condition on defining it.
42260 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
42262         * sysdeps/unix/sysv/linux/kernel-features.h
42263         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
42264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
42265         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42266         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
42268         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42269         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
42271         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
42272         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
42274         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
42275         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
42277         * sysdeps/unix/sysv/linux/kernel-features.h
42278         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
42279         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
42280         unconditional.
42281         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42282         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
42283         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42284         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42285         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
42286         Make code unconditional.
42287         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42288         (__mmap64) [!__NR_mmap2]: Likewise.
42289         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
42290         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
42291         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42292         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
42293         [__NR_mmap2]: Make code unconditional.
42294         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
42295         (__mmap64) [!__NR_mmap2]: Likewise.
42297 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42299         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
42301 2012-08-18  Andreas Jaeger  <aj@suse.de>
42303         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
42305 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42307         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
42308         * include/unistd.h (__have_sock_cloexec): Likewise.
42309         (__have_pipe2): Likewise.
42310         (__have_dup3): Likewise.
42312 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
42314         [BZ #9685]
42315         * include/unistd.h (__have_pipe2): Change define into an extern int.
42316         (__have_dup3): Likewise.
42317         * socket/have_sock_cloexec.c: Include fcntl.h.
42318         (__have_pipe2): New variable.
42319         (__have_dup3): Likewise.
42321 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
42323         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
42325 2012-08-17  Marek Polacek  <polacek@redhat.com>
42327         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
42328         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
42330 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42332         * configure.in: Add AC_SUBST for sysheaders.
42333         * configure: Regenerated.
42334         * config.make.in (sysheaders): New substituted variable.
42336         * sysdeps/unix/mkfifo.c: Moved ...
42337         * sysdeps/posix/mkfifo.c: ... here.
42338         * sysdeps/unix/mkfifoat.c: Moved ...
42339         * sysdeps/posix/mkfifoat.c: ... here.
42341         * sysdeps/unix/utime.c: Moved ...
42342         * sysdeps/posix/utime.c: ... here.
42344         * sysdeps/unix/time.c: Moved ...
42345         * sysdeps/posix/time.c: ... here.
42346         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
42347         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
42349         * sysdeps/unix/nice.c: Moved ...
42350         * sysdeps/posix/nice.c: ... here.
42352         * sysdeps/unix/alarm.c: Moved ...
42353         * sysdeps/posix/alarm.c: ... here.
42355         * intl/Makefile ($(codeset_mo)): Depend on the input file.
42357 2012-08-17  Jeff Law <law@redhat.com>
42359         * intl/Makefile (codeset_mo): New variable.
42360         ($(codeset_mo)): New target.
42361         (tst-codeset.out): Depend on that.  Remove explicit rule.
42362         (tst-gettext3.out, tst-gettext5.out): Likewise.
42363         (LOCPATH-ENV, tst-codeset-ENV): New variables.
42364         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
42365         * intl/tst-codeset.sh: Remove.
42366         * intl/tst-gettext3.sh: Likewise.
42367         * intl/tst-gettext5.sh: Likewise.
42369 2012-08-17  Roland McGrath  <roland@hack.frob.com>
42371         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
42372         * sysdeps/unix/syscalls.list: ... here.
42374         * sysdeps/posix/getaddrinfo.c
42375         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
42376         (gaiconf_init, gaiconf_reload): Use them.
42377         [!_STATBUF_ST_NSEC]
42378         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
42379         Define using time_t rather than struct timespec.
42381         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
42382         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
42383         Macros removed.
42384         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
42385         [!NO_THREADS].
42386         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
42387         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
42388         Likewise.
42390         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
42391         __libc_cleanup_push argument.
42393         * bits/param.h: New file.
42394         * misc/sys/param.h: New file.
42395         * include/sys/param.h: New file.
42396         * misc/Makefile (headers): Add bits/param.h.
42397         * sysdeps/generic/sys/param.h: File removed.
42398         * sysdeps/unix/sysv/linux/bits/param.h: New file.
42399         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
42400         * sysdeps/mach/hurd/bits/param.h: New file.
42401         * sysdeps/mach/hurd/sys/param.h: File removed.
42403         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
42404         last change.
42406         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
42407         [_IO_MTSAFE_IO].
42408         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
42409         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
42410         New macros.
42412         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
42413         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
42414         rather than -D_IO_MTSAFE_IO conditionally.
42415         * stdio-common/Makefile (CPPFLAGS): Likewise.
42416         * wcsmbs/Makefile (CPPFLAGS): Likewise.
42417         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
42418         Use $(libio-mtsafe).
42419         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
42420         of -D_IO_MTSAFE_IO.
42421         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
42422         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
42423         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
42424         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
42425         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
42426         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
42427         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
42428         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
42429         (CFLAGS-fread_u_chk.c): Likewise.
42430         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
42431         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
42432         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
42433         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
42434         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
42435         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
42436         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
42437         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
42438         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
42440         * libio/Makefile: Test [$(libc-reentrant) = yes]
42441         instead of [$(filter %REENTRANT, $(defines)) nonempty].
42443         * Makeconfig
42444         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
42445         * sysdeps/pthread/configure: File removed.
42446         * sysdeps/pthread/Makeconfig: New file.
42447         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
42448         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
42450 2012-08-16  Gary Benson  <gbenson@redhat.com>
42452         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
42453         unmapping the first object in a namespace.
42455 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42457         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
42458         (__internal_setnetgrent): ... this.  Add internal_function to
42459         definition.  Add libc_hidden_def.
42460         (setnetgrent): Update caller.
42461         (internal_endnetgrent): Renamed to ...
42462         (__internal_endnetgrent): ... this.  Add internal_function to
42463         definition.  Add libc_hidden_def.
42464         (endnetgrent): Update caller.
42465         (internal_getnetgrent_r): Renamed to ...
42466         (__internal_getnetgrent_r): ... this.  Add internal_function to
42467         definition.  Add libc_hidden_def.
42468         (__getnetgrent_r): Update caller.
42469         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
42471 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42473         * stdlib/longlong.h: Update from GCC.
42475 2012-08-16  Roland McGrath  <roland@hack.frob.com>
42477         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
42478         on _QL, which is set by umul_ppmm but never used.
42479         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
42480         variables, which are set by GMP macros but never used.
42481         * stdio-common/_itowa.c (_itowa): Likewise.
42482         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
42483         * stdlib/mod_1.c (mpn_mod_1): Likewise.
42485 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
42487         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
42488         struct La_sh_regs is not constant.
42489         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
42490         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
42491         and struct La_sparc64_regs are not constant.
42493 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
42495         * sysdeps/unix/sysv/linux/kernel-features.h
42496         (__ASSUME_POSIX_TIMERS): Remove.
42497         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
42498         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42499         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
42500         Make code unconditional.
42501         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42502         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
42503         Make code unconditional.
42504         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42505         * sysdeps/unix/sysv/linux/clock_nanosleep.c
42506         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
42507         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42508         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
42509         Make code unconditional.
42510         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
42511         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
42512         (__libc_missing_posix_timers): Remove.
42514 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42516         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
42517         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
42519         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
42521         * elf/dl-sym.c: Include <stdlib.h>.
42523         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
42524         constants, which avoids warnings in 32-bit builds.
42526         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
42527         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
42529         * misc/lseek.c: File moved to ...
42530         * io/lseek.c: ... here.
42532         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
42534         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
42535         shifting LEN more than 31 bits at once.
42537 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42539         [BZ #14195]
42540         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
42541         segmentation fault for a case of two empty input strings.
42542         * string/test-strncasecmp.c (check1): Renamed to...
42543         (bz12205): ...this.
42544         (bz14195): Add new testcase for two empty input strings and N > 0.
42545         (test_main): Call new testcase, adapt for renamed function.
42547 2012-08-15  Andreas Jaeger  <aj@suse.de>
42549         [BZ #14090]
42550         * crypt/md5test2.c: New test, based on test supplied by Serge
42551         Belyshev <belyshev@depni.sinp.msu.ru>.
42552         * crypt/Makefile (xtests): Add md5test-giant..
42553         * crypt/Makefile ($(objpfx)md5test-giant): Add.
42555 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
42557         [BZ #14090]
42558         * crypt/md5.c (md5_process_block): Don't assume the buffer
42559         length is less than 2**32.
42560         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
42561         length is less than 2**64.
42563 2012-08-15  Roland McGrath  <roland@hack.frob.com>
42565         * string/str-two-way.h: Include <sys/param.h>.
42566         (MAX): Macro removed.
42568         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
42569         Move #define and #undef of memmove to just before and after
42570         including <string.h>.
42572         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
42573         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
42574         and after including <string.h>.  Move declarations of
42575         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
42576         to before #include "string/memmove.c".
42578         * include/dirent.h: Declare __getdirentries.
42580         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
42581         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
42583 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
42585         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
42586         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
42587         * sysdeps/i386/configure: Regenerated.
42588         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
42589         STABS_CURRENT_FILE, and STABS_FUN.
42590         (END): Remove call to STABS_FUN_END.
42591         (STABS_CURRENT_FILE1): Delete.
42592         (STABS_CURRENT_FILE): Likewise.
42593         (STABS_FUN): Likewise.
42594         (STABS_FUN_END): Likewise.
42595         (STABS_FUN2): Likewise.
42596         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
42597         * sysdeps/x86_64/configure: Regenerated.
42599 2012-08-14  Roland McGrath  <roland@hack.frob.com>
42601         * elf/dl-open.c: Include <atomic.h>.
42602         * elf/dl-lookup.c: Likewise.
42604 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
42606         * sysdeps/unix/sysv/linux/kernel-features.h
42607         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
42608         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
42609         unconditionally.
42610         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
42611         unconditionally.
42612         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
42613         condition on __ASSUME_CLONE_THREAD_FLAGS.
42615 2012-08-14  Andreas Jaeger  <aj@suse.de>
42617         * sysdeps/i386/fpu/libm-test-ulps: Update.
42619 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
42621         * include/atomic.h (atomic_exchange_and_add): Split into ...
42622         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
42623         New atomic macros.
42625 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
42627         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42629 2012-08-13  Jeff Law <law@redhat.com>
42631         * manual/stdio.texi (snprintf): Clarify handling of the trailing
42632         null byte in the output string.
42634 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
42636         * sysdeps/unix/sysv/linux/kernel-features.h
42637         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
42638         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
42639         (__ASSUME_ARG_MAX_STACK_BASED): Define.
42640         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42641         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
42642         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
42643         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
42645 2012-08-09  Jeff Law <law@redhat.com>
42647         [BZ #13939]
42648         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
42649         When avoid_arena is set, don't retry in the that arena.  Pick the
42650         next one, whatever it might be.
42651         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
42652         (arena_lock): Pass in new parameter to arena_get2.
42653         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
42654         arena_get2.
42655         (__libc_malloc): Unify retrying after main arena failure with
42656         __libc_memalign version.
42657         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
42659 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
42661         [BZ #14166]
42662         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
42663         to __redirect_strstr.
42664         (__strstr_sse42): Use typeof __redirect_strstr.
42665         (__strstr_ia32): Likewise.
42666         (__libc_strstr): New prototype.
42667         (strstr): Renamed to ...
42668         (__libc_strstr): This.
42669         (strstr): New strong alias of __libc_strstr.
42670         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
42671         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
42672         __redirect_time.
42673         Include <time.h>.
42674         (__libc_time): New prototype.
42675         (time_ifunc): Replace time with __libc_time.
42676         (time): New strong alias and hidden definition of __libc_time.
42677         (__GI_time): Remove strong alias.
42678         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
42679         Include <stddef.h>.
42680         (memmove): Redefined to __redirect_memmove.
42681         (__memmove_sse2): Use typeof __redirect_memmove.
42682         (__memmove_ssse3): Likewise.
42683         (__memmove_ssse3_back): Likewise.
42684         (__libc_memmove): New prototype.
42685         (memmove): Renamed to ...
42686         (__libc_memmove): This.
42687         (memmove): New strong alias of __libc_memmove.
42689 2012-08-08  Mark Salter  <msalter@redhat.com>
42691         * elf/elf.h
42692         (R_MN10300_TLS_GD): Define.
42693         (R_MN10300_TLS_LD): Likewise.
42694         (R_MN10300_TLS_LDO): Likewise.
42695         (R_MN10300_TLS_GOTIE): Likewise.
42696         (R_MN10300_TLS_IE): Likewise.
42697         (R_MN10300_TLS_LE): Likewise.
42698         (R_MN10300_TLS_DTPMOD): Likewise.
42699         (R_MN10300_TLS_DTPOFF): Likewise.
42700         (R_MN10300_TLS_TPOFF): Likewise.
42701         (R_MN10300_SYM_DIFF): Likewise.
42702         (R_MN10300_ALIGN): Likewise.
42703         (R_MN10300_NUM): Update.
42705 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
42707         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
42708         Remove.
42710 2012-08-08  Roland McGrath  <roland@hack.frob.com>
42712         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
42714         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
42715         sysdeps/unix -> sysdeps/posix move.
42716         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
42718 2012-08-07      Allan McRae     <allan@archlinux.org>
42720         [BZ #14303]
42721         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
42722         (SUNOS_CPP): Likewise.
42723         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
42724         not found.
42725         (open_input): Call CPP using execvp.
42727 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42729         * sysdeps/unix/sysv/linux/kernel-features.h
42730         (__ASSUME_PROT_GROWSUPDOWN): Remove.
42731         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42732         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42733         (__ASSUME_WAITID_SYSCALL): Likewise.
42734         * sysdeps/unix/sysv/linux/dl-execstack.c
42735         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
42736         code unconditional.
42737         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
42738         conditional code.
42739         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
42740         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
42741         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
42742         code.
42743         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
42744         unconditional.
42745         [__ASSUME_WAITID_SYSCALL]: Likewise.
42746         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
42748 2012-08-07  Roland McGrath  <roland@hack.frob.com>
42750         * sysdeps/unix/closedir.c: Renamed to ...
42751         * sysdeps/posix/closedir.c: ... here.
42752         * sysdeps/unix/dirfd.c: Renamed to ...
42753         * sysdeps/posix/dirfd.c: ... here.
42754         * sysdeps/unix/dirstream.h: Renamed to ...
42755         * sysdeps/posix/dirstream.h: ... here.
42756         * sysdeps/unix/fdopendir.c: Renamed to ...
42757         * sysdeps/posix/fdopendir.c: ... here.
42758         * sysdeps/unix/opendir.c: Renamed to ...
42759         * sysdeps/posix/opendir.c: ... here.
42760         * sysdeps/unix/readdir.c: Renamed to ...
42761         * sysdeps/posix/readdir.c: ... here.
42762         * sysdeps/unix/readdir_r.c: Renamed to ...
42763         * sysdeps/posix/readdir_r.c: ... here.
42764         * sysdeps/unix/rewinddir.c: Renamed to ...
42765         * sysdeps/posix/rewinddir.c: ... here.
42766         * sysdeps/unix/seekdir.c: Renamed to ...
42767         * sysdeps/posix/seekdir.c: ... here.
42768         * sysdeps/unix/telldir.c: Renamed to ...
42769         * sysdeps/posix/telldir.c: ... here.
42770         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
42771         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
42772         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
42773         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
42775         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
42776         * bits/fcntl.h: ... here.
42778         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
42779         not 0.
42780         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
42781         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
42782         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
42783         (struct flock): Move l_start, l_len to the beginning.
42784         Use __pid_t for l_pid.
42785         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
42786         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
42787         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
42788         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
42789         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
42790         [__USE_LARGEFILE64] (struct flock64): New type.
42791         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
42793         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
42794         * bits/dirent.h: ... here.
42796         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
42797         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
42799 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
42801         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42802         Change from 2.6.0 to 2.6.16.
42803         * sysdeps/unix/sysv/linux/configure: Regenerated.
42804         * sysdeps/unix/sysv/linux/kernel-features.h
42805         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
42806         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
42807         version.
42808         (__ASSUME_UTIMES): Likewise.
42809         (__ASSUME_CLONE_STOPPED): Remove.
42810         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
42811         architectures, not kernel version.
42812         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
42813         (__ASSUME_NO_CLONE_DETACHED): Likewise.
42814         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
42815         (__ASSUME_WAITID_SYSCALL): Likewise.
42816         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
42817         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
42818         * README: State 2.6.16 as minimum Linux kernel version.  Do not
42819         refer to older versions.
42821 2012-08-06  Roland McGrath  <roland@hack.frob.com>
42823         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
42824         Define alphasort64 as an alias.
42825         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
42826         Define versionsort64 as an alias.
42827         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
42828         Define scandir64 as an alias.
42829         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
42830         Define scandirat64 as an alias.
42831         * dirent/alphasort64.c (alphasort64):
42832         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
42833         * dirent/versionsort64.c: Likewise.
42834         * dirent/scandir64.c: Likewise.
42835         * dirent/scandirat64.c: Likewise.
42836         * sysdeps/wordsize-64/alphasort.c: File removed.
42837         * sysdeps/wordsize-64/alphasort64.c: File removed.
42838         * sysdeps/wordsize-64/scandir.c: File removed.
42839         * sysdeps/wordsize-64/scandir64.c: File removed.
42840         * sysdeps/wordsize-64/scandirat.c: File removed.
42841         * sysdeps/wordsize-64/scandirat64.c: File removed.
42842         * sysdeps/wordsize-64/versionsort.c: File removed.
42843         * sysdeps/wordsize-64/versionsort64.c: File removed.
42844         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
42845         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
42846         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
42847         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
42848         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
42849         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
42850         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
42851         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
42853         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
42854         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42855         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
42856         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42857         [defined __arch64__ || defined __sparcv9]
42858         (__INO_T_MATCHES_INO64_T): New macro.
42859         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42860         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
42861         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
42862         * sysdeps/unix/sysv/linux/bits/dirent.h
42863         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
42864         (_DIRENT_MATCHES_DIRENT64): New macro.
42866         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
42867         Define lockf64 as an alias.
42868         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
42869         Define fseeko64 as an alias.
42870         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
42871         Define ftello64 as an alias.
42872         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
42873         Define _IO_fgetpos64 and fgetpos64 as aliases.
42874         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
42875         Define _IO_fsetpos64 and fsetpos64 as aliases.
42876         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
42877         Conditionalize body on this.
42878         * libio/fseeko64.c: Likewise.
42879         * libio/ftello64.c: Likewise.
42880         * libio/iofgetpos64.c: Likewise.
42881         * libio/iofsetpos64.c: Likewise.
42882         * sysdeps/wordsize-64/lockf.c: File removed.
42883         * sysdeps/wordsize-64/lockf64.c: File removed.
42884         * sysdeps/wordsize-64/fseeko.c: File removed.
42885         * sysdeps/wordsize-64/fseeko64.c: File removed.
42886         * sysdeps/wordsize-64/ftello.c: File removed.
42887         * sysdeps/wordsize-64/ftello64.c: File removed.
42888         * sysdeps/wordsize-64/iofgetpos.c: File removed.
42889         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
42890         * sysdeps/wordsize-64/iofsetpos.c: File removed.
42891         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
42892         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
42893         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
42894         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
42895         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
42896         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
42897         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
42898         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
42899         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
42900         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
42901         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
42903         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42904         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
42905         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
42906         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42907         [defined __arch64__ || defined __sparcv9]
42908         (__OFF_T_MATCHES_OFF64_T): New macro.
42909         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
42910         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
42911         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42912         (__OFF_T_MATCHES_OFF64_T): New macro.
42914 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42916         * stdlib/secure-getenv.c (__secure_getenv): Replace
42917         GLIBC_2_16 with GLIBC_2_17.
42919 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
42921         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
42922         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42924 2012-08-03  David S. Miller  <davem@davemloft.net>
42926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42928 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42930         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
42931         Remove.
42932         (__ASSUME_CORRECT_SI_PID): Likewise.
42933         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
42934         (__ASSUME_TMPFS_NAME): Likewise.
42935         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
42936         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
42937         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
42938         (HAVE_AUX_SECURE): Make definition unconditional.
42939         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
42940         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
42942 2012-08-03  Roland McGrath  <roland@hack.frob.com>
42944         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
42945         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
42946         * sysdeps/mach/hurd/eloop-threshold.h: New file.
42947         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42948         __eloop_threshold instead of SYMLOOP_MAX.
42950         * sysdeps/generic/eloop-threshold.h: New file.
42951         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
42952         of MAXSYMLINKS.
42953         * elf/chroot_canon.c (chroot_canon): Likewise.
42955 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
42957         [BZ #13717]
42958         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
42959         Change to 2.6.0 everywhere.
42960         * sysdeps/unix/sysv/linux/configure: Regenerated.
42961         * sysdeps/unix/sysv/linux/kernel-features.h
42962         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
42963         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
42964         kernel versions.
42965         (__ASSUME_POSIX_TIMERS): Define unconditionally.
42966         (__ASSUME_FUTEX_REQUEUE): Remove.
42967         (__ASSUME_STATFS64): Define unconditionally.
42968         (__ASSUME_AT_SECURE): Likewise.
42969         (__ASSUME_CORRECT_SI_PID): Likewise.
42970         (__ASSUME_TGKILL): Define without depending on kernel version for
42971         i386.
42972         (__ASSUME_UTIMES): Likewise.
42973         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
42974         kernel version.
42975         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
42976         (__ASSUME_TMPFS_NAME): Likewise.
42977         * README: Update reference to Linux kernel versions.
42979 2012-08-02  Marek Polacek  <polacek@redhat.com>
42981         [BZ# 14150]
42982         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
42983         libc_cv_asm_type_prefix with %.
42984         * configure: Regenerated.
42985         * include/libc-symbols.h: Remove comment about
42986         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42987         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
42988         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
42989         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
42990         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
42991         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
42992         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
42993         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
42994         * elf/tst-unique2mod1.c: Likewise.
42995         * elf/tst-unique1mod2.c: Likewise.
42996         * elf/tst-unique1mod1.c: Likewise.
42997         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
42998         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
42999         Replace ASM_TYPE_DIRECTIVE with .type.
43000         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43001         * sysdeps/i386/sysdep.h: Likewise.
43002         * sysdeps/x86_64/sysdep.h: Likewise.
43003         * sysdeps/sh/sysdep.h: Likewise.
43004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43005         Do not define ASM_TYPE_DIRECTIVE.
43006         * sysdeps/powerpc/sysdep.h: Likewise.
43007         * sysdeps/powerpc/powerpc32/sysdep.h:
43008         Replace ASM_TYPE_DIRECTIVE with .type.
43009         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43010         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43011         * sysdeps/i386/fpu/e_powf.S: Likewise.
43012         * sysdeps/i386/fpu/e_expl.S: Likewise.
43013         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
43014         * sysdeps/i386/fpu/e_acosh.S: Likewise.
43015         * sysdeps/i386/fpu/e_pow.S: Likewise.
43016         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
43017         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
43018         * sysdeps/i386/fpu/s_expm1.S: Likewise.
43019         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
43020         * sysdeps/i386/fpu/e_log2.S: Likewise.
43021         * sysdeps/i386/fpu/e_log2l.S: Likewise.
43022         * sysdeps/i386/fpu/e_scalb.S: Likewise.
43023         * sysdeps/i386/fpu/e_powl.S: Likewise.
43024         * sysdeps/i386/fpu/e_log10f.S: Likewise.
43025         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
43026         * sysdeps/i386/fpu/e_logl.S: Likewise.
43027         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
43028         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
43029         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
43030         * sysdeps/i386/fpu/e_log2f.S: Likewise.
43031         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
43032         * sysdeps/i386/fpu/e_log.S: Likewise.
43033         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
43034         * sysdeps/i386/fpu/e_logf.S: Likewise.
43035         * sysdeps/i386/fpu/e_log10l.S: Likewise.
43036         * sysdeps/i386/fpu/e_atanh.S: Likewise.
43037         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
43038         * sysdeps/i386/fpu/e_log10.S: Likewise.
43039         * sysdeps/i386/fpu/s_frexp.S: Likewise.
43040         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
43041         * sysdeps/i386/fpu/s_asinh.S: Likewise.
43042         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
43043         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
43044         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
43045         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
43046         * sysdeps/i386/i686/strtok.S: Likewise.
43047         * sysdeps/i386/i386-mcount.S: Likewise.
43048         * sysdeps/i386/strtok.S: Likewise.
43049         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
43050         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43051         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43052         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43053         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43054         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43055         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
43056         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
43057         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43058         * sysdeps/x86_64/_mcount.S: Likewise.
43059         * sysdeps/x86_64/strtok.S: Likewise.
43060         * sysdeps/sh/_mcount.S: Likewise.
43062 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43064         * libio/iofopen.c: Include <fcntl.h>.
43065         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
43066         (_IO_fopen64, fopen64): Define as aliases.
43067         * libio/iofopen64.c: Include <fcntl.h>.
43068         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
43069         Conditionalize body on this.
43070         * sysdeps/wordsize-64/iofopen.c: File removed.
43071         * sysdeps/wordsize-64/iofopen64.c: File removed.
43073 2012-08-01  Marek Polacek  <polacek@redhat.com>
43075         * libc/Makeconfig: Use elf in place of binfmt-subdir.
43076         Use dlfcn directly instead of a variable.
43077         (binfmt-subdir): Do not define.
43078         (dlfcn): Likewise.
43080 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
43082         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
43083         Remove all definitions.
43084         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
43085         <kernel-features.h>.
43086         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43087         (miss_F_GETOWN_EX): Remove all definitions.
43088         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
43089         macro definition.
43090         [!__ASSUME_FCNTL64]: Remove conditional code.
43091         [__ASSUME_FCNTL64]: Make code unconditional.
43092         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
43093         <kernel-features.h>.
43094         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
43095         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
43096         (lockf64) [__NR_fcntl64]: Make code unconditional.
43097         (lockf64) [__ASSUME_FCNTL64]: Likewise.
43099         * sysdeps/unix/sysv/linux/kernel-features.h
43100         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
43101         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
43102         Make code unconditional.
43103         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43104         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
43106         [__NR_vfork]: Make code unconditional.
43107         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43108         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
43110         [__NR_vfork]: Make code unconditional.
43111         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
43112         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
43114 2012-08-01  Roland McGrath  <roland@hack.frob.com>
43116         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
43117         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
43119         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43120         Define mkstemp64 as an alias.
43121         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43122         Define mkstemps64 as an alias.
43123         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43124         Define mkostemp64 as an alias.
43125         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
43126         Define mkostemps64 as an alias.
43127         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
43128         Conditionalize body on this.
43129         * misc/mkostemp64.c: Likewise.
43130         * misc/mkostemps64.c: Likewise.
43131         * misc/mkstemps64.c: Likewise.
43132         * sysdeps/wordsize-64/mkstemp64.c: File removed.
43133         * sysdeps/wordsize-64/mkostemp64.c: File removed.
43134         * sysdeps/wordsize-64/mkostemp.c: File removed.
43135         * sysdeps/wordsize-64/mkstemp.c: File removed.
43136         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
43137         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
43138         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
43139         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
43141         [BZ #14138]
43142         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
43143         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
43144         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
43145         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
43147         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
43148         compat_symbol macros from <shlib-compat.h> rather than the underlying
43149         default_symbol_version and symbol_version macros, so that DEFAULT
43150         lines in shlib-versions are respected.
43151         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
43153 2012-08-01  Florian Weimer  <fweimer@redhat.com>
43155         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
43156         Declare with warn_unused_result.
43157         (setgid, setregid, setegid, setresgid): Likewise.
43158         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
43159         Likewise.
43160         * WUR-REPORT: Remove set*id functions.
43162 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
43164         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
43166 2012-07-31  Roland McGrath  <roland@hack.frob.com>
43168         [BZ #10191]
43169         * include/sys/socket.h (__libc_accept, __libc_accept4):
43170         Add attribute_hidden.
43171         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
43173         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
43174         use of PTR_MANGLE.
43175         * inet/getnetgrent_r.c (setup): Likewise.
43177         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
43179 2012-07-31  David S. Miller  <davem@davemloft.net>
43181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43183 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
43185         [BZ #13629]
43186         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
43187         value between 1.0 and 2.0 and smaller part has absolute value less
43188         than 1.0.
43189         * math/s_clog10.c (__clog10): Likewise.
43190         * math/s_clog10f.c (__clog10f): Likewise.
43191         * math/s_clog10l.c (__clog10l): Likewise.
43192         * math/s_clogf.c (__clogf): Likewise.
43193         * math/s_clogl.c (__clogl): Likewise.
43194         * math/libm-test.inc (clog_test): Add more tests.
43195         (clog10_test): Likewise.
43196         * sysdeps/i386/fpu/libm-test-ulps: Update.
43197         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43199 2012-07-31  Florian Weimer  <fweimer@redhat.com>
43201         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
43202         Exit with zero in case no suitable GID is found, and write a
43203         message to standard error.
43205 2012-07-30  Roland McGrath  <roland@hack.frob.com>
43207         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
43208         rather than to 1.
43209         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
43210         (MAXPATHLEN): Removed.
43211         (NOGROUP, NODEV): New macros.
43212         (setbit, clrbit, isset, isclr): New macros.
43213         (howmany, roundup, powerof2): New macros.
43214         (DEV_BSIZE): New macro.
43216         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
43217         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
43219         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
43220         definition on [!__NO_LONG_DOUBLE_MATH].
43222         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
43223         PTR_MANGLE and PTR_DEMANGLE.
43225         * socket/accept4.c (accept4): Rename to __libc_accept4.
43226         Define accept4 as a weak alias.
43228         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
43229         on [_DIRENT_HAVE_D_TYPE].
43230         * io/ftw.c (ftw_dir): Likewise.
43232         * io/xmknod.c (__xmknod): Don't check PATH for being null.
43234         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
43236         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
43237         Use the BSD numbers rather than the arbitrary ones we had.
43238         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
43239         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
43240         (SIGXCPU, SIGXFSZ): New macros.
43241         (_NSIG): Now 32.
43243         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
43244         initializer on [_LIBC_REENTRANT].
43246         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
43247         definitions inside [_POSIX_MAPPED_FILES].
43249         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
43251         * dirent/opendir.c: Include <fcntl.h>.
43253         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
43254         (__libc_getspecific): Likewise.
43255         (__libc_key_create): Likewise.
43257         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
43258         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
43259         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
43260         (tmpfile64): Define as alias.
43261         * sysdeps/wordsize-64/tmpfile.c: File removed.
43262         * sysdeps/wordsize-64/tmpfile64.c: File removed.
43263         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
43264         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
43266         * stdio-common/vfscanf.c: Include <stdbool.h>.
43267         * nss/makedb.c: Likewise.
43268         * stdio-common/_i18n_number.h: Likewise.
43269         * argp/argp-help.c: Likewise.
43270         * posix/wordexp.c: Likewise.
43271         * sysdeps/posix/spawni.c: Likewise.
43272         * nss/nss_files/files-initgroups.c: Likewise.
43273         * stdio-common/reg-modifier.c: Include <stdlib.h>.
43274         * nss/nss_files/files-initgroups.c: Likewise.
43275         * nss/nss_db/db-netgrp.c: Likewise.
43276         * nss/nss_db/db-initgroups.c: Likewise.
43277         * io/fchmodat.c: Include <sys/stat.h>.
43279         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
43280         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
43282         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
43283         [HAVE_MMAP].
43285         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
43286         Add multiple inclusion protection.
43288 2012-07-27  David S. Miller  <davem@davemloft.net>
43290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43292 2012-07-27  Gary Benson  <gbenson@redhat.com>
43294         [BZ #14298]
43295         * elf/rtld.c: Include <stap-probe.h>.
43296         (dl_main): Added static probes "init_start" and "init_complete".
43297         * elf/dl-load.c: Include <stap-probe.h>.
43298         (lose): Take new parameter "nsid".
43299         Added static probe "map_failed".
43300         (_dl_map_object_from_fd): Pass namespace id to lose.
43301         Added static probe "map_start".
43302         (open_verify): Pass namespace id to lose.
43303         * elf/dl-open.c: Include <stap-probe.h>.
43304         (dl_open_worker) Added static probes "map_complete", "reloc_start"
43305         and "reloc_complete".
43306         * elf/dl-close.c: Include <stap-probe.h>.
43307         (_dl_close_worker): Added static probes "unmap_start" and
43308         "unmap_complete".
43309         * elf/rtld-debugger-interface.txt: New file documenting the above.
43311 2012-07-26  Roland McGrath  <roland@hack.frob.com>
43313         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
43314         rather than a string variable.
43315         * sunrpc/rpc_main.c (h_output): Likewise.
43316         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
43318 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
43320         * inet/check_native.c: New file.
43322 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
43324         [BZ #13629]
43325         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
43326         if larger part has absolute value 1.0.
43327         * math/s_clog10.c (__clog10): Likewise.
43328         * math/s_clog10f.c (__clog10f): Likewise.
43329         * math/s_clog10l.c (__clog10l): Likewise.
43330         * math/s_clogf.c (__clogf): Likewise.
43331         * math/s_clogl.c (__clogl): Likewise.
43332         * math/libm-test.inc (clog_test): Add more tests.
43333         (clog10_test): Likewise.
43334         * sysdeps/i386/fpu/libm-test-ulps: Update.
43335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43337         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
43338         (pltexit): Likewise.
43339         (La_regs): Likewise.
43340         (La_retval): Likewise.
43341         (int_retval): Likewise.
43342         Update #error for removed macros to refer only to definitions in
43343         tst-audit.h.
43344         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
43345         macro.
43346         (pltexit): Likewise.
43347         (La_regs): Likewise.
43348         (La_retval): Likewise.
43349         (int_retval): Likewise.
43350         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
43351         macro.
43352         (pltexit): Likewise.
43353         (La_regs): Likewise.
43354         (La_retval): Likewise.
43355         (int_retval): Likewise.
43356         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
43357         macro.
43358         (pltexit): Likewise.
43359         (La_regs): Likewise.
43360         (La_retval): Likewise.
43361         (int_retval): Likewise.
43362         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
43363         macro.
43364         (pltexit): Likewise.
43365         (La_regs): Likewise.
43366         (La_retval): Likewise.
43367         (int_retval): Likewise.
43368         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
43369         macro.
43370         (pltexit): Likewise.
43371         (La_regs): Likewise.
43372         (La_retval): Likewise.
43373         (int_retval): Likewise.
43374         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
43375         macro.
43376         (pltexit): Likewise.
43377         (La_regs): Likewise.
43378         (La_retval): Likewise.
43379         (int_retval): Likewise.
43380         * sysdeps/generic/tst-audit.h: Update comment to refer only to
43381         macro definitions in tst-audit.h.
43382         * sysdeps/i386/tst-audit.h: New file.
43383         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
43384         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
43385         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
43386         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
43387         * sysdeps/sh/tst-audit.h: Likewise.
43388         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
43389         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
43390         * sysdeps/x86_64/tst-audit.h: Likewise.
43392 2012-07-26  Andreas Jaeger  <aj@suse.de>
43394         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
43395         ptrace.
43397         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
43398         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
43399         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
43400         PTRACE_O_MASK.
43401         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
43402         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
43403         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
43405         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
43406         value.
43408         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
43409         _sigsys.
43410         (si_call_addr, si_syscall, si_arch): Define new macro.
43411         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
43412         _sigsys.
43413         (si_call_addr, si_syscall, si_arch): Define new marcro.
43414         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
43415         _sigsys.
43416         (si_call_addr, si_syscall, si_arch): Define new macro.
43417         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
43418         _sigsys.
43419         (si_call_addr, si_syscall, si_arch): Define new macro.
43421 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43423         [BZ #13717]
43424         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43425         Change to 2.4.21 where previously 2.4.1.
43426         * sysdeps/unix/sysv/linux/configure: Regenerated.
43427         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
43428         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
43429         Linux kernel version.
43430         (__ASSUME_STD_AUXV): Remove.
43431         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
43432         kernel version.
43433         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
43434         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
43435         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
43436         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
43437         (__ASSUME_NETLINK_SUPPORT): Likewise.
43438         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
43439         (__no_netlink_support): Remove conditional definition.
43440         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
43441         Remove.
43442         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43443         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
43444         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
43445         (if_nameindex_ioctl): Remove.
43446         (if_nameindex_netlink): Do not handle __no_netlink_support.
43447         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43448         code.
43449         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
43450         Remove conditional code.
43451         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
43452         code.
43453         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
43454         unconditional.
43455         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
43456         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
43457         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
43458         Remove.
43459         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
43460         [!__ASSUME_STD_AUXV]: Remove conditional code.
43461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
43462         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
43463         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
43464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
43465         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
43466         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43467         code.
43468         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
43470         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
43471         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43472         conditional code.
43473         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
43474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
43475         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
43476         code.
43477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
43478         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
43479         conditional code.
43480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
43481         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43482         code unconditional.
43483         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43484         conditional code.
43485         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43486         unconditional.
43487         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43488         conditional code.
43489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43490         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43491         unconditional.
43492         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43493         conditional code.
43494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
43495         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43496         code unconditional.
43497         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43498         conditional code.
43499         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43500         unconditional.
43501         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43502         conditional code.
43503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
43504         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
43505         code unconditional.
43506         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43507         conditional code.
43508         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
43509         unconditional.
43510         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
43511         conditional code.
43513 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
43515         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
43516         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
43517         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
43518         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
43519         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
43520         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
43521         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
43522         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
43523         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
43524         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
43525         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
43526         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
43527         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
43528         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
43529         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
43530         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
43531         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
43532         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
43533         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
43534         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
43535         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
43536         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
43537         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43539 2012-07-25  Florian Weimer  <fweimer@redhat.com>
43541         * Versions.def: Add GLIBC_2.17.
43542         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
43543         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
43544         Introduce __libc_secure_getenv.
43545         * stdlib/Versions (2.17): Add secure_getenv
43546         (GLIBC_PRIVATE): Add __libc_secure_getenv.
43547         * stdlib/secure-getenv.c: Rename __secure_getenv to
43548         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
43549         symbol __secure_getenv for GLIBC_2.0.
43550         * stdlib/tst-secure-getenv.c: New.
43551         * stdlib/Makefile (tests): Add testcase.
43552         * manual/startup.texi (Environment Access): Document
43553         secure_getenv.
43554         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
43555         __libc_secure_getenv.
43556         * inet/ruserpass.c (ruserpass): Likewise.
43557         * malloc/mtrace.c (mtrace): Likewise.
43558         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
43559         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
43560         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
43561         * sysdeps/posix/tempname.c: Likewise.  Evaluate
43562         HAVE_SECURE_GETENV.
43563         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
43564         __secure_getenv to __libc_secure_getenv.
43565         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
43566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43567         Likewise.
43568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
43569         Likewise.
43570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
43571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
43572         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
43573         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
43574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
43575         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
43576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
43578 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
43580         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
43581         (struct La_i86_retval): Likewise.
43582         (struct La_x86_64_regs): Likewise.
43583         (struct La_x86_64_retval): Likewise.
43584         (struct La_x32_regs): Likewise.
43585         (struct La_x32_retval): Likewise.
43586         (struct La_ppc32_regs): Likewise.
43587         (struct La_ppc32_retval): Likewise.
43588         (struct La_ppc64_regs): Likewise.
43589         (struct La_ppc64_retval): Likewise.
43590         (struct La_sh_regs): Likewise.
43591         (struct La_sh_retval): Likewise.
43592         (struct La_s390_32_regs): Likewise.
43593         (struct La_s390_32_retval): Likewise.
43594         (struct La_s390_64_regs): Likewise.
43595         (struct La_s390_64_retval): Likewise.
43596         (struct La_sparc32_regs): Likewise.
43597         (struct La_sparc32_retval): Likewise.
43598         (struct La_sparc64_regs): Likewise.
43599         (struct La_sparc64_retval): Likewise.
43600         (struct audit_ifaces): Remove architecture-specific pltenter and
43601         pltexit members.
43602         * sysdeps/i386/ldsodefs.h: New file.
43603         * sysdeps/powerpc/ldsodefs.h: Likewise.
43604         * sysdeps/s390/ldsodefs.h: Likewise.
43605         * sysdeps/sh/ldsodefs.h: Likewise.
43606         * sysdeps/sparc/ldsodefs.h: Likewise.
43607         * sysdeps/x86_64/ldsodefs.h: Likewise.
43609 2012-07-25  Marek Polacek  <polacek@redhat.com>
43611         [BZ #6808]
43612         * math/libm-test.inc (yn_test): Add another test.
43613         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
43614         to ERANGE when the result is +-Inf.
43615         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43616         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
43617         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
43618         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
43620 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
43622         * conform/data/time.h-data (NULL): Use macro-constant.  Require
43623         equal to 0.
43624         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
43625         clock_t.
43626         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
43628 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
43630         * configure.in <sysdeps resolving>: Correct printing
43631         Implies_before.
43632         * configure: Regenerate.
43634 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
43636         * math/w_ilogb.c: Include <limits.h>.
43637         * math/w_ilogbl.c: Likewise.
43639 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43641         * manual/lang.texi (__va_copy): Document primarily as ISO C99
43642         va_copy.  Document allowing for unavailable va_copy only as
43643         pre-C99 compatibility.
43644         * manual/string.texi (Copying and Concatenation): Use va_copy
43645         instead of __va_copy in concat example.
43647 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
43649         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
43650         (__sendto): Use create_address_port.  Initialize APORT and deallocate
43651         it if not null.
43653         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
43654         with O_NOLINK passed to __file_name_lookup.
43656         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
43657         with O_NOLINK passed to __file_name_lookup.
43659         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
43660         negative N or less than NGIDS.
43662         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
43663         type to string_t.  Set ERANGE as errno and return it if NAME is not big
43664         enough.  Use memcpy instead of strncpy.
43666 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
43668         * elf/Makefile (check-data): Remove.
43669         (localplt.data): New vpath directive.
43670         ($(objpfx)check-localplt.out): Use localplt.data from vpath
43671         instead of $(check-data).
43672         * scripts/data/localplt-generic.data: Move to ...
43673         * sysdeps/generic/localplt.data: ... here.
43674         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
43675         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
43676         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
43677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
43678         ... here.
43679         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
43680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
43681         ... here.
43682         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
43683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
43684         ... here.
43685         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
43686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
43687         ... here.
43688         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
43689         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
43690         ... here.
43691         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
43692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
43693         ... here.
43695 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43697         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
43698         PPC32 and PPC64 files.
43699         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
43700         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
43702 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43704         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
43705         __makecontext_ret to ...
43706         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
43707         ... here and call exit if uc_link is NULL.  New file.
43708         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
43709         __makecontext_ret.S.
43710         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
43711         __makecontext_ret to ...
43712         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
43713         ... here and call exit if uc_link is NULL.  New file.
43714         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
43715         __makecontext_ret.S.
43717 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43719         * elf/elf.h (R_390_IRELATIVE): New definition.
43720         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
43721         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
43722         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
43723         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
43724         (elf_machine_lazy_rel): Likewise.
43725         * sysdeps/s390/dl-irel.h: New file.
43726         * sysdeps/s390/s390-64/memcpy.S: New asm code.
43727         * sysdeps/s390/s390-64/memset.S: New asm code.
43728         * sysdeps/s390/s390-64/memcmp.S: New asm code.
43729         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
43730         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
43731         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
43732         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
43733         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
43734         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
43735         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
43736         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
43737         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
43738         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
43739         * sysdeps/s390/s390-32/memcpy.S: New asm code.
43740         * sysdeps/s390/s390-32/memset.S: New asm code.
43741         * sysdeps/s390/s390-32/memcmp.S: New asm code.
43743 2012-07-17  Marek Polacek  <polacek@redhat.com>
43745         [BZ #14349]
43746         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
43747         * sysdeps/s390/s390-64/configure.in: Likewise.
43748         * sysdeps/sparc/configure.in: Likewise.
43749         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
43750         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
43751         * sysdeps/i386/configure.in: Likewise.
43752         * sysdeps/x86_64/configure.in: Likewise.
43753         * sysdeps/sh/configure.in: Likewise.
43754         * sysdeps/s390/s390-32/configure: Regenerated.
43755         * sysdeps/s390/s390-64/configure: Likewise.
43756         * sysdeps/x86_64/configure: Likewise.
43757         * sysdeps/sh/configure: Likewise.
43758         * sysdeps/powerpc/powerpc64/configure: Likewise.
43759         * sysdeps/powerpc/powerpc32/configure: Likewise.
43760         * sysdeps/sparc/configure: Likwise.
43761         * sysdeps/i386/configure: Likewise.
43763         * elf/dl-open.c: Comment fixes.
43765 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
43767         * Makefile [CXX] (check-data): Remove.
43768         [CXX] (c++-types.data): New vpath directive.
43769         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
43770         vpath.  Do not allow for C++ type data being missing.
43771         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
43772         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
43773         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
43774         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
43775         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
43776         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
43777         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
43778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
43779         ... here.
43780         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
43781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
43782         ... here.
43783         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
43784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
43785         ... here.
43786         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
43787         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
43788         ... here.
43789         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
43790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
43791         ... here.
43792         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
43793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
43794         ... here.
43795         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
43796         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
43797         ... here.
43798         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
43799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
43801         * elf/tls-macros.h (TLS_LE): Move architecture-specific
43802         definitions to architecture-specific files.
43803         (TLS_IE): Likewise.
43804         (TLS_LD): Likewise.
43805         (TLS_GD): Likewise.
43806         * sysdeps/i386/tls-macros.h: New file.
43807         * sysdeps/powerpc/tls-macros.h: Likewise.
43808         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
43809         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
43810         * sysdeps/sh/tls-macros.h: Likewise.
43811         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
43812         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
43813         * sysdeps/x86_64/tls-macros.h: Likewise.
43815 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43817         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
43818         zero value for regular exit case.
43820         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
43821         (__start_context): Preserve zero value for regular exit case.
43823 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
43824             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43826         * manual/setjmp.texi (setcontext): Clarify normal process
43827         termination when uc_link is the null pointer.
43828         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
43829         exit call.
43831 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
43833         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
43834         preprocessor.  Test for each exception mask separately.
43836 2012-07-16  Andreas Jaeger  <aj@suse.de>
43838         * po/ru.po: Update from translation team.
43840 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
43842         * conform/data/string.h-data (NULL): Use macro-constant.  Require
43843         equal to 0.
43844         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43845         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43846         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
43847         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
43848         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43850 2012-07-13  Andreas Jaeger  <aj@suse.de>
43852         * po/fr.po: Update from translation team.
43854 2012-07-12  Marek Polacek  <polacek@redhat.com>
43856         [BZ #14173]
43857         * math/libm-test.inc (yn_test): Add test for BZ #14173.
43858         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
43859         loop condition.
43861 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
43863         [BZ #13717]
43864         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
43865         Change to 2.4.1 where previously 2.4.0.
43866         * sysdeps/unix/sysv/linux/configure: Regenerated.
43867         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
43868         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
43869         version.
43870         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
43871         (__ASSUME_AT_CLKTCK): Remove.
43872         (__ASSUME_AT_PAGESIZE): Likewise.
43873         (__ASSUME_AT_XID): Likewise.
43874         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
43875         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
43876         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
43877         unconditionally.
43878         (HAVE_AUX_PAGESIZE): Likewise.
43879         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
43880         [__ASSUME_AT_CLKTCK]: Make code unconditional.
43881         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
43883 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
43885         [BZ #14307]
43886         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
43887         the temporary buffer used to invoke __gethostbyname2_r,
43888         __gethostbyaddr_r and gethostbyname4_r to make room for struct
43889         host_data / struct gaih_addrtuple.
43890         * resolv/nss_dns/dns-host.c (global scope): Move definition of
43891         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
43892         header file nss/nsswitch.h.
43893         * nss/nsswitch.h (global scope): Add definition of implementation
43894         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
43895         resolv/nss_dns/dns-host.c).
43897 2012-07-11  Andreas Jaeger  <aj@suse.de>
43899         * po/fr.po: Update from translation team.
43901         * po/sv.po: Update from translation team
43902         * po/fr.po: Another update from translation team.
43904 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43906         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
43907         for subnormals or multiply small sinh result by itself.
43908         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43909         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43911 2012-07-11  David S. Miller  <davem@davemloft.net>
43913         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43915 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
43917         [BZ #14347]
43918         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
43919         (INTERNAL_MARK): Shift it here.
43921 2012-07-10  Marek Polacek  <polacek@redhat.com>
43923         [BZ #14151]
43924         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
43925         libc_cv_asm_global_directive with .globl.
43926         * configure: Regenerated.
43927         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
43928         with .globl.
43929         * sysdeps/i386/configure: Regenerated.
43930         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
43931         with .globl.
43932         * sysdeps/x86_64/configure: Regenerated.
43933         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
43934         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
43935         * elf/tst-unique2mod2.c: Likewise.
43936         * elf/tst-unique2mod1.c: Likewise.
43937         * elf/tst-unique1mod2.c: Likewise.
43938         * elf/tst-unique1mod1.c: Likewise.
43939         * sysdeps/s390/s390-32/sysdep.h: Likewise.
43940         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
43941         * sysdeps/s390/s390-64/sysdep.h: Likewise.
43942         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
43943         * sysdeps/mach/sysdep.h: Likewise.
43944         * sysdeps/i386/sysdep.h: Likewise.
43945         * sysdeps/i386/i386-mcount.S: Likewise.
43946         * sysdeps/x86_64/_mcount.S: Likewise.
43947         * sysdeps/x86_64/sysdep.h: Likewise.
43948         * sysdeps/sh/_mcount.S: Likewise.
43949         * sysdeps/sh/sysdep.h: Likewise.
43950         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
43951         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
43952         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
43953         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43954         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
43955         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
43956         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
43957         * locale/localeinfo.h: Likewise.
43958         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
43959         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
43961 2012-07-09  Roland McGrath  <roland@hack.frob.com>
43963         [BZ #14336]
43964         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
43965         system".
43966         * manual/message.texi (The Uniforum approach): Likewise.
43967         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
43968         (glibc iconv Implementation): Likewise.
43970 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
43972         [BZ #14337]
43973         * math/s_clog.c (__clog): Avoid scaling a value down where that
43974         could result in underflow.
43975         * math/s_clog10.c (__clog10): Likewise.
43976         * math/s_clog10f.c (__clog10f): Likewise.
43977         * math/s_clog10l.c (__clog10l): Likewise.
43978         * math/s_clogf.c (__clogf): Likewise.
43979         * math/s_clogl.c (__clogl): Likewise.
43980         * math/libm-test.inc (clog_test): Add more tests.
43981         (clog10_test): Likewise.
43982         * sysdeps/i386/fpu/libm-test-ulps: Update.
43983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43985 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
43987         [BZ #14283]
43988         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
43989         by 7 not 8 to examine high bit of fractional part.
43991         [BZ #14042]
43992         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
43993         for call to __mcount_internal.
43994         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
43995         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
43996         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
43998 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
44000         [BZ #14154]
44001         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
44002         approximation for values within 0x1p-13f of an odd multiple of
44003         pi/4.
44004         * math/libm-test.inc (tan_test): Do not allow spurious underflow
44005         exception.  Add more tests.
44006         * sysdeps/i386/fpu/libm-test-ulps: Update.
44008         [BZ #6778]
44009         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
44010         inputs and return -1 for them.  Do not check for +Inf in case not
44011         reachable for +Inf.
44012         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44013         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
44014         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44015         and return -1 for them.  Do not check for +Inf in case not
44016         reachable for +Inf.
44017         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
44018         define.
44019         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
44020         and return -1 for them.  Do not check for +Inf in case not
44021         reachable for +Inf.
44022         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
44023         spurious underflow.
44024         * sysdeps/i386/fpu/libm-test-ulps: Update.
44025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44027 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
44029         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
44031 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
44033         [BZ #14157]
44034         [BZ #14331]
44035         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
44036         could result in spurious underflow.  Scale down values above
44037         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
44038         * math/s_csqrtf.c (__csqrtf): Likewise.
44039         * math/s_csqrtl.c (__csqrtl): Likewise.
44040         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
44041         spurious underflow.
44042         * sysdeps/i386/fpu/libm-test-ulps: Update.
44043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44045 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
44047         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
44048         xopen-msg.sed.
44049         * catgets/xopen-msg.awk: New file.
44050         * catgets/xopen-msg.sed: Removed.
44052         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
44053         po2text.sed.
44054         * intl/po2test.awk: New file.
44055         * intl/po2test.sed: Removed.
44057 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
44059         [BZ #14328]
44060         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
44061         or multiply small sinh result by itself.
44062         * math/s_ctanf.c (__ctanf): Likewise.
44063         * math/s_ctanh.c (__ctanh): Likewise.
44064         * math/s_ctanhf.c (__ctanhf): Likewise.
44065         * math/s_ctanhl.c (__ctanhl): Likewise.
44066         * math/s_ctanl.c (__ctanl): Likewise.
44067         * math/libm-test.inc (ctan_test_tonearest): New function.
44068         (ctan_test_towardzero): Likewise.
44069         (ctan_test_downward): Likewise.
44070         (ctan_test_upward): Likewise.
44071         (ctanh_test_tonearest): Likewise.
44072         (ctanh_test_towardzero): Likewise.
44073         (ctanh_test_downward): Likewise.
44074         (ctanh_test_upward): Likewise.
44075         (main): Call these new functions.
44076         * sysdeps/i386/fpu/libm-test-ulps: Update.
44077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44079 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
44081         * .gitignore: Delete /ports entry.
44083 2012-07-03  Andreas Jaeger  <aj@suse.de>
44085         * po/bg.po: Update from translation team.
44086         * po/cs.po: Likewise.
44087         * po/de.po: Likewise.
44088         * po/hr.po: Likewise.
44089         * po/nl.pl: Likewise.
44090         * po/pl.po: Likewise.
44091         * po/vi.po: Likewise.
44093 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
44095         * Makeconfig [!+link] (+link-before-libc): New variable.
44096         [!+link] (+link-after-libc): Likewise.
44097         [!+link] (+link-tests): Likewise.
44098         [!+link] (+link): Define in terms of $(+link-before-libc) and
44099         $(+link-after-libc).
44100         [!+link-static] (+link-static-before-libc): New variable.
44101         [!+link-static] (+link-static-after-libc): Likewise.
44102         [!+link-static] (+link-static-tests): Likewise.
44103         [!+link-static] (+link-static): Define in terms of
44104         $(+link-static-before-libc) and $(+link-static-after-libc).
44105         [build-shared] (link-libc-before-gnulib): New variable.
44106         [build-shared] (link-libc-tests): Likewise.
44107         [build-shared] (link-libc): Define in terms of
44108         $(link-libc-before-gnulib).
44109         [!build-shared] (link-libc-tests): New variable.
44110         (link-libc-static-tests): New variable.
44111         [!gnulib] (gnulib-arch): New variable.
44112         [!gnulib] (gnulib-tests): Likewise.
44113         [!gnulib] (static-gnulib-arch): Likewise.
44114         [!gnulib] (static-gnulib-tests): Likewise.
44115         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
44116         Define with "=" instead of ":=".
44117         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
44118         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
44119         * Rules (binaries-all-notests): New variable.
44120         (binaries-all-tests): Likewise.
44121         (binaries-static-notests): Likewise.
44122         (binaries-static-tests): Likewise.
44123         (binaries-all): Define using $(binaries-all-notests) and
44124         $(binaries-all-tests).
44125         (binaries-static): Define using $(binaries-static-notests) and
44126         $(binaries-static-tests).
44127         (binaries-shared-tests): New variable.
44128         (binaries-shared-notests): Likewise.
44129         (binaries-shared): Remove variable.
44130         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
44131         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
44132         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
44133         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
44134         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
44135         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
44136         * elf/Makefile (sln-modules): New variable.
44137         (extra-objs): Add $(sln-modules:=.o).
44138         (ldconfig-modules): Add static-stubs.
44139         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
44140         * elf/static-stubs.c: New file.
44142         [BZ #14283]
44143         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
44144         by 7 not 8 to examine high bit of fractional part.  Use volatile
44145         variables when splitting into final array of floats if
44146         __FLT_EVAL_METHOD__ != 0.
44147         * math/libm-test.inc (cos_test): Add another test.
44148         (sin_test): Likewise.
44149         * sysdeps/i386/fpu/libm-test-ulps: Update.
44151         [BZ #14273]
44152         * math/libm-test.inc (cosh_test): Add more tests.
44154         * version.h (RELEASE): Set to "development".
44155         (VERSION): Set to "2.16.90".
44157 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
44159         * NEWS: Update copyright. Remove last-updated date.
44160         Mention math library bug fixes and timezone data changes.
44161         * README: Mention GNU/Hurd, x32, and HPPA support status.
44163 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
44165         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
44167 2012-06-27  Andreas Jaeger  <aj@suse.de>
44169         * manual/contrib.texi (Contributors): Add Samuel Thibault.
44171 2012-06-25  Andreas Jaeger  <aj@suse.de>
44173         * sysdeps/s390/fpu/libm-test-ulps: Update.
44175 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
44176             Thomas Schwinge  <thomas@codesourcery.com>
44178         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
44179         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
44180         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
44181         fanotify_mark.
44183 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
44185         * sysdeps/mach/start.c: Remove file.
44186         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
44187         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
44188         * sysdeps/sh/init-first.c: Likewise.
44190         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
44191         registers for frame unwinding purposes, add CFI directives.
44192         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44193         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
44194         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
44195         Likewise.
44197         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
44198         __fortify_fail returning.
44199         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
44201         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
44202         sysdeps/sh/____longjmp_chk.S.
44203         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
44204         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
44205         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
44206         (gen-as-const-headers): Append sigaltstack-offsets.sym.
44208         * sysdeps/sh/abort-instr.h: New file.
44209         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
44210         process in case exit returns.
44212         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
44213         initialize the GOT register before use.
44215         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
44216         calculation of ARGC > 4.
44218         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
44219         meaningful names to some local labels.
44221 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
44222             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44224         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
44225         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
44226         (__arch_compare_and_exchange_val_16_acq): Likewise.
44227         (__arch_compare_and_exchange_val_32_acq): Likewise.
44228         (atomic_exchange_and_add): Fix gUSA sequence.
44229         (atomic_add): Likewise.
44230         (atomic_add_negative): Likewise.
44231         (atomic_add_zero): Likewise.
44232         (atomic_bit_test_set): Likewise.
44234 2012-06-22  Andreas Schwab  <schwab@redhat.com>
44236         [BZ #13579]
44237         * include/link.h (struct link_map): Add l_free_initfini.
44238         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
44239         l_initfini.
44240         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
44241         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
44242         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
44243         set.
44245 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
44247         * configure.in: Use AC_LANG_SOURCE.
44248         * configure: Regenerate.
44250 2012-06-22  Roland McGrath  <roland@hack.frob.com>
44252         * configure.in (libc_cv_localstatedir): New substituted variable.
44253         * configure: Regenerated.
44254         * config.make.in (localstatedir): New variable, substituted from
44255         libc_cv_localstatedir.
44256         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
44257         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
44258         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
44259         * sysdeps/gnu/configure: Regenerated.
44261 2012-06-21  Jeff Law  <law@redhat.com>
44263         [BZ #14277]
44264         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
44265         free.  Simplify list management for _LIBC case.
44267 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
44269         [BZ #14273]
44270         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
44271         Clear sign bit of 64-bit integer value before comparing against
44272         overflow value.
44274         * sysdeps/mach/configure: Regenerated.
44276 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
44278         [BZ #14278]
44279         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
44281 2012-06-21  Jeff Law  <law@redhat.com>
44283         [BZ #13882]
44284         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
44285         uint16_t for elements in the "seen" array to avoid char overflows.
44286         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44287         * elf/dl-open.c (dl_open_worker): Likewise.
44289 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
44291         * scripts/list-sources.sh: Scan PORTS for translations.
44292         * po/libc.pot: Regenerated.
44294 2012-06-21  Andreas Jaeger  <aj@suse.de>
44296         [BZ #12194]
44297         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
44298         warning.
44299         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
44300         * bits/byteswap-16.h (__bswap_16): Likewise.
44301         * bits/byteswap.h (__bswap_constant_16): Likewise.
44303 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
44305         [BZ #14117]
44306         * sysdeps/i386/fpu_control.h: Removed.
44307         * sysdeps/x86_64/fpu_control.h: Moved to ...
44308         * sysdeps/x86/fpu_control.h: Here.
44310         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
44311         (_FPU_SETCW): Likewise.
44313 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
44315         [BZ #14117]
44316         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
44317         * sysdeps/x86/fpu/bits/mathinline.h: This.
44318         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
44320         [BZ #14050]
44321         [BZ #14117]
44322         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
44323         functions if __x86_64__ is defined.
44325 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
44327         * string/endian.h: Add !__ASSEMBLER__ condition for including
44328         conversion interfaces.
44330 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
44332         [BZ #14241]
44333         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
44334         of ABS(x) in calculating zero to negative powers other than odd
44335         integers.
44336         * math/libm-test.inc (pow_test): Add more tests.
44338 2012-06-15  Andreas Jaeger  <aj@suse.de>
44340         * manual/contrib.texi (Contributors): Update entry of Liubov
44341         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
44342         Machado Filho.
44344 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
44346         * string/string.h: Add __wur to GNU version of strerror_r.
44348 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
44350         [BZ #14229]
44351         * string/Makefile (tests): Add tst-strtok_r.
44352         * string/tst-strtok_r.c: New file.
44353         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
44354         RAX_LP/RDX_LP on SAVE_PTR.
44356 2012-06-14  Roland McGrath  <roland@hack.frob.com>
44358         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
44360 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
44362         * libm_test.inc (csqrt_test): Allow more spurious underflow
44363         exceptions.
44364         (j0_test): Likewise.
44365         (j1_test): Likewise.
44366         (y0_test): Likewise.
44367         (y1_test): Likewise.
44369 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
44371         * po/Makefile (libc.pot): Use UTF-8 charset.
44373 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
44375         [BZ #14210]
44376         Suppress sign-conversion warning from FD_SET.
44377         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
44378         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
44379         not unsigned long int.
44380         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
44382 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
44384         [BZ #14050]
44385         [BZ #14117]
44386         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
44387         __extern_always_inline instead of __extern_inline.
44388         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
44389         (__signbit): Likewise.
44390         (__signbitl): Support C++ namespace.
44391         (lrintf): New inline function.
44392         (lrint): Likewise.
44393         (llrintf): Likewise.
44394         (llrint): Likewise.
44395         (fmaxf): Likewise.
44396         (fmax): Likewise.
44397         (fminf): Likewise.
44398         (fmin): Likewise.
44399         (rint): Likewise.
44400         (rintf): Likewise.
44401         (ceil): Likewise.
44402         (ceilf): Likewise.
44403         (floor): Likewise.
44404         (floorf): Likewise.
44405         (nearbyint): Likewise.
44406         (nearbyintf): Likewise.
44408 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
44410         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
44411         non-default versions.
44413 2012-06-11  Roland McGrath  <roland@hack.frob.com>
44415         [BZ #14218]
44416         * manual/argp.texi (Argp): Reword argp_parse description slightly.
44418 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
44420         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
44421         (FE_UPWARD, FE_DOWNWARD): Don't define.
44422         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
44423         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
44425         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
44426         reading it.
44427         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
44428         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
44430 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44432         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44433         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
44434         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
44435         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
44437 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
44439         [BZ #14117]
44440         * sysdeps/i386/fpu/bits/fenv.h: Removed.
44441         * sysdeps/i386/fpu/Implies: New file.
44442         * sysdeps/x86_64/fpu/Implies: Likewise.
44443         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
44444         * sysdeps/x86/fpu/bits/fenv.h: This.
44446         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
44447         __SSE_MATH__.
44449 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
44451         [BZ #14134]
44452         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
44453         character 0xffff that matches the last element of the
44454         conversion table.
44456 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44458         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
44459         fmodl commit.
44461 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44463         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
44464         values higher than 25.6283.
44466 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44468         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
44469         subnormal exponent extraction and add some __builtin_expect.
44470         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
44471         Fix for subnormal mantissa calculation.
44473 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
44475         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
44476         cpu2 is -1 and errno is not ENOSYS.
44478 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
44480         [BZ #14117]
44481         * sysdeps/i386/i486/bits/string.h: Renamed to ...
44482         * sysdeps/x86/bits/string.h: This.
44483         * sysdeps/x86_64/bits/string.h: Removed.
44485         * sysdeps/i386/i486/bits/string.h: Define inline functions only
44486         if not compiling for x86-64, but compiling for >= i486.
44488         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
44489         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
44491         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
44492         New macro from Linux kernel 3.4.0.
44493         (FP_XSTATE_MAGIC2): Likewise.
44494         (FP_XSTATE_MAGIC2_SIZE): Likewise.
44495         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
44496         (struct _fpx_sw_bytes): New struct.
44497         (struct _xsave_hdr): Likewise.
44498         (struct _ymmh_state): Likewise.
44499         (struct _xstate): Likewise.
44501         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
44502         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
44503         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
44504         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
44505         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
44506         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
44508         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
44509         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
44510         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
44511         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
44512         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
44513         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
44515 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
44517         [BZ #13743]
44518         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
44519         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
44520         (sysdep_headers): Include sys/platform/ppc.h.
44521         * sysdeps/powerpc/test-gettimebase.c: Test for
44522         __ppc_get_timebase() to catch future ISA opcode/insn changes.
44523         * manual/Makefile (appendices): Include platform.texi.
44524         * manual/contrib.texi (Contributors): Update @node pointers.
44525         * manual/maint.texi (Maintenance): Likewise.
44526         (Platform): New node.
44527         * manual/platform.texi: New file.  Document the new features.
44529 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44530             Jakub Jelinek  <jakub@redhat.com>
44532         [BZ #14188]
44533         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
44534         where __builtin_expect is unavailable.
44536 2012-06-03  David S. Miller  <davem@davemloft.net>
44538         * stdlib/longlong.h: Updated from GCC.
44540 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
44542         [BZ #14042]
44543         * sysdeps/powerpc/powerpc32/mcount.c: New file.
44544         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
44545         __mcount_internal.
44546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
44547         (GLIBC_2.16): Likewise.
44549 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44551         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
44553 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
44556         (default-abi): New variable.
44557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
44558         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
44559         variable.
44560         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
44561         Likewise.
44562         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
44563         Likewise.
44564         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
44565         Likewise.
44567         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
44568         definition.  Document in comment.
44570 2012-06-01  David S. Miller  <davem@davemloft.net>
44572         * stdlib/longlong.h: Updated from GCC.
44574 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44576         [BZ #14117]
44577         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
44578         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
44579         sys/debugreg.h sys/io.h here.
44580         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
44581         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
44582         sys/io.h.
44583         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
44584         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
44585         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
44586         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
44587         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
44588         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
44590         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
44591         Define only if __x86_64__ is defined.
44593 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
44595         [BZ #14048]
44596         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
44597         Use int64_t for variable i.
44598         * math/libm-test.inc (fmod_test): Add more tests.
44600         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
44601         z computation is not scheduled after fetestexcept.
44602         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
44603         Use math_force_eval instead of asm to ensure calculation scheduled
44604         before exception test.
44605         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
44606         Ensure a1 + u.d computation is not scheduled after fetestexcept.
44608 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
44610         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
44611         computation is not scheduled after fetestexcept.
44613 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
44615         [BZ #14117]
44616         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
44617         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
44619 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44621         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
44622         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
44624 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44626         [BZ #14117]
44627         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
44628         <bits/wordsize.h>.
44629         (__WCHAR_MIN): Support __WORDSIZE == 64.
44630         (__WCHAR_MAX): Likewise.
44632         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
44633         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
44635         [BZ #14183]
44636         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
44637         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
44639         [BZ #14117]
44640         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
44641         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
44643         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
44644         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
44646         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
44647         Defined to 1 if __x86_64__ isn't defined.
44648         (_STAT_VER_LINUX_OLD): New.
44649         (st_atime): Remove duplicate.
44650         (st_mtime): Likewise.
44651         (st_ctime): Likewise.
44653 2012-05-31  David S. Miller  <davem@davemloft.net>
44655         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
44656         entries.
44658 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
44660         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
44661         gen-libm-test.pl.
44663         [BZ #14132]
44664         * elf/dl-reloc.c: Include <_itoa.h>.
44665         (_dl_reloc_bad_type): Remove use of INTUSE.
44666         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
44667         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
44668         * stdio-common/psiginfo.c (psiginfo): Likewise.
44669         * stdio-common/psignal.c (psignal): Likewise.
44670         * string/strsignal.c (strsignal): Likewise.
44671         * include/signal.h (_sys_siglist): Declare hidden proto.
44672         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
44673         INTVARDEF with libc_hidden_data_def.
44674         * stdio-common/itoa-udigits.c: Likewise.
44675         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
44676         (_itoa_lower_digits_internal): Remove declaration.
44677         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
44678         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
44679         (_sys_sigabbrev_internal): Remove aliases.
44680         (_sys_siglist): Define hidden alias.
44682 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
44684         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44685         bits/sysctl.h.
44687 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
44689         [BZ #14117]
44690         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
44691         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
44693         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
44694         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
44695         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
44696         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
44697         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
44698         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
44700         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
44701         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
44702         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
44704         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
44705         with __addr.
44706         (insw): Likewise.
44707         (insl): Likewise.
44708         (outsb): Likewise.
44709         (outsw): Likewise.
44710         (outsl): Likewise.
44712         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
44713         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
44714         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
44716         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
44717         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
44718         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
44719         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
44720         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
44721         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
44723         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
44724         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
44726         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
44727         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
44729         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
44730         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
44731         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
44733         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
44734         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
44735         to ...
44736         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
44738         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
44739         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
44740         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
44742         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
44743         for x86-64.
44744         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
44746 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
44748         * math/math.h (M_El): Use two more decimal places.
44749         (M_LOG2El): Likewise.
44750         (M_LOG10El): Likewise.
44751         (M_LN2l): Likewise.
44752         (M_LN10l): Likewise.
44753         (M_PIl): Likewise.
44754         (M_PI_2l): Likewise.
44755         (M_PI_4l): Likewise.
44756         (M_1_PIl): Likewise.
44757         (M_2_PIl): Likewise.
44758         (M_2_SQRTPIl): Likewise.
44759         (M_SQRT2l): Likewise.
44760         (M_SQRT1_2l): Likewise.
44762 2012-05-31  David S. Miller  <davem@davemloft.net>
44764         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
44765         values between float registers.
44766         * sysdeps/sparc/sparc64/memset.S: Likewise.
44767         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
44769 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
44771         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
44772         -D_FORTIFY_SOURCE=1.
44773         (CPPFLAGS-tst-longjmp_chk.c): Define.
44774         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
44775         (CPPFLAGS-tst-longjmp_chk2.c): Define.
44776         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
44777         CFLAGS-tst-wchar-h.c.
44779 2012-05-31  Marek Polacek  <polacek@redhat.com>
44781         [BZ #14132]
44782         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
44783         __endmntent_internal): Remove declaration.
44784         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
44785         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
44786         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
44788 2012-05-30  David S. Miller  <davem@davemloft.net>
44790         * sysdeps/sparc/sparc32/soft-fp/q_util.c
44791         (___Q_simulate_exceptions): Use real FP ops rather than writing
44792         into the %fsr.
44793         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
44794         Likewise.
44796 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44798         [BZ #14117]
44799         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
44800         * sysdeps/x86/bits/xtitypes.h: This.
44802         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
44803         * sysdeps/x86/bits/wordsize.h: This.
44805         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
44806         * sysdeps/x86/bits/huge_vall.h: This.
44808         * sysdeps/i386/bits/select.h: Removed.
44809         * sysdeps/x86_64/bits/select.h: Renamed to ...
44810         * sysdeps/x86/bits/select.h: This.
44812         * sysdeps/i386/bits/setjmp.h: Removed.
44813         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
44814         * sysdeps/x86/bits/setjmp.h: This.
44816         * sysdeps/i386/bits/mathdef.h: Removed.
44817         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
44818         * sysdeps/x86/bits/mathdef.h: This.
44820 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
44822         [BZ #14132]
44823         * include/sys/socket.h (__connect_internal)
44824         (__libc_sa_len_internal): Remove declaration.
44825         (__connect, __libc_sa_len): Declare hidden_proto.
44826         (SA_LEN): Remove use of INTUSE.
44827         * socket/connect.c: Add libc_hidden_def.
44828         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
44829         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
44830         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
44831         alias.
44832         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
44833         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
44834         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
44835         of adding _internal alias.
44837 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44839         [BZ #14117]
44840         * sysdeps/i386/bits/link.h: Removed.
44841         * sysdeps/i386/bits/linkmap.h: Likewise.
44842         * sysdeps/x86_64/bits/link.h: Renamed to ...
44843         * sysdeps/x86/bits/link.h: This.
44844         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
44845         * sysdeps/x86/bits/linkmap.h: This.
44847         * sysdeps/i386/bits/endian.h: Removed.
44848         * sysdeps/x86_64/bits/endian.h: Renamed to ...
44849         * sysdeps/x86/bits/endian.h: This.
44851         * sysdeps/i386/bits/byteswap.h: Removed.
44852         * sysdeps/i386/bits/byteswap-16.h: Likewise.
44853         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
44854         * sysdeps/x86/bits/byteswap.h: This.
44855         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
44856         * sysdeps/x86/bits/byteswap-16.h: This.
44857         * sysdeps/i386/Implies: Add x86.
44858         * sysdeps/x86_64/Implies: Likewise.
44860 2012-05-30  David S. Miller  <davem@davemloft.net>
44862         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
44863         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
44864         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
44865         (FP_TRAPPING_EXCEPTIONS): Define.
44866         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
44867         (FP_TRAPPING_EXCEPTIONS): Define.
44868         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
44869         subnormals only when inexact has been signalled or underflow
44870         exceptions are enabled.
44871         (_FP_PACK_CANONICAL): Likewise.
44873 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44875         [BZ #14183]
44876         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
44877         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
44879 2012-05-30  Richard Henderson  <rth@twiddle.net>
44881         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
44882         with #ifndef NOT_IN_libc.
44884         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
44885         marked to avoid plt entry.
44887 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
44889         [BZ #14112]
44890         * Makeconfig (default-abi): New macro.
44891         (abi-includes): Likewise.
44892         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
44893         $(abi-$(default-abi)-lib-soname) for soname if defined.
44894         ($(common-objpfx)gnu/lib-names.stmp): Generate from
44895         abi-variants.
44896         * Makefile (installed-stubs): Likewise.
44897         * include/stubs-biarch.h: Removed.
44898         * scripts/lib-names.awk: Only handle one library at a time.
44899         * scripts/soversions.awk: Remove WORDSIZE support.
44900         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
44901         entries.
44902         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
44903         Removed.
44904         (syscall-list-default-condition): Likewise.
44905         (syscall-list-default-condition): Likewise.
44906         (syscall-list-includes): Likewise.
44907         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
44908         syscall-list-* with abi-*.  Handle undefined abi-variants.
44909         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
44910         * sysdeps/unix/sysv/linux/i386/Implies: New file.
44911         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
44912         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
44913         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
44914         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
44915         Removed.
44916         (syscall-list-32-options): Likewise.
44917         (syscall-list-32-condition): Likewise.
44918         (syscall-list-64-options): Likewise.
44919         (syscall-list-64-condition): Likewise.
44920         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
44921         macro.
44922         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
44923         Renamed to ...
44924         (abi-*): This.
44925         (abi-64-ld-soname): New macro.
44926         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
44927         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
44928         Renamed to ...
44929         (abi-*): This.
44930         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
44931         * sysdeps/x86_64/x32/shlib-versions: Likewise.
44933 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
44935         * sysdeps/unix/sysv/linux/kernel-features.h
44936         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
44937         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
44938         include <kernel-features.h>.
44939         [!__NR_ftruncate64]: Remove conditional code.
44940         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44941         [__NR_ftruncate64]: Make code unconditional.
44942         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44943         * sysdeps/unix/sysv/linux/truncate64.c: Do not
44944         include <kernel-features.h>.
44945         [!__NR_ftruncate64]: Remove conditional code.
44946         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44947         [__NR_ftruncate64]: Make code unconditional.
44948         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
44950         include <kernel-features.h>.
44951         [!__NR_ftruncate64]: Remove conditional code.
44952         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44953         [__NR_ftruncate64]: Make code unconditional.
44954         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
44956         include <kernel-features.h>.
44957         [!__NR_ftruncate64]: Remove conditional code.
44958         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44959         [__NR_ftruncate64]: Make code unconditional.
44960         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
44962         * configure.in (libc_cv_fpie): Weaken to a compile test using
44963         LIBC_TRY_CC_OPTION.
44964         * configure: Regenerated.
44966 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44968         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
44969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
44970         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
44971         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44972         Refreshed.
44973         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
44974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
44975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
44976         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
44977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
44978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44979         Refreshed.
44981 2012-05-27  David S. Miller  <davem@davemloft.net>
44983         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
44984         (___Q_zero): New.
44985         (__Q_simulate_exceptions): Return void.  Change to simulate
44986         exceptions by writing into the %fsr.
44987         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
44988         (__Qp_handle_exceptions): Likewise.
44989         (numbers): Delete.
44990         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
44991         __Qp_handle_exceptions.
44992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
44993         __Qp_handle_exceptions.
44994         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
44995         as unused and give dummy FP_RND_NEAREST initializer.
44996         (FP_INHIBIT_RESULTS): Define.
44997         (___Q_simulate_exceptions): Update declaration.
44998         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
44999         formatting.
45000         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
45001         as unused and give dummy FP_RND_NEAREST initializer.
45002         (__Qp_handle_exceptions): Update declaration.
45003         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
45004         formatting.
45006 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
45008         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
45009         the temporary FPU control word.
45010         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
45011         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
45012         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
45013         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
45014         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
45015         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
45016         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
45017         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
45018         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
45019         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
45020         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45022 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45024         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
45025         fields.
45027 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
45029         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
45030         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
45031         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
45032         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
45033         Likewise.
45034         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
45035         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
45036         Likewise.
45038 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
45040         * po/h.po: Update from translation team.
45042 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
45044         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
45046         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
45047         handling of denormals.
45048         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45049         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
45050         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45051         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45052         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45053         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
45054         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
45055         Likewise.
45057 2012-05-26  Marek Polacek  <polacek@redhat.com>
45059         [BZ #14152]
45060         * math/libm-test.inc (fma_test): Don't always expect underflow
45061         exception.
45063 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45065         [BZ #12416]
45066         * elf/tst-execstack.c: Include stackinfo.h.
45067         (do_test): Adjust test case to ensure that pthread_getattr_np
45068         behaviour remains the same after marking stack executable.
45070 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45072         * sysdeps/unix/sysv/linux/kernel-features.h
45073         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
45074         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
45075         kernel-features.h.
45076         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45077         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45078         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
45079         kernel-features.h.
45080         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
45081         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
45083 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
45085         * configure.in: Define the default includes to being none.
45086         * configure: Regenerated.
45088 2012-05-25  Roland McGrath  <roland@hack.frob.com>
45090         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
45091         * sysdeps/x86_64/setjmp.S: Likewise.
45092         * sysdeps/i386/bsd-setjmp.S: Likewise.
45093         * sysdeps/i386/bsd-_setjmp.S: Likewise.
45094         * sysdeps/i386/setjmp.S: Likewise.
45095         * sysdeps/i386/__longjmp.S: Likewise.
45096         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45097         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
45099         * include/stap-probe.h: New file.
45100         * configure.in: Handle --enable-systemtap.
45101         * configure: Regenerated.
45102         * config.h.in (USE_STAP_PROBE): New #undef.
45103         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
45104         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
45105         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
45107 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
45109         [BZ #13717]
45110         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
45111         to 2.4.0 where earlier.
45112         * sysdeps/unix/sysv/linux/configure: Regenerated.
45113         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
45114         <kernel-features.h>.
45115         [__ASSUME_32BITUIDS]: Make code unconditional.
45116         [!__ASSUME_32BITUIDS]: Remove conditional code.
45117         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
45118         <kernel-features.h>.
45119         [__ASSUME_32BITUIDS]: Make code unconditional.
45120         [!__ASSUME_32BITUIDS]: Remove conditional code.
45121         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
45122         [__ASSUME_32BITUIDS]: Make code unconditional.
45123         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
45124         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
45125         <kernel-features.h>.
45126         [__ASSUME_32BITUIDS]: Make code unconditional.
45127         [!__ASSUME_32BITUIDS]: Remove conditional code.
45128         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
45129         <kernel-features.h>.
45130         [__ASSUME_32BITUIDS]: Make code unconditional.
45131         [!__ASSUME_32BITUIDS]: Remove conditional code.
45132         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
45133         <kernel-features.h>.
45134         [__ASSUME_32BITUIDS]: Make code unconditional.
45135         [!__ASSUME_32BITUIDS]: Remove conditional code.
45136         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
45137         <kernel-features.h>.
45138         [__ASSUME_32BITUIDS]: Make code unconditional.
45139         [!__ASSUME_32BITUIDS]: Remove conditional code.
45140         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
45141         <kernel-features.h>.
45142         [__ASSUME_32BITUIDS]: Make code unconditional.
45143         [!__ASSUME_32BITUIDS]: Remove conditional code.
45144         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
45145         <kernel-features.h>.
45146         [__ASSUME_32BITUIDS]: Make code unconditional.
45147         [!__ASSUME_32BITUIDS]: Remove conditional code.
45148         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
45149         <kernel-features.h>.
45150         [__ASSUME_32BITUIDS]: Make code unconditional.
45151         [!__ASSUME_32BITUIDS]: Remove conditional code.
45152         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
45153         <kernel-features.h>.
45154         [__ASSUME_32BITUIDS]: Make code unconditional.
45155         [!__ASSUME_32BITUIDS]: Remove conditional code.
45156         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
45157         <kernel-features.h>.
45158         [__ASSUME_32BITUIDS]: Make code unconditional.
45159         [!__ASSUME_32BITUIDS]: Remove conditional code.
45160         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
45161         <kernel-features.h>.
45162         [__ASSUME_32BITUIDS]: Make code unconditional.
45163         [!__ASSUME_32BITUIDS]: Remove conditional code.
45164         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
45165         <kernel-features.h>.
45166         [__NR_setresgid] (__setresgid): Do not declare.
45167         [__ASSUME_32BITUIDS]: Make code unconditional.
45168         [!__ASSUME_32BITUIDS]: Remove conditional code.
45169         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
45170         <kernel-features.h>.
45171         [__NR_setresuid] (__setresuid): Do not declare.
45172         [__ASSUME_32BITUIDS]: Make code unconditional.
45173         [!__ASSUME_32BITUIDS]: Remove conditional code.
45174         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
45175         <kernel-features.h>.
45176         [__ASSUME_32BITUIDS]: Make code unconditional.
45177         [!__ASSUME_32BITUIDS]: Remove conditional code.
45178         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
45179         <kernel-features.h>.
45180         [__ASSUME_32BITUIDS]: Make code unconditional.
45181         [!__ASSUME_32BITUIDS]: Remove conditional code.
45182         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
45183         <kernel-features.h>.
45184         [__ASSUME_32BITUIDS]: Make code unconditional.
45185         [!__ASSUME_32BITUIDS]: Remove conditional code.
45186         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
45187         <kernel-features.h>.
45188         [__ASSUME_32BITUIDS]: Make code unconditional.
45189         [!__ASSUME_32BITUIDS]: Remove conditional code.
45190         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
45191         <kernel-features.h>.
45192         [__ASSUME_32BITUIDS]: Make code unconditional.
45193         [!__ASSUME_32BITUIDS]: Remove conditional code.
45194         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
45195         <kernel-features.h>.
45196         [__ASSUME_32BITUIDS]: Make code unconditional.
45197         [!__ASSUME_32BITUIDS]: Remove conditional code.
45198         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
45199         <kernel-features.h>.
45200         [__ASSUME_32BITUIDS]: Make code unconditional.
45201         [!__ASSUME_32BITUIDS]: Remove conditional code.
45202         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
45203         <kernel-features.h>.
45204         [__ASSUME_32BITUIDS]: Make code unconditional.
45205         [!__ASSUME_32BITUIDS]: Remove conditional code.
45206         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
45207         <kernel-features.h>.
45208         [__ASSUME_32BITUIDS]: Make code unconditional.
45209         [!__ASSUME_32BITUIDS]: Remove conditional code.
45210         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
45211         <kernel-features.h>.
45212         [__ASSUME_32BITUIDS]: Make code unconditional.
45213         [!__ASSUME_32BITUIDS]: Remove conditional code.
45214         * sysdeps/unix/sysv/linux/kernel-features.h
45215         (__ASSUME_SETRESUID_SYSCALL): Remove.
45216         (__ASSUME_SETRESGID_SYSCALL): Likewise.
45217         (__ASSUME_32BITUIDS): Likewise.
45218         (__ASSUME_LDT_WORKS): Likewise.
45219         (__ASSUME_O_DIRECTORY): Likewise.
45220         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
45221         architecture but not kernel version.
45222         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
45223         (__ASSUME_MMAP2_SYSCALL): Likewise.
45224         (__ASSUME_STAT64_SYSCALL): Likewise.
45225         (__ASSUME_IPC64): Likewise.
45226         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
45227         <kernel-features.h>.
45228         [__ASSUME_32BITUIDS]: Make code unconditional.
45229         [!__ASSUME_32BITUIDS]: Remove conditional code.
45230         * sysdeps/unix/sysv/linux/opendir.c: Do not include
45231         <kernel-features.h>.
45232         [__ASSUME_O_DIRECTORY]: Make code unconditional.
45233         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
45234         132096]: Remove conditional code.
45235         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
45236         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
45237         <kernel-features.h>.
45238         [__ASSUME_32BITUIDS]: Make code unconditional.
45239         [!__ASSUME_32BITUIDS]: Remove conditional code.
45240         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
45241         <kernel-features.h>.
45242         [__ASSUME_32BITUIDS]: Make code unconditional.
45243         [!__ASSUME_32BITUIDS]: Remove conditional code.
45244         * sysdeps/unix/sysv/linux/setegid.c: Do not include
45245         <kernel-features.h>.
45246         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
45247         unconditional.
45248         (__setresgid): Do not declare.
45249         [__ASSUME_32BITUIDS]: Make code unconditional.
45250         [!__ASSUME_32BITUIDS]: Remove conditional code.
45251         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
45252         <kernel-features.h>.
45253         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
45254         unconditional.
45255         (__setresuid): Do not declare.
45256         [__ASSUME_32BITUIDS]: Make code unconditional.
45257         [!__ASSUME_32BITUIDS]: Remove conditional code.
45258         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
45259         <kernel-features.h>.
45260         [__ASSUME_32BITUIDS]: Make code unconditional.
45261         [!__ASSUME_32BITUIDS]: Remove conditional code.
45262         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
45263         <kernel-features.h>.
45264         [__ASSUME_32BITUIDS]: Make code unconditional.
45265         [!__ASSUME_32BITUIDS]: Remove conditional code.
45267 2012-05-25  Richard Henderson  <rth@twiddle.net>
45269         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
45270         dl_hwcap to ifunc resolver.
45271         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
45272         elf_ifunc_invoke.
45273         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
45274         dl_hwcap to ifunc resolver.
45275         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
45277 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45279         [BZ #14153]
45280         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
45281         for |x| <= 2**-26, not 2**-57.
45282         * math/libm-test.inc (acos_test): Do not allow spurious underflow
45283         exception.
45285 2012-05-24  Jeff Law  <law@redhat.com>
45287         * stdio-common/Makefile (tests): Add bug25.
45288         * stdio-common/bug25.c: New test.
45290 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45292         [BZ #13576]
45293         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
45294         multiple of MALLOC_ALIGNMENT in size.
45295         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
45297 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45299         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
45300         Require >= 256.
45301         (FILENAME_MAX): Use macro-int-constant.
45302         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
45303         (_IOFBF): Use macro-int-constant.
45304         (_IOLBF): Likewise.
45305         (_IONBF): Likewise.
45306         (SEEK_CUR): Likewise.
45307         (SEEK_END): Likewise.
45308         (SEEK_SET): Likewise.
45309         (TMP_MAX): Likewise.
45310         (EOF): Use macro-int-constant.  Require < 0.
45311         (NULL): Use macro-constant.  Require == 0.
45312         (stdin): Require type to be FILE *.
45313         (stdout): Likewise.
45314         (stderr): Likewise.
45315         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
45316         macro-int-constant.
45317         (EXIT_SUCCESS): Likewise.
45318         (NULL): Use macro-constant.  Require == 0.
45319         (RAND_MAX): Use macro-int-constant.
45320         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
45321         [C99-based standards] (strtof): Require function.
45322         [C99-based standards] (strtold): Likewise.
45323         [C99-based standards] (strtoll): Likewise.
45324         [C99-based standards] (strtoull): Likewise.
45325         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
45326         [ISO || ISO99 || ISO11] (limits.h): Likewise.
45327         [ISO || ISO99 || ISO11] (math.h): Likewise.
45328         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
45329         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
45330         [ISO || ISO99 || ISO11] (*_t): Do not allow.
45332 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
45334         [BZ #14132]
45335         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
45336         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
45337         * intl/dgettext.c (DCGETTEXT): Likewise.
45338         * intl/gettext.c (DCGETTEXT): Likewise.
45339         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
45340         * posix/regex_internal.h (gettext): Likewise.
45341         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
45342         Remove declaration.
45343         * include/argz.h (__argz_count_internal)
45344         (__argz_stringify_internal): Remove declaration.
45345         (__argz_count, __argz_stringify): Declare hidden proto.
45346         * intl/dcgettext.c: Remove use of INTDEF.
45347         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
45348         * string/argz-stringify.c: Likewise.
45349         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45350         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45351         Declare hidden proto.
45352         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
45353         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
45354         Declare hidden proto.
45355         * include/stdio.h (__asprintf_internal): Don't declare.
45356         (__asprintf): Don't define as macro.  Declare hidden proto.
45357         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
45358         (__fsetlocking): Declare hidden proto.
45359         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
45360         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
45361         hidden proto.
45362         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
45363         (_IO_setlinebuf): Remove use of INTUSE.
45364         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
45365         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
45366         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
45367         Remove declaration.
45368         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
45369         (_IO_do_flush): Remove use of INTUSE.
45370         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
45371         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
45372         (_IO_adjust_column, _IO_least_wmarker)
45373         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
45374         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
45375         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
45376         (_IO_default_doallocate, _IO_wdefault_doallocate)
45377         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
45378         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
45379         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
45380         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
45381         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
45382         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
45383         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
45384         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
45385         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
45386         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
45387         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
45388         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
45389         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
45390         proto.
45391         (_IO_flush_all_internal, _IO_adjust_column_internal)
45392         (_IO_default_uflow_internal, _IO_default_finish_internal)
45393         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
45394         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
45395         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
45396         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
45397         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
45398         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
45399         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
45400         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
45401         (_IO_file_close_internal, _IO_file_close_it_internal)
45402         (_IO_file_underflow_internal, _IO_file_overflow_internal)
45403         (_IO_file_init_internal, _IO_file_attach_internal)
45404         (_IO_file_fopen_internal, _IO_file_read_internal)
45405         (_IO_file_sync_internal, _IO_file_seek_internal)
45406         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
45407         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
45408         (_IO_str_underflow_internal, _IO_str_overflow_internal)
45409         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
45410         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
45411         (_IO_list_all_internal, _IO_link_in_internal)
45412         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
45413         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
45414         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
45415         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
45416         (_IO_do_write_internal, _IO_padn_internal)
45417         (_IO_getline_info_internal, _IO_getline_internal)
45418         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
45419         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
45420         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
45421         (_IO_vfscanf_internal, _IO_vfprintf_internal)
45422         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
45423         (_IO_init_internal, _IO_un_link_internal): Don't declare.
45424         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
45425         with libc_hidden_ver, remove use of INTUSE.
45426         * libio/genops.c: Likewise.
45427         * libio/freopen.c: Likewise.
45428         * libio/freopen64.c: Likewise.
45429         * libio/iofclose.c: Likewise.
45430         * libio/iofdopen.c: Likewise.
45431         * libio/iofflush.c: Likewise.
45432         * libio/iofflush_u.c: Likewise.
45433         * libio/iofgets.c: Likewise.
45434         * libio/iofgets_u.c: Likewise.
45435         * libio/iofopen.c: Likewise.
45436         * libio/iofopncook.c: Likewise.
45437         * libio/iofread.c: Likewise.
45438         * libio/iofread_u.c: Likewise.
45439         * libio/ioftell.c: Likewise.
45440         * libio/iofwrite.c: Likewise.
45441         * libio/iogetline.c: Likewise.
45442         * libio/iogets.c: Likewise.
45443         * libio/iogetwline.c: Likewise.
45444         * libio/iopadn.c: Likewise.
45445         * libio/iopopen.c: Likewise.
45446         * libio/ioseekoff.c: Likewise.
45447         * libio/ioseekpos.c: Likewise.
45448         * libio/iosetbuffer.c: Likewise.
45449         * libio/iosetvbuf.c: Likewise.
45450         * libio/ioungetc.c: Likewise.
45451         * libio/ioungetwc.c: Likewise.
45452         * libio/iovdprintf.c: Likewise.
45453         * libio/iovsprintf.c: Likewise.
45454         * libio/iovsscanf.c: Likewise.
45455         * libio/memstream.c: Likewise.
45456         * libio/obprintf.c: Likewise.
45457         * libio/oldfileops.c: Likewise.
45458         * libio/oldiofclose.c: Likewise.
45459         * libio/oldiofdopen.c: Likewise.
45460         * libio/oldiofopen.c: Likewise.
45461         * libio/oldiopopen.c: Likewise.
45462         * libio/oldstdfiles.c: Likewise.
45463         * libio/putc.c: Likewise.
45464         * libio/setbuf.c: Likewise.
45465         * libio/setlinebuf.c: Likewise.
45466         * libio/stdfiles.c: Likewise.
45467         * libio/strops.c: Likewise.
45468         * libio/vasprintf.c: Likewise.
45469         * libio/vscanf.c: Likewise.
45470         * libio/vsnprintf.c: Likewise.
45471         * libio/vswprintf.c: Likewise.
45472         * libio/wfiledoalloc.c: Likewise.
45473         * libio/wfileops.c: Likewise.
45474         * libio/wgenops.c: Likewise.
45475         * libio/wmemstream.c: Likewise.
45476         * libio/wstrops.c: Likewise.
45477         * libio/__fpurge.c: Likewise.
45478         * libio/__fsetlocking.c: Likewise.
45479         * assert/assert.c: Likewise.
45480         * debug/fgets_chk.c: Likewise.
45481         * debug/fgets_u_chk.c: Likewise.
45482         * debug/fread_chk.c: Likewise.
45483         * debug/fread_u_chk.c: Likewise.
45484         * debug/gets_chk.c: Likewise.
45485         * debug/obprintf_chk.c: Likewise.
45486         * debug/vasprintf_chk.c: Likewise.
45487         * debug/vdprintf_chk.c: Likewise.
45488         * debug/vsnprintf_chk.c: Likewise.
45489         * debug/vsprintf_chk.c: Likewise.
45490         * malloc/mtrace.c: Likewise.
45491         * misc/error.c: Likewise.
45492         * misc/syslog.c: Likewise.
45493         * stdio-common/asprintf.c: Likewise.
45494         * stdio-common/fxprintf.c: Likewise.
45495         * stdio-common/getw.c: Likewise.
45496         * stdio-common/isoc99_fscanf.c: Likewise.
45497         * stdio-common/isoc99_scanf.c: Likewise.
45498         * stdio-common/isoc99_vfscanf.c: Likewise.
45499         * stdio-common/isoc99_vscanf.c: Likewise.
45500         * stdio-common/isoc99_vsscanf.c: Likewise.
45501         * stdio-common/printf-prs.c: Likewise.
45502         * stdio-common/printf_fp.c: Likewise.
45503         * stdio-common/printf_fphex.c: Likewise.
45504         * stdio-common/printf_size.c: Likewise.
45505         * stdio-common/putw.c: Likewise.
45506         * stdio-common/scanf.c: Likewise.
45507         * stdio-common/sprintf.c: Likewise.
45508         * stdio-common/tmpfile.c: Likewise.
45509         * stdio-common/vfprintf.c: Likewise.
45510         * stdio-common/vfscanf.c: Likewise.
45511         * stdlib/strfmon_l.c: Likewise.
45512         * sunrpc/openchild.c: Likewise.
45513         * sunrpc/xdr_stdio.c: Likewise.
45514         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
45515         * sysdeps/mach/hurd/tmpfile.c: Likewise.
45517 2012-05-24  Roland McGrath  <roland@hack.frob.com>
45519         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45521         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
45522         in the third column, to generate for the shared library an IFUNC
45523         that uses _dl_vdso_vsym.
45524         * Makerules (COMPILE.c, compile-stdin.c): New variables.
45525         * Makeconfig (object-suffixes-noshared): New variable.
45527         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
45528         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
45529         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
45530         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
45532         [BZ #14132]
45533         * include/sys/time.h (__gettimeofday): Remove macro.
45534         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
45535         * time/gettimeofday.c (__gettimeofday): Remove #undef.
45536         Remove INTDEF.
45537         (__gettimeofday): Add libc_hidden_def.
45538         (gettimeofday): Add libc_hidden_weak.
45539         * sysdeps/mach/gettimeofday.c: Likewise.
45540         * sysdeps/posix/gettimeofday.c: Likewise.
45541         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
45542         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
45543         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
45544         (__gettimeofday_internal): Remove strong_alias.
45545         (__gettimeofday): Add libc_hidden_def.
45546         (gettimeofday): Add libc_hidden_weak.
45547         * sysdeps/unix/syscalls.list (gettimeofday):
45548         Remove __gettimeofday_internal alias.
45550 2012-05-24  Daniel Jacobowitz  <drow@false.org>
45551             H.J. Lu  <hongjiu.lu@intel.com>
45553         [BZ #12495]
45554         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
45555         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
45556         (largebin_index_32_big): New.
45557         (largebin_index): Use it for 16-byte alignment.
45558         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
45559         correction with front_misalign.
45561 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
45563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
45564         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
45565         Likewise.
45566         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
45567         Likewise.
45568         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
45569         Likewise.
45570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
45571         Likewise.
45572         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
45573         Likewise.
45574         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
45575         Likewise.
45576         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
45577         Likewise.
45578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
45579         Likewise.
45580         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
45581         Likewise.
45582         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
45583         Likewise.
45584         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
45585         Likewise.
45586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
45587         Likewise.
45589         * scripts/data/c++-types-x32-linux-gnu.data: New file.
45590         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
45592 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
45594         [BZ #10846]
45595         [BZ #14036]
45596         * math/libm-test.inc (exp_test): Add test from bug 14036.
45597         (pow_test): Add test from bug 10846.
45599         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
45600         and other flags.
45601         (special_function): Do not include flags in test name.
45602         (parse_args): Likewise.
45603         * sysdeps/i386/fpu/libm-test-ulps: Update.
45604         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45605         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45606         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45609         * math/gen-libm-test.pl (%beautify): Add entries for underflow
45610         exceptions.
45611         * math/libm-test.inc ("Philosophy"): Update comment about
45612         exception testing.
45613         (UNDERFLOW_EXCEPTION): New macro.
45614         (UNDERFLOW_EXCEPTION_OK): Likewise.
45615         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
45616         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
45617         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
45618         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
45619         (INVALID_EXCEPTION_OK): Update value.
45620         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45621         (OVERFLOW_EXCEPTION_OK): Likewise.
45622         (IGNORE_ZERO_INF_SIGN): Likewise.
45623         (test_exceptions): Handle underflow exceptions.
45624         (acos_test): Update for underflow exception expectations.
45625         (cexp_test): Likewise.
45626         (clog_test): Likewise.
45627         (clog10_test): Likewise.
45628         (csqrt_test): Likewise.
45629         (ctan_test): Likewise.
45630         (ctanh_test): Likewise.
45631         (exp_test): Likewise.
45632         (exp10_test): Likewise.
45633         (exp2_test): Likewise.
45634         (expm1_test): Likewise.
45635         (fma_test): Likewise.
45636         (j0_test): Likewise.
45637         (jn_test): Likewise.
45638         (nexttoward_test): Likewise.
45639         (pow_test): Likewise.
45640         (scalbn_test): Likewise.
45641         (scalbln_test): Likewise.
45642         (tan_test): Likewise.
45643         (y1_test): Likewise.
45644         * sysdeps/i386/fpu/libm-test-ulps: Update.
45645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45647 2012-05-23  David S. Miller  <davem@davemloft.net>
45649         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
45650         (__libc_sigaction): Remove unused local variables.
45652 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45654         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
45656 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
45658         mktime: avoid signed integer overflow
45659         * time/mktime.c (__mktime_internal): Do not mishandle the case
45660         where diff == INT_MIN.
45662         mktime: simplify computation of average
45663         * time/mktime.c (ranged_convert): Use new time_t_avg function
45664         instead of rolling our own (probably-slower) code.
45666         mktime: do not assume signed right shift propagates sign bit
45667         * time/mktime.c (isdst_differ): New static function.
45668         (__mktime_internal): No need to normalize tm_isdst now.
45669         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
45670         tm_isdst values.
45672         mktime: merge another wrapv change from gnulib
45673         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
45674         from some compilers.
45676         mktime: remove incorrect attempt at unusual arithmetics
45677         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
45678         The code didn't really work on such machines anyway.
45679         (TYPE_MINIMUM): Assume two's complement.
45680         (twos_complement_arithmetic): Verify that long_int and time_t
45681         are two's complement (or unsigned, in the latter case).
45683         mktime: check signed shifts on long_int and time_t, too
45684         * time/mktime.c (SHR): Check that shifts work as desired
45685         on the types long_int and time_t too, as SHR is used on
45686         such types.
45688         mktime: do not assume 'long' is wide enough
45689         * time/mktime.c (verify): Move decl up.
45690         (long_int): New type.
45691         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
45692         to remove assumption in the code that 'long' is wide enough to
45693         store year values.  This assumption is not true on x32 and on
45694         some non-glibc platforms.
45696         mktime: merge wrapv change from gnulib
45697         * time/mktime.c (WRAPV): New macro.
45698         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
45699         (guess_time_tm, __mktime_internal): Do not assume that signed
45700         integer overflow wraps around; modern compilers generate code
45701         where this assumption is no longer valid.
45703 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45705         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45706         Replace "jmp L(pseudo_end)" with "ret".
45707         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
45708         Likewise.
45710 2012-05-23  Andreas Jaeger  <aj@suse.de>
45712         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
45713         * sysdeps/unix/sysv/linux/poll.c: Remove file.
45715 2012-05-23  Andreas Jaeger  <aj@suse.de>
45716             Maximilian Attems  <max@stro.at>
45718         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
45719         New macros.
45721 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
45723         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
45724         code so that pseudo_end is just ret and the stack pointer is
45725         correct also for static library in error case.
45727 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
45729         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
45730         move to syscalls.list.
45731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45736         * manual/install.texi (Running make install): Do not mention Linux
45737         kernel version for which pt_chown is not needed.
45738         (Linux): Do not mention problems with nscd with 2.0 kernels.
45739         * INSTALL: Regenerated.
45741 2012-05-23  Andreas Jaeger  <aj@suse.de>
45743         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
45744         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
45745         macro.
45746         * sysdeps/unix/sysv/linux/s390/bits/mman.h
45747         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45748         * sysdeps/unix/sysv/linux/sh/bits/mman.h
45749         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45750         * sysdeps/unix/sysv/linux/i386/bits/mman.h
45751         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45752         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
45753         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45754         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
45755         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
45756         * sysdeps/unix/sysv/linux/bits/in.h
45757         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
45759 2012-05-22  Roland McGrath  <roland@hack.frob.com>
45761         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
45762         (PREPARE_VERSION): Just use assert instead, it will be elided
45763         under [NDEBUG] anyway.
45765 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45767         * sysdeps/unix/sysv/linux/Makefile: Include
45768         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
45769         (sysdep_routines): Remove sysctl.
45770         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
45771         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
45772         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
45773         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
45774         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
45776 2012-05-22  Andreas Jaeger  <aj@suse.de>
45778         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
45779         that pseudo_end is just ret and the stack pointer is correct also
45780         for static library in error case.
45782 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
45784         [BZ #14122]
45785         * nss/nsswitch.c (defconfig_entries): New variable.
45786         (__nss_database_lookup): Don't leak defconfig entries.
45787         (nss_parse_service_list): Don't leak on error paths.
45788         (free_database_entries): New function.
45789         (free_defconfig): New function.
45790         (free_mem): Move common code to free_database_entries.
45792 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45794         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
45795         Add arch_prctl.
45796         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
45798         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
45799         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
45800         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
45801         New macro.
45802         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
45803         (INTERNAL_SYSCALL_TYPES): Likewise.
45804         (LOAD_ARGS_TYPES_[1-6]): Likewise.
45805         (LOAD_REGS_TYPES_[1-6]): Likewise.
45806         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
45807         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
45809 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45811         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
45812         copysignl for GLIBC_2_0.
45813         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
45814         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
45815         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
45816         logbl for GLIBC_2_0.
45817         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
45818         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
45820 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45822         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
45823         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
45825         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
45826         Use "neg %eax".
45828         * time/mktime.c: Update copyright years.
45830 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
45832         mktime: merge comment-quoting-style change from gnulib
45833         * time/mktime.c: Quote 'like this' in comments.
45834         The GNU coding standards suggest that we no longer quote `like this',
45835         as "`" and "'" are typically rendered asymmetrically nowadays.
45836         The typical gnulib style is to quote 'like this' when quoting
45837         code, and "like this" when quoting English.
45839         * time/mktime.c (compile-command): Add "-I.".
45841         mktime: merge mktime-internal.h change from gnulib
45842         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
45844         mktime: merge time_r change from gnulib
45845         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
45847         mktime: merge DEBUG change from gnulib
45848         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
45849         case system <time.h> has a #define.
45851         mktime: merge <sys/types.h> change from gnulib
45852         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
45853         since <time.t> is now guaranteed to define time_t.
45855         mktime: merge HAVE_CONFIG_H change from gnulib
45856         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
45858 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
45860         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45861         Use "neg %eax".
45863         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
45864         __rlim_t cast.
45865         (struct rusage): Use anonymous union to pad each field to
45866         __syscall_slong_t.
45868 2012-05-21  David S. Miller  <davem@davemloft.net>
45870         * Makefules (o-iterator): Remove .s cases.
45871         (compile-command.s): Delete.
45872         (COMPILE.s): Delete.
45873         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
45875 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
45877         * configure.in (libc_cv_predef_stack_protector): Only consider
45878         "foobar" and "__stack_chk_fail" lines in libc_undefs.
45879         * configure: Regenerated.
45881 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
45884         New macro.  Use R*LP on int and pointer.
45885         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
45886         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
45887         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
45888         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
45890         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
45891         [__WORDSIZE_TIME64_COMPAT32] instead of
45892         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
45893         (struct utmp): Likewise.
45894         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
45895         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
45896         Renamed to ...
45897         (__WORDSIZE_TIME64_COMPAT32): This.
45898         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
45899         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
45900         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
45901         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
45902         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
45903         (__WORDSIZE_TIME64_COMPAT32): New macro.
45905 2012-05-21  Andreas Jaeger  <aj@suse.de>
45907         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
45908         only if [SHARED]. Add prototype for __wcschr_ia32.
45910 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45912         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
45913         of %rbp unmolested in the jmp_buf while mangling the low bits.
45914         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
45915         unmolested high bits of %rbp while demangling the low bits.
45916         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
45918 2012-05-21  Andreas Jaeger  <aj@suse.de>
45920         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
45921         * sunrpc/svc_simple.c: Use it for registerrpc.
45922         * sunrpc/xcrypt.c: Use it for passwd2des.
45924         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
45926 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45928         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
45929         Don't define if [__SYSCALL_WORDSIZE != 32].
45930         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
45931         New macro.
45933 2012-05-21  Bruno Haible  <bruno@clisp.org>
45934             Andreas Jaeger  <aj@suse.de>
45936         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
45937         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
45938         inptr and inend for must_buffer_ch.
45939         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
45940         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
45941         * stdio-common/Makefile (tests): Remove bug15.
45942         (bug15-ENV): Remove macro.
45943         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
45944         anymore.
45946 2012-05-19  Andreas Jaeger  <aj@suse.de>
45947             Roland McGrath  <roland@hack.frob.com>
45949         * manual/contrib.texi: Completely rewritten. It contains now an
45950         alphabetical list of contributors and their contributions.
45952 2012-05-21  Richard Henderson  <rth@twiddle.net>
45954         * misc/getauxval.c (__getauxval): Use unsigned long int.
45955         * misc/sys/auxv.h: Include <sys/cdefs.h>.
45956         (getauxval): Use unsigned long int.
45958 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
45960         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
45962 2012-05-21  Roland McGrath  <roland@hack.frob.com>
45964         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
45965         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
45966         __alignof__ (long double).
45968 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45972 2012-05-20  Richard Henderson  <rth@twiddle.net>
45974         * misc/getauxval.c: New file.
45975         * misc/sys/auxv.h: New file.
45976         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
45977         (routines): Add getauxval.
45978         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
45979         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
45980         * elf/dl-sysdep.c (_dl_auxv): Remove.
45981         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
45982         * elf/dl-support.c (_dl_auxv): New variable.
45983         (_dl_aux_init): Initialize it.
45984         * manual/startup.texi (Auxiliary Vector): New node.
45985         * sysdeps/generic/bits/hwcap.h: New file.
45986         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
45987         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
45988         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
45989         * sysdeps/sparc/sysdep.h: ... here.  Include it.
45990         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
45991         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
45992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
45993         Update.
45994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
45995         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
45996         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
45997         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
45998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
45999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
46000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
46001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
46003 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46007 2012-05-19  David S. Miller  <davem@davemloft.net>
46009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46011 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46013         [BZ #14123]
46014         * math/s_ccosh.c: Include <float.h>
46015         (__ccosh): Avoid internal overflow calculating sinh and cosh
46016         values before multiplying by sin and cos values.
46017         * math/s_ccoshf.c: Likewise.
46018         * math/s_ccoshl.c: Likewise.
46019         * math/s_csin.c: Likewise.
46020         * math/s_csinf.c: Likewise.
46021         * math/s_csinl.c: Likewise.
46022         * math/s_csinh.c: Likewise.
46023         * math/s_csinhf.c: Likewise.
46024         * math/s_csinhl.c: Likewise.
46025         * math/libm-test.inc (ccos_test): Add more tests.
46026         (ccosh_test): Likewise.
46027         (csin_test): Likewise.
46028         (csinh_test): Likewise.
46029         * sysdeps/i386/fpu/libm-test-ulps: Update.
46030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46032 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
46034         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
46035         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
46037         * sysdeps/x86_64/x32/_itoa.h: Add comment.
46039 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
46041         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
46042         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
46043         * sysdeps/powerpc/soft-fp/Versions: Likewise.
46044         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
46045         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
46046         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
46047         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
46048         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
46049         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
46050         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
46051         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
46052         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
46053         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
46054         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
46055         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
46056         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
46057         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
46058         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
46059         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
46060         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
46061         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
46062         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
46063         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
46064         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
46065         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
46066         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
46067         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
46068         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
46069         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
46070         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
46071         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
46073 2012-05-18  Andreas Jaeger  <aj@suse.de>
46075         * csu/.gitignore: Delete.
46077 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46079         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
46080         (timex): Use __syscall_slong_t.
46082 2012-05-18  Andreas Jaeger  <aj@suse.de>
46083             Carlos O'Donell  <carlos_odonell@mentor.com>
46085         * manual/install.texi (Configuring and compiling): Update
46086         description about files modified in the source directory.
46087         * INSTALL: Regenerated.
46089 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46091         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
46092         value.  Use "or" to set return value to -1.
46093         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
46094         negate return value.
46096 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46098         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
46099         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
46100         failure if the compiler has Graphite support disabled.
46101         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
46102         Likewise.
46103         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
46104         (CFLAGS-memmove.c): Likewise.
46105         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
46106         Likewise.
46108 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
46110         * sysdeps/x86_64/x32/_itoa.h: New file.
46112         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
46113         getdents system call only if kernel and user dirents have the
46114         same d_ino and d_off.
46116         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46117         LLONG_MAX != LONG_MAX.
46118         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46119         (_fitoa_word): Likewise.
46121         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
46122         years.
46123         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
46124         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
46125         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
46127         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
46128         include <bits/wordsize.h>.  Check __x86_64__ instead of
46129         __WORDSIZE.
46130         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
46131         if __x86_64__ is defined.  Use anonymous union on fpstate.
46133         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
46134         anonymous union.
46136 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
46138         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
46139         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
46140         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
46141         Refer to _rtld_local_ro instead of _rtld_global_ro.
46142         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
46143         Likewise.
46144         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
46145         Likewise.
46146         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
46147         Likewise.
46148         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
46149         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
46150         of _rtld_global, and rtld_progname instead of _dl_argv[0].
46152         * sysdeps/powerpc/powerpc32/dl-machine.c
46153         (__elf_machine_runtime_setup) [PROF]: Don't reference
46154         _dl_prof_resolve.
46156 2012-05-18  Andreas Jaeger  <aj@suse.de>
46158         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
46159         function only available for GCCs before 3.4 since GCC 3.4
46160         introduced a builtin.
46161         (lrint): Likewise.
46162         (llrintf): Likewise.
46163         (llrint): Likewise.
46164         (fmaxf): Likewise.
46165         (fmax): Likewise.
46166         (fminf): Likewise.
46167         (fmin): Likewise.
46168         (rint): Likewise.
46169         (rintf): Likewise.
46170         (nearbyint): Likewise.
46171         (nearbyintf): Likewise.
46172         (ceil): Likewise.
46173         (ceilf): Likewise.
46174         (floor): Likewise.
46175         (floorf): Likewise.
46177 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46179         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
46180         on both fields and cast pointer to __syscall_ulong_t.
46182         * bits/types.h (__fsword_t): New type.
46183         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
46184         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
46185         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46186         (__FSWORD_T_TYPE): Likewise.
46187         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46188         (__FSWORD_T_TYPE): Likewise.
46189         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46190         (__FSWORD_T_TYPE): Likewise.
46191         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
46192         (__FSWORD_T_TYPE): Likewise.
46193         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
46194         __SWORD_TYPE with __fsword_t.
46195         (statfs64): Likewise.
46197 2012-05-17  David S. Miller  <davem@davemloft.net>
46199         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
46201 2012-05-17  Andreas Jaeger  <aj@suse.de>
46203         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
46204         warning.
46206 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46208         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
46210 2012-05-17  Andreas Jaeger  <aj@suse.de>
46212         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
46213         when it is used.
46215 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46217         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
46219 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
46221         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
46222         * sysdeps/x86_64/tst-mallocalign1.c: New file.
46224 2012-05-17  Andreas Jaeger  <aj@suse.de>
46225             Carlos O'Donell  <carlos_odonell@mentor.com>
46227         [BZ #14059]
46228         * sysdeps/x86_64/multiarch/init-arch.h
46229         (bit_YMM_Usable): Rename to...
46230         (bit_AVX_Usable): ... this.
46231         (bit_FMA4_Usable): New macro.
46232         (bit_XMM_state): New macro.
46233         (bit_YMM_state): New macro.
46234         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
46235         [__ASSEMBLER__] (index_AVX_Usable): ... this.
46236         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
46237         (CPUID_OSXSAVE): New macro.
46238         (CPUID_AVX): New macro.
46239         (CPUID_FMA4): New macro.
46240         (index_YMM_Usable): Rename to...
46241         (index_AVX_Usable): ... this.
46242         (HAS_AVX): Use HAS_ARCH_FEATURE.
46243         (HAS_FMA4): Likewise.
46244         (HAS_YMM_USABLE): Remove.
46245         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46246         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
46247         are present.
46248         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
46249         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
46250         * sysdeps/x86_64/multiarch/Makefile: Likewise.
46251         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
46252         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
46254 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
46256         * math/libm-test.c: Support platforms without multiple rounding modes.
46257         * math/bug-nextafter.c: Support platforms without FP exceptions.
46258         * math/bug-nexttoward.c: Likewise.
46259         * math/test-fenv.c: Likewise.
46260         * math/test-misc.c: Likewise.
46261         * stdlib/bug-getcontext.c: Likewise.
46263 2012-05-17  Andreas Jaeger  <aj@suse.de>
46265         * manual/examples/search.c (critter_cmp): Change signature to
46266         avoid warnings.
46267         * manual/string.texi (Collation Functions): Likewise.
46269 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46271         * bits/types.h: Fold copyright years.
46272         * bits/typesizes.h: Likewise.
46273         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
46274         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
46275         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
46276         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
46277         * time/time.h: Likewise.
46279 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
46281         [BZ #208]
46282         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
46283         in instead of returning them.  Return void.
46284         (__libc_mallinfo): Accumulate over all arenas.
46285         (__malloc_stats): Adjust for change in int_mallinfo interface.
46287 2012-05-16  Roland McGrath  <roland@hack.frob.com>
46289         [BZ #10375]
46290         * configure.in (NM): Add AC_CHECK_TOOL for it.
46291         (libc_extra_cflags): New substituted variable.
46292         Check for -fstack-protector being used implicitly.
46293         * configure: Regenerated.
46294         * config.make.in (config-extra-cflags): New variable,
46295         gets @libc_extra_cflags@.
46296         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
46298         [BZ #10375]
46299         * configure.in: Check for _FORTIFY_SOURCE being predefined.
46300         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
46301         * configure: Regenerated.
46302         * config.make.in (CPPUNDEFS): New substituted variable.
46303         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
46304         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
46305         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
46307 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46309         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
46310         (mq_attr): Use __syscall_slong_t.
46312 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46314         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
46315         Check __x86_64__ instead of __WORDSIZE.
46316         (_STAT_VER_LINUX): Likewise.
46317         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
46318         __syscall_ulong_t and __syscall_slong_t.
46319         (stat64): Likewise.
46321 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46323         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
46325 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46327         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
46329 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46331         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
46332         __syscall_ulong_t.
46334         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
46335         include <bits/wordsize.h>.  Check __x86_64__ instead of
46336         __WORDSIZE.
46337         (greg_t): Use "__extension__ long long int" if __x86_64__ is
46338         defined.
46339         (mcontext_t): Replace "unsigned long" with "unsigned long long".
46341         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
46342         include <bits/wordsize.h>.  Check __x86_64__ instead of
46343         __WORDSIZE.
46344         (user_regs_struct): Use "__extension__ unsigned long long"
46345         instead of "unsigned long" if __x86_64__ is defined.
46346         (user): Likewise.  Pad after pointer field if __ILP32__ is
46347         defined.
46349 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
46351         * configure.in (makeinfo): Require version 4.5 or later.  Allow
46352         versions 5 to 9.
46353         * configure: Regenerated.
46354         * manual/install.texi (texinfo): Increase version requirement to
46355         4.5 or later.
46356         * INSTALL: Regenerated.
46358         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
46360 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
46362         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
46364         * sysdeps/x86_64/x32/ffs.c: New file.
46366         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
46367         __syscall_ulong_t.
46368         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
46369         defined.  Use __syscall_ulong_t.
46370         (shminfo): Use __syscall_ulong_t.
46371         (shm_info): Likewise.
46373         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
46374         __syscall_ulong_t.
46376         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
46377         <bits/wordsize.h>.
46378         (msgqnum_t): Use __syscall_ulong_t.
46379         (msglen_t): Likewise.
46380         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
46381         __syscall_ulong_t.
46383         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
46384         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46386         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
46388         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
46389         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
46391         * sysvipc/sys/msg.h (msgbuf): Replace long int with
46392         __syscall_slong_t.
46394         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
46395         include <bits/wordsize.h>.  Check __x86_64__ instead of
46396         __WORDSIZE.
46398         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
46399         "unsigned long long int" if __x86_64__ is defined.
46400         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
46402         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
46403         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
46404         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
46406         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
46407         <stdint.h>.
46408         (GET_PC): Cast to uintptr_t first.
46409         (GET_FRAME): Likewise.
46410         (GET_STACK): Likewise.
46412         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
46413         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
46414         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
46415         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
46416         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
46417         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
46418         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
46419         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
46420         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
46421         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
46422         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
46423         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
46424         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
46425         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
46426         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
46427         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
46428         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
46429         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
46430         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
46431         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
46432         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
46433         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
46434         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
46435         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
46436         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
46437         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
46438         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
46439         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
46440         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
46442 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
46444         * Makerules (+depfiles): Also collect depfiles from .oS in
46445         $(extra-objs).
46446         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
46447         .oS, $(libnldbl-routines)).
46449         * Makerules (native-compile-mkdep-flags): Define.
46450         * sunrpc/Makefile (extra-objs): Add $(addprefix
46451         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
46452         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
46453         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
46454         calling $(make-target-directory).
46456 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46458         * bits/types.h (__snseconds_t): Removed.
46459         * time/time.h (struct timespec): Replace __snseconds_t with
46460         __syscall_slong_t.
46461         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
46462         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
46463         Likewise.
46464         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46465         (__SNSECONDS_T_TYPE): Likewise.
46466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46467         (__SNSECONDS_T_TYPE): Likewise.
46468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46469         (__SNSECONDS_T_TYPE): Likewise.
46471 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46473         * sysdeps/mach/hurd/bits/typesizes.h
46474         (__SYSCALL_SLONG_TYPE): New macro.
46475         (__SYSCALL_ULONG_TYPE): Likewise.
46477 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46479         * bits/types.h (__syscall_slong_t): New type.
46480         (__syscall_ulong_t): Likewise.
46482         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
46483         (__SYSCALL_ULONG_TYPE): Likewise.
46484         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
46485         (__SYSCALL_SLONG_TYPE): Likewise.
46486         (__SYSCALL_ULONG_TYPE): Likewise.
46487         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
46488         (__SYSCALL_SLONG_TYPE): Likewise.
46489         (__SYSCALL_ULONG_TYPE): Likewise.
46490         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
46491         (__SYSCALL_SLONG_TYPE): Likewise.
46492         (__SYSCALL_ULONG_TYPE): Likewise.
46494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46496         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
46497         Add sigaltstack-offsets.sym.
46498         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
46499         <sigaltstack-offsets.h>.
46500         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
46501         longjmp_msg pointer.
46502         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
46503         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
46504         signal stack.
46505         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
46507 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46509         * elf/stackguard-macros.h: Remove file.
46510         * sysdeps/generic/stackguard-macros.h: New file.
46511         * sysdeps/i386/stackguard-macros.h: Likewise.
46512         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46513         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46514         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46515         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46516         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46517         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46518         * sysdeps/x86_64/stackguard-macros.h: Likewise.
46519         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
46520         <elf/stackguard-macros.h>.
46522         [BZ #14109]
46523         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
46524         __aligned__ in attribute.
46525         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
46526         (gregset_t): Likewise.
46528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46530         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
46531         * sysdeps/x86_64/64/Implies-after: Here.  New file.
46532         * sysdeps/x86_64/x32/Implies-after: New file.
46534 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46536         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
46537         and access return value for _dl_profile_fixup.  Use R10_LP to
46538         load frame size.
46540 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46542         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
46544 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46546         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
46547         * sysdeps/x86_64/x32/sysdep.h: New file.
46549 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46551         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
46552         * sysdeps/x86_64/setjmp.S: Likewise.
46554 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46556         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
46557         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
46558         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
46559         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
46560         remove unused global constant.
46562 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
46564         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
46565         include of <not-cancel.h>.
46567 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46569         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
46571 2012-05-15  Jeff Law  <law@redhat.com>
46572             Andreas Jaeger  <aj@suse.de>
46574         [BZ #13594]
46575         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
46576         out from...
46577         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
46578         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
46579         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
46580         code changing __hst_map_handle.map.
46582 2012-05-15  Roland McGrath  <roland@hack.frob.com>
46584         * configure.in (sysnames): Look for Implies-before and Implies-after
46585         files.
46586         * configure: Regenerated.
46588 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46590         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
46591         8-byte data alignment with LP_SIZE alignment.
46593 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46595         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
46596         into R10_LP.
46598 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46600         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
46602 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46604         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
46605         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
46606         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
46607         Likewise.
46608         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
46610 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46612         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
46613         (stackinfo_sub_sp): Likewise.
46615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46617         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
46618         RAX_LP.
46620 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46622         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
46623         into R*_LP.
46625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46627         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
46628         sizes into R*_LP.
46630 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46632         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
46634 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46636         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
46637         into R11_LP and load __x86_64_shared_cache_size_half into
46638         R8_LP.
46640 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
46642         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
46643         R8_LP.
46645 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46647         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
46648         logb for POWER7.
46649         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
46650         logbf for POWER7.
46651         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
46652         logbl for POWER7.
46653         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
46654         powerpc32/power7/fpu/s_logb.c via #include.
46655         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
46656         powerpc32/power7/fpu/s_logbf.c via #include.
46657         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
46658         powerpc32/power7/fpu/s_logbl.c via #include.
46660 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
46662         * README.libm: Remove file.
46664 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46666         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
46667         count for x32.  Use R*_LP and omit operand-size suffix.
46669 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46671         * shlib-versions: Move x86_64-.*-linux.* entries to ...
46672         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
46673         * sysdeps/x86_64/x32/shlib-versions: New file.
46675 2012-05-14  Roland McGrath  <roland@hack.frob.com>
46677         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
46678         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
46679         Use _dl_fatal_printf instead.
46681 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46683         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
46684         set if not set by the user.  Do not allow for being unset.
46685         * sysdeps/unix/sysv/linux/configure: Regenerated.
46687 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46689         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
46690         the `q' suffix from lea and replace .quad with ASM_ADDR.
46692 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46694         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
46695         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
46696         instead of $17.
46697         (PTR_DEMANGLE): Likewise.
46699 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46701         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
46702         (LP_OP): Likewise.
46703         (ASM_ADDR): Likewise.
46704         (RAX_LP): Likewise.
46705         (RBP_LP): Likewise.
46706         (RBX_LP): Likewise.
46707         (RCX_LP): Likewise.
46708         (RDI_LP): Likewise.
46709         (RSI_LP): Likewise.
46710         (RSP_LP): Likewise.
46711         (R8_LP): Likewise.
46712         (R9_LP): Likewise.
46713         (R10_LP): Likewise.
46714         (R10_LP): Likewise.
46715         (R11_LP): Likewise.
46716         (R12_LP): Likewise.
46717         (R13_LP): Likewise.
46718         (R14_LP): Likewise.
46719         (R15_LP): Likewise.
46721 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46723         * sysdeps/x86_64/x32/dl-machine.h: New file.
46725 2012-05-14  Andreas Jaeger  <aj@suse.de>
46727         * manual/Makefile (subdir): Remove export of subdir.
46728         (all): Remove target.
46729         (.PHONY): Remove all from list.
46730         (mkinstalldirs): Remove.
46731         (.PHONY): Remove installdirs from list.
46732         ($(inst_infodir)/libc.info): Use make-target-directory.
46733         (installdirs): Remove.
46734         (subdir_%): Remove.
46735         (glibc-targets): Remove.
46736         (lib): Remove.
46737         (stubs): Remove.
46738         ($(objpfx)stubs ../po/manual.pot): Remove.
46739         ($(objpfx)stamp%): Remove.
46740         (make-target-directory): Remove.
46741         (subdir_install): Remove.
46742         (routines): Remove.
46743         (aux): Remove.
46744         (sources): Remove.
46745         (objects): Remove.
46746         (headers): Remove.
46748         [BZ #13750]
46749         * manual/.gitignore: Remove, it's not needed anymore.
46750         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
46751         all files in it.
46752         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
46753         directory.
46754         (texis): Renamed to $(objpfx)texis.
46755         (texis-path): New, contains path to generated files.
46756         (chapters.%): Use texis-path for complete path, add extra argument
46757         libc-texinfo.sh.
46758         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
46759         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
46760         (summary,texi, stamp-summary): Use complete path of
46761         files. Generate files in build dir.
46762         (dir-add.texi): Build in build dir.
46763         (libm-err.texi,stamp-libm-err): Likewise.
46764         (version.texi, stamp-version): Likewise.
46765         (.%c.texi): Likewise.
46766         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
46767         (mostlyclean): Remove target.
46768         (realclean): Remove target.
46769         (generated): Add new variable with contents from mostlyclean and
46770         realclean, remove entries duplicated in common-mostlyclean, add
46771         stamp-libm-err and stamp-version.
46772         (generated-dirs): Add libc directory.
46773         ($(inst_infodir)/libc.info): Install files from build dir.
46775         * manual/install.texi (Configuring and compiling): Adjust since
46776         the info files are not part of the tar ball anymore.
46778 2012-05-14  Andreas Jaeger  <aj@suse.de>
46780         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
46781         variable.
46783 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
46785         [BZ #13717]
46786         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
46787         to 2.2.0 where earlier.
46788         * sysdeps/unix/sysv/linux/configure: Regenerated.
46789         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
46790         Remove conditional code.
46791         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
46792         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
46793         Remove conditional code.
46794         [!__NR_lchown]: Likewise.
46795         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46796         [__NR_lchown]: Likewise.
46797         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
46798         comment referencing __ASSUME_LCHOWN_SYSCALL.
46799         * sysdeps/unix/sysv/linux/i386/sigaction.c
46800         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46801         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46802         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
46803         Remove conditional code.
46804         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
46805         (__protocol_available): Remove #if 0 code.
46806         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
46807         conditional code.
46808         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
46809         * sysdeps/unix/sysv/linux/kernel-features.h
46810         (__ASSUME_GETCWD_SYSCALL): Don't define.
46811         (__ASSUME_REALTIME_SIGNALS): Likewise.
46812         (__ASSUME_PREAD_SYSCALL): Likewise.
46813         (__ASSUME_PWRITE_SYSCALL): Likewise.
46814         (__ASSUME_POLL_SYSCALL): Likewise.
46815         (__ASSUME_LCHOWN_SYSCALL): Likewise.
46816         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
46817         non-SPARC.
46818         (__ASSUME_SIOCGIFNAME): Don't define.
46819         (__ASSUME_MSG_NOSIGNAL): Likewise.
46820         (__ASSUME_SENDFILE): Define unconditionally.
46821         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
46822         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
46823         conditional code.
46824         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
46825         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
46826         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46827         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46828         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
46829         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
46830         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
46831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
46832         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46833         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
46835         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46836         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
46838         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46839         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
46841         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46842         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
46844         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46845         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
46847         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
46848         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
46850         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46851         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
46853         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46854         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46855         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
46856         Remove conditional code.
46857         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46858         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46859         Remove conditional code.
46860         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46861         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
46862         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
46863         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46864         Remove conditional code.
46865         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46866         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
46867         Remove conditional code.
46868         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46869         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
46870         Remove conditional code.
46871         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46872         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
46873         Remove conditional code.
46874         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
46875         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
46876         Remove conditional code.
46877         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46878         * sysdeps/unix/sysv/linux/sh/pwrite64.c
46879         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
46880         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
46881         * sysdeps/unix/sysv/linux/sigaction.c
46882         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46883         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46884         * sysdeps/unix/sysv/linux/sigpending.c
46885         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46886         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46887         * sysdeps/unix/sysv/linux/sigprocmask.c
46888         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46889         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46890         * sysdeps/unix/sysv/linux/sigsuspend.c
46891         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
46892         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
46893         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
46894         (__libc_missing_rt_sigs): Remove.
46895         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
46896         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
46897         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
46898         Remove conditional code.
46899         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
46900         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
46901         return 1.
46902         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
46903         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
46904         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
46905         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
46907 2012-05-14  Andreas Jaeger  <aj@suse.de>
46909         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
46910         it's not used in glibc.
46911         (__coshm1): Likewise.
46912         (__acosh1p): Likewise.
46913         (__sgn): Likewise.
46915         * manual/string.texi (Copying and Concatenation): Add missing
46916         variable in concat example.
46917         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
46919 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46921         [BZ #14103]
46922         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
46923         __builtin_clzl with __builtin_clzll.
46925 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
46927         [BZ #14104]
46928         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
46929         libc_freeres_ptr.
46931 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46933         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
46934         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
46935         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
46936         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
46938 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
46940         * NEWS: Update ia64 info.
46942 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
46944         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
46945         used as bcopy.
46947 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
46949         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
46950         * sysdeps/unix/syscalls.list (dup3): Likewise.
46951         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
46952         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
46954 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46956         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
46957         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
46959 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
46961         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
46962         thread pointer.
46963         (TLS_IE): Use mov/add instead of movq/addq to load thread
46964         pointer.
46965         (TLS_GD_PREFIX): New.
46966         (TLS_GD): Use it.
46968 2012-05-11  David S. Miller  <davem@davemloft.net>
46970         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
46971         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
46972         (_FPU_SETCW): Likewise.
46974 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46976         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
46977         is 32-byte aligned.
46979 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
46981         [BZ #11837]
46982         * iconvdata/gb18030.c: Update tables.
46983         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
46984         characters specially.
46985         (BODY for TO_LOOP): Add encoding of missing ranges.
46987 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
46989         [BZ #13673]
46990         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
46991         * sysdeps/mach/hurd/dup3.c: Likewise.
46992         * sysdeps/mach/hurd/readlinkat.c: Likewise.
46993         * sysdeps/powerpc/memmove.c:: Likewise.
46995 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
46997         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
46998         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
47000 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47002         * elf/elf.h (R_X86_64_RELATIVE64): New.
47003         (R_X86_64_NUM): Updated.
47004         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
47005         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
47006         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
47007         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
47008         tst-quad1pie tst-quad2pie
47009         (modules-names): Add tst-quadmod1 tst-quadmod2.
47010         ($(objpfx)tst-quad1): New dependency.
47011         ($(objpfx)tst-quad2): Likewise.
47012         ($(objpfx)tst-quad1pie): Likewise.
47013         ($(objpfx)tst-quad2pie): Likewise.
47014         * sysdeps/x86_64/tst-quad1.c: New file.
47015         * sysdeps/x86_64/tst-quad1pie.c: New file.
47016         * sysdeps/x86_64/tst-quad2.c: Likewise.
47017         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
47018         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
47019         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
47020         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
47021         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
47023 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47025         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
47026         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
47027         * streams/stropts.h (t_scalar_t): Define type.
47029         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
47030         (_PATH_PRESERVE): Set to "/var/lib".
47031         (_PATH_RWHODIR): Set to "/var/spool/rwho".
47033         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
47034         instead of int.
47036         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
47037         if __dir_mkfile succeeded.
47039         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
47040         checking for _hurd_dtablesize.  Unlock it right after having
47041         finished _hurd_dtable allocation.
47043 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47045         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
47046         * sysdeps/mach/hurd/configure: Regenerated.
47047         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
47048         special-casing to...
47049         * sysdeps/gnu/configure.in: ... this new file.
47050         * sysdeps/unix/sysv/linux/configure: Regenerated.
47051         * sysdeps/gnu/configure: New generated file.
47053         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
47054         for Linux: use nsec instead of usec, as well as:
47055         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
47056         members of type struct timespec.
47057         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
47058         New macros.
47059         (struct stat64): Likewise.
47060         (_STATBUF_ST_NSEC): New macro.
47061         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
47063         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
47064         __strtoul_internal rather than strtoul.
47066 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47068         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
47069         and reject them.
47071 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47073         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
47074         which preserves existing values.
47075         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
47077 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47079         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
47080         TIMEOUT values.  Return EINVAL for NFDS values either negative or
47081         greater than FD_SETSIZE.
47083 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47085         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
47086         allocated, call __vm_protect to finish enabling the existing space, and
47087         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
47088         allocate the remainder.
47090 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47092         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
47093         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
47095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47097         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
47098         sysdeps/mach/hurd/readlink.c.
47100         * posix/tst-sysconf.c (posix_options): Only use
47101         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
47102         _POSIX_SYNCHRONIZED_IO when they are defined
47103         * sysdeps/mach/hurd/bits/posix_opt.h:
47104         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
47105         (_XOPEN_REALTIME): Undefine macro.
47106         (_XOPEN_REALTIME_THREADS): Undefine macro.
47107         (_XOPEN_SHM): Undefine macro.
47108         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
47109         macro to -1.
47110         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
47111         macro to -1.
47112         (_POSIX_ASYNC_IO): Undefine macro.
47113         (_POSIX_PRIORITIZED_IO): Undefine macro.
47114         (_POSIX_SPIN_LOCKS): Define macro to -1.
47116         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
47117         SA_NODEFER, SA_RESETHAND.
47118         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
47119         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
47120         F_DUPFD_CLOEXEC.
47122 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47124         * elf/Makefile (pldd-modules): Define unconditionally.
47126 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47128         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
47130 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47132         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
47133         Return ENOENT when name is empty.
47134         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
47136 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47138         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
47140         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
47142 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47144         Fix mlock in all cases except non-readable pages.
47145         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
47146         instead of VM_PROT_ALL as parameter to __vm_wire function.
47148         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
47149         (__mkdir): When path is `/', just fail with EEXIST.
47150         * sysdeps/mach/hurd/mkdirat.c: Likewise.
47152 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47154         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
47155         <sys/uio.h> (for writev).
47156         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
47157         and <sys/param.h> (for MIN).
47159 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
47161         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
47162         REQUESTED_TIME.  Properly set the remaining time and return EINTR
47163         if interrupted.
47165 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47167         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
47168         Depend on against $(link-rpcuserlibs).
47170 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47172         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
47173         (__libc_stack_end): Do not use attribute_relro.
47174         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
47175         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
47176         to libthread-provided value.
47177         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
47178         attribute_relro.
47180 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47182         [BZ #3748]
47183         * bits/libc-lock.h (__libc_once_get): New macro.
47184         * sysdeps/mach/bits/libc-lock.h: Likewise.
47185         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
47186         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
47187         instead of using implementation details.
47189         * libio/fileops.c: Unconditionally include <kernel-features.h>.
47190         * libio/freopen.c: Likewise.
47191         * libio/freopen64.c: Likewise.
47192         * misc/syslog.c: Likewise.
47193         * nscd/connections.c: Likewise.
47194         * nscd/netgroupcache.c: Likewise.
47195         * sysdeps/posix/getcwd.c: Likewise.
47197 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47199         * math/w_ilogbf.c: Add #include <limits.h>.
47201 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47203         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
47204         path instead of returning without unlocking.
47206         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
47207         immediate-write ioctls.
47208         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
47210 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47212         * sysdeps/mach/hurd/i386/init-first.c (init): Use
47213         __builtin_frame_address instead of making assumptions about the
47214         location of the return address relative to DATA.  Force early load of
47215         the return address.
47216         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
47217         __builtin_frame_address.
47219         dup3 for GNU Hurd.
47220         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
47221         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
47222         implement dup3 and do some further code clean-ups.
47223         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
47224         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
47226 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47228         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
47230         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
47231         HURD_CRITICAL_END around holding _hurd_dtable_lock.
47232         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
47233         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
47234         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
47235         d->port.lock.
47237         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
47238         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
47239         when handler == SIG_ERR, not when handler != SIG_ERR.
47241 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47243         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
47244         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
47245         definitions.
47247         accept4 for GNU Hurd.
47248         * include/sys/socket.h (__libc_accept4): New prototype.
47249         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
47250         to implement __libc_accept4.
47251         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
47252         __libc_accept4.
47253         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
47255         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
47256         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
47257         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
47258         signal-defines.sym.
47260 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47262         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
47264 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
47266         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
47267         assertion on O_CLOEXEC flag.
47268         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
47269         * hurd/intern-fd.c: Likewise.
47270         * hurd/port2fd.c: Likewise.
47272 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47274         [BZ #3906]
47275         * bits/in.h (IPV6_PKTINFO): Define new macro.
47276         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
47278 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47280         [BZ #13954]
47281         [BZ #13955]
47282         [BZ #13956]
47283         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
47284         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47285         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
47286         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
47287         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47288         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
47289         * math/libm-test.inc (logb_test) : Additional logb tests.
47291 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
47292             Andreas Jaeger  <aj@suse.de>
47294         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
47295         * configure: Regenerated.
47296         * config.h.in (LINK_OBSOLETE_RPC): New macro.
47297         * config.make.in (link-obsolete-rpc): New substituted variable.
47298         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
47299         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
47300         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47301         (shared-only-routines): Don't set it under [link-obsolete-rpc],
47302         so that libc.a contains the symbols.
47303         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
47304         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
47305         * sunrpc/auth_none.c: Likewise.
47306         * sunrpc/auth_unix.c: Likewise.
47307         * sunrpc/authdes_prot.c: Likewise.
47308         * sunrpc/authuxprot.c: Likewise.
47309         * sunrpc/clnt_gen.c: Likewise.
47310         * sunrpc/clnt_perr.c: Likewise.
47311         * sunrpc/clnt_raw.c: Likewise.
47312         * sunrpc/clnt_simp.c: Likewise.
47313         * sunrpc/clnt_tcp.c: Likewise.
47314         * sunrpc/clnt_udp.c: Likewise.
47315         * sunrpc/clnt_unix.c: Likewise.
47316         * sunrpc/des_crypt.c: Likewise.
47317         * sunrpc/des_soft.c: Likewise.
47318         * sunrpc/get_myaddr.c: Likewise.
47319         * sunrpc/key_call.c: Likewise.
47320         * sunrpc/key_prot.c: Likewise.
47321         * sunrpc/netname.c: Likewise.
47322         * sunrpc/pm_getmaps.c: Likewise.
47323         * sunrpc/pm_getport.c: Likewise.
47324         * sunrpc/pmap_clnt.c: Likewise.
47325         * sunrpc/pmap_prot.c: Likewise.
47326         * sunrpc/pmap_prot2.c: Likewise.
47327         * sunrpc/pmap_rmt.c: Likewise.
47328         * sunrpc/publickey.c: Likewise.
47329         * sunrpc/rpc_cmsg.c: Likewise.
47330         * sunrpc/rpc_common.c: Likewise.
47331         * sunrpc/rpc_dtable.c: Likewise.
47332         * sunrpc/rpc_prot.c: Likewise.
47333         * sunrpc/rpc_thread.c: Likewise.
47334         * sunrpc/rtime.c: Likewise.
47335         * sunrpc/svc.c: Likewise.
47336         * sunrpc/svc_auth.c: Likewise.
47337         * sunrpc/svc_raw.c: Likewise.
47338         * sunrpc/svc_run.c: Likewise.
47339         * sunrpc/svc_tcp.c: Likewise.
47340         * sunrpc/svc_udp.c: Likewise.
47341         * sunrpc/svc_unix.c: Likewise.
47342         * sunrpc/svcauth_des.c: Likewise.
47343         * sunrpc/xcrypt.c: Likewise.
47344         * sunrpc/xdr.c: Likewise.
47345         * sunrpc/xdr_array.c: Likewise.
47346         * sunrpc/xdr_float.c: Likewise.
47347         * sunrpc/xdr_intXX_t.c: Likewise.
47348         * sunrpc/xdr_mem.c: Likewise.
47349         * sunrpc/xdr_rec.c: Likewise.
47350         * sunrpc/xdr_ref.c: Likewise.
47351         * sunrpc/xdr_sizeof.c: Likewise.
47352         * sunrpc/xdr_stdio.c: Likewise.
47354 2012-05-10  Roland McGrath  <roland@hack.frob.com>
47356         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
47357         change.  Update copyright years.
47359 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47361         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
47363 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
47364             Joseph Myers  <joseph@codesourcery.com>
47365             Paul Pluzhnikov  <ppluzhnikov@google.com>
47367         [BZ #14012]
47368         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
47369         requiring rpcgen.
47370         [cross-compiling] (extra-libs): Likewise.
47371         [cross-compiling] (extra-libs-others): Likewise.
47372         [cross-compiling] (librpcsvc-routines): Likewise.
47373         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
47374         [cross-compiling] (omit-deps): Likewise.
47375         (sunrpc-CPPFLAGS): New variable.
47376         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
47377         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
47378         (cross-rpcgen-objs): New variable.
47379         (extra-objs): Append $(cross-rpcgen-objs).
47380         ($(cross-rpcgen-objs)): New rule.
47381         ($(objpfx)cross-rpcgen): Likewise.
47382         (rpcgen-cmd): Define to use $(built-program-file).  Expand
47383         comment.
47384         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
47385         ($(objpfx)x%.stmp): Likewise.
47386         * sunrpc/proto.h [IS_IN_build] (_): Define.
47387         [IS_IN_build] (_libc_intl_domainname): Likewise.
47389 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
47391         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
47392         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
47393         and R_X86_64_TPOFF64.
47395 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
47397         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
47398         sysdeps/unix/sysv/syscalls.list.
47399         (stime): Likewise.
47400         (utime): Likewise.
47401         * sysdeps/unix/sysv/syscalls.list: Remove file.
47403 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
47405         [BZ #3440]
47406         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
47407         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
47408         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
47409         (__LC_IDENTIFICATION): Make these macros useful in #if
47410         expressions, as required by C99.
47412 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
47414         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
47415         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
47416         after this.
47418 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
47420         * stdlib/longlong.h: Updated from GCC.
47422 2012-05-09  Andreas Jaeger  <aj@suse.de>
47424         * nscd/nscd.c (run_modes): Make named enum, reorder so that
47425         default is first entry.
47426         (run_mode): Set type.
47427         (main): Remove informal message about syslog.
47428         (options): Fix typo.
47430         [BZ #14053]
47431         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
47432         to asm.
47433         (lrint): Likewise.
47434         (llrintf): Likewise.
47435         (llrint): Likewise.
47436         (rint): Likewise.
47437         (rintf): Likewise.
47438         (nearbyint): Likewise.
47439         (nearbyintf): Likewise.
47441 2012-05-09  Andreas Jaeger  <aj@suse.de>
47442             Pedro Alves  <palves@redhat.com>
47444         * nscd/nscd.c (run_mode): Use enum.
47445         (main): Cleanup coding style issue.
47447 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
47448             Andreas Jaeger  <aj@suse.de>
47450         * nscd/nscd.c (go_background): Replaced with...
47451         (run_mode): ... this.
47452         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
47453         (options): Add -F --foreground.
47454         (main): Implement it.
47455         (parse_opt): Parse it.
47457 2012-05-09  Andreas Jaeger  <aj@suse.de>
47459         [BZ #14083]
47460         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
47461         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
47462         -Wconversion warning.
47463         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
47464         Likewise.
47466 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
47468         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
47469         == 0.
47470         (LC_ALL): Use macro-int-constant.
47471         (LC_COLLATE): Likewise.
47472         (LC_CTYPE): Likewise.
47473         (LC_MESSAGES): Likewise.
47474         (LC_MONETARY): Likewise.
47475         (LC_NUMERIC): Likewise.
47476         (LC_TIME): Likewise.
47477         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
47478         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47479         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47480         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
47481         Specify type.
47482         [C99-based standards] (float_t): Expect type.
47483         [C99-based standards] (double_t): Expect type.
47484         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
47485         type.
47486         [C99-based standards] (HUGE_VALL): Likewise.
47487         [C99-based standards] (INFINITY): Likewise.
47488         [C99-based standards] (NAN): Likewise.
47489         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
47490         [C99-based standards] (FP_NAN): Likewise.
47491         [C99-based standards] (FP_NORMAL): Likewise.
47492         [C99-based standards] (FP_SUBNORMAL): Likewise.
47493         [C99-based standards] (FP_ZERO): Likewise.
47494         [C99-based standards] (FP_FAST_FMA): Use
47495         optional-macro-int-constant.  Specify type.  Require == 1.
47496         [C99-based standards] (FP_FAST_FMAF): Likewise.
47497         [C99-based standards] (FP_FAST_FMAL): Likewise.
47498         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
47499         [C99-based standards] (FP_ILOGBNAN): Likewise.
47500         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
47501         Specify type.
47502         [C99-based standards] (MATH_ERREXCEPT): Likewise.
47503         [C99-based standards] (math_errhandling): Specify type.
47504         [ISO99 || ISO11] (signgam): Do not allow.
47505         [non-C99-based standards] (copysignf): Do not allow.
47506         [non-C99-based standards] (exp2f): Likewise.
47507         [non-C99-based standards] (log2f): Likewise.
47508         [non-C99-based standards] (modff): Allow.
47509         [non-C99-based standards] (erff): Do not allow.
47510         [non-C99-based standards] (erfcf): Likewise.
47511         [non-C99-based standards] (gammaf): Likewise.
47512         [non-C99-based standards] (hypotf): Likewise.
47513         [non-C99-based standards] (j0f): Likewise.
47514         [non-C99-based standards] (j1f): Likewise.
47515         [non-C99-based standards] (jnf): Likewise.
47516         [non-C99-based standards] (lgammaf): Likewise.
47517         [non-C99-based standards] (tgammaf): Likewise.
47518         [non-C99-based standards] (y0f): Likewise.
47519         [non-C99-based standards] (y1f): Likewise.
47520         [non-C99-based standards] (ynf): Likewise.
47521         [non-C99-based standards] (isnanf): Likewise.
47522         [non-C99-based standards] (acoshf): Likewise.
47523         [non-C99-based standards] (asinhf): Likewise.
47524         [non-C99-based standards] (atanhf): Likewise.
47525         [non-C99-based standards] (cbrtf): Likewise.
47526         [non-C99-based standards] (expm1f): Likewise.
47527         [non-C99-based standards] (ilogbf): Likewise.
47528         [non-C99-based standards] (log1pf): Likewise.
47529         [non-C99-based standards] (logbf): Likewise.
47530         [non-C99-based standards] (nextafterf): Likewise.
47531         [non-C99-based standards] (remainderf): Likewise.
47532         [non-C99-based standards] (rintf): Likewise.
47533         [non-C99-based standards] (scalbf): Likewise.
47534         [non-C99-based standards] (copysignl): Likewise.
47535         [non-C99-based standards] (exp2l): Likewise.
47536         [non-C99-based standards] (log2l): Likewise.
47537         [non-C99-based standards] (modfl): Allow.
47538         [non-C99-based standards] (erfl): Do not allow.
47539         [non-C99-based standards] (erfcl): Likewise.
47540         [non-C99-based standards] (gammal): Likewise.
47541         [non-C99-based standards] (hypotl): Likewise.
47542         [non-C99-based standards] (j0l): Likewise.
47543         [non-C99-based standards] (j1l): Likewise.
47544         [non-C99-based standards] (jnl): Likewise.
47545         [non-C99-based standards] (lgammal): Likewise.
47546         [non-C99-based standards] (tgammal): Likewise.
47547         [non-C99-based standards] (y0l): Likewise.
47548         [non-C99-based standards] (y1l): Likewise.
47549         [non-C99-based standards] (ynl): Likewise.
47550         [non-C99-based standards] (isnanl): Likewise.
47551         [non-C99-based standards] (acoshl): Likewise.
47552         [non-C99-based standards] (asinhl): Likewise.
47553         [non-C99-based standards] (atanhl): Likewise.
47554         [non-C99-based standards] (cbrtl): Likewise.
47555         [non-C99-based standards] (expm1l): Likewise.
47556         [non-C99-based standards] (ilogbl): Likewise.
47557         [non-C99-based standards] (log1pl): Likewise.
47558         [non-C99-based standards] (logbl): Likewise.
47559         [non-C99-based standards] (nextafterl): Likewise.
47560         [non-C99-based standards] (remainderl): Likewise.
47561         [non-C99-based standards] (rintl): Likewise.
47562         [non-C99-based standards] (scalbl): Likewise.
47563         [ISO || ISO99 || ISO11] (*_t): Do not allow.
47564         [non-C99-based standards] (FP_*): Do not allow.
47565         [C99-based standards] (FP_*): Change to
47566         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
47567         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47568         allow.
47569         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
47570         (SIG_ERR): Likewise.
47571         [X/Open-based standards] (SIG_HOLD): Likewise.
47572         (SIG_IGN): Likewise.
47573         (SIGABRT): Use macro-int-constant.  Specify type.  Require
47574         positive value.
47575         (SIGFPE): Likewise.
47576         (SIGILL): Likewise.
47577         (SIGINT): Likewise.
47578         (SIGSEGV): Likewise.
47579         (SIGTER): Likewise.
47580         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
47581         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
47582         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
47583         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
47584         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
47585         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
47586         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
47587         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
47588         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
47589         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
47590         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
47591         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
47592         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
47593         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
47594         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
47595         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
47596         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
47597         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
47598         [X/Open-based standards] (SIGTRAP): Likewise.
47599         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
47600         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
47601         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
47602         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
47603         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
47604         allow.
47606 2012-05-08  Ian Wienand  <ianw@vmware.com>
47608         [BZ #14080]
47609         * time/tzset.c (__tzset_parse_tz): Update default rules for
47610         daylight time changes in the Energy Policy Act of 2005.
47612 2012-05-09  Andreas Jaeger  <aj@suse.de>
47614         [BZ #13983]
47615         * elf/ldconfig.c (parse_conf): Change string to make clear that
47616         ldconfig only issued a warning if ld.so.conf does not exist.
47618 2012-05-08  David S. Miller  <davem@davemloft.net>
47620         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
47621         movxtod instead of popping the value on the stack.
47623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47625 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
47627         * config.h.in: Add HAVE_ARM_PCS_VFP.
47629 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
47631         [BZ #13979]
47632         * include/features.h: Warn if user requests __FORTIFY_SOURCE
47633         checking but the checks are disabled for any reason.
47635 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
47637         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
47638         and ELF64_R_TYPE with ELFW(R_TYPE).
47640 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
47642         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
47643         (ulimit): Likewise.
47645         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
47646         (settimeofday): Likewise.
47648 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
47650         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
47651         a struct th_u2 inside the union, and move tu_block/tu_code into
47652         a new th_u3 union of tu_block/tu_code inside of that.  Move
47653         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
47654         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
47655         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
47656         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
47657         (th_stuff): Change to th_u1.tu_stuff.
47658         (th_data): Define.
47659         (th_msg): Change to th_u1.th_u2.tu_data.
47661 2012-05-07  David S. Miller  <davem@davemloft.net>
47663         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47665         [BZ #14074]
47666         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
47667         (SETUP_PIC_REG): Use it.
47668         (SETUP_PIC_REG_LEAF): Use it.
47670 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
47672         [BZ #13885]
47673         [BZ #13923]
47674         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47675         USE_AS_EXPM1L.
47676         (EXPL_FINITE): Likewise.
47677         (FLDLOG): Likewise.
47678         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47679         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47680         e_expl.S.
47681         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47682         USE_AS_EXPM1L.
47683         (EXPL_FINITE): Likewise.
47684         (FLDLOG): Likewise.
47685         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
47686         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
47687         e_expl.S.
47688         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
47689         test of -max_value argument for long double.
47690         * sysdeps/i386/fpu/libm-test-ulps: Update.
47691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47693 2012-05-06  David S. Miller  <davem@davemloft.net>
47695         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
47696         quad soft-float symbols whose references which are compiler
47697         generated.
47698         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
47700 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
47702         [BZ #13884]
47703         [BZ #13914]
47704         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47705         USE_AS_EXP10L.
47706         (EXPL_FINITE): Likewise.
47707         (FLDLOG): Likewise.
47708         (c0): Likewise.
47709         (c1): Likewise.
47710         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47711         Adjust comments for base varying.
47712         (__expl_finite): Change alias to EXPL_FINITE.
47713         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
47714         e_expl.S.
47715         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
47716         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
47717         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
47718         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
47719         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
47720         USE_AS_EXP10L.
47721         (EXPL_FINITE): Likewise.
47722         (FLDLOG): Likewise.
47723         (c0): Likewise.
47724         (c1): Likewise.
47725         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
47726         Adjust comments for base varying.
47727         (__expl_finite): Change alias to EXPL_FINITE.
47728         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
47729         tests for bugs.
47730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47732         [BZ #14064]
47733         * math/libm-test.inc (check_float_internal): Correct ulp
47734         calculation for subnormal expected results.
47736 2012-05-06  Andreas Jaeger  <aj@suse.de>
47738         * Makeconfig (+math-flags): New, set to -frounding-math.
47739         (+cflags): Add +math-flags so that all of glibc gets compiled with
47740         it.
47742         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
47744 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
47746         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
47747         Disable one test.
47749         [BZ #13787]
47750         [BZ #13922]
47751         [BZ #14036]
47752         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
47753         (__ieee754_expl): Allow for and saturate large arguments.
47754         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
47755         (u_threshold): Likewise.
47756         (__exp): Call __ieee754_exp before checking for overflow and
47757         underflow.
47758         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
47759         (u_threshold): Likewise.
47760         (__expf): Call __ieee754_expf before checking for overflow and
47761         underflow.
47762         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
47763         (u_threshold): Likewise.
47764         (__expl): Call __ieee754_expl before checking for overflow and
47765         underflow.
47766         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
47767         (__ieee754_expl): Allow for and saturate large arguments.
47768         * math/libm-test.inc (exp_test): Add another test.  Do not allow
47769         missing overflow exception on overflow.
47770         (expm1_test): Do not allow missing overflow exception on overflow.
47772         * sysdeps/i386/fpu/e_expl.c: Move to ...
47773         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
47774         rather than using inline asm.
47775         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
47776         * sysdeps/x86_64/fpu/e_expl.S: Copy from
47777         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
47779         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
47780         (nice): Likewise.
47781         (poll): Likewise.
47782         (signal): Likewise.
47783         (time): Likewise.
47784         (times): Likewise.
47786 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47788         * sysdeps/unix/syscalls.list (adjtime): Add entry from
47789         sysdeps/unix/common/syscalls.list.
47790         (fchmod): Likewise.
47791         (fchown): Likewise.
47792         (ftruncate): Likewise.
47793         (getrusage): Likewise.
47794         (gettimeofday): Likewise.
47795         (setpgid): Likewise.
47796         (setregid): Likewise.
47797         (setreuid): Likewise.
47798         (sigaction): Likewise.
47799         (truncate): Likewise.
47800         (vhangup): Likewise.
47801         * sysdeps/unix/common/syscalls.list: Remove file.
47802         * sysdeps/unix/bsd/Implies: Don't include unix/common.
47803         * sysdeps/unix/sysv/linux/Implies: Likewise.
47805 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
47807         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
47808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
47809         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
47810         Moved to ...
47811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
47812         Here.
47813         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
47814         to ...
47815         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
47816         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
47817         to ...
47818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
47819         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
47820         to ...
47821         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
47822         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
47823         to ...
47824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
47825         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
47826         to ...
47827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
47828         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
47829         to ...
47830         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
47831         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
47832         to ...
47833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47834         Here.
47835         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
47836         to ...
47837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
47838         Here.
47839         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
47840         to ...
47841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
47842         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
47843         Moved to ...
47844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
47845         Here.
47846         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
47847         to ...
47848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
47850 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47852         * sysdeps/unix/common/bits/dirent.h: Remove file.
47853         * sysdeps/unix/common/bits/fcntl.h: Likewise.
47855         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
47856         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
47857         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
47858         * sysdeps/unix/bsd/isatty.c: Likewise.
47859         * sysdeps/unix/bsd/tcdrain.c: Likewise.
47860         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
47861         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
47863 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47865         [BZ #13563]
47866         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
47867         long double comparison inaccuracies.
47868         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
47869         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47871 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
47873         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
47874         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
47876 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
47878         [BZ #14049]
47879         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
47880         nonzero digits before rounding a hex value.
47881         * stdlib/tst-strtod.c (tests): Add another test.
47883 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47885         * sysdeps/s390/fpu/libm-test-ulps: Update.
47887 2012-05-03  Andreas Jaeger  <aj@suse.de>
47889         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
47890         does not get optimized out.
47891         (malloc_opt_barrier): New.
47893 2012-05-03  Andreas Jaeger  <aj@suse.de>
47894             Roland McGrath  <roland@hack.frob.com>
47896         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
47897         intermediate file deletion.
47898         (generated): Add .symlist files.
47900 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
47902         [BZ #13775]
47903         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
47904         Redirect under this condition.
47905         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47906         [__USE_GNU] (__dprintf_chk): Not under this condition.
47907         [__USE_GNU] (__vdprintf_chk): Likewise.
47908         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
47909         under this condition.
47910         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
47911         [__USE_XOPEN2K8] (dprintf): Define under this condition.
47912         [__USE_XOPEN2K8] (vdprintf): Likewise.
47913         [__USE_GNU] (__dprintf_chk): Not under this condition.
47914         [__USE_GNU] (__vdprintf_chk): Likewise.
47915         [__USE_GNU] (dprintf): Likewise.
47916         [__USE_GNU] (vdprintf): Likewise.
47918 2012-05-03  Roland McGrath  <roland@hack.frob.com>
47920         * elf/Makefile (common-generated): Set this instead of generated for
47921         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
47922         $(all-built-dso)-derived lists.
47924 2012-05-03  Andreas Jaeger  <aj@suse.de>
47926         * sysdeps/i386/fpu/libm-test-ulps: Update.
47928         * FAQ: Removed.
47929         * FAQ.in: Likewise.
47930         * scripts/gen-FAQ.pl: Likewise.
47931         * manual/install.texi (Installation): Point to online location of
47932         FAQ.
47933         * Makefile (files-for-dist): Remove FAQ.
47934         (FAQ): Remove.
47936 2012-05-02  Allan McRae  <allan@archlinux.org>
47938         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
47939         (LDFLAGS-reldepmod5.so): Likewise.
47940         (LDFLAGS-reldep6mod1.so): Likewise.
47941         (LDFLAGS-reldep6mod4.so): Likewise.
47942         (LDFLAGS-reldep8mod3.so): Likewise.
47943         (LDFLAGS-unload4mod1.so): Likewise.
47944         (LDFLAGS-unload4mod2.so): Likewise.
47945         (LDFLAGS-tst-initorder): Likewise.
47946         (LDFLAGS-tst-initordera2.so): Likewise.
47947         (LDFLAGS-tst-initordera3.so): Likewise.
47948         (LDFLAGS-tst-initordera4.so): Likewise.
47949         (LDFLAGS-tst-initorderb2.so): Likewise.
47950         (LDFLAGS-noload): Likewise.
47951         (LDFLAGS-next): Likewise.
47952         (LDFLAGS-order2mod1.so): Likewise.
47953         (LDFLAGS-order2mod2.so): Likewise.
47954         (LDFLAGS-tst-initorder2): Likewise.
47955         (LDFLAGS-tst-initorder2a.so): Likewise.
47956         (LDFLAGS-tst-initorder2b.so): Likewise.
47957         (LDFLAGS-tst-initorder2c.so): Likewise.
47958         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
47960 2012-05-02  David S. Miller  <davem@davemloft.net>
47962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47964 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
47966         [BZ #14055]
47967         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
47969 2012-05-02  Andreas Jaeger  <aj@suse.de>
47971         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
47972         since we manipulate rounding mode.
47973         (CPPFLAGS-test-idouble.c): Likewise.
47974         (CPPFLAGS-test-ifloat.c): Likewise.
47975         (CFLAGS-test-ldouble.c): Likewise.
47976         (CFLAGS-test-double.c): Likewise.
47977         (CFLAGS-test-float.c): Likewise.
47978         (CFLAGS-test-misc.c): Likewise.
47979         (CFLAGS-test-test-fenv.c): Likewise.
47981 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47983         [BZ #2550]
47984         [BZ #2570]
47985         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
47986         comparisons to determine direction to adjust input.
47988 2012-05-01  Roland McGrath  <roland@hack.frob.com>
47990         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
47991         output to the target.
47993         * scripts/localplt.awk: New file.
47994         * elf/Makefile ($(objpfx)check-localplt): Target removed.
47995         (check-localplt-CFLAGS): Variable removed.
47996         ($(all-built-dso:=.jmprel)): New static pattern rule.
47997         (generated): Add those targets.
47998         (localplt-built-dso): New variable.
47999         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
48001         * elf/check-localplt.c: File removed.
48003         * scripts/check-execstack.awk: New file.
48004         * elf/Makefile ($(objpfx)check-execstack): Target removed.
48005         (check-execstack-CFLAGS): Variable removed.
48006         ($(objpfx)check-execstack.h): Target removed.
48007         ($(objpfx)execstack-default): New target.
48008         (generated): Add that instead of check-execstack.h.
48009         ($(all-built-dso:=.phdr)): New static pattern rule.
48010         (generated): Add those targets.
48011         * elf/check-execstack.c: File removed.
48013         * scripts/check-textrel.awk: New file.
48014         * elf/Makefile ($(objpfx)check-textrel): Target removed.
48015         (check-textrel-CFLAGS): Variable removed.
48016         (all-built-dso): Use := to define.o
48017         ($(all-built-dso:=.dyn)): New static pattern rule.
48018         (generated): Add those targets.
48019         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
48020         * config.make.in (READELF): New substituted variable.
48021         * elf/check-textrel.c: File removed.
48023 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48025         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
48026         allow.
48027         * conform/data/ctype.h-data [C99-based standards] (isblank):
48028         Expect function.
48029         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
48030         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
48031         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48032         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
48033         Specify type.  Require positive value.
48034         (EILSEQ): Likewise.
48035         (ERANGE): Likewise.
48036         [ISO || POSIX] (EILSEQ): Do not expect.
48037         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
48038         Specify type.  Require positive value.
48039         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
48040         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
48041         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
48042         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
48043         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
48044         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
48045         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
48046         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
48047         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
48048         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
48049         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
48050         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
48051         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
48052         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
48053         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
48054         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
48055         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
48056         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
48057         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
48058         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
48059         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
48060         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
48061         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
48062         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
48063         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
48064         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
48065         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
48066         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
48067         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
48068         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
48069         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
48070         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
48071         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
48072         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
48073         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
48074         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
48075         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
48076         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
48077         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
48078         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
48079         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
48080         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
48081         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
48082         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
48083         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
48084         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
48085         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
48086         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
48087         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
48088         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
48089         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
48090         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
48091         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
48092         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
48093         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
48094         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
48095         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
48096         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
48097         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
48098         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
48099         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
48100         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
48101         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
48102         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
48103         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
48104         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
48105         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
48106         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
48107         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
48108         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
48109         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
48110         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
48111         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
48112         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
48113         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
48114         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
48115         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
48116         Require >= 2.
48117         (FLT_ROUNDS): Expect as macro, not constant.
48118         (FLT_MANT_DIG): Use macro-int-constant.
48119         (DBL_MANT_DIG): Likewise.
48120         (LDBL_MANT_DIG): Likewise.
48121         (FLT_DIG): Likewise.
48122         (DBL_DIG): Likewise.
48123         (LDBL_DIG): Likewise.
48124         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
48125         (DBL_MIN_EXP): Likewise.
48126         (LDBL_MIN_EXP): Likewise.
48127         (FLT_MAX_EXP): Use macro-int-constant.
48128         (DBL_MAX_EXP): Likewise.
48129         (LDBL_MAX_EXP): Likewise.
48130         (FLT_MAX_10_EXP): Likewise.
48131         (DBL_MAX_10_EXP): Likewise.
48132         (LDBL_MAX_10_EXP): Likewise.
48133         (FLT_MAX): Use macro-constant.
48134         (DBL_MAX): Likewise.
48135         (LDBL_MAX): Likewise.
48136         (FLT_EPSILON): Use macro-constant.  Give upper bound.
48137         (DBL_EPSILON): Likewise.
48138         (LDBL_EPSILON): Likewise.
48139         (FLT_MIN): Likewise.
48140         (DBL_MIN): Likewise.
48141         (LDBL_MIN): Likewise.
48142         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
48143         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
48144         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
48145         [ISO11] (FLT_HAS_SUBNORM): Likewise.
48146         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
48147         [ISO11] (DBL_DECIMAL_DIG): Likewise.
48148         [ISO11] (FLT_DECIMAL_DIG): Likewise.
48149         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
48150         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
48151         [ISO11] (FLT_TRUE_MIN): Likewise.
48152         [ISO11] (LDBL_TRUE_MIN): Likewise.
48153         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48154         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
48155         (SCHAR_MIN): Use macro-int-constant.  Specify type.
48156         (SCHAR_MAX): Likewise.
48157         (UCHAR_MAX): Likewise.
48158         (CHAR_MIN): Likewise.
48159         (CHAR_MAX): Likewise.
48160         (MB_LEN_MAX): Use macro-int-constant.
48161         (SHRT_MIN): Use macro-int-constant.  Specify type.
48162         (SHRT_MAX): Likewise.
48163         (USHRT_MAX): Likewise.
48164         (INT_MAX): Likewise.
48165         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
48166         bound negative.
48167         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48168         bound with "U".
48169         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48170         bound with "L".
48171         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
48172         bound negative.  Suffix upper bound with "L".
48173         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
48174         bound with "UL".
48175         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
48176         Specify type.
48177         [C99-based standards] (LLONG_MAX): Likewise.
48178         [C99-based standards] (ULLONG_MAX): Likewise.
48179         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
48180         == 0.
48181         [ISO11] (max_align_t): Require type.
48182         [ISO || ISO99 || ISO11] (*_t): Do not allow.
48184         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
48185         from $CFLAGS, without defining away __attribute__ calls.
48186         (checknamespace): Use $CFLAGS_namespace.
48188         * conform/conformtest.pl (@keywords): Only include C99 keywords
48189         for standards based on C99 or C11.
48191         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
48192         Disable tests.
48193         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
48194         UNIX98]: Likewise.
48196         * conform/conformtest.pl: Handle "macro-int-constant" and test for
48197         usability of symbols in #if.
48199         * conform/conformtest.pl: If macro or constant types start
48200         "promoted:", expect the symbol to be of the following type
48201         promoted by the integer promotions.
48203         * conform/conformtest.pl: Parse all "constant" and "macro" lines
48204         in one place.  Also handle "macro-constant".
48206         * conform/conformtest.pl: Only accept expected macro values with
48207         "==".  Parse all "macro" lines in one place.
48208         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
48210         * conform/conformtest.pl: Handle braced types on "constant" lines
48211         instead of handling "typed-constant".
48212         * conform/data/signal.h-data: Use "constant" instead of
48213         "typed-constant".
48215         * conform/conformtest.pl: Handle "optional-" at start of lines in
48216         one place rather than duplicating several cases.  Handle each
48217         format of "macro" line with initial "optional-".
48219         * conform/conformtest.pl: Only accept expected constant or
48220         optional-constant values with "==".  Parse all "constant" lines in
48221         one place.  Parse all "optional-constant" lines in one place.
48222         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
48223         * conform/data/fmtmsg.h-data: Likewise.
48224         * conform/data/netinet/in.h-data: Likewise.
48225         * conform/data/tar.h-data: Likewise.
48226         * conform/data/limits.h-data: Use "==" form on "constant" and
48227         "optional-constant" lines.
48229         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
48230         Use -std=c99 for XOPEN2K.
48231         (@knownproblems): Remove.
48232         (newtoken): Don't check %isknown.
48234         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
48235         Do not expect macro.
48236         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
48237         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
48238         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
48239         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
48240         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
48241         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
48242         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
48243         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
48244         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
48245         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
48246         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
48247         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
48248         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
48249         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
48250         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
48251         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
48252         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
48253         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
48254         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
48255         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
48256         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
48257         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
48258         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
48259         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
48260         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
48261         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
48262         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
48263         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
48264         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
48265         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
48266         [XPG3] (acosh): Likewise.
48267         [XPG3] (asinh): Likewise.
48268         [XPG3] (atanh): Likewise.
48269         [XPG3] (cbrt): Likewise.
48270         [XPG3] (expm1): Likewise.
48271         [XPG3] (ilogb): Likewise.
48272         [XPG3] (log1p): Likewise.
48273         [XPG3] (logb): Likewise.
48274         [XPG3] (nextafter): Likewise.
48275         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
48276         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
48277         [XPG3] (remainder): Likewise.
48278         [XPG3] (rint): Likewise.
48279         [XPG3 || XPG4 || UNIX98] (round): Likewise.
48280         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
48281         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
48282         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
48283         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
48284         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
48285         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
48286         [UNIX98 || XOPEN2K] (scalb): Expect.
48287         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
48288         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
48289         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
48290         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
48291         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
48292         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
48293         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
48294         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
48295         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
48296         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
48297         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
48298         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
48299         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
48300         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
48301         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
48302         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
48303         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
48304         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
48305         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
48306         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
48307         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
48308         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
48309         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
48310         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
48311         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
48312         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
48313         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
48314         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
48315         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
48316         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
48317         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
48318         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
48319         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
48320         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
48321         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
48322         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
48323         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
48324         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
48325         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
48326         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
48327         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
48328         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
48329         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
48330         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
48331         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
48332         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
48333         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
48334         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
48335         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
48336         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
48337         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
48338         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
48339         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
48340         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
48341         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
48342         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
48343         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
48344         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
48345         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
48346         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
48347         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
48348         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
48349         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
48350         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
48351         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
48352         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
48353         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
48354         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
48355         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
48356         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
48357         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
48358         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
48359         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
48360         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
48361         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
48362         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
48363         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
48364         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
48365         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
48366         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
48367         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
48368         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
48369         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
48370         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
48371         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
48372         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
48373         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
48374         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
48375         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
48376         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
48377         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
48378         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
48379         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
48380         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
48381         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
48382         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
48383         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
48384         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
48385         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
48386         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
48387         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
48388         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
48389         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
48390         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
48391         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
48392         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
48393         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
48394         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
48395         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
48396         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
48397         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
48398         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
48399         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
48400         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
48401         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
48402         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
48403         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
48404         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
48405         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
48406         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
48407         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
48408         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
48409         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
48410         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
48411         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
48412         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
48413         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
48414         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
48415         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
48416         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
48417         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
48418         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
48419         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
48420         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
48421         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
48422         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
48423         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
48425         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
48426         _XOPEN_SOURCE_EXTENDED for XPG4.
48428         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
48430         * Makeconfig (localtime): Remove variable.
48431         (inst_localtime-file): Likewise.
48433 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48436         Update.
48437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48438         Update.
48439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48440         Update.
48441         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48442         Update.
48443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48444         Update.
48445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
48446         Update.
48447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48448         Update.
48449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
48450         Update.
48451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48452         Update.
48454 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
48456         [BZ #2550]
48457         [BZ #2570]
48458         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
48459         comparisons to determine direction to adjust input.
48460         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
48461         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
48462         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
48463         Likewise.
48464         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
48465         Likewise.
48466         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48467         Likewise.
48468         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
48469         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
48470         Likewise.
48471         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
48472         Likewise.
48473         * math/libm-test.inc (nexttoward_test): Add more tests.
48475 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
48477         [BZ #14040]
48478         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
48479         in version GLIBC_2.1, not GLIBC_2.0.
48480         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
48481         Likewise.
48483 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
48485         [BZ #13942]
48486         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
48487         (1 - x) * (1 + x).
48488         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48489         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
48490         * math/libm-test.inc (acos_test): Add more tests.
48491         (asin_test): Likewise.
48492         * sysdeps/i386/fpu/libm-test-ulps: Update.
48493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48495         [BZ #14034]
48496         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
48497         of square root.
48498         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
48499         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
48500         * math/libm-test.inc (acos_test_tonearest): New function.
48501         (acos_test_towardzero): Likewise.
48502         (acos_test_downward): Likewise.
48503         (acos_test_upward): Likewise.
48504         (asin_test_tonearest): Likewise.
48505         (asin_test_towardzero): Likewise.
48506         (asin_test_downward): Likewise.
48507         (asin_test_upward): Likewise.
48508         (main): Call the new functions.
48509         * sysdeps/i386/fpu/libm-test-ulps: Update.
48510         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48512         [BZ #13884]
48513         [BZ #13924]
48514         * math/e_exp10.c: Include <float.h>.
48515         (__ieee754_exp10): Handle underflow here rather than multiplying
48516         large negative argument by M_LN10.
48517         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
48518         of __ieee754_expf.
48519         * math/e_exp10l.c: Include <float.h>.
48520         (__ieee754_exp10l): Handle underflow here rather than multiplying
48521         large negative argument by M_LN10l.
48522         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
48523         spurious overflow exception on underflow.
48525 2012-04-29  Marek Polacek  <polacek@redhat.com>
48527         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
48528         (__fortify_function): New macro.
48529         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
48530         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
48531         __extern_always_inline.
48532         * libio/bits/stdio2.h: Likewise.
48533         * libio/bits/stdio.h: Likewise.
48534         * string/string.h: Likewise.
48535         * string/bits/string3.h: Likewise.
48536         * include/stdio.h: Likewise.
48537         * stdlib/bits/stdlib.h: Likewise.
48538         * stdlib/stdlib.h: Likewise.
48539         * rt/bits/mqueue2.h: Likewise.
48540         * rt/mqueue.h: Likewise.
48541         * posix/bits/unistd.h: Likewise.
48542         * posix/unistd.h: Likewise.
48543         * io/bits/poll2.h: Likewise.
48544         * io/bits/fcntl2.h: Likewise.
48545         * io/fcntl.h: Likewise.
48546         * io/sys/poll.h: Likewise.
48547         * misc/bits/syslog.h: Likewise.
48548         * misc/bits/syslog-ldbl.h: Likewise.
48549         * misc/sys/syslog.h: Likewise.
48550         * socket/bits/socket2.h: Likewise.
48551         * socket/sys/socket.h: Likewise.
48552         * debug/tst-chk1.c: Likewise.
48553         * wcsmbs/bits/wchar2.h: Likewise.
48554         * wcsmbs/bits/wchar-ldbl.h: Likewise.
48555         * wcsmbs/wchar.h: Likewise.
48557 2012-04-29  Andreas Jaeger  <aj@suse.de>
48559         * Makerules (tests): Remove enable-check-abi protection.
48560         (check-abi-warn): Remove.
48561         (check-abi-%): Remove check-abi-warn usage.
48563         * configure.in: Remove check-abi configure option.
48564         * configure: Regenerated.
48565         * config.make.in (enable-check-abi): Remove.
48567 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
48569         [BZ #14033]
48570         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
48571         double functions to double *_finite functions.
48573         [BZ #13941]
48574         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
48575         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
48576         LDBL_MIN_EXP.
48577         * stdio-common/Makefile (tests): Add tst-sprintf3.
48578         * stdio-common/tst-sprintf3.c: New file.
48580         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
48581         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
48583 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48585         * conform/conformtest.pl: Remove duplicate typed-constant
48586         handling.
48588 2012-04-28  David S. Miller  <davem@davemloft.net>
48590         * Makerules (%.abilist): Add vpath on sysdep_dirs.
48591         (check-abi-%): Remove AWK script prerequisite and explicit
48592         abilist directory.
48593         (check-abi): Rewrite to just diff the symlist with the abilist.
48594         (config-tls, config-abi-config): Delete, no longer used.
48595         (update-abi-%): Remove AWK script and explicit abilist directory.
48596         (update-abi): Rewrite to simply compare and conditionally copy the
48597         symlist and the sysdep abilist file.  Remove update-abi-config
48598         checks.
48599         * abilist/ld.abilist: Remove.
48600         * abilist/libBrokenLocale.abilist: Remove.
48601         * abilist/libanl.abilist: Remove.
48602         * abilist/libcrypt.abilist: Remove.
48603         * abilist/libdl.abilist: Remove.
48604         * abilist/librt.abilist: Remove.
48605         * abilist/libthread_db.abilist: Remove.
48606         * abilist/libutil.abilist: Remove.
48607         * scripts/extract-abilist.awk: Remove.
48608         * scripts/merge-abilist.awk: Remove.
48609         * sysdeps/generic/libcidn.abilist: New file.
48610         * sysdeps/generic/libnss_compat.abilist: New file.
48611         * sysdeps/generic/libnss_db.abilist: New file.
48612         * sysdeps/generic/libnss_dns.abilist: New file.
48613         * sysdeps/generic/libnss_files.abilist: New file.
48614         * sysdeps/generic/libnss_hesiod.abilist: New file.
48615         * sysdeps/generic/libnss_nis.abilist: New file.
48616         * sysdeps/generic/libnss_nisplus.abilist: New file.
48617         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
48618         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
48619         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
48620         file.
48621         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
48622         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
48623         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
48624         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
48625         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
48626         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
48627         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
48628         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
48629         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
48630         file.
48631         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
48632         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
48633         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
48634         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
48635         file.
48636         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
48637         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
48638         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
48639         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
48640         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
48641         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
48642         file.
48643         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
48644         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
48645         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
48646         file.
48647         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
48648         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
48649         New file.
48650         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
48651         New file.
48652         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
48653         New file.
48654         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
48655         New file.
48656         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
48657         New file.
48658         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
48659         New file.
48660         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
48661         New file.
48662         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
48663         New file.
48664         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
48665         New file.
48666         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
48667         New file.
48668         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
48669         New file.
48670         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
48671         New file.
48672         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
48673         New file.
48674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
48675         file.
48676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48677         New file.
48678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48679         New file.
48680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
48681         file.
48682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48683         New file.
48684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48685         New file.
48686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
48687         file.
48688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48689         New file.
48690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48691         New file.
48692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48693         New file.
48694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48695         New file.
48696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48697         New file.
48698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48699         New file.
48700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
48701         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
48702         file.
48703         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
48704         New file.
48705         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
48706         file.
48707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
48708         file.
48709         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
48710         file.
48711         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
48712         file.
48713         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
48714         file.
48715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48716         New file.
48717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
48718         file.
48719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
48720         file.
48721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
48722         New file.
48723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
48724         file.
48725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
48726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
48727         file.
48728         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
48729         New file.
48730         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
48731         file.
48732         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
48733         file.
48734         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
48735         file.
48736         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
48737         file.
48738         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
48739         file.
48740         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48741         New file.
48742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
48743         file.
48744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
48745         file.
48746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48747         New file.
48748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
48749         file.
48750         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
48751         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
48752         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
48753         file.
48754         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
48755         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
48756         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
48757         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
48758         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
48759         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
48760         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
48761         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
48762         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
48763         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
48764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
48765         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
48766         file.
48767         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48768         New file.
48769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
48770         file.
48771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
48772         file.
48773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
48774         file.
48775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
48776         file.
48777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
48778         file.
48779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48780         New file.
48781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48782         New file.
48783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
48784         file.
48785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48786         New file.
48787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
48788         file.
48789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
48790         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
48791         file.
48792         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48793         New file.
48794         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
48795         file.
48796         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
48797         file.
48798         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
48799         file.
48800         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
48801         file.
48802         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
48803         file.
48804         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48805         New file.
48806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48807         New file.
48808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
48809         file.
48810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48811         New file.
48812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
48813         file.
48815 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
48817         * conform/conformtest.pl: Fix typo in handling typed-constant from
48818         allow-header.
48820 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48822         * README: Cut down references to pre-2.6 Linux kernels and
48823         Linuxthreads.  Update lists of configurations in libc and ports
48824         and sort alphabetically.  Say "or newer" with Linux kernel version
48825         requirements.
48827         * config.h.in [IS_IN_build]: Allow compiling without optimization.
48829 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48831         [BZ #887]
48832         * math/libm-test.inc (logb_test_downward): New test to expose
48833         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
48834         rounding mode.
48836 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
48838         [BZ #14027]
48839         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
48840         to be done.
48841         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
48842         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
48844 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
48846         * sysdeps/unix/i386/brk.S: Remove file.
48847         * sysdeps/unix/i386/dl-brk.S: Likewise.
48848         * sysdeps/unix/i386/pipe.S: Likewise.
48849         * sysdeps/unix/i386/sigreturn.S: Likewise.
48850         * sysdeps/unix/i386/syscall.S: Likewise.
48851         * sysdeps/unix/i386/vfork.S: Likewise.
48852         * sysdeps/unix/i386/wait.S: Likewise.
48854         * sysdeps/unix/common/tcsendbrk.c: Move to ...
48855         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
48857         * configure.in (arm*-none*): Do not allow without
48858         --enable-hacker-mode.
48859         (netbsd*): Remove case setting base_os.
48860         (386bsd*): Likewise.
48861         (freebsd*): Likewise.
48862         (bsdi*): Likewise.
48863         (osf*): Likewise.
48864         (sunos*): Likewise.
48865         (ultrix*): Likewise.
48866         (newsos*): Likewise.
48867         (dynix*): Likewise.
48868         (*bsd*): Likewise.
48869         (sysv*): Likewise.
48870         (isc*): Likewise.
48871         (esix*): Likewise.
48872         (sco*): Likewise.
48873         (minix*): Likewise.
48874         (irix4*): Likewise.
48875         (irix6*): Likewise.
48876         (solaris[2-9]*): Likewise.
48877         (none): Likewise.
48878         * configure: Regenerated.
48880 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48882         [BZ #11521]
48883         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
48884         overflow or cancellation in calculating denominator.
48885         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
48886         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
48887         down expression to avoid unexpected rounding in newer GCCs.
48888         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
48890 2012-04-26  David S. Miller  <davem@davemloft.net>
48892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
48893         long-double compat symbols.
48894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
48895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
48898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48899         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
48900         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
48901         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
48902         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
48903         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
48904         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
48905         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
48906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48908 2012-04-25  David S. Miller  <davem@davemloft.net>
48910         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
48911         HWCAP_* values only after the memory barriers have been defined.
48912         (atomic_full_barrier): Define.
48913         (atomic_read_barrier): Define.
48914         (atomic_write_barrier): Define.
48916 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48918         * shlib-versions: Add libgcc_s version information.
48919         * sysdeps/generic/libgcc_s.h: Remove.
48920         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
48921         libgcc_s.h.
48922         * sysdeps/gnu/unwind-resume.c: Likewise.
48923         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
48925 2012-04-25  David S. Miller  <davem@davemloft.net>
48927         * sysdeps/unix/sparc/brk.S: Delete.
48928         * sysdeps/unix/sparc/dl-brk.S: Delete.
48929         * sysdeps/unix/sparc/pipe.S: Delete.
48930         * sysdeps/unix/sparc/sysdep.S: Delete.
48931         * sysdeps/unix/sparc/sysdep.h: Delete.
48932         * sysdeps/unix/sparc/vfork.S: Delete.
48933         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
48934         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
48935         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
48936         (ret_ERRVAL, r0, r1, MOVE): Define.
48937         (JUMPTARGET): Remove.
48938         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
48939         sysdeps/unix/sparc/sysdep.h
48940         (ENTRY, END): Remove.
48941         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48943 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
48945         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
48946         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
48947         -DIS_IN_build.
48949         * timezone/README: Update upstream location and email address for
48950         tzcode and tzdata.
48951         * timezone/zdump.c: Update from tzcode 2012b.
48952         * timezone/zic.c: Likewise.
48954         * configure.in (libc_cv_as_needed): Remove test.
48955         * configure: Regenerated.
48956         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
48957         conditional definition.
48958         [$(have-as-needed) != yes] (no-as-needed): Likewise.
48959         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
48960         * config.make.in (have-as-needed): Remove variable.
48962 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48963             Paul Pluzhnikov  <ppluzhnikov@google.com>
48965         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
48966         strings correctly.
48968 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
48970         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
48971         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
48972         * sysdeps/sh/strlen.S: Likewise.
48974 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
48976         * sysdeps/unix/fork.S: Remove file.
48977         * sysdeps/unix/i386/fork.S: Likewise.
48978         * sysdeps/unix/sparc/fork.S: Likewise.
48980         * sysdeps/unix/system.c: Remove file.
48981         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
48983         * sysdeps/unix/getegid.S: Remove file.
48984         * sysdeps/unix/geteuid.S: Likewise.
48986 2012-04-24  Roland McGrath  <roland@hack.frob.com>
48988         * scripts/check-localplt.awk: New file.
48989         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
48990         of diff.
48991         * scripts/data/localplt-generic.data: Add a comment.
48993         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
48994         NODE when __dir_mkfile failed.
48995         * sysdeps/mach/hurd/symlinkat.c: Likewise.
48996         Reported by Ludovic Courtès <ludo@gnu.org>.
48998 2012-04-24  Andreas Jaeger  <aj@suse.de>
49000         * Makerules (common-clean): Also remove gen-as-const-headers
49001         files.
49003 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49005         * Makerules (native-compile): Do not change working directory for
49006         build.  Use $(OUTPUT_OPTION) in command.
49007         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
49009 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49011         [BZ #13886]
49012         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
49013         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
49014         * math/libm-test.inc (floor_test): Add more tests.
49015         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
49017 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
49019         * sysdeps/unix/getdents.c: Remove file.
49020         * sysdeps/unix/sysv/getdents.c: Likewise.
49021         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
49023         * sysdeps/unix/syscalls.list (madvise): Add syscall from
49024         sysdeps/unix/mman/syscalls.list.
49025         (mmap): Likewise.
49026         (mprotect): Likewise.
49027         (msync): Likewise.
49028         (munmap): Likewise.
49029         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
49030         * sysdeps/unix/mman/syscalls.list: Remove.
49031         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
49033         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
49034         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
49035         * configure: Regenerated.
49036         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
49037         $(libgcc_s_suffix).
49038         * config.make.in (libgcc_s_suffix): Remove variable.
49040 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
49042         * sysdeps/unix/sysv/gethostname.c: Move to ...
49043         * sysdeps/posix/gethostname.c: ... here.
49045         * sysdeps/unix/execve.S: Remove file.
49047         * sysdeps/unix/_exit.S: Remove file.
49049 2012-04-23  Andreas Jaeger  <aj@suse.de>
49051         [BZ #13739]
49052         * manual/Makefile: Remove make dist support, there's no
49053         need for a stand-alone documentation tar ball.
49054         (TEXI2DVI): Define always, it's not in Makeconfig.
49055         (dist): Removed.
49056         (tar-it): Removed.
49057         (edition): Removed.
49058         (glibc-doc-$(edition).tar): Removed
49059         (%.Z): Removed.
49060         (%.gz): Removed.
49061         (%.uu): Removed.
49062         (ETAGS): Remove, it's in Makeconfig.
49063         (move-if-change): Remove, it's in Makeconfig.
49065 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
49067         [BZ #13970]
49068         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
49069         (strtod, strtof, strtold, strtol, strtoul, strtoq)
49070         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
49071         (strtod_l, strtof_l, strtold_l): Remove __wur.
49072         It is not necessarily an error to ignore strtol's return value.
49073         One can reliably look at the stored endptr to decide whether
49074         the number had valid syntax.
49076 2012-04-21  Andreas Jaeger  <aj@suse.de>
49078         [BZ #13739]
49079         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
49081 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
49083         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
49084         * sysdeps/unix/sysv/Versions: Remove file.
49086 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
49088         [BZ #13927]
49089         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49091 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
49093         [BZ #7064]
49094         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
49095         version from __vm86.
49097 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
49099         * sysdeps/unix/common/lxstat.c: Remove file.
49100         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
49102         * sysdeps/unix/sysv/Makefile: Remove file.
49104         * sysdeps/unix/sysv/direct.h: Remove file.
49106         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
49107         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
49108         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
49109         * sysdeps/unix/sysv/bits/signum.h: Likewise.
49110         * sysdeps/unix/sysv/bits/stat.h: Likewise.
49111         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
49112         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
49114         * sysdeps/unix/sysv/setrlimit.c: Remove file.
49116         * sysdeps/unix/xmknod.c: Remove file.
49117         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
49119         * sysdeps/unix/sysv/settimeofday.c: Remove file.
49121         * sysdeps/unix/sysv/i386/time.S: Remove file.
49123         * sysdeps/unix/fxstat.c: Remove file.
49124         * sysdeps/unix/xstat.c: Likewise.
49125         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
49127         * sysdeps/unix/sysv/sigaction.c: Remove file.
49129         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
49130         (sysdep_headers): Remove variable.
49131         [termio.h not in sysdep_headers] (generated): Likewise.
49132         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
49133         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
49134         * sysdeps/unix/sysv/tcdrain.c: Likewise.
49135         * sysdeps/unix/sysv/tcflow.c: Likewise.
49136         * sysdeps/unix/sysv/tcflush.c: Likewise.
49137         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
49138         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
49139         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
49140         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
49141         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
49143         * sysdeps/unix/siglist.c: Remove file.
49145         * sysdeps/unix/getppid.S: Remove file.
49147         * sysdeps/unix/mkdir.c: Remove file.
49148         * sysdeps/unix/rmdir.c: Likewise.
49150 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
49152         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
49153         ERR_MAX value.
49154         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
49155         errlist-compat value.
49157 2012-04-18  David S. Miller  <davem@davemloft.net>
49159         * sysdeps/generic/memcopy.h (reg_char): Delete.
49160         * debug/strcat_chk.c: Use char, not reg_char.
49161         * debug/strcpy_chk.c: Likewise.
49162         * debug/strncat_chk.c: Likewise.
49163         * debug/strncpy_chk.c: Likewise.
49164         * string/memchr.c: Likewise.
49165         * string/memrchr.c: Likewise.
49166         * string/rawmemchr.c: Likewise.
49167         * string/strcat.c: Likewise.
49168         * string/strchr.c: Likewise.
49169         * string/strchrnul.c: Likewise.
49170         * string/strcmp.c: Likewise.
49171         * string/strcpy.c: Likewise.
49172         * string/strncat.c: Likewise.
49173         * string/strncmp.c: Likewise.
49174         * string/strncpy.c: Likewise.
49176 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49178         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
49179         __builtin_memcopy is called when src and dest ranges are known to not
49180         overlap.
49182 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49184         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
49185         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
49186         fwd_align_merge macro call.
49187         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
49188         bwd_align_merge macro call.
49189         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49191 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
49193         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
49194         bwd_align_merge macros.
49195         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
49196         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
49197         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
49199 2012-04-18  David S. Miller  <davem@davemloft.net>
49201         * sysdeps/sparc/sparc64/memcopy.h: Delete.
49203 2012-04-18  Andreas Jaeger  <aj@suse.de>
49205         [BZ# 6794]
49206         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
49207         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
49208         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49210         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
49211         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
49212         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49214         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
49215         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
49216         Adjust for changed ldbl-128 files.
49218         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
49219         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
49220         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
49222 2012-04-17  David S. Miller  <davem@davemloft.net>
49224         * sysdeps/sparc/sparc32/memcopy.h: Delete.
49226 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
49228         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
49229         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
49230         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
49231         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
49232         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
49233         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
49235 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49237         [BZ #6794]
49238         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
49239         * math/libm-test.inc: Add ilogb errno and exception tests.
49240         * math/w_ilogb.c: New file: ilogb wrapper.
49241         * math/w_ilogbf.c: New file: ilogbf wrapper.
49242         * math/w_ilogbl.c: New file: ilogbl wrapper.
49243         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
49244         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
49245         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
49246         exception being thrown with 0.0 as argument.
49247         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
49248         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
49249         exception being thrown with 0.0 as argument.
49250         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
49251         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49252         exception being thrown with 0.0 as argument.
49253         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
49254         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
49255         exception being thrown with 0.0 as argument.
49256         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
49257         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
49258         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
49259         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
49260         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
49261         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
49262         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
49263         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
49264         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
49266 2012-04-17  Petr Baudis  <pasky@ucw.cz>
49268         * include/sys/uio.h: Change __vector to __iovec to avoid clash
49269         with altivec.
49271 2012-04-16  Marek Polacek  <polacek@redhat.com>
49273         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
49275 2012-04-16  Marek Polacek  <polacek@redhat.com>
49277         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
49278         operands of fdivp instruction.
49280 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49282         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
49283         * elf/tst-auditmod3b.c: Likewise.
49284         * elf/tst-auditmod4b.c: Likewise.
49285         * elf/tst-auditmod5b.c: Likewise.
49286         * elf/tst-auditmod6b.c: Likewise.
49287         * elf/tst-auditmod6c.c: Likewise.
49288         * elf/tst-auditmod7b.c: Likewise.
49289         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
49290         * sysdeps/x86_64/preconfigure.in: Likewise.
49291         * sysdeps/x86_64/preconfigure: Regenerated.
49293 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
49295         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
49296         __ILP32__.
49298 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
49300         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49301         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
49303 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
49305         [BZ #13973]
49306         * locale/iso-639.def: Fix gl language name. Spotted by
49307         Yaron Shahrabani.
49309 2012-04-12  Roland McGrath  <roland@hack.frob.com>
49311         [BZ #2074]
49312         * libio/libio.h (__io_write_fn): Update comment.
49314 2012-04-12  Petr Baudis  <pasky@ucw.cz>
49316         [BZ #2074]
49317         * stdio.texi (Hook Functions): The user provided writer function
49318         is not allowed to return -1.
49320 2012-04-11  David S. Miller  <davem@davemloft.net>
49322         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49324 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
49326         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
49327         Add a leading slash to rtkaio.
49329 2012-04-11  Jim Meyering  <meyering@redhat.com>
49331         [BZ #11959]
49332         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
49333         It is not necessarily an error to ignore fwrite's return
49334         value.  One can reliably use ferror to test for errors after
49335         the fact.
49337 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49339         * bits/types.h (__snseconds_t): New type.
49340         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
49342         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
49343         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49344         (__SNSECONDS_T_TYPE): Likewise.
49345         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
49346         (__SNSECONDS_T_TYPE): Likewise.
49347         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49348         (__SNSECONDS_T_TYPE): Likewise.
49350 2012-04-10  Andreas Jaeger  <aj@suse.de>
49352         [BZ #2636]
49353         * manual/time.texi (Processor Time): Return type of times is
49354         elapsed real time since an arbitrary point in the past.
49355         (CPU Time): Move CLK_TCK from here...
49356         (Processor Time): ...to here.  Correct description.
49357         * manual/conf.texi (Constants for Sysconf): Correct description of
49358         _SC_CLK_TCK.
49360 2012-04-10  David S. Miller  <davem@davemloft.net>
49362         [BZ #13967]
49363         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
49364         where the is a gap between DT_REL(A) and DT_JMPREL.
49366 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
49368         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
49369         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49370         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49372 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
49374         * elf/dl-support.c (_dl_inhibit_cache): New variable.
49375         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
49376         (dl_main): Handle --inhibit-cache.
49377         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
49378         _dl_inhibit_cache.
49379         * elf/dl-load.c (_dl_map_object): Use it.
49380         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
49382 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49384         [BZ #13872]
49385         * sysdeps/i386/fpu/e_powl.S (p78): New object.
49386         (__ieee754_powl): Saturate large exponents rather than testing for
49387         overflow of y*log2(x).
49388         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49389         * math/libm-test.inc (pow_test): Do not permit spurious overflow
49390         exceptions.
49392         [BZ #11521]
49393         * math/s_ctan.c: Include <float.h>.
49394         (__ctan): Avoid internal overflow or cancellation in calculating
49395         denominator.
49396         * math/s_ctanf.c: Likewise.
49397         * math/s_ctanl.c: Likewise.
49398         * math/s_ctanh.c: Likewise.
49399         * math/s_ctanhf.c: Likewise.
49400         * math/s_ctanhl.c: Likewise.
49401         * math/libm-test.inc (ctan_test): Add more tests.
49402         (ctanh_test): Likewise.
49403         * sysdeps/i386/fpu/libm-test-ulps: Update.
49404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49406 2012-04-09  Andreas Jaeger  <aj@suse.de>
49408         [BZ #6894]
49409         * manual/filesys.texi (Directory Entries): Mention that d_namlen
49410         is an optional BSD extension.
49412         [BZ #10254]
49413         * manual/stdio.texi (Opening Streams): Document additional fopen
49414         parameters.
49416 2012-04-09  Roland McGrath  <roland@hack.frob.com>
49418         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
49419         %eax without telling the compiler.
49421 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
49423         [BZ # 13963]
49424         * manual/install.texi: Use sourceware.org.
49426 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
49428         [BZ #13873]
49429         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
49430         (__ieee754_pow): Generate overflow and underflow using huge*huge
49431         and tiny*tiny rather than just returning constant infinity or zero
49432         for large exponents.
49433         * math/libm-test.inc (pow_test): Require overflow exceptions for
49434         applicable cases of large exponents.
49436         [BZ #706]
49437         * sysdeps/i386/fpu/e_pow.S (p10): New object.
49438         (__ieee754_pow): Use iterative multiplication algorithm only for
49439         integer exponents with absolute value below 1024.  Check for odd
49440         integer exponents when using algorithm for real exponents.
49441         * math/libm-test.inc (pow_test): Add more tests.
49442         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49444 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
49446         [BZ #13705]
49447         * math/libm-test.inc (exp_test): Do not allow overflow exception
49448         on underflow test.
49450 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
49452         [BZ #13705]
49453         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
49454         instead of __kernel_standard_f.
49456 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
49458         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
49459         * sysdeps/x86_64/memset_chk.S: Likewise.
49461 2012-04-08  Andreas Jaeger  <aj@suse.de>
49463         [BZ #10153]
49464         * manual/startup.texi (Environment Access): Describe return value
49465         for putenv and setenv.
49467         [BZ #6895]
49468         * manual/filesys.texi (Directory Entries): Add description for
49469         DT_LNK.
49471         [BZ #6890]
49472         * manual/filesys.texi (Directory Entries): Clarify that it's file
49473         system not operating system in the description of DT_UNKNOWN.
49475         [BZ #6578]
49476         * manual/syslog.texi (closelog): Fix reference, it's openlog.
49478 2012-04-08  Stephen Compall  <s11@member.fsf.org>
49480         [BZ #6649]
49481         * manual/llio.texi (Opening and Closing Files): Add cross
49482         reference to explain mode argument.
49484 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
49486         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
49487         * sysdeps/x86_64/memset_chk.S: Likewise.
49489 2012-04-07  David S. Miller  <davem@davemloft.net>
49491         * elf/elf.h (R_SPARC_WDISP10): Define.
49492         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
49493         R_SPARC_SIZE32.
49494         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
49495         R_SPARC_SIZE64 and R_SPARC_H34.
49497 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
49499         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
49500         conditions and remove no longer applicable assertion.
49502 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49504         * bits/byteswap.h: Include <features.h>.
49505         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
49506         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
49508 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
49510         * bits/byteswap.h (__bswap_16): Removed.
49511         Include <bits/byteswap-16.h> to get __bswap_16.
49512         * sysdeps/i386/bits/byteswap.h: Likewise.
49513         * sysdeps/s390/bits/byteswap.h: Likewise.
49514         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49515         * bits/byteswap-16.h: New file.
49516         * sysdeps/i386/bits/byteswap-16.h: Likewise.
49517         * sysdeps/s390/bits/byteswap-16.h: Likewise.
49518         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
49519         * string/Makefile (headers): Add bits/byteswap-16.h.
49521 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
49523         [BZ #13895]
49524         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
49525         extra indirection.
49526         * nss/Makefile (tests-static, tests): Add tst-nss-static.
49527         * nss/tst-nss-static.c: New.
49529 2012-04-06  Robert Millan  <rmh@gnu.org>
49531         [BZ #6486]
49532         * manual/llio.texi (File Position Primitive): lseek
49533         refers to WHENCE when it really means OFFSET.
49535 2012-04-06  Andreas Jaeger  <aj@suse.de>
49537         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
49538         strncmp declarations.
49540         * abilist/libc.abilist: Add __poll and __ppoll.
49542 2012-04-05  David S. Miller  <davem@davemloft.net>
49544         * scripts/check-local-headers.sh: Accept a host triplet in the
49545         path matched by the exclude regexp.
49547         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
49548         definition.
49549         * sysdeps/powerpc/powerpc32/dl-machine.h
49550         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
49551         * sysdeps/s390/s390-32/dl-machine.h
49552         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49553         * sysdeps/sparc/sparc32/dl-machine.h
49554         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49555         * sysdeps/sparc/sparc64/dl-machine.h
49556         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
49558         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
49559         lazy binding.
49560         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
49561         undefined symbol errors.
49563         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
49564         DT_NEEDED entries.
49566 2012-04-05  Michael Matz  <matz@suse.de>
49568         [BZ #13592]
49569         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
49571 2012-04-05  Andreas Jaeger  <aj@suse.de>
49573         [BZ #13908]
49574         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
49575         comment.
49577 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49579         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
49580         which ROUND is no valid rounding mode.
49582 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49584         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
49585         read again.
49586         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
49588 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49590         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
49591         an exception using FPU order intentionally.
49593 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
49595         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
49596         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
49597         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
49598         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
49600 2012-04-05  Simon Josefsson  <simon@josefsson.org>
49602         [BZ #12340]
49603         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
49604         EINVAL when BUFLEN is too smal.
49606 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
49608         [BZ #13553]
49609         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
49610         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
49612 2012-04-03  Andreas Jaeger  <aj@suse.de>
49614         [BZ #13938]
49615         * manual/setjmp.texi (System V contexts): Fix sentence.
49617         [BZ #13926]
49618         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
49619         New macro for this case.
49620         [!__GNUC__] (__bswap_64): New inline function for this case.
49621         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49622         * bits/byteswap.h: Likewise.
49623         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
49624         ull, guard with __GLIBC_HAVE_LONG_LONG.
49626         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
49627         __GLIBC_HAVE_LONG_LONG.
49629         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
49630         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
49632 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
49634         [BZ #13691]
49635         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
49636         inptr and inend, rather than using last_ch.
49638 2012-04-02  David S. Miller  <davem@davemloft.net>
49640         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
49641         * stdio-common/printf-parse.h (read_int): Change return type to
49642         'int', return -1 on INT_MAX overflow.
49643         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
49644         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
49645         overflows INT_MAX.  Check for overflow of in-format-string precision
49646         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
49647         SIZE_MAX not INT_MAX for integer overflow test.
49648         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
49649         skip the construct in the format string but do not record anything.
49650         * stdio-common/bug22.c: Adjust to test both width/prevision
49651         INT_MAX overflow as well as total length INT_MAX overflow.  Check
49652         explicitly for proper errno values.
49654 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
49656         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
49657         CHAR_MAX.
49658         * string/test-strcmp.c [! WIDE]: Likewise.
49659         * time/tst-mktime2.c: Likewise for INT_MAX.
49660         * string/test-string.h: #include <sys/param.h> for MIN.
49662         * csu/init-first.c (__libc_init_first): Call __ctype_init.
49663         * sysdeps/i386/init-first.c (init): Likewise.
49664         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
49665         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
49666         * sysdeps/sh/init-first.c (init): Likewise.
49668 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
49670         * po/ru.po: Update from translation team.
49671         * po/vi.po: Likewise.
49673 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
49675         * resolv/nss_dns/dns-host.c: Merge copyright years.
49677 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49679         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49680         Optimize memcpy with prefetch if
49681         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
49682         src, dst pointers have unequal 16 byte alignments.
49684 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
49686         [BZ #13928]
49687         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
49688         from a CNAME entry and return the minimum ttl for the query.
49689         (gaih_getanswer_slice): Likewise.
49691 2012-03-30  Jeff Law  <law@redhat.com>
49693         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
49694         due to long keys.
49695         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
49696         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
49698         * resolv/nss_dns/dns-host.c: Update copyright year.
49700 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
49702         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
49703         requests to save a system call.  Fix check that all bytes are sent.
49705         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
49706         comments for sendmmsg.
49708 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
49710         [BZ #13691]
49711         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
49712         with only 1 character between 0x0041 and 0x01b0.
49713         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
49714         * wcsmbs/tst-mbsnrtowcs.c: New file.
49716 2012-03-29  David S. Miller  <davem@davemloft.net>
49718         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
49719         small copies by hand.
49721 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49723         [BZ #13761]
49724         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
49725         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
49726         group memberships.
49728 2012-03-28  David S. Miller  <davem@davemloft.net>
49730         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
49731         that branches into memcpy.
49732         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
49733         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
49734         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
49735         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
49736         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
49737         bits.
49738         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
49739         implementation too.
49740         * sysdeps/sparc/mempcpy.S: New file.
49742         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
49743         the IFUNC routine in the libc case.
49744         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
49746         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
49747         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
49748         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
49749         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
49750         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
49751         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
49752         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
49753         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
49755         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
49756         loop to 256 bytes instead of 64 bytes and fix test signedness.
49758         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
49759         * sysdeps/sparc/sparc32/Makefile: rather than here...
49760         * sysdeps/sparc/sparc64/Makefile: and here.
49762 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
49764         * malloc/mallocbug.c: Avoid warnings about unused variables.
49766 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49768         [BZ #13760]
49769         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
49770         in the right place. Discard and retry query if response is
49771         larger than input buffer size.
49773 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
49775         [BZ #369]
49776         [BZ #2678]
49777         [BZ #3866]
49778         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
49779         x for large integer exponent.
49780         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
49781         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
49782         sign of result as needed afterwards.
49783         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
49784         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
49785         result for underflowing pow the same as for overflow.
49786         (__kernel_standard_l): Handle powl overflow and underflow here
49787         rather than calling __kernel_standard.
49788         * math/libm-test.inc (pow_test): Add more tests.
49790         [BZ #3868]
49791         [BZ #13879]
49792         [BZ #13910]
49793         [BZ #13911]
49794         [BZ #13912]
49795         [BZ #13913]
49796         [BZ #13915]
49797         [BZ #13916]
49798         [BZ #13917]
49799         [BZ #13918]
49800         [BZ #13919]
49801         [BZ #13920]
49802         [BZ #13921]
49803         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
49804         * sysdeps/ieee754/k_standard.c: Include <float.h>.
49805         (__kernel_standard_l): New function.
49806         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
49807         __kernel_standard.
49808         * math/w_acosl.c (__acosl): Likewise.
49809         * math/w_asinl.c (__asinl): Likewise.
49810         * math/w_atan2l.c (__atan2l): Likewise.
49811         * math/w_atanhl.c (__atanhl): Likewise.
49812         * math/w_coshl.c (__coshl): Likewise.
49813         * math/w_exp10l.c (__exp10l): Likewise.
49814         * math/w_exp2l.c (__exp2l): Likewise.
49815         * math/w_fmodl.c (__fmodl): Likewise.
49816         * math/w_hypotl.c (__hypotl): Likewise.
49817         * math/w_j0l.c (__j0l, __y0l): Likewise.
49818         * math/w_j1l.c (__j1l, __y1l): Likewise.
49819         * math/w_jnl.c (__jnl, __ynl): Likewise.
49820         * math/w_lgammal.c (__lgammal): Likewise.
49821         * math/w_log10l.c (__log10l): Likewise.
49822         * math/w_log2l.c (__log2l): Likewise.
49823         * math/w_logl.c (__logl): Likewise.
49824         * math/w_powl.c (__powl): Likewise.
49825         * math/w_remainderl.c (__remainderl): Likewise.
49826         * math/w_scalbl.c (sysv_scalbl): Likewise.
49827         * math/w_sinhl.c (__sinhl): Likewise.
49828         * math/w_sqrtl.c (__sqrtl): Likewise.
49829         * math/w_tgammal.c (__tgammal): Likewise.
49830         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
49831         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
49832         * math/libm-test.inc (acos_test): Add more tests.
49833         (acosh_test): Likewise.
49834         (asin_test): Likewise.
49835         (atanh_test): Likewise.
49836         (exp_test): Likewise.
49837         (exp10_test): Likewise.
49838         (exp2_test): Likewise.
49839         (expm1_test): Likewise.
49840         (lgamma_test): Likewise.
49841         (log_test): Likewise.
49842         (log10_test): Likewise.
49843         (log1p_test): Likewise.
49844         (log2_test): Likewise.
49845         (pow_test): Do not allow some spurious overflow exceptions.
49846         (sqrt_test): Add more tests.
49847         (tgamma_test): Likewise.
49848         (y0_test): Likewise.
49849         (y1_test): Likewise.
49850         (yn_test): Likewise.
49852 2012-03-27  Anton Blanchard  <anton@samba.org>
49854         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
49855         MAP_HUGETLB.
49856         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
49857         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
49858         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
49860 2012-03-27  David S. Miller  <davem@davemloft.net>
49862         * conform/Makefile: Run run-conformtest.sh using $(BASH).
49864         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
49865         have-as-vis3 check.
49867 2012-03-27  Andreas Jaeger  <aj@suse.de>
49869         * sysdeps/x86_64/elf/configure.in: Moved to ...
49870         * sysdeps/x86_64/configure.in: ... here.
49871         * sysdeps/x86_64/elf/start.S: Moved to ...
49872         * sysdeps/x86_64/start.S: ... here.
49873         * sysdeps/x86_64/elf/configure: Delete.
49875         * sysdeps/x86_64/configure.in: Merge contents from
49876         sysdeps/i386/configure.in (without i686 check).
49878         * sysdeps/i386/elf/Versions: Merge into ...
49879         * sysdeps/i386/Versions: ... this.
49880         * sysdeps/i386/elf/Versions: Delete file.
49881         * sysdeps/i386/elf/start.S: Moved to ...
49882         * sysdeps/i386/start.S: ...here.
49883         * sysdeps/i386/elf/configure.in: Merge into...
49884         * sysdeps/i386/configure.in: ...here.
49885         * sysdeps/i386/elf/configure.in: Delete file.
49886         * sysdeps/i386/elf/configure: Delete file.
49888         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
49889         * debug/backtracesyms.c: ... here.
49890         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
49891         * debug/backtracesymsfd.c: ... here.
49892         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
49893         * sysdeps/generic/ifunc-sel.h: ... here.
49895         * sysdeps/unix/i386/start.c: Delete file.
49896         * sysdeps/unix/sparc/start.c: Delete file.
49897         * sysdeps/unix/start.c: Delete file.
49899         * sysdeps/sh/elf/configure.in: Moved to ...
49900         * sysdeps/sh/configure.in: ... here.
49901         * sysdeps/sh/elf/start.S: Moved to ...
49902         * sysdeps/sh/start.S: ... here.
49903         * sysdeps/sh/elf/configure: Delete file.
49905         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
49906         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
49907         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
49908         * sysdeps/powerpc/powerpc64/entry.h: ... here.
49909         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
49910         * sysdeps/powerpc/powerpc64/start.S: here.
49911         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
49912         * sysdeps/powerpc/powerpc64/Makefile: ... this.
49913         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
49914         * sysdeps/powerpc/powerpc64/configure.in: ... this.
49915         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
49917         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
49918         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
49919         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
49920         * sysdeps/powerpc/powerpc32/start.S: ... here.
49921         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
49922         * sysdeps/powerpc/powerpc32/configure.in: ... this.
49923         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
49925         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
49926         * sysdeps/powerpc/ifunc-sel.h: ... here.
49927         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
49928         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
49930         * sysdeps/sparc/elf/configure.in: Moved to ...
49931         * sysdeps/sparc/configure.in: ... here.
49932         * sysdeps/sparc/elf/configure: Delete file.
49933         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
49934         * sysdeps/sparc/sparc32/start.S: ... here.
49935         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
49936         * sysdeps/sparc/sparc64/start.S: ... here.
49937         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
49938         * sysdeps/sparc/sparc32/Makefile: ... this.
49939         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
49940         * sysdeps/sparc/sparc64/Makefile: ... this.
49942         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
49943         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
49944         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
49945         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
49946         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
49947         * sysdeps/s390/s390-32/setjmp.S: ... here.
49948         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
49949         * sysdeps/s390/s390-32/configure.in: ... here.
49950         * sysdeps/s390/s390-32/elf/configure: Delete file.
49951         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
49952         * sysdeps/s390/s390-32/start.S: ... here.
49954         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
49955         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
49956         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
49957         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
49958         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
49959         * sysdeps/s390/s390-64/setjmp.S: ... here.
49960         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
49961         * sysdeps/s390/s390-64/configure.in: ... here
49962         * sysdeps/s390/s390-64/elf/configure: Delete file.
49963         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
49964         * sysdeps/s390/s390-64/start.S: ... here.
49965         * sysdeps/s390/s390-64/elf/configure: Delete.
49967         * configure.in: Remove support for elf directories in sysdeps.
49969         * configure: Regenerated.
49970         * sysdeps/i386/configure: Regenerated.
49971         * sysdeps/powerpc/powerpc32/configure: Regenerated.
49972         * sysdeps/powerpc/powerpc64/configure: Regenerated.
49973         * sysdeps/s390/s390-32/configure: Regenerated.
49974         * sysdeps/s390/s390-64/configure: Regenerated.
49975         * sysdeps/sh/configure: Regenerated.
49976         * sysdeps/sparc/configure: Regenerated.
49977         * sysdeps/x86_64/configure: Regenerated.
49979 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
49981         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49983         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
49984         denormal result into account.
49986 2012-03-25  Roland McGrath  <roland@hack.frob.com>
49988         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
49989         Reported by Allan McRae <allan@archlinux.org>.
49991 2012-03-23  Jeff Law  <law@redhat.com>
49993         * nss/getnssent.c (__nss_getent): Fix typo.
49995 2012-03-23  David S. Miller  <davem@davemloft.net>
49997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49999 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
50001         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
50002         to pad to uint64_t for each field.
50003         (dl_tls_index): Replace unsigned long with uint64_t.
50005 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
50006         Paul Pluzhnikov  <ppluzhnikov@google.com>
50008         [BZ #6528]
50009         * grp/Makefile (otherlibs): Don't set it.
50010         * inet/Makefile (otherlibs): Likewise.
50011         * login/Makefile (otherlibs): Likewise.
50012         * nscd/Makefile (otherlibs): Likewise.
50013         * posix/Makefile (otherlibs): Likewise.
50014         * pwd/Makefile (otherlibs): Likewise.
50015         * rt/Makefile (otherlibs): Likewise.
50016         * sunrpc/Makefile (otherlibs): Likewise.
50017         * nss/Makefile (otherlibs): Likewise.
50018         Add libnss_files to routines and static-only-routines.
50019         ($(objpfx)getent): Remove rule.
50020         * resolv/Makefile: Add libnss_dns and libresolv to routines and
50021         static-only-routines.
50023 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50025         [BZ #13892]
50026         * math/s_cexp.c: Include <float.h>.
50027         (__cexp): Handle exp result overflowing not necessarily
50028         overflowing both real and imaginary parts of result.
50029         * math/s_cexpf.c: Likewise.
50030         * math/s_cexpl.c: Likewise.
50031         * math/libm-test.inc (cexp_test): Add more tests.
50032         * sysdeps/i386/fpu/libm-test-ulps: Update.
50033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50035 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50037         * include/link.h (ELFW): New macro.
50038         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
50039         Replace ELF64_R_TYPE with ELFW(R_TYPE).
50041 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50043         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
50044         with uint64_t.
50046 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50048         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
50049         declaration.
50050         (struct La_x32_retval): Likewise.
50052 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
50054         * sysdeps/x86_64/preconfigure.in: New file.
50055         * sysdeps/x86_64/preconfigure: New generated file.
50057 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
50059         [BZ #13824]
50060         * math/e_exp2l.c: Include <float.h>.
50061         (__ieee754_exp2l): Handle overflow and underflow cases
50062         separately.  Only pass fractional part of argument to
50063         __ieee754_expl.
50064         * math/libm-test.inc (exp2_test): Add more tests.
50066         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
50067         negating x to take absolute value.
50068         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
50069         Likewise.
50070         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
50071         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
50072         Likewise.
50073         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
50074         computing low part if x was negated.
50075         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
50077 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50079         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
50080         la_x32_gnu_pltexit.
50081         (pltexit): Cast int_retval to ptrdiff_t.
50082         * elf/tst-auditmod3b.c: Likewise.
50083         * elf/tst-auditmod4b.c: Likewise.
50084         * elf/tst-auditmod5b.c: Likewise.
50085         * elf/tst-auditmod6b.c: Likewise.
50086         * elf/tst-auditmod6c.c: Likewise.
50087         * elf/tst-auditmod7b.c: Likewise.
50089         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
50090         and x32_gnu_pltexit.
50092         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
50093         __ELF_NATIVE_CLASS.
50094         (La_x32_regs): New macro.
50095         (La_x32_retval): Likewise.
50096         (la_x32_gnu_pltenter): New function prototype.
50097         (la_x32_gnu_pltexit): Likewise.
50099 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
50101         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
50102         exponent.
50104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50106         * configure.in (libc_cv_cc_nofma): Check for option to disable
50107         generation of FMA instructions.
50108         * configure: Regenerate.
50109         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
50110         * sysdeps/ieee754/dbl-64/Makefile: New file.
50111         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
50112         Remove brandred-fma4.
50113         (CFLAGS-brandred-fma4.c): Remove.
50114         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
50115         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
50116         define.
50117         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
50118         define.
50120 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50122         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
50123         LLONG_MAX != LONG_MAX.
50124         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50125         (_fitoa_word): Likewise.
50126         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
50127         LLONG_MAX != LONG_MAX.
50128         * stdio-common/_itowa.h: Include <_itoa.h>.
50129         (_itowa_word): Use _ITOA_WORD_TYPE on value.
50130         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
50131         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
50132         only if not defined.
50133         (_ITOA_WORD_TYPE): Likewise.
50134         (_itoa_word): Use _ITOA_WORD_TYPE on value.
50135         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
50137 2012-03-21  David S. Miller  <davem@davemloft.net>
50139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50141 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
50143         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
50144         of x86_64 when setting libc_cv_slibdir, libdir and
50145         libc_cv_localedir.
50146         * sysdeps/unix/sysv/linux/configure: Regenerated.
50148 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50150         * manual/lang.texi (Old Varargs): Remove section.
50151         (How Variadic): Update menu.
50152         (va_start): Do not mention varargs.h.
50154 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50155             Joseph Myers  <joseph@codesourcery.com>
50157         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
50158         link test.
50159         * configure: Regenerated.
50161 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
50163         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
50164         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
50165         conformtest.pl
50167 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50169         * NOTES: Remove.
50170         * Makefile (files-for-dist): Remove NOTES.
50171         (NOTES): Remove rule.
50172         * README: Don't refer to NOTES.
50173         * manual/creature.texi: Don't include macros.texi.
50174         * manual/intro.texi (creature.texi): Remove comment referring to
50175         NOTES.
50177         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
50178         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
50179         * configure: Regenerated.
50180         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
50181         LIBC_TRY_CC_OPTION.
50182         (libc_cv_as_i686): Likewise.
50183         (libc_cv_cc_avx): Likewise.
50184         (libc_cv_cc_sse2avx): Likewise.
50185         (libc_cv_cc_fma4): Likewise.
50186         (libc_cv_cc_novzeroupper): Likewise.
50187         * sysdeps/i386/configure: Regenerated.
50189         [BZ #13883]
50190         * sysdeps/i386/fpu/s_cexp.S: Remove.
50191         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50192         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50193         * math/libm-test.inc (cexp_test): Add more tests.
50194         * sysdeps/i386/fpu/libm-test-ulps: Update.
50195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50197 2012-03-21  Allan McRae  <allan@archlinux.org>
50199         * timezone/Makefile: Do not install iso3166.tab and zone.tab
50201 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
50203         [BZ #13871]
50204         * math/w_exp2.c: Do not include <float.h>.
50205         (o_threshold, u_threshold): Remove.
50206         (__exp2): Calculate result before checking finiteness and calling
50207         __kernel_standard.
50208         * math/w_exp2f.c: Likewise.
50209         * math/w_exp2l.c: Likewise.
50210         * math/libm-test.inc (exp2_test): Require overflow exception for
50211         1e6 input.
50213         [BZ #3866]
50214         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
50215         range of signed 64-bit integers before using fistpll.  Remove
50216         checks for whether integers fit in mantissa bits.
50217         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
50218         the range of signed 32-bit integers before using fistpl.  Remove
50219         checks for whether integers fit in mantissa bits.
50220         * sysdeps/i386/fpu/e_powl.S (p64): New object.
50221         (__ieee754_powl): Test for y outside the range of signed 64-bit
50222         integers before using fistpll.  Reduce 64-bit values to 63-bit
50223         ones as needed.
50224         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
50225         divide-by-zero is raised for zero to large negative powers.
50226         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
50227         (__ieee754_powl): Test for y outside the range of signed 64-bit
50228         integers before using fistpll.  Reduce 64-bit values to 63-bit
50229         ones as needed.
50230         * math/libm-test.inc (pow_test): Add more tests.
50232 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50234         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
50235         <stdio-common/_itoa.h>.
50236         * debug/segfault.c: Likewise.
50237         * elf/dl-cache.c: Likewise.
50238         * elf/dl-minimal.c: Likewise.
50239         * elf/dl-misc.c: Likewise.
50240         * elf/dl-sysdep.c: Likewise.
50241         * elf/dl-version.c: Likewise.
50242         * elf/rtld.c: Likewise.
50243         * hurd/hurdsock.c: Likewise.
50244         * hurd/lookup-retry.c: Likewise.
50245         * malloc/malloc.c: Likewise.
50246         * malloc/mtrace.c: Likewise.
50247         * nscd/nscd_getgr_r.c: Likewise.
50248         * nscd/nscd_getpw_r.c: Likewise.
50249         * nscd/nscd_getserv_r.c: Likewise.
50250         * posix/getopt_init.c: Likewise.
50251         * posix/wordexp.c: Likewise.
50252         * stdio-common/_itoa.c: Likewise.
50253         * stdio-common/printf_fphex.c: Likewise.
50254         * stdio-common/vfprintf.c: Likewise.
50255         * string/_strerror.c: Likewise.
50256         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
50257         * sysdeps/i386/i686/hp-timing.h: Likewise.
50258         * sysdeps/mach/_strerror.c: Likewise.
50259         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
50260         * sysdeps/mach/hurd/sethostid.c: Likewise.
50261         * sysdeps/mach/hurd/xmknodat.c: Likewise.
50262         * sysdeps/mach/xpg-strerror.c: Likewise.
50263         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50264         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
50265         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
50266         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
50267         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
50268         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
50269         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
50270         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
50271         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
50272         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
50273         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
50274         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
50275         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
50276         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
50277         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
50278         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
50279         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
50280         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
50281         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
50282         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
50283         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
50285         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
50287         * stdio-common/_itoa.h: Moved to ...
50288         * sysdeps/generic/_itoa.h: Here.
50290         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
50292         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
50293         instead of "_itoa.h" and "_itowa.h".
50294         * stdio-common/vfprintf.: Likewise.
50296 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50298         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
50299         <bits/wordsize.h>.
50300         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
50301         (__signbit): Likwise.
50302         (llrintf): Likwise.
50303         (llrint): Likwise.
50305 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
50307         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
50308         __WORDSIZE != 64.
50310 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
50312         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
50313         OVERFLOW_EXCEPTION_OK.
50314         * math/libm-test.inc ("Philosophy"): Update comment about
50315         exception testing.
50316         (OVERFLOW_EXCEPTION): Define.
50317         (OVERFLOW_EXCEPTION_OK): Likewise.
50318         (INVALID_EXCEPTION_OK): Renumber.
50319         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50320         (IGNORE_ZERO_INF_SIGN): Likewise.
50321         (test_exceptions): Handle FE_OVERFLOW.
50322         (exp10_test): Expect overflow exceptions.
50323         (exp2_test): Likewise.
50324         (expm1_test): Likewise.
50325         (nextafter_test): Likewise.
50326         (pow_test): Likewise.
50327         (scalbn_test): Likewise.
50328         (scalbln_test): Likewise.
50330 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50332         * sysdeps/x86_64/bits/atomic.h
50333         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
50334         64bit integer.
50335         (atomic_exchange_acq): Likewise.
50336         (__arch_exchange_and_add_body): Likewise.
50337         (__arch_add_body): Likewise.
50338         (atomic_add_negative): Likewise.
50339         (atomic_add_zero): Likewise.
50341 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50343         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
50344         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
50346 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50348         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
50349         Check __x86_64__ instead of __WORDSIZE.
50351 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50353         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
50355 2012-03-19  David S. Miller  <davem@davemloft.net>
50357         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50359         * sysdeps/sparc/fpu/fenv_private.h: New file.
50360         * sysdeps/sparc/fpu/math_private.h: Use it.
50361         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
50362         Remove.
50363         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
50364         (libc_feholdexcept_setroundl): Remove.
50365         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
50366         Remove.
50367         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
50368         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
50370 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50372         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
50373         int64_t instead of long int.
50374         (INSERT_WORDS64): Likwise.
50376 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
50378         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
50379         _Unwind_GetCFA return to _Unwind_Ptr first.
50381 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
50383         [BZ #13629]
50384         * math/s_clog.c: Include <float.h>.
50385         (__clog): Scale large or subnormal inputs.
50386         * math/s_clogf.c: Likewise.
50387         * math/s_clogl.c: Likewise.
50388         * math/s_clog10.c: Include <float.h>.
50389         (M_LOG10_2): Define.
50390         (__clog10): Scale large or subnormal inputs.
50391         * math/s_clog10f.c: Likewise.
50392         * math/s_clog10l.c: Likewise.
50393         * math/libm-test.inc (clog_test): Add more tests.
50394         (clog10_test): Likewise.
50395         * sysdeps/i386/fpu/libm-test-ulps: Update.
50396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50398         [BZ #11451]
50399         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
50400         x and y.
50401         * math/libm-test.inc (atan2_test): Add another test.
50403         * Makerules (common-objdir-compile): Remove.
50404         * sysdeps/unix/Makefile (config-generated): Do not add
50405         $(unix-generated) to variable.
50406         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
50407         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
50408         Remove rule.
50409         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
50410         Likewise.
50411         [generic bits/local_lim.h] (before-compile): Do not append to
50412         variable.
50413         [generic bits/local_lim.h] (common-generated): Likewise.
50414         [generic sys/param.h] (before-compile): Do not append to variable.
50415         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
50416         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
50417         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
50418         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
50419         include.
50420         [generic sys/param.h] (sys/param.h-includes): Remove variable.
50421         [generic sys/param.h] (sys/param.h-includes): Remove rule.
50422         [generic sys/param.h] ($(addprefix
50423         $(common-objpfx),$(sys/param.h-includes))): Likewise.
50424         [generic sys/param.h] (common-generated): Do not append to
50425         variable.
50426         [generic sys/param.h] (sysdep_headers): Likewise.
50427         [generic bits/errno.h] (before-compile): Do not append to
50428         variable.
50429         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
50430         rule.
50431         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
50432         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
50433         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
50434         [generic bits/errno.h] (common-generated): Do not append to
50435         variable.
50436         [generic bits/ioctls.h] (before-compile): Do not append to
50437         variable.
50438         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
50439         rule.
50440         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
50441         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
50442         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
50443         rule.
50444         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
50445         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
50446         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
50447         [generic bits/ioctls.h] (common-generated): Do not append to
50448         variable.
50449         [generic sys/syscall.h] (syscall.h): Remove variable.
50450         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
50451         rule.
50452         [generic sys/syscall.h] (before-compile): Do not append to
50453         variable.
50454         [generic sys/syscall.h] (common-generated): Likewise.
50455         * sysdeps/unix/errnos-tmpl.c: Remove file.
50456         * sysdeps/unix/errnos.awk: Likewise.
50457         * sysdeps/unix/ioctls-tmpl.c: Likewise.
50458         * sysdeps/unix/ioctls.awk: Likewise.
50459         * sysdeps/unix/mk-local_lim.c: Likewise.
50460         * sysdeps/unix/snarf-ioctls: Likewise.
50462 2012-03-19  Richard Henderson  <rth@twiddle.net>
50464         * sysdeps/i386/fpu/fenv_private.h: New file.
50465         * sysdeps/i386/fpu/math_private.h: Use it.
50466         (math_opt_barrier, math_force_eval): Remove.
50467         (libc_feholdexcept_setround_53bit): Remove.
50468         (libc_feupdateenv_53bit): Remove.
50469         * sysdeps/x86_64/fpu/math_private.h: Likewise.
50470         (math_opt_barrier, math_force_eval): Remove.
50471         (libc_feholdexcept): Remove.
50472         (libc_feholdexcept_setround): Remove.
50473         (libc_fetestexcept, libc_fesetenv): Remove.
50474         (libc_feupdateenv_test): Remove.
50475         (libc_feupdateenv, libc_feholdsetround): Remove.
50476         (libc_feresetround): Remove.
50478         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
50479         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
50481         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
50482         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
50483         (libc_feupdateenv_testl): New.
50484         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
50485         (libc_feupdateenv_testf): New.
50486         (libc_feupdateenv): Use libc_feupdateenv_test.
50487         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
50488         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
50490         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
50491         (libc_feholdsetroundf, libc_feholdsetroundl): New.
50492         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
50493         (libc_feresetround_noex): New.
50494         (libc_feresetround_noexf): New.
50495         (libc_feresetround_noexl): New.
50496         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
50497         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
50498         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
50499         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
50500         SET_RESTORE_ROUND.
50501         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
50502         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
50503         (__cos): Likewise.
50504         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
50505         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
50506         SET_RESTORE_ROUND_NOEX.
50507         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
50508         SET_RESTORE_ROUND_NOEXF.
50509         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
50510         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
50511         (libc_feholdsetroundf): New.
50512         (libc_feresetround, libc_feresetroundf): New.
50514         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
50515         (libc_feholdexcept_setround_53bit): Convert from macro to function.
50516         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
50518         * sysdeps/generic/math_private.h: Include <fenv.h>.
50519         (default_libc_feholdexcept): New.
50520         (default_libc_feholdexcept_setround): New.
50521         (default_libc_fesetenv, default_libc_feupdateenv): New.
50522         (libc_feholdexcept): Only define if undefined.
50523         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
50524         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
50525         (libc_feholdexcept_setroundl): Likewise.
50526         (libc_feholdexcept_setround_53bit): Likewise.
50527         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
50528         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
50529         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
50530         (libc_feupdateenv_53bit): Likewise.
50531         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
50532         (libc_feholdexcept): Convert from macro to inline function.
50533         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
50534         (libc_fesetenv, libc_feupdateenv): Likewise.
50536         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
50537         not previously defined.
50538         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
50539         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
50540         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
50541         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
50542         * sysdeps/ieee754/flt-32/math_private.h: New file.
50543         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
50544         math_private.h below SET_FLOAT_WORD.
50545         (__isnan, __isinf_ns, __finite): Remove.
50546         (__isnanf, __isinf_nsf, __finitef): Remove.
50548 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
50550         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50552 2012-03-17  David S. Miller  <davem@davemloft.net>
50554         [BZ #6471]
50555         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
50556         for 2.16.
50558 2012-03-16  David S. Miller  <davem@davemloft.net>
50560         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
50561         warnings.
50563         [BZ #6471]
50564         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
50565         properly.
50566         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
50567         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
50568         sysdep_routines when subdir is sysvipc.
50569         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
50570         __getshmlba helper.
50572         * sysdeps/sparc/fpu/libm-test/ulps: Update.
50574 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50576         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
50577         [__LP64__].
50579 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50581         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
50582         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
50583         (__lround): Renamed to ...
50584         (__llround): This.  Replace long int with long long int.
50585         Define lround functions as aliases of llround functions.
50586         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
50588 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50590         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
50591         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
50592         adresses to uintptr_t.  Replace "long int" and "unsigned long
50593         int" with "greg_t" on va_arg.
50595 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50597         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
50598         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
50600         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
50601         Move e_machine check before EI_CLASS check.  Handle x32
50602         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
50603         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
50604         SKIP_EM_IA_64 and include
50605         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
50607         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
50608         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
50609         (add_system_dir): New macro.
50611         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
50612         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
50614 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50616         [BZ #2551]
50617         [BZ #2552]
50618         [BZ #2553]
50619         [BZ #2554]
50620         [BZ #2562]
50621         [BZ #2563]
50622         [BZ #2565]
50623         [BZ #2566]
50624         [BZ #2576]
50625         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
50626         (y0): Likewise.
50627         * math/w_j0f.c (j0f): Likewise.
50628         (y0f): Likewise.
50629         * math/w_j0l.c (__j0l): Likewise.
50630         (__y0l): Likewise.
50631         * math/w_j1.c (j1): Likewise.
50632         (y1): Likewise.
50633         * math/w_j1f.c (j1f): Likewise.
50634         (y1f): Likewise.
50635         * math/w_j1l.c (__j1l): Likewise.
50636         (__y1l): Likewise.
50637         * math/w_jn.c (jn): Likewise.
50638         (yn): Likewise.
50639         * math/w_jnf.c (jnf): Likewise.
50640         (ynf): Likewise.
50641         * math/w_jnl.c (__jnl): Likewise.
50642         (__ynl): Likewise.
50643         * math/libm-test.inc (j0_test): Add more tests.
50644         (j1_test): Likewise.
50645         (jn_test): Likewise.  Add trailing semicolon to existing test.
50646         (y0_test): Likewise.
50647         (y1_test): Likewise.
50648         * sysdeps/i386/fpu/libm-test-ulps: Update.
50649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50651         [BZ #13851]
50652         [BZ #13854]
50653         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
50654         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
50655         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
50656         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
50657         (__tanl): Set errno for infinite argument.
50658         * sysdeps/i386/fpu/mptan.c: Remove.
50659         * sysdeps/i386/fpu/s_tan.S: Likewise.
50660         * sysdeps/i386/fpu/s_tanl.S: Likewise.
50661         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
50662         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
50663         * math/libm-test.inc (tan_test): Add more tests and enable more
50664         tests for double and long double.
50665         * sysdeps/i386/fpu/libm-test-ulps: Update.
50666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50668 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
50670         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
50671         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
50673 2012-03-16  Roland McGrath  <roland@hack.frob.com>
50675         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
50676         * configure.in: Use it for both main tree and add-ons.
50677         * configure: Regenerated.
50679 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
50681         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
50683 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
50685         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
50686         in comment.
50688         [BZ #13851]
50689         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
50690         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
50691         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
50692         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
50693         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
50694         infinite argument.
50695         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
50696         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
50697         != 0 for prec == 2.
50698         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
50699         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
50700         * sysdeps/i386/fpu/s_cosl.S: Likewise.
50701         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
50702         * sysdeps/i386/fpu/s_sinl.S: Likewise.
50703         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
50704         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
50705         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
50706         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
50707         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
50708         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
50709         * math/libm-test.inc (cos_test): Add more tests and enable more
50710         tests for long double.
50711         (sin_test): Likewise.
50712         (sincos_test): Likewise.
50713         * sysdeps/i386/fpu/libm-test-ulps: Update.
50714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50716 2012-03-16  David S. Miller  <davem@davemloft.net>
50718         * sysdeps/sparc/fpu/math_private.h: New file.
50720 2012-03-15  David S. Miller  <davem@davemloft.net>
50722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
50723         file.
50724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
50725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
50726         file.
50727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
50728         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
50729         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
50730         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
50731         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
50732         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
50733         sysdep routines.
50734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50736         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
50737         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
50739         * sysdeps/sparc/sparc-ifunc.h: New file.
50740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
50741         sparc-ifunc.h
50742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
50743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
50744         Likewise.
50745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
50746         Likewise.
50747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
50748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
50749         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
50750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
50751         Likewise.
50752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
50753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
50754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
50755         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
50756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
50757         Likewise.
50758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
50759         Likewise.
50760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
50761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
50762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
50763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
50764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
50765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
50766         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
50767         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
50768         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
50769         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
50770         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
50771         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
50772         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
50773         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
50774         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
50775         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
50776         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
50777         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
50778         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
50779         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
50780         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
50781         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
50782         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
50783         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
50785 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50787         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
50788         scaling.
50789         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50791 2012-03-15  Andreas Jaeger  <aj@suse.de>
50793         [BZ #13852]
50794         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
50795         ieee754/flt-32 implementation for sin, cos and sincos.
50796         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
50797         * sysdeps/i386/fpu/s_cosf.S: Likewise.
50798         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
50799         * sysdeps/i386/fpu/s_sinf.S: Likewise.
50800         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
50801         ieee754/flt-32 implementation for tan.
50803         * math/libm-test.inc (cos_test): Enable some large input tests for
50804         float as well
50805         (sin_test): Likewise.
50806         (sincos_test): Likewise.
50807         (tan_test): Add tests for large input.
50809         * sysdeps/i386/fpu/libm-test-ulps: Update.
50811 2012-03-15  Andreas Jaeger  <aj@suse.de>
50813         [BZ #13658]
50814         * math/libm-test.inc (cos_test): Add more test cases.
50815         (sin_test): Likewise.
50816         (sincos_test): Likewise.
50818 2012-03-15  Andreas Jaeger  <aj@suse.de>
50820         [BZ #13837]
50821         * math/libm-test.inc (cos_test): Add a test case for large input
50822         value.
50823         (sin_test): Likewise.
50824         (sincos_test): Likewise.
50826 2012-03-15  Andreas Jaeger  <aj@suse.de>
50827             Joseph Myers  <joseph@codesourcery.com>
50829         [BZ #13658]
50830         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
50831         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
50832         * sysdeps/i386/fpu/branred.c: Likewise.
50833         * sysdeps/i386/fpu/dosincos.c: Likewise.
50834         * sysdeps/i386/fpu/mpa.c: Likewise.
50835         * sysdeps/i386/fpu/s_cos.S: Likewise.
50836         * sysdeps/i386/fpu/s_sin.S: Likewise.
50837         * sysdeps/i386/fpu/s_sincos.S: Likewise.
50838         * sysdeps/i386/fpu/sincos32.c: Likewise.
50840         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
50841         Define.
50842         (libc_feupdateenv_53bit): Define.
50843         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
50844         Define.
50845         (libc_feupdateenv_53bit): Define.
50847         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
50848         53 bit (without extend i386 double precision).
50850         * math/libm-test.inc (sincos_test): Add tests for large input.
50851         (sin): Likewise.
50852         (cos): Likewise.
50854         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
50856 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
50858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50860 2012-03-15  David S. Miller  <davem@davemloft.net>
50862         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
50863         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
50864         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
50865         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
50866         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
50867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
50868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
50869         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
50870         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
50871         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
50872         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
50873         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
50874         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
50875         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
50876         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
50877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
50878         file.
50879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
50880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
50881         file.
50882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
50883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
50884         file.
50885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
50886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
50887         file.
50888         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
50889         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
50890         fmin/fmax sysdep routines.
50891         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
50893 2012-03-14  David S. Miller  <davem@davemloft.net>
50895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
50896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
50897         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
50898         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
50899         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
50900         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
50901         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
50902         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
50903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
50904         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
50905         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
50906         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
50907         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
50908         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
50909         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
50910         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
50911         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
50912         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
50913         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
50914         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
50915         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
50916         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
50917         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
50918         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
50919         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
50920         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
50921         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
50922         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
50923         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
50924         routines.
50925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
50926         file.
50927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
50928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
50929         file.
50930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
50931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
50932         file.
50933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
50934         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
50935         file.
50936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
50937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
50938         file.
50939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
50940         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
50941         file.
50942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
50943         file.
50944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
50945         file.
50946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
50947         file.
50948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
50949         New file.
50950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
50951         file.
50952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
50953         file.
50954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
50955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
50956         file.
50957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
50958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
50959         file.
50960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
50961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
50962         file.
50963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
50964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
50965         VIS3 routines.
50967         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
50968         New file.
50970         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50972         * sysdeps/sparc/configure.in: New file.
50973         * sysdeps/sparc/configure: Generate.
50974         * configure.in (libc_cv_sparc_as_vis3): Substitute.
50975         * configure: Regenerate.
50976         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
50977         * config.make.in (have-as-vis3): New.
50978         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
50979         available use -Av9d instead of -Av9a.
50980         * sysdeps/sparc/sparc64/Makefile: Likewise.
50981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
50982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
50983         New file.
50984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
50985         file.
50986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
50987         New file.
50988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
50989         file.
50990         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
50991         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
50992         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
50993         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
50994         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
50996         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
50997         fzeros/fnegs to load 0x80000000 into a float register instead of
50998         using the stack.
50999         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
51001 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51003         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51004         bits/syscall.h.
51005         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
51006         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
51007         ($(inst_includedir)/bits/syscall.h): Remove rule.
51008         ($(objpfx)bits/syscall.d): Include instead of
51009         $(objpfx)syscall-list.d.
51010         (generated): Change syscall-list.h and syscall-list.d to
51011         bits/syscall.h and bits/syscall.d.
51013 2012-03-14  Roland McGrath  <roland@hack.frob.com>
51015         [BZ #13846]
51016         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
51018 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
51020         [BZ #13841]
51021         * math/s_csqrt.c: Include <float.h>.
51022         (__csqrt): Scale large or subnormal inputs.
51023         * math/s_csqrtf.c: Likewise.
51024         * math/s_csqrtl.c: Likewise.
51025         * math/libm-test.inc (csqrt_test): Add more tests.
51026         * sysdeps/i386/fpu/libm-test-ulps: Update.
51027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51029         [BZ #13840]
51030         * math/libm-test.inc (hypot_test): Add more tests.
51032 2012-03-13  David S. Miller  <davem@davemloft.net>
51034         [BZ #13840]
51035         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
51036         double-precision for the calculation instead of scaling.
51038 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
51040         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
51041         manipulate bits before adding and subtracting TWO52[sx].
51042         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
51043         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
51044         Likewise.
51045         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
51047 2012-03-13  David S. Miller  <davem@davemloft.net>
51049         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
51050         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
51051         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
51052         rtld-global-offsets.h
51053         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
51055         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
51056         large parameters.
51058         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
51060         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
51061         'err' in the ifdef scope in which it is actually used.
51063         * nss/nss_db/db-init.c: Include string.h
51065 2012-03-12  David S. Miller  <davem@davemloft.net>
51067         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51068         masking out of the most significant byte of random value used.
51069         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51070         Fix coding style in previous change.
51072         * sysdeps/unix/sysv/linux/kernel-features.h
51073         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
51074         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
51075         expression.
51076         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
51077         later.
51079 2012-03-11  David S. Miller  <davem@davemloft.net>
51081         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
51082         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
51083         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
51084         for 'resultvar' otherwise things get truncated on 64-bit.
51086         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
51087         Fix masking out of the most significant byte of random value used.
51089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51091 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
51093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51095 2012-03-09  David S. Miller  <davem@davemloft.net>
51097         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
51098         variables with appropriate CPP guards.
51099         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
51100         from the frame pointer, not the stack pointer.  Correct layout
51101         comments.  Fix test on resulting framesize and the management of
51102         the outregs buffer for pltexit.  Preserve floating point return
51103         values across _dl_call_pltexit call.
51104         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
51105         framesize and the management of the outregs buffer for pltexit.
51106         Preserve floating point return values across _dl_call_pltexit
51107         call.
51108         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
51109         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
51110         (la_sparc64_gnu_pltexit): New functions.
51111         (print_exit): Fix format string for return register value.
51113 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
51115         * sunrpc/Makefile (others): Add rpcgen.
51116         ($(objpfx)rpcgen): Remove special build rule and dependency on
51117         libc.
51118         * sunrpc/rpcgen.c: New file.
51120 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
51122         [BZ #13673]
51123         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
51124         * stdio-common/bug-vfprintf-nargs.c: Likewise.
51125         * sysdeps/i386/crti.S: Likewise.
51126         * sysdeps/i386/crtn.S: Likewise.
51127         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
51128         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
51129         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
51130         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
51131         * sysdeps/sh/crti.S: Likewise.
51132         * sysdeps/sh/crtn.S: Likewise.
51133         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
51135         [BZ #13673]
51136         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
51137         with URL.
51138         * locale/programs/locfile-kw.gperf: Likewise.
51139         * locale/programs/charmap-kw.h: Regenerated.
51140         * locale/programs/locfile-kw.h: Likewise.
51142         [BZ #13673]
51143         * intl/plural.y: Replace FSF snail mail address with URL.
51144         * intl/plural.c: Regenerated.
51146 2012-03-09  Richard Henderson  <rth@twiddle.net>
51148         * include/math_private.h: Remove file.
51149         * math/math_private.h: Move file ...
51150         * sysdeps/generic/math_private.h: ... here.
51152         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
51153         * sysdeps/powerpc/fpu/math_private.h: Likewise.
51154         * sysdeps/x86_64/fpu/math_private.h: Likewise.
51156         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
51157         and <math_private.h>.
51158         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51159         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51160         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51161         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51162         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51163         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
51164         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51165         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51166         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51167         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51168         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51169         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51170         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51171         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51172         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51173         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51174         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51175         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51176         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51177         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51178         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51179         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51180         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51181         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51182         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51183         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51184         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51185         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51186         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51187         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51188         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51189         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51190         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51191         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51192         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51193         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51194         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51195         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51196         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51197         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51198         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
51199         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51200         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51201         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51202         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51203         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51204         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
51205         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51206         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51207         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51208         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51209         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
51210         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51211         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51212         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51213         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51214         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51215         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51216         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51217         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
51218         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51219         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51220         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51221         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51222         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
51223         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51224         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51225         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51226         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
51227         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
51228         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
51229         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51230         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
51231         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51232         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
51233         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
51234         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
51235         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51236         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
51237         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
51238         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
51239         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
51240         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
51241         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51242         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51243         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
51244         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
51245         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
51246         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51247         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51248         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51249         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51250         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51251         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51252         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51253         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51254         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51255         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51256         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51257         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51258         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51259         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51260         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51261         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51262         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51263         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51264         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51265         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51266         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51267         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51268         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51269         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51270         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51271         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51272         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
51273         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51274         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51275         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51276         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51277         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51278         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51279         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51280         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51281         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
51282         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51283         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51284         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51285         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
51286         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51287         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
51288         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
51289         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51290         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51291         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
51292         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
51293         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51294         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51295         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51296         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
51297         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51298         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51299         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51300         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51301         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
51302         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
51303         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51304         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51305         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51306         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
51307         * sysdeps/ieee754/k_standard.c: Likewise.
51308         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51309         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51310         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51311         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51312         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51313         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51314         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51315         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51316         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51317         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51318         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51319         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51320         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51321         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51322         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51323         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51324         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
51325         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51326         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51327         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
51328         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
51329         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
51330         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51331         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51332         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
51333         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
51334         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51335         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51336         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51337         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51338         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
51339         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51340         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51341         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51342         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
51343         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51344         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51345         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
51346         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
51347         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51348         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
51349         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
51350         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
51351         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51352         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
51353         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
51354         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51355         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51356         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51357         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51358         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51359         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
51360         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51361         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
51362         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51363         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51364         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
51365         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
51366         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51367         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51368         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51369         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
51370         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51371         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51372         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51373         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51374         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51375         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51376         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51377         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51378         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51379         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51380         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51381         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51382         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51383         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51384         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
51385         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51386         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51387         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
51388         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
51389         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
51390         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51391         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51392         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
51393         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51394         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51395         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
51396         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
51397         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51398         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
51399         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51400         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
51401         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
51402         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51403         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51404         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
51405         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
51406         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
51407         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
51408         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51409         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51410         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51411         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51412         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
51413         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51414         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51415         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
51416         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
51417         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51418         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51419         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51420         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51421         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51422         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51423         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51424         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51425         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51426         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51427         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51428         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51429         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51430         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51431         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51432         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51433         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
51434         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51435         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51436         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51437         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51438         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51439         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51440         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51441         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
51442         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51443         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51444         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
51445         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
51446         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51447         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
51448         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
51449         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51450         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
51451         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
51452         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51453         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51454         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51455         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51456         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51457         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
51458         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51459         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51460         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51461         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
51462         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
51463         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
51464         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51465         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51466         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51467         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
51468         * sysdeps/ieee754/s_lib_version.c: Likewise.
51469         * sysdeps/ieee754/s_matherr.c: Likewise.
51470         * sysdeps/ieee754/s_signgam.c: Likewise.
51471         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51472         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51473         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
51474         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
51475         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
51476         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
51477         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
51478         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
51479         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
51480         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
51481         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
51482         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
51483         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51484         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51485         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
51486         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
51487         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
51488         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
51489         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
51490         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51491         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51493 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51495         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
51496         * sunrpc/rpc_main.c: Likewise.
51497         * sunrpc/rpc_svcout.c: Likewise.
51499 2012-03-09  David S. Miller  <davem@davemloft.net>
51501         * include/math_private.h: New file.
51503 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
51505         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
51506         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
51507         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
51508         from <bits/socket_type.h>.
51509         (enum __socket_type): Don't define here.
51510         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
51511         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51512         bits/socket_type.h.
51514         [BZ #13566]
51515         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
51516         checking __USE_GNU.
51518         * Makerules ($(inst_includedir)/%.h): New rule.
51519         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
51520         (install-others): Remove variable setting.
51521         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
51523 2012-03-08  Richard Henderson  <rth@twiddle.net>
51525         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
51526         from macro to inline function; merge with the
51527         !__LIBC_INTERNAL_MATH_INLINES version.
51528         (__ieee754_sqrtf): Likewise.
51530         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
51531         to inline function.
51532         (__rintf, __floor, __floorf): Likewise.
51534         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
51535         macro to inline function.
51536         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
51538         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
51539         not <math/math_private.h>.
51541 2012-03-08  David S. Miller  <davem@davemloft.net>
51543         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
51544         copyright year.
51545         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
51547 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
51549         * resolv/gai_misc.c (handle_requests): Fix struct timespec
51550         normalization.
51551         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
51552         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
51554 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
51556         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
51557         be defined individually, they must be defined as a block.  Define
51558         S for printing a string instead of hidint the different by using a
51559         macro for adding the 'l'.
51560         * stdio-common/tst-fphex-wide.c: Adjust.
51562 2012-03-07  Marek Polacek  <polacek@redhat.com>
51564         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
51566 2012-03-08  Marek Polacek  <polacek@redhat.com>
51568         [BZ #13806]
51569         * stdio-common/Makefile (tests): Add tst-fphex-wide.
51570         * stdio-common/tst-fphex.c: Define a few macros to make the
51571         test reusable.  Use them.
51572         * stdio-common/tst-fphex-wide.c: New file.
51574 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
51576         [BZ #6911]
51577         * manual/macros.texi (gnusystems): New macro.
51578         (nongnusystems): Likewise.
51579         (gnulinuxhurdsystems): Likewise.
51580         (gnuhurdsystems): Likewise..
51581         (gnulinuxsystems): Likewise.
51582         * manual/charset.texi: Use new macros or @theglibc{} to refer to
51583         variants of the GNU system, not "GNU system".
51584         * manual/conf.texi: Likewise.
51585         * manual/errno.texi: Likewise.  Update example of errno macro
51586         expansion.
51587         * manual/filesys.texi: Likewise.
51588         (getumask): Document as specific to GNU/Hurd.
51589         * manual/install.texi: Likewise.  Reword some references to
51590         GNU/Linux.
51591         * manual/intro.texi: Likewise.
51592         * manual/io.texi: Likewise.
51593         (File Name Portability): Detail which constraints are inapplicable
51594         to all GNU systems and which are only inapplicable to GNU/Hurd.
51595         * manual/job.texi: Likewise.
51596         * manual/llio.texi: Likewise.
51597         (O_NOCTTY): Document as present on GNU/Linux.
51598         * manual/maint.texi: Likewise.
51599         * manual/memory.texi: Likewise.
51600         * manual/pattern.texi: Likewise.
51601         * manual/pipe.texi: Likewise.
51602         * manual/process.texi: Likewise.
51603         * manual/resource.texi: Likewise.
51604         (RUSAGE_CHILDREN): Remove statement about specifying a particular
51605         child on GNU/Hurd.
51606         * manual/setjmp.texi: Likewise.
51607         * manual/signal.texi: Likewise.
51608         * manual/startup.texi: Likewise.
51609         * manual/stdio.texi: Likewise.
51610         * manual/terminal.texi: Likewise.
51611         (ONLCR): Document as POSIX.
51612         (OXTABS): Document availability on GNU/Linux as XTABS.
51613         (ONOEOT): Document availability separately from other bits.
51614         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
51615         * manual/time.texi: Likewise.
51616         * manual/users.texi: Likewise.
51617         * INSTALL: Regenerated.
51618         * sysdeps/gnu/errlist.c: Regenerated.
51620         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
51621         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
51622         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
51623         puts.
51624         * configure: Regenerated.
51626 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
51628         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
51629         default includes instead of AC_HEADER_CHECK.
51630         * sysdeps/i386/configure: Regenerated.
51632         [BZ #10716]
51633         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
51634         * math/s_cacoshf.c (__cacoshf): Likewise.
51635         * math/s_cacoshl.c (__cacoshl): Likewise.
51636         * math/s_casinh.c (__casinh): Set signs of result from argument.
51637         * math/s_casinhf.c (__casinhf): Likewise.
51638         * math/s_casinhl.c (__casinhl): Likewise.
51639         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
51640         (casinh_test): Add more tests.
51641         * sysdeps/i386/fpu/libm-test-ulps: Update.
51642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51644 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
51646         * po/zh_TW.po: Update from translation team.
51648         * login/Makefile (distribute): Remove variable.
51649         * catgets/Makefile: Likewise.
51650         * mach/Makefile: Likewise.
51651         * malloc/Makefile: Likewise.
51652         * misc/Makefile: Likewise.
51653         * iconv/Makefile: Likewise.
51654         * nscd/Makefile: Likewise.
51655         * hurd/Makefile: Likewise.
51656         * manual/Makefile: Likewise.
51657         * locale/Makefile: Likewise.
51658         * intl/Makefile: Likewise.
51659         * conform/Makefile: Likewise.
51660         * nss/Makefile: Likewise.
51661         * time/Makefile: Likewise.
51662         * soft-fp/Makefile: Likewise.
51663         * dirent/Makefile: Likewise.
51664         * gmon/Makefile: Likewise.
51665         * po/Makefile: Likewise.
51666         * rt/Makefile: Likewise.
51667         * socket/Makefile: Likewise.
51668         * math/Makefile: Likewise.
51669         * signal/Makefile: Likewise.
51670         * debug/Makefile: Likewise.
51671         * elf/Makefile: Likewise.
51672         * timezone/Makefile: Likewise.
51673         * stdlib/Makefile: Likewise.
51674         * iconvdata/Makefile: Likewise.
51675         * sunrpc/Makefile: Likewise.
51676         * io/Makefile: Likewise.
51677         * argp/Makefile: Likewise.
51678         * inet/Makefile: Likewise.
51679         * hesiod/Makefile: Likewise.
51680         * grp/Makefile: Likewise.
51681         * csu/Makefile: Likewise.
51682         * wctype/Makefile: Likewise.
51683         * crypt/Makefile: Likewise.
51684         * libio/Makefile: Likewise.
51685         * string/Makefile: Likewise.
51686         * nis/Makefile: Likewise.
51687         * resolv/Makefile: Likewise.
51688         * stdio-common/Makefile: Likewise.
51689         * wcsmbs/Makefile: Likewise.
51690         * dlfcn/Makefile: Likewise.
51691         * posix/Makefile: Likewise.
51693         [BZ #6959]
51694         * timezone/Makefile: Don't install timezone files, just the programs
51695         and scripts.
51697 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
51699         * nss/databases.def: Add missing gshadow entry.
51701         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
51703 2012-03-06  Marek Polacek  <polacek@redhat.com>
51705         [BZ #13726]
51706         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
51707         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
51708         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
51709         * stdio-common/tst-long-dbl-fphex.c: New file.
51711 2012-03-06  David S. Miller  <davem@davemloft.net>
51713         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
51714         (set_obp_int): New function.
51715         (get_obp_int): New function.
51716         (__get_clockfreq_via_dev_openprom): Likewise.
51717         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
51718         Avoid unused variable warnings on 'val' and use builtin_expect.
51719         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
51720         __builtin_expect.
51721         (INLINE_CLONE_SYSCALL): Likewise.
51723 2012-03-05  David S. Miller  <davem@davemloft.net>
51725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51727 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
51729         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51731         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
51732         only for |x| >= 40.
51733         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51735 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
51737         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
51738         Replace gettimeofday with __vdso_gettimeofday.
51740         * sysdeps/unix/sysv/linux/x86_64/init-first.c
51741         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
51742         __vdso_clock_gettime and __vdso_getcpu.
51744         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
51745         time with __vdso_time.
51747 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51749         * manual/lang.texi (size_t): Note types to which size_t may be
51750         equivalent with the GNU C Library, but do not describe when
51751         differences between them are significant.
51753 2012-03-05  Andreas Jaeger  <aj@suse.de>
51755         * sysdeps/i386/fpu/libm-test-ulps: Update.
51757 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
51759         [BZ #3976]
51760         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
51761         (__ieee754_pow): Save and restore rounding mode and use
51762         round-to-nearest for main computations.
51763         * math/libm-test.inc (pow_test_tonearest): New function.
51764         (pow_test_towardzero): Likewise.
51765         (pow_test_downward): Likewise.
51766         (pow_test_upward): Likewise.
51767         (main): Call the new functions.
51768         * sysdeps/i386/fpu/libm-test-ulps: Update.
51769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51771         [BZ #3976]
51772         * math/libm-test.inc (cosh_test_tonearest): New function.
51773         (cosh_test_towardzero): Likewise.
51774         (cosh_test_downward): Likewise.
51775         (cosh_test_upward): Likewise.
51776         (sinh_test_tonearest): Likewise.
51777         (sinh_test_towardzero): Likewise.
51778         (sinh_test_downward): Likewise.
51779         (sinh_test_upward): Likewise.
51780         (main): Call the new functions.
51781         * sysdeps/i386/fpu/libm-test-ulps: Update.
51782         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51784 2012-03-05  Tom de Vries  <tom@codesourcery.com>
51786         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
51787         default stack guard is set in last bytes.
51788         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
51790 2012-03-05  Kees Cook  <keescook@chromium.org>
51792         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
51794         [BZ #13656]
51795         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
51796         possibly allocate from heap instead of stack.
51797         * stdio-common/bug-vfprintf-nargs.c: New file.
51798         * stdio-common/Makefile (tests): Add nargs overflow test.
51800 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
51802         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51804 2012-03-03  Marek Polacek  <polacek@redhat.com>
51806         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
51807         * math/math_private.h: Likewise.
51808         * stdlib/tst-strtod.c: Likewise.
51809         * sysdeps/i386/i486/bits/atomic.h: Likewise.
51810         * sysdeps/x86_64/bits/atomic.h: Likewise.
51812 2012-03-02  David S. Miller  <davem@davemloft.net>
51814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
51815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
51816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
51817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
51818         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
51819         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
51820         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
51821         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
51823 2012-03-02  Roland McGrath  <roland@hack.frob.com>
51825         [BZ #13792]
51826         * manual/examples/README: New file, says the example source files
51827         can be used under GPL>=2.
51828         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
51829         line containing just "*/".
51830         * manual/examples/add.c: Add copyright header (GPL>=2).
51831         * manual/examples/argp-ex1.c: Likewise.
51832         * manual/examples/argp-ex2.c: Likewise.
51833         * manual/examples/argp-ex3.c: Likewise.
51834         * manual/examples/argp-ex4.c: Likewise.
51835         * manual/examples/atexit.c: Likewise.
51836         * manual/examples/db.c: Likewise.
51837         * manual/examples/dir.c: Likewise.
51838         * manual/examples/dir2.c: Likewise.
51839         * manual/examples/execinfo.c: Likewise.
51840         * manual/examples/filecli.c: Likewise.
51841         * manual/examples/filesrv.c: Likewise.
51842         * manual/examples/fmtmsgexpl.c: Likewise.
51843         * manual/examples/genpass.c: Likewise.
51844         * manual/examples/inetcli.c: Likewise.
51845         * manual/examples/inetsrv.c: Likewise.
51846         * manual/examples/isockad.c: Likewise.
51847         * manual/examples/longopt.c: Likewise.
51848         * manual/examples/memopen.c: Likewise.
51849         * manual/examples/memstrm.c: Likewise.
51850         * manual/examples/mkfsock.c: Likewise.
51851         * manual/examples/mkisock.c: Likewise.
51852         * manual/examples/mygetpass.c: Likewise.
51853         * manual/examples/pipe.c: Likewise.
51854         * manual/examples/popen.c: Likewise.
51855         * manual/examples/rprintf.c: Likewise.
51856         * manual/examples/search.c: Likewise.
51857         * manual/examples/select.c: Likewise.
51858         * manual/examples/setjmp.c: Likewise.
51859         * manual/examples/sigh1.c: Likewise.
51860         * manual/examples/sigusr.c: Likewise.
51861         * manual/examples/stpcpy.c: Likewise.
51862         * manual/examples/strdupa.c: Likewise.
51863         * manual/examples/strftim.c: Likewise.
51864         * manual/examples/strncat.c: Likewise.
51865         * manual/examples/subopt.c: Likewise.
51866         * manual/examples/swapcontext.c: Likewise.
51867         * manual/examples/termios.c: Likewise.
51868         * manual/examples/testopt.c: Likewise.
51869         * manual/examples/testpass.c: Likewise.
51870         * manual/examples/timeval_subtract.c: Likewise.
51872         [BZ #13792]
51873         * manual/time.texi (Elapsed Time): Move timeval_subtract example
51874         function to ...
51875         * manual/timeval_subtract.c.texi: ... here, new file.
51877 2012-03-02  David S. Miller  <davem@davemloft.net>
51879         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
51881 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
51883         [BZ #3976]
51884         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
51885         (__sin): Save and restore rounding mode and use round-to-nearest
51886         for all computations.
51887         (__cos): Save and restore rounding mode and use round-to-nearest
51888         for all computations.
51889         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
51890         <fenv.h>.
51891         (tan): Save and restore rounding mode and use round-to-nearest for
51892         all computations.
51893         * math/libm-test.inc (cos_test_tonearest): New function.
51894         (cos_test_towardzero): Likewise.
51895         (cos_test_downward): Likewise.
51896         (cos_test_upward): Likewise.
51897         (sin_test_tonearest): Likewise.
51898         (sin_test_towardzero): Likewise.
51899         (sin_test_downward): Likewise.
51900         (sin_test_upward): Likewise.
51901         (tan_test_tonearest): Likewise.
51902         (tan_test_towardzero): Likewise.
51903         (tan_test_downward): Likewise.
51904         (tan_test_upward): Likewise.
51905         (main): Call the new functions.
51906         * sysdeps/i386/fpu/libm-test-ulps: Update.
51907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51909         [BZ #10135]
51910         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
51911         small n, then large n, before computing and testing k+n.
51912         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
51913         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
51914         Likewise.
51915         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
51916         Likewise.
51917         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
51918         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
51919         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
51920         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
51921         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
51922         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
51923         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
51924         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
51925         * math/libm-test.inc (scalbn_test): Add more tests.
51926         (scalbln_test): Likewise.
51928         * manual/filesys.texi (mode_t): Describe constraints on size and
51929         signedness, not exact equivalence to a particular type.
51930         (ino_t): Likewise.
51931         (ino64_t): Likewise.
51932         (dev_t): Likewise.
51933         (nlink_t): Likewise.
51934         (blkcnt_t): Likewise.
51935         (blkcnt64_t): Likewise.
51936         * manual/llio.texi (off_t): Likewise.
51938         [BZ #3976]
51939         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
51940         (__ieee754_exp): Save and restore rounding mode and use
51941         round-to-nearest for all computations.
51942         * math/libm-test.inc (exp_test_tonearest): New function.
51943         (exp_test_towardzero): Likewise.
51944         (exp_test_downward): Likewise.
51945         (exp_test_upward): Likewise.
51946         (main): Call the new functions.
51947         * sysdeps/i386/fpu/libm-test-ulps: Update.
51948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51950 2012-03-01  Chris Demetriou  <cgd@google.com>
51952         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
51953         have predictable order.
51955 2012-03-01  David S. Miller  <davem@davemloft.net>
51957         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
51959         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
51960         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
51961         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
51962         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
51964         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
51965         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
51966         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
51967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
51968         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
51969         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
51970         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
51971         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
51972         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
51974         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51976         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
51977         * sysdeps/sparc/fpu/libm-test-ulps: to here.
51978         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
51980         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
51981         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
51982         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
51983         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
51984         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
51985         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
51986         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
51987         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
51988         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
51989         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
51990         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
51991         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
51992         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
51993         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
51994         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51995         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
51996         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
51997         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
51998         * sysdeps/sparc/elf/configure: Regenerated.
52000 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
52002         * configure.in (AS, LD): Require binutils 2.20 or later.
52003         * configure: Regenerated.
52004         * manual/install.texi (Tools for Compilation): Give binutils 2.20
52005         as required minimum version.
52006         * INSTALL: Regenerated.
52008         [BZ #2541]
52009         [BZ #4108]
52010         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
52011         before squaring exponent.
52012         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
52013         bottom long double and 27 bits of top long double before squaring
52014         exponent.
52015         * math/libm-test.inc (erfc_test): Add more tests.
52016         * sysdeps/i386/fpu/libm-test-ulps: Update.
52017         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52020 2012-03-01  Kai Tietz  <ktietz@redhat.com>
52022         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
52023         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
52024         containing bit-fields.
52025         * soft-fp/extended.h (_FP_UNION_E): Likewise.
52026         * soft-fp/single.h (_FP_UNION_S): Likewise.
52027         * soft-fp/double.h (_FP_UNION_D): Likewise.
52029 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52031         [BZ #13786]
52032         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
52033         not include ../strcmp.S.
52034         [USE_AS_STRNCASECMP_L]: Likewise.
52035         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
52036         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
52037         * sysdeps/i386/i686/multiarch/strncase_l-c.c
52038         (__strncasecmp_l_ia32): Define as alias to
52039         __strncasecmp_l_nonascii.
52041         [BZ #5794]
52042         * math/libm-test.inc (expm1_test): Add test for bug 5794.
52043         * sysdeps/i386/fpu/libm-test-ulps: Update.
52044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52046         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
52047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52049 2012-02-29  Jeff Law  <law@redhat.com>
52051         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
52052         out of bounds read.
52054 2012-02-29  Marek Polacek  <polacek@redhat.com>
52056         [BZ #13706]
52057         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
52058         * elf/Makefile: Add rules to run tst-unused-dep.out.
52060 2012-02-28  David S. Miller  <davem@davemloft.net>
52062         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
52063         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
52064         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
52065         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
52066         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
52067         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
52069 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
52071         * math/libm-test.inc (llround_test): Move one test from
52072         lround_test.  Use TEST_f_L in moved test.
52073         (lround_test): Move misplaced test to llround_test.  Add testcase
52074         from bug 2561.
52076 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
52078         * sysdeps/x86_64/fpu/e_expf.S: New file.
52079         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
52081 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
52083         [BZ #13637]
52084         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
52085         of remain_len that may cause incomplete multi-byte character and
52086         false match.
52087         * posix/bug-regex33.c: New file.
52088         * posix/Makefile (tests): Add bug-regex33.
52090 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
52092         * manual/macros.texi: New file.
52093         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
52094         * manual/libc.texinfo: Include macros.texi.
52095         * manual/creatute.texi: Likewise.
52096         * manual/install.texi: Likewise.
52097         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
52098         @glibcadj{} in references to the GNU C Library.
52099         * manual/charset.texi: Likewise.
52100         * manual/conf.texi: Likewise.
52101         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
52102         when not using those macros.
52103         * manual/creature.texi: Likewise.
52104         * manual/crypt.texi: Likewise.
52105         * manual/errno.texi: Likewise.
52106         * manual/filesys.texi: Likewise.
52107         * manual/header.texi: Likewise.
52108         * manual/install.texi: Likewise.
52109         * manual/intro.texi: Likewise.
52110         * manual/io.texi: Likewise.
52111         * manual/job.texi: Likewise.
52112         * manual/lang.texi: Likewise.
52113         * manual/libc.texiinfo: Likewise.
52114         * manual/llio.texi: Likewise.
52115         * manual/locale.texi: Likewise.
52116         * manual/maint.texi: Likewise.
52117         * manual/math.texi: Likewise.
52118         * manual/memory.texi: Likewise.
52119         * manual/message.texi: Likewise.
52120         * manual/nss.texi: Likewise.
52121         * manual/pattern.texi: Likewise.
52122         * manual/process.texi: Likewise.
52123         * manual/resource.texi: Likewise.
52124         * manual/search.texi: Likewise.
52125         * manual/setjmp.texi: Likewise.
52126         * manual/signal.texi: Likewise.
52127         * manual/socket.texi: Likewise.
52128         * manual/startup.texi: Likewise.
52129         * manual/stdio.texi: Likewise.
52130         * manual/string.texi: Likewise.
52131         * manual/sysinfo.texi: Likewise.
52132         * manual/syslog.texi: Likewise.
52133         * manual/terminal.texi: Likewise.
52134         * manual/time.texi: Likewise.
52135         * manual/users.texi: Likewise.
52136         * INSTALL: Regenerated.
52137         * NOTES: Regenerated.
52138         * sysdeps/gnu/errlist.c: Regenerated.
52140 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
52142         * include/dirent.h: Include <dirstream.h> before
52143         <dirent/dirent.h>.
52145 2012-02-28  David S. Miller  <davem@davemloft.net>
52147         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
52148         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
52149         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
52150         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
52152 2012-02-27  David S. Miller  <davem@davemloft.net>
52154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
52155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
52156         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
52157         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
52159         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
52160         frame pointer instead of stack pointer relative arg slot.
52161         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52162         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52163         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52165 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
52167         [BZ #3992]
52168         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
52170 2012-02-27  David S. Miller  <davem@davemloft.net>
52172         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
52173         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
52174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
52175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
52176         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
52177         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
52178         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
52179         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
52181 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52183         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
52184         later.  Allow versions 5-9.
52185         * configure: Regenerated.
52186         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
52187         required minimum version and 4.6 as recommended version.  Do not
52188         mention bugs in GCC 2.7 and 2.8.
52189         * INSTALL: Regenerated.
52191 2012-02-27  David S. Miller  <davem@davemloft.net>
52193         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
52194         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
52195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
52196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
52197         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
52198         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
52199         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
52200         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
52202         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
52203         manipulate bits before adding and subtracting TWO112[sx].
52204         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
52206 2012-02-27  Roland McGrath  <roland@hack.frob.com>
52208         [BZ #13775]
52209         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
52210         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
52211         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
52212         being in POSIX, because they are in 1003.1-2008.
52214         * rt/tst-aio.c: Include <fcntl.h>.
52215         * rt/tst-aio7.c: Likewise.
52216         * rt/tst-aio64.c: Likewise.
52218         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
52220 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
52222         * manual/install.texi (--with-headers): Describe headers as
52223         interface headers, not private headers.
52224         (Specific advice for GNU/Linux systems): Describe use of headers
52225         from "make headers_install", not private headers from older
52226         kernels.
52227         * INSTALL: Regenerated.
52228         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
52229         Change to 2.6.19.
52230         * sysdeps/unix/sysv/linux/configure: Regenerated.
52232         * manual/llio.texi (fclean): Remove documentation.
52234         * manual/Makefile (libc-texi-generated): New variable.  Include
52235         version.texi.
52236         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
52237         $(libc-texi-generated), not duplicated list of files.
52238         (version.texi, stamp-version): New rules.
52239         (realclean): Remove $(libc-texi-generated), not individual files
52240         from that list.  Do not remove dir-add.texinfo.
52241         * manual/libc.texinfo: Comment out uses of edition numbers and
52242         references to printed manual.  Remove last-updated dates.
52243         (EDITION): Comment out.
52244         (ISBN): Likewise.
52245         (VERSION, UPDATED): Remove.
52246         (version.texi): Include.
52248 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
52250         * sysdeps/posix/spawni.c: Include <signal.h>.
52251         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
52252         * sysdeps/pthread/aio_fsync.c: Likewise.
52254 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
52256         * conform/Makefile (tests): Run only when not cross-compiling and
52257         when fast-check is not defined.
52259         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
52260         * conform/data/limits.h-data: Fixes for POSIX2008.
52261         * conform/run-conformtest.sh: Run all tests.
52262         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
52263         headers.
52264         * include/bits/dlfcn.h: Likewise.
52265         * include/langinfo.h: Likewise.
52266         * include/monetary.h: Likewise.
52267         * include/sys/poll.h: Likewise.
52269         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
52270         for __USE_GNU.
52271         * posix/spawn.h: Define __need_sigset_t.
52272         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
52273         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
52274         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
52275         to get sigevent_t only.
52276         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
52277         only for __USE_GNU.
52278         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52279         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52280         process_vm_writev only for __USE_GNU.
52281         * termios/termios.h: Declare tcgetsid also for POSIX2008.
52283         * conform/Makefile: For now ignore errors from run-conformtest.
52284         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
52285         POSIX to avoid namespace pollution.  Don't prepend headers.
52286         * conform/data/aio.h-data: Fixes for POSIX testing.
52287         * conform/data/fcntl.h-data: Likewise.
52288         * conform/data/glob.h-data: Likewise.
52289         * conform/data/grp.h-data: Likewise.
52290         * conform/data/pthread.h-data: Likewise.
52291         * conform/data/pwd.h-data: Likewise.
52292         * conform/data/signal.h-data: Likewise.
52293         * conform/data/spawn.h-data: Likewise.
52294         * conform/data/stdio.h-data: Likewise.
52295         * conform/data/stdlib.h-data: Likewise.
52296         * conform/data/stropts.h-data: Likewise.
52297         * conform/data/sys/mman.h-data: Likewise.
52298         * conform/data/sys/stat.h-data: Likewise.
52299         * conform/data/sys/types.h-data: Likewise.
52300         * conform/data/sys/wait.h-data: Likewise.
52301         * conform/data/time.h-data: Likewise.
52302         * conform/data/unistd.h-data: Likewise.
52303         * conform/data/utime.h-data: Likewise.
52305         * io/sys/stat.h: fchmod was always in POSIX.
52306         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
52307         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
52308         * rt/aio.h: Define __need_timespec before including <time.h>.
52309         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
52310         struct.  Add forward declaration of pthread_attr_t and use it in
52311         sigevent.
52312         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52313         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52314         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
52315         always remove CLK_TCK definition.
52317 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
52319         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
52321 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
52323         * conform/run-conformtest.sh: New file.
52324         * conform/Makefile: Run run-conformtest for tests.
52325         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
52326         support.
52328         * conform/data/uchar.h-data: New file.
52329         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
52330         * conform/data/arpa/inet.h-data: Likewise.
52331         * conform/data/assert.h-data: Likewise.
52332         * conform/data/complex.h-data: Likewise.
52333         * conform/data/cpio.h-data: Likewise.
52334         * conform/data/ctype.h-data: Likewise.
52335         * conform/data/dirent.h-data: Likewise.
52336         * conform/data/dlfcn.h-data: Likewise.
52337         * conform/data/errno.h-data: Likewise.
52338         * conform/data/fcntl.h-data: Likewise.
52339         * conform/data/float.h-data: Likewise.
52340         * conform/data/fmtmsg.h-data: Likewise.
52341         * conform/data/fnmatch.h-data: Likewise.
52342         * conform/data/ftw.h-data: Likewise.
52343         * conform/data/glob.h-data: Likewise.
52344         * conform/data/grp.h-data: Likewise.
52345         * conform/data/iconv.h-data: Likewise.
52346         * conform/data/inttypes.h-data: Likewise.
52347         * conform/data/langinfo.h-data: Likewise.
52348         * conform/data/libgen.h-data: Likewise.
52349         * conform/data/limits.h-data: Likewise.
52350         * conform/data/locale.h-data: Likewise.
52351         * conform/data/math.h-data: Likewise.
52352         * conform/data/monetary.h-data: Likewise.
52353         * conform/data/mqueue.h-data: Likewise.
52354         * conform/data/ndbm.h-data: Likewise.
52355         * conform/data/net/if.h-data: Likewise.
52356         * conform/data/netdb.h-data: Likewise.
52357         * conform/data/netinet/in.h-data: Likewise.
52358         * conform/data/nl_types.h-data: Likewise.
52359         * conform/data/poll.h-data: Likewise.
52360         * conform/data/pthread.h-data: Likewise.
52361         * conform/data/pwd.h-data: Likewise.
52362         * conform/data/regex.h-data: Likewise.
52363         * conform/data/sched.h-data: Likewise.
52364         * conform/data/search.h-data: Likewise.
52365         * conform/data/semaphore.h-data: Likewise.
52366         * conform/data/setjmp.h-data: Likewise.
52367         * conform/data/signal.h-data: Likewise.
52368         * conform/data/spawn.h-data: Likewise.
52369         * conform/data/stdarg.h-data: Likewise.
52370         * conform/data/stdio.h-data: Likewise.
52371         * conform/data/stdlib.h-data: Likewise.
52372         * conform/data/string.h-data: Likewise.
52373         * conform/data/strings.h-data: Likewise.
52374         * conform/data/stropts.h-data: Likewise.
52375         * conform/data/sys/ipc.h-data: Likewise.
52376         * conform/data/sys/mman.h-data: Likewise.
52377         * conform/data/sys/msg.h-data: Likewise.
52378         * conform/data/sys/resource.h-data: Likewise.
52379         * conform/data/sys/select.h-data: Likewise.
52380         * conform/data/sys/sem.h-data: Likewise.
52381         * conform/data/sys/shm.h-data: Likewise.
52382         * conform/data/sys/socket.h-data: Likewise.
52383         * conform/data/sys/stat.h-data: Likewise.
52384         * conform/data/sys/statvfs.h-data: Likewise.
52385         * conform/data/sys/time.h-data: Likewise.
52386         * conform/data/sys/timeb.h-data: Likewise.
52387         * conform/data/sys/times.h-data: Likewise.
52388         * conform/data/sys/types.h-data: Likewise.
52389         * conform/data/sys/uio.h-data: Likewise.
52390         * conform/data/sys/un.h-data: Likewise.
52391         * conform/data/sys/utsname.h-data: Likewise.
52392         * conform/data/sys/wait.h-data: Likewise.
52393         * conform/data/syslog.h-data: Likewise.
52394         * conform/data/tar.h-data: Likewise.
52395         * conform/data/termios.h-data: Likewise.
52396         * conform/data/utime.h-data: Likewise.
52397         * conform/data/utmpx.h-data: Likewise.
52398         * conform/data/varargs.h-data: Likewise.
52399         * conform/data/wchar.h-data: Likewise.
52400         * conform/data/wctype.h-data: Likewise.
52401         * conform/data/wordexp.h-data: Likewise.
52403         * include/stropts.h: New file.
52404         * include/uchar.h: New file.
52405         * include/aio.h: Changes to allow conformtest.pl to use the headers.
52406         * include/assert.h: Likewise.
52407         * include/ctype.h: Likewise.
52408         * include/dirent.h: Likewise.
52409         * include/dlfcn.h: Likewise.
52410         * include/fcntl.h: Likewise.
52411         * include/fnmatch.h: Likewise.
52412         * include/glob.h: Likewise.
52413         * include/grp.h: Likewise.
52414         * include/libio.h: Likewise.
52415         * include/locale.h: Likewise.
52416         * include/math.h: Likewise.
52417         * include/net/if.h: Likewise.
52418         * include/netdb.h: Likewise.
52419         * include/netinet/in.h: Likewise.
52420         * include/pthread.h: Likewise.
52421         * include/pwd.h: Likewise.
52422         * include/regex.h: Likewise.
52423         * include/sched.h: Likewise.
52424         * include/search.h: Likewise.
52425         * include/setjmp.h: Likewise.
52426         * include/signal.h: Likewise.
52427         * include/stdio.h: Likewise.
52428         * include/stdlib.h: Likewise.
52429         * include/string.h: Likewise.
52430         * include/sys/cdefs.h: Likewise.
52431         * include/sys/mman.h: Likewise.
52432         * include/sys/msg.h: Likewise.
52433         * include/sys/resource.h: Likewise.
52434         * include/sys/select.h: Likewise.
52435         * include/sys/socket.h: Likewise.
52436         * include/sys/stat.h: Likewise.
52437         * include/sys/statvfs.h: Likewise.
52438         * include/sys/time.h: Likewise.
52439         * include/sys/times.h: Likewise.
52440         * include/sys/uio.h: Likewise.
52441         * include/sys/utsname.h: Likewise.
52442         * include/sys/wait.h: Likewise.
52443         * include/termios.h: Likewise.
52444         * include/time.h: Likewise.
52445         * include/ulimit.h: Likewise.
52446         * include/unistd.h: Likewise.
52447         * include/utime.h: Likewise.
52448         * include/wchar.h: Likewise.
52449         * include/wctype.h: Likewise.
52450         * include/wordexp.h: Likewise.
52452         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
52454         * time/time.h: TIME_UTC must be a macro.
52455         Make timespec_get available for ISO C11 only as well.
52457 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
52459         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
52460         Reported by Peng Haitao <penght@cn.fujitsu.com>.
52462 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52464         * configure.in: Use -o not -a in test for unsupported multi-arch.
52466 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52468         * manual/texinfo.tex: Update to version 2012-01-19.16.
52470 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
52472         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
52474 2012-02-24  Roland McGrath  <roland@hack.frob.com>
52476         [BZ #13738]
52477         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
52478         * manual/fdl-1.3.texi: New file.
52479         * manual/fdl-1.1.texi: File removed.
52481         [BZ #13738]
52482         * manual/libc.texinfo (FDL_VERSION): New @set.
52483         Use it for mention of FDL in cover text.
52484         (Documentation License): Use it in @include file name.
52486 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52487             Roland McGrath  <roland@hack.frob.com>
52489         [BZ #5461]
52490         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
52491         (not LONG_LONG_MAX and LONG_LONG_MIN.
52492         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
52493         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
52494         name.
52495         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
52497 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52499         [BZ #2547]
52500         [BZ #11365]
52501         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
52502         manipulate bits before adding and subtracting TWO23[sx].
52503         * math/libm-test.inc (nearbyint_test): Add more tests.
52505 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52507         [BZ #2548]
52508         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
52509         bits before adding and subtracting TWO23[sx].
52510         * math/libm-test.inc (rint_test): Add more tests.
52511         (rint_test_tonearest): Likewise.
52512         (rint_test_towardzero): Likewise.
52513         (rint_test_downward): Likewise.
52514         (rint_test_upward: Likewise.
52516 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52518         [BZ #10110]
52519         * include/stdc-predef.h: New file.  Extracted from features.h.
52520         * include/features.h: Include stdc-predef.h.
52521         * Makefile (headers): Add stdc-predef.h.
52522         * CONFORMANCE (Compiler limitations): Update.
52524 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
52526         * manual/libc.texinfo (VERSION, UPDATED): Revert.
52528 2012-02-21  David S. Miller  <davem@davemloft.net>
52530         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
52531         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52533 2012-02-20  David S. Miller  <davem@davemloft.net>
52535         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
52536         using a normal save/restore sequence, rather than allocating a
52537         dummy stack frame just to store a frame pointer and restore.
52538         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52540 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52542         * manual/install.texi: Fix stray word in line-wrapped comment.
52544 2012-02-20  David S. Miller  <davem@davemloft.net>
52546         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
52547         both binutils and gcc support GOTDATA.
52549         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
52550         "rd %pc" in the PIC register setup sequences.
52552         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
52553         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
52554         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
52555         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
52556         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
52557         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
52558         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52559         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
52560         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
52561         (SYSCALL_ERROR_HANDLER): Likewise.
52562         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
52563         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
52564         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
52565         (SYSCALL_ERROR_HANDLER): Likewise.
52567         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
52568         (HAVE_GCC_GOTDATA): New.
52569         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
52570         relocation support in both binutils and gcc.
52571         * sysdeps/sparc/elf/configure: Regenerate.
52573         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
52574         * sysdeps/sparc/sparc32/elf/configure: Delete.
52575         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
52576         * sysdeps/sparc/sparc64/elf/configure: Delete.
52577         * sysdeps/sparc/elf/configure.in: New file.
52578         * sysdeps/sparc/elf/configure: Generate.
52580         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
52581         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
52582         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52583         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
52584         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
52586 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52588         * manual/install.texi: Do not mention specific glibc version
52589         numbers.
52590         * manual/libc.texinfo (VERSION, UPDATED): Update.
52591         (@copying): Use @copyright{} and range of years.
52593 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
52595         [BZ #13695]
52596         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
52597         [crti.S not in sysdirs] (generated): Do not append.
52598         [crti.S not in sysdirs] (omit-deps): Likewise.
52599         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
52600         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
52601         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
52602         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
52603         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
52604         Likewise.
52605         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
52606         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
52607         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
52608         * csu/defs.awk: Remove file.
52609         * sysdeps/generic/initfini.c: Likewise.
52610         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
52611         variable.
52612         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
52613         Likewise.
52615 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52617         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
52618         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
52619         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
52620         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
52621         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
52622         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
52623         <bits/epoll.h>.
52624         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
52625         (__EPOLL_PACKED): Define to empty if not defined by
52626         <bits/epoll.h>.
52627         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
52628         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52629         bits/epoll.h.
52631 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52633         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
52634         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
52635         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
52636         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
52637         <bits/timerfd.h>.
52638         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
52639         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52640         bits/timerfd.h.
52642 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
52644         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
52645         in C locale.
52646         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
52647         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
52648         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
52649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52651 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
52653         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52654         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
52656 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
52658         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
52659         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
52660         defined.
52661         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
52662         Likewise.
52663         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
52664         entry for 2.16.
52666 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
52668         * math/w_acos.c: Use non-signaling floating-point comparisons.
52669         * math/w_acosf.c: Likewise.
52670         * math/w_acosh.c: Likewise.
52671         * math/w_acoshf.c: Likewise.
52672         * math/w_acoshl.c: Likewise.
52673         * math/w_acosl.c: Likewise.
52674         * math/w_asin.c: Likewise.
52675         * math/w_asinf.c: Likewise.
52676         * math/w_asinl.c: Likewise.
52677         * math/w_atanh.c: Likewise.
52678         * math/w_atanhf.c: Likewise.
52679         * math/w_atanhl.c: Likewise.
52680         * math/w_exp2.c: Likewise.
52681         * math/w_exp2f.c: Likewise.
52682         * math/w_exp2l.c: Likewise.
52683         * math/w_j0.c: Likewise.
52684         * math/w_j0f.c: Likewise.
52685         * math/w_j0l.c: Likewise.
52686         * math/w_j1.c: Likewise.
52687         * math/w_j1f.c: Likewise.
52688         * math/w_j1l.c: Likewise.
52689         * math/w_jn.c: Likewise.
52690         * math/w_jnf.c: Likewise.
52691         * math/w_log.c: Likewise.
52692         * math/w_log10.c: Likewise.
52693         * math/w_log10f.c: Likewise.
52694         * math/w_log10l.c: Likewise.
52695         * math/w_log2.c: Likewise.
52696         * math/w_log2f.c: Likewise.
52697         * math/w_log2l.c: Likewise.
52698         * math/w_logf.c: Likewise.
52699         * math/w_logl.c: Likewise.
52700         * math/w_sqrt.c: Likewise.
52701         * math/w_sqrtf.c: Likewise.
52702         * math/w_sqrtl.c: Likewise.
52703         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52704         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
52705         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52706         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
52707         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
52709 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52711         [BZ #9739]
52712         * manual/string.texi (strnlen): Use correct parameter name in
52713         equivalent expression.
52715 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52717         [BZ #11174]
52718         * manual/users.texi (seteuid): Consistently use neweuid for
52719         argument name.
52721 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
52723         [BZ #13704]
52724         * manual/nss.texi (Services in the NSS configuration): Correct
52725         list of services in example configuration file.
52727 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
52729         [BZ #11322]
52730         * manual/arith.texi: Remove statements about negative zero
52731         behaving identically to zero.
52733 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52735         [BZ #5993]
52736         * manual/install.texi: Do not document upgrading from libc5.
52738 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
52740         [BZ #4596]
52741         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
52743 2012-02-18  David S. Miller  <davem@davemloft.net>
52745         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
52746         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
52747         %o7 across the call.
52748         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
52749         instead.
52750         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
52751         SETUP_PIC_REG_LEAF.
52752         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52753         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
52754         * sysdeps/sparc/crtn.S: Likewise.
52756 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
52758         * aout/Makefile: Remove.
52760 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
52762         [BZ #13058]
52763         * manual/examples/argp-ex1.c (main): Format definition in GNU
52764         style.
52765         * manual/examples/argp-ex2.c (main): Likewise.
52766         * manual/examples/argp-ex3.c (main): Likewise.
52767         * manual/examples/argp-ex4.c (main): Likewise.
52768         * manual/examples/longopt.c (main): Use new-style prototype
52769         definition.
52770         * manual/examples/strncat.c (main): Specify return type and use
52771         (void) for arguments.
52772         * manual/examples/subopt.c (main): Use char **argv argument.
52774 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52776         [BZ #5077]
52777         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
52778         rounding modes.
52780 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
52782         [BZ #6907]
52783         * manual/string.texi (strchr): Change when strchrnul is
52784         recommended.
52786 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
52788         [BZ #174]
52789         * manual/locale.texi (setlocale): Document LOCPATH.
52791 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52793         [BZ #10210]
52794         * manual/process.texi (execle): Move @dots{} before last argument.
52796 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
52798         [BZ #12047]
52799         * manual/charset.texi (Generic Charset Conversion): Fix typo
52800         (LC_TYPE -> LC_CTYPE).
52802 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
52804         [BZ #5805]
52805         * manual/arith.texi (scalbn): Use @var{} on parameter names.
52806         (scalbnf): Likewise.
52807         (scalbnl): Likewise.
52808         (scalbln): Likewise.
52809         (scalblnf): Likewise.
52810         (scalblnl): Likewise.
52811         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
52812         (vwarnx): Likewise.
52813         (verr): Likewise.
52814         (verrx): Likewise.
52815         * manual/filesys.texi (telldir): Use braces around return type.
52816         * manual/llio.texi (mmap): Add space after comma.
52817         (mmap64): Likewise.
52818         * manual/math.texi (jn): Use @var{} on parameter names.
52819         (jnf): Likewise.
52820         (jnl): Likewise.
52821         (yn): Likewise.
52822         (ynf): Likewise.
52823         (ynl): Likewise.
52824         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
52825         line.
52826         * manual/resource.texi (ulimit): Use @dots{} instead of literal
52827         "...".
52828         (sched_get_priority_min): Remove semicolon on @deftypefun line.
52829         (sched_get_priority_max): Likewise.
52830         * manual/signal.texi (sigvec): Add space after comma.
52831         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
52832         names.
52833         (if_indextoname): Likewise.
52834         (if_freenameindex): Likewise.
52835         (sendto): Use ',' instead of '.' in prototype.
52836         * manual/startup.texi (syscall): Use @dots{} instead of literal
52837         "...".
52838         * manual/stdio.texi (__fpending): Separate initial words of
52839         paragraph from @deftypefun line.
52840         * manual/syslog.texi (syslog): Use @dots{} instead of literal
52841         "...".
52842         (vsyslog): Use @var{} on parameter names.
52843         * manual/terminal.texi (stty): Use @var{} on parameter names.
52844         * manual/users.texi (getutmp): Use @var{} on parameter names.
52845         (getutmpx): Likewise.
52847 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52849         [BZ #6884]
52850         * manual/stdio.texi (fopen): Fix typos in description of
52851         ",ccs=STRING".
52853 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
52855         [BZ #4026]
52856         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
52857         get clock_id definition.
52859 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
52861         [BZ #4822]
52862         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
52863         (madvise): Cast every argument to void on its own.
52865 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52867         [BZ #9902]
52868         * manual/startup.texi (Exit Status): Fix typo.
52870 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
52872         [BZ #10140]
52873         * manual/examples/argp-ex1.c: Include <stdlib.h>.
52874         * manual/examples/argp-ex2.c: Likewise.
52875         * manual/examples/argp-ex3.c: Likewise.
52877 2012-02-16  Richard Henderson  <rth@redhat.com>
52879         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
52880         * sysdeps/s390/s390-32/initfini.c: Remove.
52881         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
52882         * sysdeps/s390/s390-64/initfini.c: Remove.
52884 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52886         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
52887         compiler output for sysdeps/generic/initfini.c.
52888         * sysdeps/sh/elf/initfini.c: Remove file.
52890 2012-02-16  David S. Miller  <davem@davemloft.net>
52892         [BZ #11494]
52893         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
52895         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
52896         * sysdeps/sparc/crti.S: New file.
52897         * sysdeps/sparc/crtn.S: New file.
52898         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
52899         * sysdeps/sparc/sparc64/Makefile: Likewise.
52901 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
52903         [BZ #3335]
52904         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
52906 2012-02-15  Roland McGrath  <roland@hack.frob.com>
52908         [BZ #4822]
52909         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
52911         * mach/devstream.c (cookie_io_functions_t): Macro removed.
52912         (write, read, close): Likewise.
52913         Patch by Aurelien Jarno <aurelien@aurel32.net>.
52915 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
52917         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
52918         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
52919         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
52920         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
52921         <bits/signalfd.h>.
52922         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
52923         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52924         bits/signalfd.h.
52926 2012-02-14  Marek Polacek  <polacek@redhat.com>
52928         * sysdeps/x86_64/crti.S: New file.
52929         * sysdeps/x86_64/crtn.S: New file.
52930         * sysdeps/x86_64/elf/initfini.c: Remove file.
52932 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52934         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
52935         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
52936         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
52937         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
52938         <bits/inotify.h>.
52939         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
52940         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52941         bits/inotify.h.
52943 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
52945         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
52946         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
52947         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
52948         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
52949         <bits/eventfd.h>.
52950         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
52951         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52952         bits/eventfd.h.
52954 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
52956         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
52957         __feraiseexcept instead of feraiseexcept.
52959         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
52960         nanosleep invocations.
52961         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
52962         strings, and add error checking for a nanosleep invocations.
52964 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
52966         Replace FSF snail mail address with URLs, as per GNU coding standards.
52967         Most of the snail mail addresses were wrong anyway, and omitting
52968         them makes the source code easier to maintain.  Almost all of the
52969         changes are to license notices and to locale LC_IDENTIFICATION
52970         addresses, except for this one:
52971         * manual/libc.texinfo: In "Published by", give the FSF's URL,
52972         not its snail mail address.
52974 2012-02-09  Richard Henderson  <rth@twiddle.net>
52976         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
52977         of kernel-features.h.
52979         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
52981 2012-02-08  Marek Polacek  <polacek@redhat.com>
52983         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
52984         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
52985         * sysdeps/gnu/_G_config.h: Likewise.
52986         * sysdeps/generic/_G_config.h: Likewise.
52988 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
52990         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
52991         tests.
52992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52994         * sysdeps/powerpc/powerpc32/crti.S: New file.
52995         * sysdeps/powerpc/powerpc32/crtn.S: New file.
52996         * sysdeps/powerpc/powerpc64/crti.S: New file.
52997         * sysdeps/powerpc/powerpc64/crtn.S: New file.
52999         * Makeconfig (have-initfini): Don't set.
53000         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
53001         * configure.in (nopic_initfini): Don't substitute.
53002         * config.h.in (HAVE_INITFINI): Don't #undef.
53003         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
53004         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
53006 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
53008         Support crti.S and crtn.S provided directly by architectures.
53009         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
53010         [crti.S in sysdirs] (omit-deps): Likewise.
53011         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
53012         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
53013         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
53014         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
53015         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
53016         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
53017         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
53018         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
53019         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
53020         compiler output for sysdeps/generic/initfini.c.
53021         * sysdeps/i386/elf/Makefile: Remove file.
53022         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
53024 2012-02-07  Marek Polacek  <polacek@redhat.com>
53026         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
53027         * sysdeps/gnu/_G_config.h: Likewise.
53028         * sysdeps/mach/hurd/_G_config.h: Likewise.
53030 2012-02-07  Marek Polacek  <polacek@redhat.com>
53032         * math/Makefile (tests): Add tst-CMPLX2.
53033         * math/tst-CMPLX2.c: New file.
53035 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
53037         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53039         * math/libm-test.inc (jn_test): Add missing L suffix.
53041 2012-02-06  Marek Polacek  <polacek@redhat.com>
53043         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
53044         * sysdeps/i386/fpu/e_powf.S: Likewise.
53045         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53046         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
53047         * sysdeps/i386/fpu/e_acosh.S: Likewise.
53048         * sysdeps/i386/fpu/e_pow.S: Likewise.
53049         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
53050         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53051         * sysdeps/i386/fpu/s_expm1.S: Likewise.
53052         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
53053         * sysdeps/i386/fpu/e_log2.S: Likewise.
53054         * sysdeps/i386/fpu/e_log2l.S: Likewise.
53055         * sysdeps/i386/fpu/e_scalb.S: Likewise.
53056         * sysdeps/i386/fpu/e_powl.S: Likewise.
53057         * sysdeps/i386/fpu/s_log1p.S: Likewise.
53058         * sysdeps/i386/fpu/e_log10f.S: Likewise.
53059         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
53060         * sysdeps/i386/fpu/e_logl.S: Likewise.
53061         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
53062         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
53063         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
53064         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
53065         * sysdeps/i386/fpu/e_log2f.S: Likewise.
53066         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53067         * sysdeps/i386/fpu/e_log.S: Likewise.
53068         * sysdeps/i386/fpu/s_cexp.S: Likewise.
53069         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53070         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
53071         * sysdeps/i386/fpu/e_logf.S: Likewise.
53072         * sysdeps/i386/fpu/e_log10l.S: Likewise.
53073         * sysdeps/i386/fpu/e_atanh.S: Likewise.
53074         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
53075         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
53076         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
53077         * sysdeps/i386/fpu/e_log10.S: Likewise.
53078         * sysdeps/i386/fpu/s_frexp.S: Likewise.
53079         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53080         * sysdeps/i386/fpu/s_asinh.S: Likewise.
53081         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
53082         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53083         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
53084         * sysdeps/i386/asm-syntax.h: Likewise.
53085         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53086         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53087         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53088         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
53089         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
53090         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53091         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
53092         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
53093         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53094         * sysdeps/powerpc/sysdep.h: Likewise.
53095         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
53096         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
53098 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53100         [BZ #411]
53101         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
53103 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
53105         * sysdeps/i386/sysdep.h: Include <features.h>.
53106         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
53107         version.
53109 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
53111         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
53112         Define.
53113         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
53114         LOAD_PIC_REG_STR.
53116 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53118         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
53119         (SETUP_PIC_REG): Use GET_PC_THUNK.
53120         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
53121         macro.
53123 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53125         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
53126         for non-PIC compilation.
53127         (SETUP_PIC_REG): Add .p2align directive.
53128         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
53129         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
53130         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
53131         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
53132         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53133         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
53134         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
53135         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
53136         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
53137         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
53138         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
53139         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
53140         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
53141         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
53142         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
53143         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53144         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53145         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
53146         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
53147         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
53148         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53149         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53150         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
53151         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
53152         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53153         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53154         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
53155         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53156         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
53157         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
53158         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
53159         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53160         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
53161         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
53162         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
53163         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
53164         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
53165         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
53166         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
53167         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
53168         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
53170 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
53172         * math/tst-CMPLX.c: Include <stdio.h>.
53174 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
53176         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
53177         float.
53178         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53179         * sysdeps/sparc/bits/mathdef.h: Likewise.
53181 2012-01-31  Marek Polacek  <polacek@redhat.com>
53183         * libio/libio.h: Don't define _PARAMS.
53184         * locale/programs/config.h: Don't define PARAMS.
53185         * stdlib/strtol_l.c: Likewise.
53186         (__strtol_l): Remove PARAMS from the prototype.
53188 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
53190         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
53191         names.  Just use the correct names.  Remove unnecessary wrapper
53192         functions.
53193         * malloc/arena.c: Likewise.
53194         * malloc/hooks.c: Likewise.
53196         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
53197         ARENA_TEST says not to.  Simplify test for creation of a new arena.
53198         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
53200 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
53202         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
53203         into tail calls.
53204         (update_get_addr): New function.
53205         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
53206         GET_ADDR_MODULE parameter.
53208 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53210         * crypt/cert.c: Remove __STDC__ conditionals.
53211         * crypt/crypt-entry.c: Likewise.
53212         * crypt/crypt_util.c: Likewise.
53213         * libio/filedoalloc.c: Likewise.
53214         * libio/fileops.c: Likewise.
53215         * libio/genops.c: Likewise.
53216         * libio/iofclose.c: Likewise.
53217         * libio/iofdopen.c: Likewise.
53218         * libio/iofopen.c: Likewise.
53219         * libio/iofopen64.c: Likewise.
53220         * libio/iogetdelim.c: Likewise.
53221         * libio/iopopen.c: Likewise.
53222         * libio/obprintf.c: Likewise.
53223         * libio/oldfileops.c: Likewise.
53224         * libio/oldiofclose.c: Likewise.
53225         * libio/oldiofdopen.c: Likewise.
53226         * libio/oldiofopen.c: Likewise.
53227         * libio/oldiopopen.c: Likewise.
53228         * libio/wfiledoalloc.c: Likewise.
53229         * libio/wgenops.c: Likewise.
53230         * locale/programs/xmalloc.c: Likewise.
53231         * misc/syslog.c: Likewise.
53232         * stdio-common/xbug.c: Likewise.
53233         * string/memchr.c: Likewise.
53234         * string/memcmp.c: Likewise.
53235         * string/memrchr.c: Likewise.
53236         * string/rawmemchr.c: Likewise.
53237         * sysdeps/posix/getcwd.c: Likewise.
53238         * time/strftime_l.c: Likewise.
53240 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
53242         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
53243         * config.make.in (config-cflags-sse2avx): Define.
53244         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
53245         Fix typo.
53247 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
53249         * scripts/config.guess: Update from upstream config git repository.
53250         * scripts/config.sub: Likewise.
53252 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
53254         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
53255         (EM_NUM): Update.
53256         (R_TILEPRO_*, R_TILEGX_*): New macros.
53258         * scripts/firstversions.awk: Fix bug in version range handling.
53260         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
53262         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
53264         * include/sys/epoll.h: New file.
53265         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
53266         libc_hidden_def.
53268 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
53270         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
53271         Avoid unnecessary __WORDSIZE == 64 test.
53272         (fmaxf): Use VEX format if possible.
53273         (fmax): Likewise.
53274         (fminf): Likewise.
53275         (fmin): Likewise.
53277         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
53278         * math/math_private.h: Remove libc_fegetround* and
53279         libc_fesetround*.
53280         * sysdeps/i386/configure.in: Check for -msse2avx.
53281         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
53282         also if SSE2AVX is defined.
53283         Remove libc_fegetround* and libc_fesetround*.
53284         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
53285         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
53286         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
53287         of HAS_YMM_USABLE.
53288         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53289         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53290         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53291         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53292         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53294         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
53296 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53298         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
53299         size is not set.
53300         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53302 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
53304         [BZ #13618]
53305         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
53306         relocation.
53307         * Makeconfig (libm): Define.
53308         * elf/Makefile: Add rules to build and run tst-relsort1.
53309         * elf/tst-relsort1.c: New file.
53310         * elf/tst-relsort1mod1.c: New file.
53311         * elf/tst-relsort1mod2.c: New file.
53313 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
53315         * math/s_ldexp.c: Remove __STDC__ conditionals.
53316         * math/s_ldexpf.c: Likewise.
53317         * math/s_ldexpl.c: Likewise.
53318         * math/s_nextafter.c: Likewise.
53319         * math/s_nexttowardf.c: Likewise.
53320         * math/s_significand.c: Likewise.
53321         * math/s_significandf.c: Likewise.
53322         * math/s_significandl.c: Likewise.
53323         * math/w_jnl.c: Likewise.
53324         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
53325         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
53326         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
53327         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
53328         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
53329         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
53330         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
53331         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
53332         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53333         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
53334         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
53335         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53336         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
53337         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
53338         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
53339         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
53340         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
53341         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
53342         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
53343         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53344         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53345         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
53346         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
53347         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
53348         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
53349         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
53350         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
53351         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
53352         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
53353         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
53354         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
53355         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
53356         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
53357         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
53358         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
53359         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
53360         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
53361         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
53362         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
53363         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
53364         * sysdeps/ieee754/k_standard.c: Likewise.
53365         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53366         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
53367         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
53368         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
53369         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
53370         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
53371         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
53372         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
53373         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
53374         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
53375         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
53376         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
53377         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
53378         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
53379         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
53380         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
53381         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
53382         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
53383         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
53384         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
53385         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
53386         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
53387         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
53388         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
53389         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
53390         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
53391         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53392         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53393         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
53394         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
53395         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
53396         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
53397         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
53398         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
53399         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
53400         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
53401         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
53402         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
53403         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
53404         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
53405         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
53406         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
53407         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
53408         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
53409         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
53410         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
53411         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
53412         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
53413         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
53414         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
53415         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
53416         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
53417         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
53418         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
53419         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
53420         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
53421         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
53422         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53423         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53424         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53425         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
53426         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
53427         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
53428         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
53429         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
53430         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
53431         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
53432         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
53433         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
53434         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
53435         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
53436         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
53437         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
53438         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
53439         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
53440         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
53441         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
53442         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
53443         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
53444         * sysdeps/ieee754/s_matherr.c: Likewise.
53445         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
53446         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
53447         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
53448         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
53450 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53452         * crypt/md5.h: Remove __STDC__ conditionals.
53453         * libio/libioP.h: Likewise.
53454         * locale/programs/config.h: Likewise.
53455         * sysdeps/generic/sysdep.h: Likewise.
53456         * sysdeps/i386/asm-syntax.h: Likewise.
53457         * sysdeps/s390/asm-syntax.h: Likewise.
53458         * sysdeps/unix/sysdep.h: Likewise.
53459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
53460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
53462 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
53464         * libio/libio.h: Remove __STDC__ conditionals.
53465         * malloc/obstack.h: Likewise.
53466         * math/complex.h: Likewise.
53467         * math/math.h: Likewise.
53468         * sysdeps/generic/_G_config.h: Likewise.
53469         * sysdeps/gnu/_G_config.h: Likewise.
53470         * sysdeps/mach/hurd/_G_config.h: Likewise.
53471         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53472         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
53473         * sysdeps/sparc/bits/mathdef.h: Likewise.
53475 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
53477         [BZ #13583]
53478         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
53479         Clean up HAS_* macros.
53480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
53481         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
53482         possible.
53483         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
53484         HAS_AVX.
53485         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
53486         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
53487         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
53488         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
53489         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
53491 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
53493         * elf/tst-unique3.cc (gets): Remove declaration.
53494         * elf/tst-unique3lib.cc (gets): Likewise.
53495         * elf/tst-unique3lib2.cc (gets): Likewise.
53496         * elf/tst-unique4.cc (gets): Likewise.
53498 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
53500         * include/stdio.h: Add C++ protection.  Add gets declarations and
53501         definitions.
53502         * debug/tst-chk1.c: Don't declare gets here.
53503         * stdio-common/tst-gets.c: Likewise.
53505 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53507         * posix/glob: Remove directory.
53509 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
53511         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
53513 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
53515         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
53516         of the non-standard EPFNOSUPPORT.
53518 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53520         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
53521         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
53522         ANYWHERE set to 1 only on KERN_NO_SPACE error.
53524 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
53526         * wcsmbs/uchar.h: Test __STDC_VERSION__.
53528 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
53530         * nscd/aicache.c (addhstaiX): Do not cache negative results of
53531         transient errors.
53532         * nscd/grpcache.c (cache_addgr): Likewise.
53533         * nscd/hstcache.c (cache_addhst): Likewise.
53534         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53535         * nscd/pwdcache.c (cache_addpw): Likewise.
53536         * nscd/servicescache.c (cache_addserv): Likewise.
53538 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
53540         * malloc/malloc.c: Various cleanups.
53541         * malloc/hooks.c: Likewise.
53543         * stdlib/Makefile (tests): Add bug-fmtmsg1.
53544         * stdlib/bug-fmtmsg1.c: New file.
53546         * stdlib/fmtmsg.c (init): Add missing unlock.
53547         Patch by Peng Haitao <penght@cn.fujitsu.com>.
53549 2012-01-12  Marek Polacek  <polacek@redhat.com>
53551         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
53552         and _GNU_SOURCE.
53554 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53556         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
53557         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
53558         macro to ensure uniqueness of label name.
53559         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
53560         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
53562 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
53564         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
53566         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
53567         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
53568         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
53569         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
53571 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
53573         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
53575         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
53576         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
53577         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
53579         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
53581         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
53582         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
53583         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
53584         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
53586         * math/bits/math-finite.h: Add ldexp support.
53588 2012-01-10  Marek Polacek  <polacek@redhat.com>
53590         * locale/programs/localedef.h (show_archive_content): Add noreturn
53591         attribute.
53593 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
53595         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
53597 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53599         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
53601         * io/Makefile (headers): Add bits/poll2.h.
53603 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
53605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
53606         typo #include statement.
53608 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53610         * include/sys/cdefs.h: Define __attribute_alloc_size.
53611         * catgets/gencat.c: Add alloc_size attribute and apply consistently
53612         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
53613         * elf/pldd.c: Likewise.
53614         * iconv/iconv_charmap.c: Likewise.
53615         * iconv/iconvconfig.c: Likewise.
53616         * iconv/strtab.c: Likewise.
53617         * locale/programs/locale.c: Likewise.
53618         * locale/programs/localedef.h: Likewise.
53619         * locale/programs/simple-hash.c: Likewise.
53620         * nscd/nscd.h: Likewise.
53621         * nss/makedb.c: Likewise.
53622         * sysdeps/generic/ldconfig.h: Likewise.
53623         * locale/programs/localedef.c: Remove xmalloc prototype.
53624         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
53626 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53628         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
53629         appropriate.
53631 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
53633         * math/Makefile (tests): Add tst-CMPLX.
53634         * math/tst-CMPLX.c: New file.
53636         * math/complex.h (CMPLXL): Fix typo.
53638         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
53639         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
53640         GLIBC_2.16.
53641         * debug/tst-chk1.c: Add poll and ppoll tests.
53642         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
53643         * include/sys/poll.h: Add hidden proto for ppoll.
53644         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
53645         * sysdeps/mach/hurd/ppoll.c: Likewise.
53646         * io/ppoll.c: Likewise.
53647         * debug/poll_chk.c: New file.
53648         * debug/ppoll_chk.c: New file.
53649         * include/bits/poll2.h: New file.
53650         * io/bits/poll2.h: New file.
53652         [BZ #1350]
53653         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
53655         * configure.in: static is always set to yes.  Remove.
53656         * config.make.in: Don't set build-static.
53657         * Makeconfig: Remove use of build-static.
53658         * dlfcn/Makefile: Likewise.
53659         * elf/Makefile: Likewise.
53660         * math/Makefile: Likewise.
53661         * misc/Makefile: Likewise.
53662         * nptl/Makefile: Likewise.
53663         * sysdeps/mach/hurd/Makefile: Likewise.
53665         * configure.in: PWD_P is not used anymore.
53666         * config.make.in: Remove PWD_P entry.
53668         * configure.in: Remove last remnants of RANLIB.
53669         No need to check for signed size_t anymore.
53670         Don't set libc_commonpagesize and libc_relro_required here for Alpha
53671         and IA-64.
53672         Remove __builtin_expect test because we require at least gcc 3.4.
53673         * aclocal.m4: Likewise.
53675         * wcsmbs/mbrtoc16.c: Implement using towc function.
53676         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
53677         * wcsmbs/wcsmbsload.c: Likewise.
53678         * iconv/gconv_simple.c: Likewise.
53679         * iconv/gconv_int.h: Likewise.
53680         * iconv/gconv_builtin.h: Likewise.
53681         * iconv/iconv_prog.c: Remove CHAR16 handling.
53683         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
53685         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
53687         * configure.in: Remove --with-elf and --enable-bounded options.
53688         Dont set base_machine for ia64.  More non-ELF conditions removed.
53689         Remove testing and setting of leading underscore information.
53690         * config.make.in (build-bounded): Set to no.
53691         * config.h.in: Remove NO_UNDERSCORES entry.
53692         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
53693         them.
53694         * csu/start.c: Remove !NO_UNDERSCORE code.
53695         * locale/localeinfo.h: Likewise.
53696         * sysdeps/generic/machine-gmon.h: Likewise.
53697         * sysdeps/generic/sysdep.h: Likewise.
53698         * sysdeps/i386/sysdep.h: Likewise.
53699         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53700         * sysdeps/mach/sysdep.h: Likewise.
53701         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53702         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53703         * sysdeps/sh/sysdep.h: Likewise.
53704         * sysdeps/sparc/sparc32/alloca.S: Likewise.
53705         * sysdeps/unix/i386/sysdep.S: Likewise.
53706         * sysdeps/unix/sparc/start.c: Likewise.
53707         * sysdeps/unix/sparc/sysdep.S: Likewise.
53708         * sysdeps/unix/sparc/sysdep.h: Likewise.
53709         * sysdeps/unix/start.c: Likewise.
53710         * sysdeps/unix/x86_64/sysdep.S: Likewise.
53711         * sysdeps/x86_64/sysdep.h: Likewise.
53713 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
53715         [BZ #13553]
53716         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
53717         for non-gcc.
53718         * argp/argp-fmtstream.h: Use const instead __const.
53719         * argp/argp.h: Likewise.
53720         * assert/assert.h: Likewise.
53721         * bits/fenv.h: Likewise.
53722         * bits/sched.h: Likewise.
53723         * bits/sigset.h: Likewise.
53724         * bits/sigthread.h: Likewise.
53725         * catgets/nl_types.h: Likewise.
53726         * conform/data/pthread.h-data: Likewise.
53727         * crypt/crypt-private.h: Likewise.
53728         * crypt/crypt.h: Likewise.
53729         * crypt/crypt_util.c: Likewise.
53730         * ctype/ctype.h: Likewise.
53731         * debug/execinfo.h: Likewise.
53732         * debug/mbsnrtowcs_chk.c: Likewise.
53733         * debug/mbsrtowcs_chk.c: Likewise.
53734         * debug/wcsnrtombs_chk.c: Likewise.
53735         * debug/wcsrtombs_chk.c: Likewise.
53736         * debug/wcstombs_chk.c: Likewise.
53737         * dirent/dirent.h: Likewise.
53738         * dlfcn/dlfcn.h: Likewise.
53739         * elf/neededtest4.c: Likewise.
53740         * grp/grp.h: Likewise.
53741         * gshadow/gshadow.h: Likewise.
53742         * iconv/gconv.h: Likewise.
53743         * iconv/gconv_int.h: Likewise.
53744         * iconv/gconv_simple.c: Likewise.
53745         * iconv/iconv.h: Likewise.
53746         * iconv/loop.c: Likewise.
53747         * iconv/skeleton.c: Likewise.
53748         * include/aio.h: Likewise.
53749         * include/aliases.h: Likewise.
53750         * include/argz.h: Likewise.
53751         * include/arpa/inet.h: Likewise.
53752         * include/assert.h: Likewise.
53753         * include/dirent.h: Likewise.
53754         * include/dlfcn.h: Likewise.
53755         * include/execinfo.h: Likewise.
53756         * include/fcntl.h: Likewise.
53757         * include/fenv.h: Likewise.
53758         * include/glob.h: Likewise.
53759         * include/grp.h: Likewise.
53760         * include/libintl.h: Likewise.
53761         * include/mntent.h: Likewise.
53762         * include/netdb.h: Likewise.
53763         * include/pwd.h: Likewise.
53764         * include/rpc/netdb.h: Likewise.
53765         * include/sched.h: Likewise.
53766         * include/search.h: Likewise.
53767         * include/shadow.h: Likewise.
53768         * include/signal.h: Likewise.
53769         * include/stdio.h: Likewise.
53770         * include/stdlib.h: Likewise.
53771         * include/string.h: Likewise.
53772         * include/sys/socket.h: Likewise.
53773         * include/sys/stat.h: Likewise.
53774         * include/sys/statfs.h: Likewise.
53775         * include/sys/statvfs.h: Likewise.
53776         * include/sys/syslog.h: Likewise.
53777         * include/sys/time.h: Likewise.
53778         * include/sys/uio.h: Likewise.
53779         * include/time.h: Likewise.
53780         * include/unistd.h: Likewise.
53781         * include/utmp.h: Likewise.
53782         * include/wchar.h: Likewise.
53783         * include/wctype.h: Likewise.
53784         * inet/aliases.h: Likewise.
53785         * inet/arpa/inet.h: Likewise.
53786         * inet/netinet/ether.h: Likewise.
53787         * inet/netinet/in.h: Likewise.
53788         * intl/libintl.h: Likewise.
53789         * io/bits/fcntl2.h: Likewise.
53790         * io/fcntl.h: Likewise.
53791         * io/ftw.h: Likewise.
53792         * io/sys/poll.h: Likewise.
53793         * io/sys/stat.h: Likewise.
53794         * io/sys/statfs.h: Likewise.
53795         * io/sys/statvfs.h: Likewise.
53796         * io/utime.h: Likewise.
53797         * libio/bits/stdio.h: Likewise.
53798         * libio/bits/stdio2.h: Likewise.
53799         * libio/libio.h: Likewise.
53800         * libio/libioP.h: Likewise.
53801         * libio/stdio.h: Likewise.
53802         * locale/lc-ctype.c: Likewise.
53803         * locale/locale.h: Likewise.
53804         * login/utmp.h: Likewise.
53805         * malloc/arena.c: Likewise.
53806         * malloc/malloc.c: Likewise.
53807         * malloc/malloc.h: Likewise.
53808         * malloc/mcheck.c: Likewise.
53809         * malloc/mtrace.c: Likewise.
53810         * math/bits/mathcalls.h: Likewise.
53811         * math/fenv.h: Likewise.
53812         * math/math_private.h: Likewise.
53813         * misc/bits/error.h: Likewise.
53814         * misc/bits/syslog.h: Likewise.
53815         * misc/err.h: Likewise.
53816         * misc/error.h: Likewise.
53817         * misc/fstab.h: Likewise.
53818         * misc/mntent.h: Likewise.
53819         * misc/regexp.h: Likewise.
53820         * misc/search.h: Likewise.
53821         * misc/sgtty.h: Likewise.
53822         * misc/sys/mman.h: Likewise.
53823         * misc/sys/syslog.h: Likewise.
53824         * misc/sys/uio.h: Likewise.
53825         * misc/sys/xattr.h: Likewise.
53826         * misc/ttyent.h: Likewise.
53827         * nis/rpcsvc/ypclnt.h: Likewise.
53828         * nss/nss.h: Likewise.
53829         * posix/bits/unistd.h: Likewise.
53830         * posix/fnmatch.h: Likewise.
53831         * posix/glob.h: Likewise.
53832         * posix/sched.h: Likewise.
53833         * posix/spawn.h: Likewise.
53834         * posix/sys/wait.h: Likewise.
53835         * posix/unistd.h: Likewise.
53836         * posix/wordexp.h: Likewise.
53837         * pwd/pwd.h: Likewise.
53838         * resolv/netdb.h: Likewise.
53839         * resource/sys/resource.h: Likewise.
53840         * rt/aio.h: Likewise.
53841         * rt/bits/mqueue2.h: Likewise.
53842         * rt/mqueue.h: Likewise.
53843         * shadow/shadow.h: Likewise.
53844         * signal/signal.h: Likewise.
53845         * socket/send.c: Likewise.
53846         * socket/sendto.c: Likewise.
53847         * socket/sys/socket.h: Likewise.
53848         * stdio-common/printf.h: Likewise.
53849         * stdlib/bits/stdlib.h: Likewise.
53850         * stdlib/fmtmsg.h: Likewise.
53851         * stdlib/monetary.h: Likewise.
53852         * stdlib/stdlib.h: Likewise.
53853         * stdlib/ucontext.h: Likewise.
53854         * streams/stropts.h: Likewise.
53855         * string/argz.h: Likewise.
53856         * string/bits/string2.h: Likewise.
53857         * string/string.h: Likewise.
53858         * string/strings.h: Likewise.
53859         * sunrpc/rpc/auth.h: Likewise.
53860         * sunrpc/rpc/auth_des.h: Likewise.
53861         * sunrpc/rpc/clnt.h: Likewise.
53862         * sunrpc/rpc/netdb.h: Likewise.
53863         * sunrpc/rpc/pmap_clnt.h: Likewise.
53864         * sunrpc/rpc/xdr.h: Likewise.
53865         * sysdeps/generic/inttypes.h: Likewise.
53866         * sysdeps/generic/net/if.h: Likewise.
53867         * sysdeps/generic/sys/swap.h: Likewise.
53868         * sysdeps/gnu/net/if.h: Likewise.
53869         * sysdeps/gnu/utmpx.h: Likewise.
53870         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
53871         * sysdeps/i386/i486/bits/string.h: Likewise.
53872         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
53873         * sysdeps/s390/bits/string.h: Likewise.
53874         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
53875         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
53876         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
53877         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
53878         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
53879         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
53880         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
53881         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
53882         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
53883         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
53884         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
53885         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
53886         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
53887         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
53888         * sysdeps/unix/sysv/linux/readv.c: Likewise.
53889         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
53890         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
53891         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53892         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
53893         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
53894         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
53895         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
53896         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
53897         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
53898         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
53899         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
53900         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
53901         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
53902         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
53903         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
53904         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
53905         * sysvipc/sys/ipc.h: Likewise.
53906         * sysvipc/sys/msg.h: Likewise.
53907         * sysvipc/sys/sem.h: Likewise.
53908         * sysvipc/sys/shm.h: Likewise.
53909         * termios/termios.h: Likewise.
53910         * time/sys/time.h: Likewise.
53911         * time/time.h: Likewise.
53912         * wcsmbs/bits/wchar2.h: Likewise.
53913         * wcsmbs/uchar.h: Likewise.
53914         * wcsmbs/wchar.h: Likewise.
53915         * wctype/wctype.h: Likewise.
53917         [BZ #13551]
53918         * Makeconfig: Remove all but ELF support including AIX support.
53919         * Makerules: Likewise.
53920         * config.h.in: Likewise.
53921         * config.make.in: Likewise.
53922         * configure: Likewise.
53923         * configure.in: Likewise.
53924         * csu/Makefile: Likewise.
53925         * csu/version.c: Likewise.
53926         * debug/Makefile: Likewise.
53927         * dlfcn/Makefile: Likewise.
53928         * elf/Makefile: Likewise.
53929         * extra-lib.mk: Likewise.
53930         * iconv/Makefile: Likewise.
53931         * include/libc-symbols.h: Likewise.
53932         * include/shlib-compat.h: Likewise.
53933         * resolv/Makefile: Likewise.
53934         * resolv/res_libc.c: Likewise.
53935         * rt/Makefile: Likewise.
53936         * sysdeps/i386/asm-syntax.h: Likewise.
53937         * sysdeps/i386/sysdep.h: Likewise.
53938         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
53939         * sysdeps/mach/sysdep.h: Likewise.
53940         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
53941         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
53942         * sysdeps/s390/asm-syntax.h: Likewise.
53943         * sysdeps/s390/s390-32/sysdep.h: Likewise.
53944         * sysdeps/s390/s390-64/sysdep.h: Likewise.
53945         * sysdeps/sh/sysdep.h: Likewise.
53946         * sysdeps/unix/sparc/sysdep.h: Likewise.
53947         * sysdeps/wordsize-32/divdi3.c: Likewise.
53948         * sysdeps/x86_64/sysdep.h: Likewise.
53950         * argp/Versions: Remove _argp_unlock_xxx.
53952         [BZ #13559]
53953         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
53954         * abilist/libBrokenLocale.abilist: Likewise.
53955         * abilist/libanl.abilist: Likewise.
53956         * abilist/libc.abilist: Likewise.
53957         * abilist/libcrypt.abilist: Likewise.
53958         * abilist/libdl.abilist: Likewise.
53959         * abilist/libm.abilist: Likewise.
53960         * abilist/libnsl.abilist: Likewise.
53961         * abilist/libpthread.abilist: Likewise.
53962         * abilist/libresolv.abilist: Likewise.
53963         * abilist/librt.abilist: Likewise.
53964         * abilist/libthread_db.abilist: Likewise.
53965         * abilist/libutil.abilist: Likewise.
53966         * abilist/libnss_db.abilist: New file.
53968         * scripts/abilist.awk: Add support for indirect functions.
53970         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
53972         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
53974         * shlib-versions: Remove entries for ports architectures.
53976         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
53977         files in ports.
53978         * elf/stackguard-macros.h: Remove support for IA-64.
53979         * elf/tst-auditmod1.c: Likewise.
53980         * sysdeps/generic/ldsodefs.h: Likewise.
53982         * sysdeps/unix/sysv/linux/configure.in: Ports should define
53983         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
53984         configure files.
53986         [BZ #13552]
53987         * configure.in: Remove --enable-omitfp support.
53988         * FAQ.in: Adjust.
53989         * config.make.in: Likewise.
53990         * Makeconfig: Likewise.
53991         * manual/install.texi: Likewise.
53993         In case anyone cares, the IA-64 architecture could move to ports.
53994         * sysdeps/ia64/*: Removed.
53995         * sysdeps/unix/sysv/linux/ia64/*: Removed.
53996         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
53998         [BZ #13555]
53999         * configure.in: Remove entries for unsupported architectures.
54001         [BZ #13533]
54002         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
54003         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
54004         routines.
54005         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
54006         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
54007         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
54008         fall back to using wcrtomb.
54009         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
54010         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
54011         renaming.
54012         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
54013         * wcsmbs/tst-c16c32-1.c: New file.
54015         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
54016         local variable.
54018         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
54020         * elf/tst-unique3.cc: Add explicit declaration of gets.
54021         * elf/tst-unique3lib.cc: Likewise.
54022         * elf/tst-unique3lib2.cc: Likewise.
54023         * elf/tst-unique4.cc: Likewise.
54025         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
54027 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
54029         [BZ #13566]
54030         * assert/assert.h (static_assert): Don't define for C++.
54031         * libio/stdio.h (gets): Do declare for C++ <= C++11.
54032         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
54034 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
54036         * iconv/loop.c (single loop): Fix assertion in storing of
54037         remaining bytes.
54039         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
54041 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
54043         * posix/getconf.c: Update copyright year.
54044         * nss/getent.c: Likewise.
54045         * nss/makedb.c: Likewise.
54046         * iconv/iconvconfig.c: Likewise.
54047         * iconv/iconv_prog.c: Likewise.
54048         * elf/ldconfig.c: Likewise.
54049         * elf/pldd.c: Likewise.
54050         * elf/sotruss.ksh: Likewise.
54051         * catgets/gencat.c: Likewise.
54052         * csu/version.c: Likewise.
54053         * elf/ldd.bash.in: Likewise.
54054         * elf/sprof.c (print_version): Likewise.
54055         * locale/programs/locale.c: Likewise.
54056         * locale/programs/localedef.c: Likewise.
54057         * login/programs/pt_chown.c: Likewise.
54058         * nscd/nscd.c (print_version): Likewise.
54059         * debug/xtrace.sh: Likewise.
54060         * malloc/memusage.sh: Likewise.
54061         * malloc/mtrace.pl: Likewise.
54062         * debug/catchsegv.sh: Likewise.
54064 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
54066         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
54067         pure attribute.
54069 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
54071         [BZ #13533]
54072         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
54073         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
54074         transformations.
54075         * iconv/gconv_int.h: Likewise.
54076         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
54077         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
54078         from libc for GLIBC_2.16.
54079         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
54080         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
54081         * wcsmbs/uchar.h: Really define mbstate_t.
54082         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
54083         * wcsmbs/c16rtomb.c: New file.
54084         * wcsmbs/mbrtoc16.c: New file.
54085         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
54086         for C/POSIX locale.
54087         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
54088         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
54090         * wcsmbs/wchar.h: Add missing __restrict.
54092 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54094         [BZ #13532]
54095         * time/Makefile (routines): Add timespec_get.
54096         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
54097         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
54098         timespec for ISO C11.
54099         * time/timespec_get.c: New file.
54100         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
54101         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
54103         [BZ #13531]
54104         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
54105         * stdlib/stdlib.h: Declare aligned_alloc.
54106         * Versions.def: Add GLIBC_2.16 for libc.
54107         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
54109         [BZ 13527]
54110         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
54111         ISO C11.
54113         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
54114         code.
54116         [BZ #13528]
54117         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
54119         [BZ #13529]
54120         * assert/assert.h (static_assert): Define.
54122         * version.h: Update for 2.16 development version.
54124         [BZ #13526]
54125         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
54126         _ISOC11_SOURCE.
54128         * version.h (RELEASE): Bump for 2.15 release.
54129         * include/features.h (__GLIBC_MINOR__): Bump to 15.
54131         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
54132         Patch by Marek Polacek <mpolacek@redhat.com>.
54134         * bits/byteswap.h: Protect long long constants with __extension__.
54135         * sysdeps/i386/bits/byteswap.h: Likewise.
54136         * sysdeps/ia64/bits/byteswap.h: Likewise.
54137         * sysdeps/s390/bits/byteswap.h: Likewise.
54138         * sysdeps/x86_64/bits/byteswap.h: Likewise.
54140 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54142         [BZ #13540]
54143         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
54144         destination buffer.
54145         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
54147 2011-12-23  Marek Polacek  <polacek@redhat.com>
54149         * elf/dl-addr.c (determine_info): Add inline keyword.
54150         * elf/tst-auditmod4b.c (check_avx): Likewise.
54151         * elf/tst-auditmod6b.c (check_avx): Likewise.
54152         * elf/tst-auditmod6c.c (check_avx): Likewise.
54153         * elf/tst-auditmod7b.c (check_avx): Likewise.
54155 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
54157         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
54158         !__SSE_MATH__.
54160 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54162         [BZ #13540]
54163         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
54164         processing for last bytes.
54166 2011-08-06  Bruno Haible  <bruno@clisp.org>
54168         [BZ #13061]
54169         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
54170         U+0385, not to U+1FEE.
54172         [BZ #13062]
54173         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
54174         entry for U+00A5 U+0301.
54176 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54178         [BZ #13166]
54179         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
54180         buffer for the output is too small.
54182         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
54183         optimization.
54185         [BZ #13185]
54186         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
54187         SSE flags if possible.
54189 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54191         [BZ #13540]
54192         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
54193         processing for last bytes.
54195 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
54197         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
54198         (syscall-list-default-options, syscall-list-default-condition)
54199         (syscall-list-includes): Define.
54200         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
54201         list of ABIs and options and #if conditions for each ABI.  Do not
54202         handle common syscalls between ABIs specially.
54203         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
54204         Remove.
54205         (syscall-list-variants, syscall-list-32bit-options)
54206         (syscall-list-32bit-condition, syscall-list-64bit-options)
54207         (syscall-list-64bit-condition): Define.
54208         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
54209         (syscall-list-variants, syscall-list-32bit-options)
54210         (syscall-list-32bit-condition, syscall-list-64bit-options)
54211         (syscall-list-64bit-condition): Define.
54212         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
54213         Remove.
54214         (syscall-list-variants, syscall-list-32bit-options)
54215         (syscall-list-32bit-condition, syscall-list-64bit-options)
54216         (syscall-list-64bit-condition): Define.
54217         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
54218         Remove.
54219         (syscall-list-variants, syscall-list-32bit-options)
54220         (syscall-list-32bit-condition, syscall-list-64bit-options)
54221         (syscall-list-64bit-condition): Define.
54223 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
54225         * locale/iso-639.def: Add brx entry.
54227         [BZ #13328]
54228         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
54229         Proposed by Mariusz_Cukr <marcukr@op.pl>.
54231         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
54232         __feraiseexcept_renamed.
54234 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54236         [BZ #13538]
54237         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
54238         EPOLLET with unsigned values.
54239         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
54240         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
54242         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
54243         to large cancellation.
54244         * math/s_cacoshf.c: Likewise.
54245         * math/s_cacoshl.c: Likewise.
54247 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
54249         [BZ #13305]
54250         [BZ #12786]
54251         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
54252         * math/s_cacoshf.c: Likewise.
54253         * math/s_cacoshl.c: Likewise.
54255 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
54257         [BZ #13439]
54258         * iconv/gconv.h: Define __GCONV_SWAP.
54259         * iconvdata/unicode.c: The swap bit must be stored in __flags.
54260         * iconvdata/utf-16.c: Likewise.
54261         * iconvdata/utf-32.c: Likewise.
54263 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
54265         [BZ #13524]
54266         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
54267         numerator after shifting it by one limb.
54269 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
54271         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
54272         under [__USE_EXTERN_INLINES].
54274 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54276         [BZ #13446]
54277         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
54279 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54281         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
54282         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
54283         optimized code.
54284         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
54285         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
54286         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
54287         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
54288         for strncasecmp/strncasecmp_l compilation.
54289         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
54290         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
54292 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
54294         [BZ #13484]
54295         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
54296         of __asm__.
54298 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
54300         [BZ #13506]
54301         * time/tzfile.c (__tzfile_read): Check values from file header.
54303 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
54305         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
54306         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
54307         * powerpc/powerpc32/dl-start.S: Likewise.
54308         * powerpc/powerpc32/elf/start.S: Likewise.
54309         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
54310         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
54311         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
54312         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
54313         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
54314         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
54315         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
54316         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54317         * powerpc/powerpc32/fpu/s_round.S: Likewise.
54318         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
54319         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
54320         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
54321         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
54322         * powerpc/powerpc32/memset.S: Likewise.
54323         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
54324         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
54325         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
54326         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
54327         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
54328         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
54329         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
54330         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
54331         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
54332         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
54333         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
54334         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
54335         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
54337 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54339         * math/libm-test.inc: Added more nearbyint tests.
54340         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
54341         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
54342         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
54343         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
54345 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
54347         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
54348         FD_CLOEXEC.
54350 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54352         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
54353         Add wcscpy-ssse3 wcscpy-c.
54354         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
54355         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
54356         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
54357         * sysdeps/x86_64/wcschr.S: New file.
54358         * sysdeps/x86_64/wcsrchr.S: New file.
54359         * string/test-strcmp.c: Remove checking of wcscmp function for
54360         wrong alignments.
54361         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
54362         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
54363         wcsrchr-sse2 wcsrchr-c.
54364         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
54365         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
54366         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
54367         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
54368         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
54369         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
54370         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
54371         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
54372         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
54373         * wcsmbc/wcschr.c (WCSCHR): New macro.
54375 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
54377         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
54378         * wcsmbs/test-wcsrchr.c: New file.
54379         * string/test-strrchr.c: Add wcsrchr support.
54380         (WIDE): New macro.
54381         * wcsmbs/test-wcscpy.c: New file.
54382         * string/test-strcpy.c: Add wcscpy support.
54383         (WIDE): New macro.
54385 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
54387         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
54388         the inner loop.
54390 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
54392         [BZ #13472]
54393         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
54395 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
54397         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
54398         Minor optimizations.
54400         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
54401         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
54402         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
54404 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
54406         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
54407         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
54408         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
54409         for gcc to avoid warnings.
54410         * inet/Makefile (tests): Add tst-checks.
54411         * inet/tst-checks.c: New file.
54413         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
54414         warning.
54416         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
54417         __wmemcmp_sse2.
54419         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
54420         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
54422         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
54424 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
54426         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
54427         problem.
54429         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
54431 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
54433         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
54434         conditional on GCC version.
54435         (__arch_compare_and_exchange_val_8_acq)
54436         (__arch_compare_and_exchange_val_16_acq)
54437         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
54438         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
54439         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
54441 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
54443         * sysdeps/sh/backtrace.c: New file.
54445 2011-12-02  Andreas Schwab  <schwab@redhat.com>
54447         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
54448         parenthesis.
54450 2011-12-01  Andreas Schwab  <schwab@redhat.com>
54452         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
54453         falling back to utime.
54455 2011-11-30  Andreas Schwab  <schwab@redhat.com>
54457         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
54458         expectations for float.
54460 2011-11-29  Andreas Schwab  <schwab@redhat.com>
54462         * locale/weight.h (findidx): Add parameter len.
54463         * locale/weightwc.h (findidx): Likewise.
54464         * posix/fnmatch_loop.c (FCT): Adjust caller.
54465         * posix/regcomp.c (build_equiv_class): Likewise.
54466         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
54467         * posix/regexec.c (check_node_accept_bytes): Likewise.
54468         * string/strcoll_l.c (STRCOLL): Likewise.
54469         * string/strxfrm_l.c (STRXFRM): Likewise.
54471 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
54473         * Makefile.in: Remove CVSOPT handling.
54474         * configure.in: Remove use of AC_REVISION.
54475         * iconvdata/Makefile (distribute): No need to filter out CVS.
54476         * scripts/list-sources.sh: Remove CVS, subversion and monotone
54477         handling.
54479 2011-11-16  Andreas Schwab  <schwab@redhat.com>
54481         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
54482         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
54483         [USE_AS_STRNCASECMP_L]: Likewise.
54484         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
54485         NO_TLS_DIRECT_SEG_REFS.
54486         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
54487         Fix argument offsets for non-PIC.
54488         [USE_AS_STRNCASECMP_L]: Likewise.
54489         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
54490         NO_TLS_DIRECT_SEG_REFS.
54492 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54494         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
54495         O_CLOEXEC.
54496         * locale/loadlocale.c (_nl_load_locale): Likewise.
54498 2011-11-15  Andreas Schwab  <schwab@redhat.com>
54500         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
54501         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
54502         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
54503         (SYSCALL_GETTIME): Set errno on error.
54505         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
54506         count references to noai6ai_cached.
54508 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
54510         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
54512         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
54513         FD_CLOEXEC for /proc/self/maps.
54515         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
54516         FD_CLOEXEC for /proc/meminfo.
54518         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
54519         gai.conf.
54521         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
54522         FD_CLOEXEC for given file.
54524         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
54526         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
54527         FD_CLOEXEC for /etc/hosts.
54528         (_gethtent): Likewise.
54530         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
54532         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
54533         cancellation and set FD_CLOEXEC for /etc/netgroup.
54535         * nss/nss_files/files-key.c (search): Don't allow cancellation when
54536         reading /etc/publickey.
54538         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
54539         allow cancellation when reading /etc/group.
54541         * nss/nss_files/files-alias.c (internal_setent): Don't allow
54542         cancellation.
54543         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
54545         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
54546         when using data file.
54548         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
54550         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
54551         (write_nis_obj): Use "c" and "e" in fopen.
54553         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
54555         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
54557         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
54559         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
54561         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
54562         locale.alias.
54564         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
54566         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
54568         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
54570         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
54571         file parsing and set FD_CLOEXEC.
54573 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54575         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
54577 2011-11-14  Andreas Schwab  <schwab@redhat.com>
54579         * malloc/arena.c (arena_get2): Don't call reused_arena when
54580         _int_new_arena failed.
54582 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
54584         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
54585         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
54586         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
54587         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
54588         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54589         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
54590         to compile strcasecmp and strncasecmp.
54591         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
54592         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
54594         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
54596 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
54598         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
54599         locale-defines.sym to gen-as-const-headers.
54600         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
54601         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
54602         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
54603         to compile strcasecmp and strncasecmp.
54604         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
54605         strcasecmp_l and strncasecmp_l.
54606         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
54607         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
54608         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
54609         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
54610         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
54611         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
54612         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
54613         * sysdeps/i386/i686/multiarch/strncase.S: New file.
54614         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
54615         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
54616         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
54618 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
54620         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
54621         result of SYSDEP_GETTIME_CPU to retval.
54622         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
54623         parameter list to macro.  Remove trailing semicolon.  Adjust users.
54625         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
54626         variable.
54628         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
54629         mantissa words.
54630         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
54632         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
54633         from unused variable.
54635         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
54636         DWARF definitions.
54637         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
54638         for assembling.
54640         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
54641         over namespaces.
54643         * sunrpc/rpc_prot.c (rejected): Fix case value.
54645         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
54646         unsigned long long int to avoid warnings in shift.
54648         * posix/regex_internal.c (re_string_reconstruct): Actually use result
54649         of use of trans.
54650         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
54651         variable tmp.
54653         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
54654         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
54655         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
54657         * nis/nis_table.c (nis_list): Use variable of correct type for
54658         result of __follow_path call.
54660 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54662         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
54663         of math functions ceil, trunc, floor, round, and sqrt, when
54664         avaliable on the platform.
54665         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
54666         name clash.
54667         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
54668         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
54669         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
54671 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
54673         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
54674         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54676 2011-11-11  Roland McGrath  <roland@hack.frob.com>
54678         * include/unistd.h: Fix __readlink return type.
54679         Reported by Chris Metcalf <cmetcalf@tilera.com>.
54681 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
54683         * stdlib/ucontext.h: Undo last change for makecontext.
54685 2011-11-11  Andreas Schwab  <schwab@redhat.com>
54687         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
54689         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
54690         * setjmp/setjmp.h: Mark functions as non-leaf.
54691         * setjmp/bits/setjmp2.h: Likewise.
54692         * stdlib/ucontext.h: Likewise.
54694 2011-11-10  Andreas Schwab  <schwab@redhat.com>
54696         * malloc/arena.c (_int_new_arena): Don't increment narenas.
54697         (reused_arena): Don't check arena limit.
54698         (arena_get2): Atomically check arena limit.
54700 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
54702         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
54703         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
54705         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
54706         instructions.
54708 2011-11-07  Andreas Schwab  <schwab@redhat.com>
54710         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
54711         handler when locking.
54713         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
54714         Fix size of allocated buffer.
54716 2011-11-04  Andreas Schwab  <schwab@redhat.com>
54718         [BZ #10103]
54719         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
54720         declarations for long double functions.
54721         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
54723         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
54725 2011-11-03  Andreas Schwab  <schwab@redhat.com>
54727         * nscd/nscd.c (main): Don't start AVC thread until credentials are
54728         installed.
54730         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
54731         is disabled.
54733 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54735         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
54737 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
54739         * include/alloca.h (stackinfo_alloca_round): Define.
54740         (extend_alloca): Use it.
54741         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
54742         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
54743         here.
54745         * scripts/check-local-headers.sh: Ignore libaudit.h.
54747         * nscd/Makefile (extra-objs): Make recursively expanded.
54749 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
54751         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
54752         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
54754         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
54755         * posix/tst-rfc3484-2.c: Likewise.
54756         * posix/tst-rfc3484-3.c: Likewise.
54758         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
54759         process_vm_writev.
54760         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
54761         process_vm_writev.
54762         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
54763         process_vm_writev from libc using GLIBC_2.15 version.
54765         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
54767 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
54769         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
54770         stack usage.
54772 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
54774         [BZ #13367]
54775         * nss/getent.c (initgroups_keys): Show error message in case no group
54776         names are given.
54778         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
54779         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
54780         __bump_nl_timestamp.
54781         * nscd/connections (nscd_init): When host database is served open
54782         netlink socket and request notification about configuration changes.
54783         (main_loop_poll): Track netlink file descriptor and bump timestamp
54784         in case data becomes available.
54785         (main_loop_epoll): Likewise.
54786         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
54787         (database_pers_head): Add extra_data fileds.
54788         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
54789         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
54790         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
54791         Adjust caller.
54792         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
54793         in6ai data, call __free_in6ai.
54794         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
54795         Add -DHAVE_NETLINK.
54796         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
54797         interface information.  Reuse previous data if netlink timestamp
54798         is not changed.
54799         (__bump_nl_timestamp): New function.
54800         (__free_in6ai): New function.
54802 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
54804         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
54805         close_not_cancel_no_status here.
54806         (__check_pf): Reorganize code a bit to not call close twice if OOM.
54808 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54810         [BZ #13276]
54811         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
54812         return value.
54814         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
54815         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
54816         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
54818 2011-07-03  Andreas Jaeger  <aj@suse.de>
54820         [BZ #10709]
54821         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
54822         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
54823         * math/libm-test.inc (sin_test): Add test case.
54825 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
54827         [BZ #13337]
54828         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
54829         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54831         * elf/chroot_canon.c (chroot_canon): Cleanups.
54833         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
54835         [BZ #13335]
54836         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
54837         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
54839         * string/test-strchr.c: Make usable for strchrnul testing.
54840         * string/test-strchrnul.c: New file.
54841         * string/Makefile (strop-tests): Add strchrnul.
54843         * po/it.po: Update from translation team.
54844         * po/es.po: Likewise.
54846 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
54848         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
54849         the three constants needed as parameters.  Drop the others.
54850         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
54851         __m128i_strloadu_tolower.
54852         Create and initialize variable zero and use it in all the places
54853         where _mm_setzero_si128 was used.
54855         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
54856         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
54857         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
54858         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
54859         anymore.
54860         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
54861         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
54862         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
54863         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
54864         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
54865         __mpranred, __mptan.
54866         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
54867         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
54868         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
54869         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
54870         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
54871         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
54872         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
54873         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
54874         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
54876 2011-10-28  Andreas Schwab  <schwab@redhat.com>
54878         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
54879         redefine if SHARED.
54880         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
54882         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
54883         wide char related routines to wcsmbs subdir.
54885 2011-10-27  Andreas Schwab  <schwab@redhat.com>
54887         [BZ #13344]
54888         * misc/sys/cdefs.h (__THROWNL): Define.
54889         * posix/unistd.h: Use __THREADNL instead of __THREAD
54890         for memory synchronization functions.
54892 2011-10-26  Roland McGrath  <roland@hack.frob.com>
54894         [BZ #13349]
54895         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
54896         doesn't exist.
54897         * manual/stdio.texi (Obstack Streams): Node removed.
54899 2011-10-26  Andreas Schwab  <schwab@redhat.com>
54901         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
54902         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54903         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54905         * math/math_private.h (math_force_eval): Allow non-addressable
54906         arguments.
54907         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
54909 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54911         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
54912         file is not needed.
54914         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
54915         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
54916         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
54917         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
54918         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
54919         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
54920         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
54921         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
54922         Add AVX variants.
54923         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
54924         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
54925         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
54926         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
54927         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
54928         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
54929         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
54930         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
54931         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
54932         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
54933         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
54934         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
54935         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
54936         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
54937         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
54938         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
54939         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
54940         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
54941         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
54943         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
54944         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
54946         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
54947         place.  Use VEX encoding when compiling for AVX.
54949 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54951         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
54952         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
54954         * string/test-strchr.c (do_test): Don't generate NUL bytes.
54956 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54958         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
54959         useless if() expression.
54960         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
54961         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
54962         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
54963         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
54964         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
54965         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
54966         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
54967         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
54968         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
54969         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
54970         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
54971         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
54972         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
54973         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
54974         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
54975         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
54976         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
54977         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
54978         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
54980         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
54982 2011-10-25  Andreas Schwab  <schwab@redhat.com>
54984         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
54985         condition.
54986         * elf/dl-fini.c (_dl_sort_fini): Likewise.
54988 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
54990         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
54991         .text section.  Avoid duplicate constants.
54992         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
54993         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
54994         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
54995         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
54996         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
54997         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
54998         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
54999         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55000         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
55001         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
55002         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
55003         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
55004         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
55005         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
55006         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
55007         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
55008         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
55009         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
55010         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
55011         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55012         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
55013         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
55014         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
55015         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
55016         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
55017         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
55018         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
55019         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
55020         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
55021         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
55022         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
55023         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
55024         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
55025         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
55026         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
55027         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
55028         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
55029         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
55030         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
55031         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
55032         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
55033         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
55034         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
55035         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
55036         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
55038 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
55040         * sysdeps/x86_64/dla.h: Move to ...
55041         * sysdeps/x86_64/fpu/dla.h: ...here.
55042         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
55043         situations.  Use __builtin_fma only for gcc 4.6 and up.
55045         * config.make.in: Add have-mfma4 entry.
55046         * configure.in: Substitute libc_cv_cc_fma4.
55047         * math/Makefile (dbl-only-routines): Add sincostab.
55048         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
55049         Use __sincostab not sincos.
55050         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
55051         name is a macro.
55052         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55053         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55054         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55055         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
55056         using __copysign.
55057         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
55058         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
55059         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
55060         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
55061         and __inv.
55062         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
55063         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
55064         __copysign.
55065         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
55066         define aliases when function name is a macro.
55067         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
55068         sysdeps/ieee754/dbl-64/sincos.tbl.
55069         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
55070         fma4-enabled routines.
55071         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
55072         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
55073         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
55074         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
55075         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
55076         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
55077         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
55078         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
55079         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
55080         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
55081         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
55082         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
55083         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
55084         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
55085         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
55086         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
55087         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
55088         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
55089         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
55090         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
55091         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
55092         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
55093         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
55094         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
55095         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
55096         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
55097         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
55098         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
55099         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
55100         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
55102         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
55103         rename.
55104         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55105         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55106         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55107         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55108         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55109         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55110         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55111         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55113 2011-10-24  Andreas Schwab  <schwab@redhat.com>
55115         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
55117 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55119         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
55121         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
55122         prediction.
55123         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
55125         * string/strnlen.c: Don't define STRNLEN, reverse logic.
55126         Remove unused variable magic_bits.
55127         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
55129         * string/strnlen.c: Define and use STRNLEN macro.
55130         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
55131         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
55132         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
55133         * wcsmbs/wcslen.c: Define and use WCSLEN.
55134         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
55135         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
55136         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
55137         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
55138         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
55139         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
55140         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
55142 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55144         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55145         strnlen-sse2-no-bsf.
55146         Rename strlen-no-bsf to strlen-sse2-no-bsf.
55147         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
55148         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
55149         Add strnlen support.
55150         (USE_AS_STRNLEN): New macro.
55151         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
55152         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
55153         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
55154         * sysdeps/x86_64/wcslen.S: New file.
55156 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
55158         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55159         XMM-moves are used for copying on small sizes.
55161 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55163         * wcsmbs/Makefile (strop-tests): Add wcschr.
55164         * wcsmbs/test-wcschr.c: New file.
55165         * string/test-strchr.c: Update.
55166         Add wcschr support.
55167         (WIDE): New macro.
55169 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55171         * wcsmbs/Makefile (strop-tests): Add wcslen.
55172         * wcsmbs/test-wcslen.c: New file.
55173         * string/test-strlen.c: Update.
55174         Add wcslen support.
55175         (WIDE): New macro.
55177 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55179         * po/it.po: Update from translation team.
55181 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55183         * sysdeps/x86_64/wcscmp.S: Update.
55184         Fix wrong comparison semantics.
55185         wcscmp shall use signed comparison not unsigned.
55186         Don't use substraction to avoid overflow bug.
55187         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
55188         * wcsmbc/wcscmp.c: Likewise.
55189         * string/test-strcmp.c: Likewise.
55190         Add new tests to check cases with negative values.
55192 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
55194         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
55195         * sysdeps/x86_64/dla.h: ...here.  New file.
55196         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
55197         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55198         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55199         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55200         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55201         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55202         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55203         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55204         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55206 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
55208         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
55209         __ynl_finite aliases.
55211 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55215         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
55216         define DLA_FMA.
55217         [DLA_FMA] (EMULV): Use DLA_FMA.
55218         [DLA_FMA] (MUL12): Use EMULV.
55219         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
55220         that are not needed.
55221         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
55222         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55223         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55224         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55225         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55226         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
55227         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
55229 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
55231         * math/s_nan.c: Undef __nan.
55232         * math/s_nanf.c: Undef __nanf.
55233         * math/s_nanl.c: Undef __nanl.
55234         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
55235         "math_private.h".
55237 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
55239         * math/s_catan.c: Add branch predictions.
55240         * math/s_catanf.c: Likewise.
55241         * math/s_catanh.c: Likewise.
55242         * math/s_catanhf.c: Likewise.
55243         * math/s_catanhl.c: Likewise.
55244         * math/s_catanl.c: Likewise.
55245         * math/s_cexp.c: Likewise.
55246         * math/s_cexpf.c: Likewise.
55247         * math/s_cexpl.c: Likewise.
55248         * math/s_clog.c: Likewise.
55249         * math/s_clog10.c: Likewise.
55250         * math/s_clog10f.c: Likewise.
55251         * math/s_clog10l.c: Likewise.
55252         * math/s_clogf.c: Likewise.
55253         * math/s_clogl.c: Likewise.
55254         * math/s_csqrt.c: Likewise.
55255         * math/s_csqrtf.c: Likewise.
55256         * math/s_csqrtl.c: Likewise.
55257         * math/s_ctanf.c: Likewise.
55258         * math/s_ctanh.c: Likewise.
55259         * math/s_ctanhf.c: Likewise.
55260         * math/s_ctanhl.c: Likewise.
55261         * math/s_ctanl.c: Likewise.
55263         * math/math_private.h: Define __nan, __nanf, __nanl.
55264         * math/s_cacosh.c: Include <math_private.h>.
55265         * math/s_cacoshl.c: Likewise.
55266         * math/s_casinh.c: Likewise.
55267         * math/s_casinhf.c: Likewise.
55268         * math/s_casinhl.c: Likewise.
55269         * math/s_ccos.c: Rely entire on ccosh.
55270         * math/s_ccosf.c: Rely entire on ccoshf.
55271         * math/s_ccosl.c: Rely entirely on ccoshl.
55272         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
55273         Remove tests for FE_INVALID.
55274         * math/s_ccoshf.c: Likewise.
55275         * math/s_ccoshl.c: Likewise.
55276         * math/s_csin.c: Likewise.
55277         * math/s_csinf.c: Likewise.
55278         * math/s_csinh.c Likewise.
55279         * math/s_csinhf.c: Likewise.
55280         * math/s_csinhl.c: Likewise.
55281         * math/s_csinl.c: Likewise.
55282         * math/s_ctan.c: Likewise.
55283         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
55284         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
55285         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
55287 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
55289         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
55290         compilation problems.
55292         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
55293         __builtin_expect.
55295 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
55297         * sysdeps/i386/configure.in: Test for -mfma4 option.
55298         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
55299         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
55300         COMMON_CPUID_INDEX_80000001.
55301         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
55302         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
55303         use it if FMA3 is not supported.
55304         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
55306         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
55307         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55309 2011-10-20  Andreas Schwab  <schwab@redhat.com>
55311         [BZ #12892]
55312         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
55313         it would create a cycle with a link time dependency.
55315 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
55317         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
55318         instruction.
55319         * string/Makefile (strop-tests): Add rawmemchr.
55320         * string/test-rawmemchr.c: New file.
55322         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
55323         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
55324         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
55325         when compiling str{,n}casecmp and when AVX is available.  Hook up
55326         new optimized code in initializers.
55328 2011-10-19  Andreas Schwab  <schwab@redhat.com>
55330         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
55331         __feraiseexcept instead of feraiseexcept.
55333 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
55335         * math/math_private.h: Define defaults for libc_fetestexcept and
55336         libc_feupdateenv.
55337         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
55338         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
55339         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55340         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55341         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
55342         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55343         libc_fetestexcept and libc_feupdateenv.
55345         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
55346         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
55347         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
55348         * sysdeps/x86_64/fpu/math_private.h: Define special version of
55349         libc_feholdexcept_setround.
55351         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
55352         Add s_nearbyint-c and s_nearbyintf-c.
55353         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
55354         nearbyintf inlines.
55355         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
55356         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
55357         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
55358         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
55360         * math/math_private.h: Define defaults for libc_fegetround,
55361         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
55362         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
55363         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
55364         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
55365         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
55366         standard functions.
55367         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55368         Remove comments and hacks for old compiler versions.
55369         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
55370         libc_fegetround, libc_fesetround, libc_feholdexcept, and
55371         libc_feholdexceptl.
55373 2011-10-18  Andreas Schwab  <schwab@redhat.com>
55375         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
55376         (__feraiseexcept_renamed): Add __NTH.
55377         (feraiseexcept): Add __NTH.  Rename local variables to fix
55378         namespace violations.
55380 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
55382         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
55384         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
55386         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
55387         recently added interfaces.
55388         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
55390         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
55391         about macro parameter expansion.
55393         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
55394         __NO_MATH_INLINES is defined.  Cleanups.
55396         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
55397         and __floorf is target has SSE4.1.
55398         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
55399         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
55400         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
55401         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
55403         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
55404         name.
55405         (floorf): Likewise.
55407         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
55409 2011-10-17  Andreas Schwab  <schwab@redhat.com>
55411         * misc/sys/cdefs.h: Fix last change.
55413         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
55414         database lookup.
55416 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
55418         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
55420         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
55421         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
55422         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
55423         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
55424         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
55425         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
55426         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
55427         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
55428         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
55429         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
55430         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
55431         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
55432         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
55433         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
55434         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
55435         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
55436         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
55437         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
55438         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
55439         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
55440         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
55441         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
55443         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
55444         ceil, ceilf, floor, floorf.
55446         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
55447         Perform IRELATIVE relocations last.
55449         * elf/do-rel.h: Add another parameter nrelative, replacing the
55450         local variable with the same name.  Change name of the function
55451         to end in Rel or Rela (uppercase).
55452         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
55453         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
55454         elf_dynamic_do_##reloc function.
55456 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55458         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
55459         is sufficient, at least on modern CPUs.
55461         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
55463         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
55464         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
55466         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
55467         __expl_finite.
55468         * math/bits/math-finite.h: Add entries for exp.
55469         * math/e_expl.c: Add __*_finite alias.
55470         * sysdeps/i386/fpu/e_exp.S: Likewise.
55471         * sysdeps/i386/fpu/e_expf.S: Likewise.
55472         * sysdeps/i386/fpu/e_expl.c: Likewise.
55473         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
55474         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
55475         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55476         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55477         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
55478         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
55479         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
55481         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
55482         is sufficient, at least on modern CPUs.
55484         * ctype/ctype-info.c (__ctype_init): Define.
55485         * include/ctype.h (__ctype_init): Declare.
55486         (__ctype_b_loc): The variable is always initialized.
55487         (__ctype_toupper_loc): Likewise.
55488         (__ctype_tolower_loc): Likewise.
55489         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
55490         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
55492 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
55494         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
55496         * configure.in: Also look in $cxxmachine/include for C++ system
55497         headers.
55499 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55501         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
55502         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
55503         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
55504         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
55505         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
55506         (USE_AS_WMEMCMP): New macro.
55507         Fixing indents.
55508         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
55509         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
55510         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
55511         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
55512         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55513         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
55514         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
55515         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
55516         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
55517         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
55518         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
55519         (USE_AS_WMEMCMP): New macro.
55520         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
55521         * sysdeps/string/test-memcmp.c: Update.
55522         Fix simple_wmemcmp.
55523         Add new tests.
55524         * wcsmbs/wmemcmp.c: Update.
55525         (WMEMCMP): New macro.
55526         Fix overflow bug.
55528 2011-10-12  Andreas Jaeger  <aj@suse.de>
55530         [BZ #13268]
55531         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
55533 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
55535         * libio/iofwide.c (do_length): Avoid warning.
55537         * ctype/ctype.h (__isctype_f): Add missing __THROW.
55539 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
55541         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
55543         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
55544         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
55545         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
55546         * sysdeps/i386/i686/fpu/e_log.S: New file.
55547         * sysdeps/i386/i686/fpu/e_logf.S: New file.
55548         * sysdeps/i386/i686/fpu/e_logl.S: New file.
55550         * ctype/ctype.h: Add support for inlined isXXX functions when
55551         compiling C++ code.
55553 2011-10-14  Andreas Schwab  <schwab@redhat.com>
55555         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
55557         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
55559 2011-10-13  Roland McGrath  <roland@hack.frob.com>
55561         [BZ #13291]
55562         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
55564 2011-10-13  Andreas Schwab  <schwab@redhat.com>
55566         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
55567         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
55568         feraiseexcept.
55570         * sysdeps/x86_64/memrchr.S: Check for zero size.
55572         * string/stratcliff.c: Add memrchr tests.
55574 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
55576         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55577         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
55578         rawmemchr-sse2 rawmemchr-sse2-bsf.
55579         * sysdeps/i386/i686/multiarch/memchr.S: New file.
55580         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
55581         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
55582         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
55583         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
55584         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
55585         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
55586         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
55587         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
55588         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
55589         * string/memrchr.c (MEMRCHR): New macro.
55591 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
55593         Add integration with gcc's -ffinite-math-only and optimize wrapper
55594         functions in libm.
55595         * Versions.def: Define GLIBC_2.15 version for libm.
55596         * math/Makefile (headers): Add bits/math-finite.h.
55597         * math/bits/math-finite.h: New file.
55598         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
55599         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
55600         * math/e_acoshl.c: Add __*_finite alias.
55601         * math/e_acosl.c: Likewise.
55602         * math/e_asinl.c: Likewise.
55603         * math/e_atan2l.c: Likewise.
55604         * math/e_atanhl.c: Likewise.
55605         * math/e_coshl.c: Likewise.
55606         * math/e_exp10.c: Likewise.
55607         * math/e_exp10f.c: Likewise.
55608         * math/e_exp10l.c: Likewise.
55609         * math/e_exp2l.c: Likewise.
55610         * math/e_fmodl.c: Likewise.
55611         * math/e_gammal_r.c: Likewise.
55612         * math/e_hypotl.c: Likewise.
55613         * math/e_j0l.c: Likewise.
55614         * math/e_j1l.c: Likewise.
55615         * math/e_jnl.c: Likewise.
55616         * math/e_lgammal_r.c: Likewise.
55617         * math/e_log10l.c: Likewise.
55618         * math/e_log2l.c: Likewise.
55619         * math/e_logl.c: Likewise.
55620         * math/e_powl.c: Likewise.
55621         * math/e_sinhl.c: Likewise.
55622         * math/e_sqrtl.c: Likewise.
55623         * math/e_scalb.c: Completely rewritten and optimized.
55624         * math/e_scalbf.c: Likewise.
55625         * math/e_scalbl.c: Likewise.
55626         * math/w_acos.c: Likewise.
55627         * math/w_acosf.c: Likewise.
55628         * math/w_acosl.c: Likewise.
55629         * math/w_acosh.c: Likewise.
55630         * math/w_acoshf.c: Likewise.
55631         * math/w_acoshl.c: Likewise.
55632         * math/w_asin.c: Likewise.
55633         * math/w_asinf.c: Likewise.
55634         * math/w_asinl.c: Likewise.
55635         * math/w_atan2.c: Likewise.
55636         * math/w_atan2f.c: Likewise.
55637         * math/w_atan2l.c: Likewise.
55638         * math/w_atanh.c: Likewise.
55639         * math/w_atanhf.c: Likewise.
55640         * math/w_atanhl.c: Likewise.
55641         * math/w_exp10.c: Likewise.
55642         * math/w_exp10f.c: Likewise.
55643         * math/w_exp10l.c: Likewise.
55644         * math/w_fmod.c: Likewise.
55645         * math/w_fmodf.c: Likewise.
55646         * math/w_fmodl.c: Likewise.
55647         * math/w_j0.c: Likewise.
55648         * math/w_j0f.c: Likewise.
55649         * math/w_j0l.c: Likewise.
55650         * math/w_j1.c: Likewise.
55651         * math/w_j1f.c: Likewise.
55652         * math/w_j1l.c: Likewise.
55653         * math/w_jn.c: Likewise.
55654         * math/w_jnf.c: Likewise.
55655         * math/w_log.c: Likewise.
55656         * math/w_logf.c: Likewise.
55657         * math/w_logl.c: Likewise.
55658         * math/w_log10.c: Likewise.
55659         * math/w_log10f.c: Likewise.
55660         * math/w_log10l.c: Likewise.
55661         * math/w_log2.c: Likewise.
55662         * math/w_log2f.c: Likewise.
55663         * math/w_log2l.c: Likewise.
55664         * math/w_pow.c: Likewise.
55665         * math/w_powf.c: Likewise.
55666         * math/w_powl.c: Likewise.
55667         * math/w_remainder.c: Likewise.
55668         * math/w_remainderf.c: Likewise.
55669         * math/w_remainderl.c: Likewise.
55670         * math/w_scalb.c: Likewise.
55671         * math/w_scalbf.c: Likewise.
55672         * math/w_scalbl.c: Likewise.
55673         * math/w_sqrt.c: Likewise.
55674         * math/w_sqrtf.c: Likewise.
55675         * math/w_sqrtl.c: Likewise.
55676         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
55677         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
55678         used.
55679         * math/math_private.h: Declare __kernel_standard_f.
55680         * math/w_cosh.c: Remove cruft and optimize a bit.
55681         * math/w_coshf.c: Likewise.
55682         * math/w_coshl.c: Likewise.
55683         * math/w_exp2.c: Likewise.
55684         * math/w_exp2f.c: Likewise.
55685         * math/w_exp2l.c: Likewise.
55686         * math/w_hypot.c: Likewise.
55687         * math/w_hypotf.c: Likewise.
55688         * math/w_hypotl.c: Likewise.
55689         * math/w_lgamma.c: Likewise.
55690         * math/w_lgamma_r.c: Likewise.
55691         * math/w_lgammaf.c: Likewise.
55692         * math/w_lgammaf_r.c: Likewise.
55693         * math/w_lgammal.c: Likewise.
55694         * math/w_lgammal_r.c: Likewise.
55695         * math/w_sinh.c: Likewise.
55696         * math/w_sinhf.c: Likewise.
55697         * math/w_sinhl.c: Likewise.
55698         * math/w_tgamma.c: Likewise.
55699         * math/w_tgammaf.c: Likewise.
55700         * math/w_tgammal.c: Likewise.
55701         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
55702         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
55703         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
55704         Minor optimizations.  Pretty printing.  Remove cruft.
55705         * sysdeps/i386/fpu/e_acosf.S: Likewise.
55706         * sysdeps/i386/fpu/e_acosh.S: Likewise.
55707         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
55708         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
55709         * sysdeps/i386/fpu/e_acosl.c: Likewise.
55710         * sysdeps/i386/fpu/e_asin.S: Likewise.
55711         * sysdeps/i386/fpu/e_asinf.S: Likewise.
55712         * sysdeps/i386/fpu/e_atan2.S: Likewise.
55713         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
55714         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
55715         * sysdeps/i386/fpu/e_atanh.S: Likewise.
55716         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
55717         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
55718         * sysdeps/i386/fpu/e_exp10.S: Likewise.
55719         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
55720         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
55721         * sysdeps/i386/fpu/e_exp2.S: Likewise.
55722         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
55723         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
55724         * sysdeps/i386/fpu/e_fmod.S: Likewise.
55725         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
55726         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
55727         * sysdeps/i386/fpu/e_hypot.S: Likewise.
55728         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
55729         * sysdeps/i386/fpu/e_log.S: Likewise.
55730         * sysdeps/i386/fpu/e_log10.S: Likewise.
55731         * sysdeps/i386/fpu/e_log10f.S: Likewise.
55732         * sysdeps/i386/fpu/e_log10l.S: Likewise.
55733         * sysdeps/i386/fpu/e_log2.S: Likewise.
55734         * sysdeps/i386/fpu/e_log2f.S: Likewise.
55735         * sysdeps/i386/fpu/e_log2l.S: Likewise.
55736         * sysdeps/i386/fpu/e_logf.S: Likewise.
55737         * sysdeps/i386/fpu/e_logl.S: Likewise.
55738         * sysdeps/i386/fpu/e_pow.S: Likewise.
55739         * sysdeps/i386/fpu/e_powf.S: Likewise.
55740         * sysdeps/i386/fpu/e_powl.S: Likewise.
55741         * sysdeps/i386/fpu/e_remainder.S: Likewise.
55742         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
55743         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
55744         * sysdeps/i386/fpu/e_scalb.S: Likewise.
55745         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
55746         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
55747         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
55748         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
55749         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
55750         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
55751         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
55752         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
55753         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
55754         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
55755         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
55756         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
55757         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
55758         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
55759         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
55760         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
55761         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
55762         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
55763         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
55764         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
55765         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
55766         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
55767         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
55768         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
55769         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
55770         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
55771         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
55772         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
55773         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
55774         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
55775         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
55776         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
55777         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
55778         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
55779         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
55780         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
55781         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
55782         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
55783         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
55784         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
55785         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
55786         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
55787         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
55788         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
55789         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
55790         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
55791         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
55792         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
55793         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
55794         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
55795         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
55796         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
55797         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
55798         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
55799         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
55800         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
55801         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
55802         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
55803         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
55804         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
55805         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
55806         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
55807         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
55808         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
55809         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
55810         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
55811         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
55812         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
55813         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
55814         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
55815         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
55816         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
55817         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
55818         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
55819         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
55820         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
55821         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
55822         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
55823         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
55824         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
55825         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
55826         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
55827         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
55828         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
55829         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
55830         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
55831         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
55832         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
55833         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
55834         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
55835         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
55836         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
55837         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
55838         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
55839         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
55840         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
55841         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
55842         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
55843         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
55844         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
55845         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
55846         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
55847         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
55848         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
55849         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
55850         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
55851         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
55852         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
55853         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
55854         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
55855         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
55856         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
55857         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55858         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
55859         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
55860         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
55861         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
55862         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
55863         (__isnanf): Likewise.
55864         (__isinf_ns): Likewise.
55865         (__isinf_nsf): Likewise.
55866         (__finite): Likewise.
55867         (__finitef): Likewise.
55868         (__ieee754_sqrt): Define as macro.
55869         (__ieee754_sqrtf): Define as macro.
55870         (__ieee754_sqrtl): Define as macro.
55871         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
55872         inlined copy.
55873         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
55874         __FINITE_MATH_ONLY__ consistent.
55875         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
55877 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
55879         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
55880         of rawmemchr.
55882         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
55884 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
55886         * po/ja.po: Update from translation team.
55888 2011-10-08  Roland McGrath  <roland@hack.frob.com>
55890         * locale/programs/locarchive.c (prepare_address_space): New function.
55891         (create_archive, enlarge_archive, open_archive): Use it.
55893         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
55894         inside [SHARED], where it is used.
55896         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
55898         * nss/getent.c (netgroup_keys): Remove unused variable.
55899         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
55901 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
55903         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
55904         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
55905         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
55906         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
55907         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
55908         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
55909         * math/Makefile (libm-calls): Add s_isinf_ns.
55910         * math/divtc3.c: Use __isinf_nsl instead of isinf.
55911         * math/multc3.c: Likewise.
55912         * math/s_casin.c: Likewise.
55913         * math/s_casinf.c: Likewise.
55914         * math/s_casinl.c: Likewise.
55915         * math/s_ccos.c: Likewise.
55916         * math/s_ccosf.c: Likewise.
55917         * math/s_ccosl.c: Likewise.
55918         * math/s_ctan.c: Likewise.
55919         * math/s_ctanf.c: Likewise.
55920         * math/s_ctanh.c: Likewise.
55921         * math/s_ctanhf.c: Likewise.
55922         * math/s_ctanhl.c: Likewise.
55923         * math/s_ctanl.c: Likewise.
55924         * math/w_fmod.c: Likewise.
55925         * math/w_fmodf.c: Likewise.
55926         * math/w_fmodl.c: Likewise.
55927         * math/w_remainder.c: Likewise.
55928         * math/w_remainderf.c: Likewise.
55929         * math/w_remainderl.c: Likewise.
55930         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
55931         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
55932         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
55933         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
55934         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
55935         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
55936         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
55937         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
55939         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
55940         of the number.
55941         * stdio-common/printf_fphex.c: Likewise.
55942         * stdio-common/printf_size.c: Likewise.
55944         * math/e_exp10.c: Include math_private.h using <...> not "...".
55945         * math/e_exp10f.c: Likewise.
55946         * math/e_exp10l.c: Likewise.
55947         * math/e_exp2l.c: Likewise.
55948         * math/e_j0l.c: Likewise.
55949         * math/e_j1l.c: Likewise.
55950         * math/e_jnl.c: Likewise.
55951         * math/e_lgammal_r.c: Likewise.
55952         * math/e_rem_pio2l.c: Likewise.
55953         * math/e_scalb.c: Likewise.
55954         * math/e_scalbf.c: Likewise.
55955         * math/e_scalbl.c: Likewise.
55956         * math/k_cosl.c: Likewise.
55957         * math/k_sinl.c: Likewise.
55958         * math/k_tanl.c: Likewise.
55959         * math/s_cacoshf.c: Likewise.
55960         * math/s_catan.c: Likewise.
55961         * math/s_catanf.c: Likewise.
55962         * math/s_catanh.c: Likewise.
55963         * math/s_catanhf.c: Likewise.
55964         * math/s_catanhl.c: Likewise.
55965         * math/s_catanl.c: Likewise.
55966         * math/s_ccosh.c: Likewise.
55967         * math/s_ccoshf.c: Likewise.
55968         * math/s_ccoshl.c: Likewise.
55969         * math/s_cexp.c: Likewise.
55970         * math/s_cexpf.c: Likewise.
55971         * math/s_cexpl.c: Likewise.
55972         * math/s_clog.c: Likewise.
55973         * math/s_clog10.c: Likewise.
55974         * math/s_clog10f.c: Likewise.
55975         * math/s_clog10l.c: Likewise.
55976         * math/s_clogf.c: Likewise.
55977         * math/s_clogl.c: Likewise.
55978         * math/s_csin.c: Likewise.
55979         * math/s_csinf.c: Likewise.
55980         * math/s_csinh.c: Likewise.
55981         * math/s_csinhf.c: Likewise.
55982         * math/s_csinhl.c: Likewise.
55983         * math/s_csinl.c: Likewise.
55984         * math/s_csqrt.c: Likewise.
55985         * math/s_csqrtf.c: Likewise.
55986         * math/s_csqrtl.c: Likewise.
55987         * math/s_ctan.c: Likewise.
55988         * math/s_ctanf.c: Likewise.
55989         * math/s_ctanh.c: Likewise.
55990         * math/s_ctanhf.c: Likewise.
55991         * math/s_ctanhl.c: Likewise.
55992         * math/s_ctanl.c: Likewise.
55993         * math/s_ldexp.c: Likewise.
55994         * math/s_ldexpf.c: Likewise.
55995         * math/s_ldexpl.c: Likewise.
55996         * math/s_significand.c: Likewise.
55997         * math/s_significandf.c: Likewise.
55998         * math/s_significandl.c: Likewise.
55999         * math/w_acos.c: Likewise.
56000         * math/w_acosf.c: Likewise.
56001         * math/w_acosh.c: Likewise.
56002         * math/w_acoshf.c: Likewise.
56003         * math/w_acoshl.c: Likewise.
56004         * math/w_acosl.c: Likewise.
56005         * math/w_asin.c: Likewise.
56006         * math/w_asinf.c: Likewise.
56007         * math/w_asinl.c: Likewise.
56008         * math/w_atan2.c: Likewise.
56009         * math/w_atan2f.c: Likewise.
56010         * math/w_atan2l.c: Likewise.
56011         * math/w_atanh.c: Likewise.
56012         * math/w_atanhf.c: Likewise.
56013         * math/w_atanhl.c: Likewise.
56014         * math/w_cosh.c: Likewise.
56015         * math/w_coshf.c: Likewise.
56016         * math/w_coshl.c: Likewise.
56017         * math/w_dremf.c: Likewise.
56018         * math/w_exp10.c: Likewise.
56019         * math/w_exp10f.c: Likewise.
56020         * math/w_exp10l.c: Likewise.
56021         * math/w_exp2.c: Likewise.
56022         * math/w_exp2f.c: Likewise.
56023         * math/w_fmod.c: Likewise.
56024         * math/w_fmodf.c: Likewise.
56025         * math/w_fmodl.c: Likewise.
56026         * math/w_hypot.c: Likewise.
56027         * math/w_hypotf.c: Likewise.
56028         * math/w_hypotl.c: Likewise.
56029         * math/w_j0.c: Likewise.
56030         * math/w_j0f.c: Likewise.
56031         * math/w_j0l.c: Likewise.
56032         * math/w_j1.c: Likewise.
56033         * math/w_j1f.c: Likewise.
56034         * math/w_j1l.c: Likewise.
56035         * math/w_jn.c: Likewise.
56036         * math/w_jnf.c: Likewise.
56037         * math/w_jnl.c: Likewise.
56038         * math/w_lgamma.c: Likewise.
56039         * math/w_lgamma_r.c: Likewise.
56040         * math/w_lgammaf.c: Likewise.
56041         * math/w_lgammaf_r.c: Likewise.
56042         * math/w_lgammal.c: Likewise.
56043         * math/w_lgammal_r.c: Likewise.
56044         * math/w_log.c: Likewise.
56045         * math/w_log10.c: Likewise.
56046         * math/w_log10f.c: Likewise.
56047         * math/w_log10l.c: Likewise.
56048         * math/w_log2.c: Likewise.
56049         * math/w_log2f.c: Likewise.
56050         * math/w_log2l.c: Likewise.
56051         * math/w_logf.c: Likewise.
56052         * math/w_logl.c: Likewise.
56053         * math/w_pow.c: Likewise.
56054         * math/w_powf.c: Likewise.
56055         * math/w_powl.c: Likewise.
56056         * math/w_remainder.c: Likewise.
56057         * math/w_remainderf.c: Likewise.
56058         * math/w_remainderl.c: Likewise.
56059         * math/w_scalb.c: Likewise.
56060         * math/w_scalbf.c: Likewise.
56061         * math/w_scalbl.c: Likewise.
56062         * math/w_sinh.c: Likewise.
56063         * math/w_sinhf.c: Likewise.
56064         * math/w_sinhl.c: Likewise.
56065         * math/w_sqrt.c: Likewise.
56066         * math/w_sqrtf.c: Likewise.
56067         * math/w_sqrtl.c: Likewise.
56068         * math/w_tgamma.c: Likewise.
56069         * math/w_tgammaf.c: Likewise.
56070         * math/w_tgammal.c: Likewise.
56072         * po/ja.po: Update from translation team.
56074 2011-09-29  Andreas Jaeger  <aj@suse.de>
56076         [BZ #13179]
56077         * sunrpc/netname.c (netname2host): Fix logic.
56079         [BZ #6779]
56080         [BZ #6783]
56081         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
56082         correctly.
56083         * math/w_remainder.c (__remainder): Likewise.
56084         * math/w_remainderf.c (__remainderf): Likewise.
56085         * math/libm-test.inc (remainder_test): Add test cases.
56087 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56089         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
56090         sdiv_qrnnd.
56092 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56094         * string/test-memcmp.c: Avoid unncessary #defines.
56095         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
56097 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56099         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
56100         Use new sse2 version for core i3 - i7 as it's faster
56101         than sse42 version.
56102         (bit_Prefer_PMINUB_for_stringop): New.
56103         * sysdeps/x86_64/rawmemchr.S: Update.
56104         Replace with faster SSE2 version.
56105         * sysdeps/x86_64/memrchr.S: New file.
56106         * sysdeps/x86_64/memchr.S: Update.
56107         Replace with faster SSE2 version.
56109 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
56111         * elf/dl-load.c (lose): Add cast to avoid warning.
56113 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
56115         * po/ca.po: Update from translation team.
56117         * inet/getnetgrent_r.c: Hook up nscd.
56118         * nscd/Makefile (routines): Add nscd_netgroup.
56119         (nscd-modules): Add netgroupcache.
56120         (CFLAGS-netgroupcache.c): Define.
56121         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
56122         (cache_search): Add const to second parameter.
56123         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
56124         INNETGR.
56125         (dbs): Add netgrdb entry.
56126         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
56127         (verify_persistent_db): Handle netgrdb.
56128         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
56129         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
56130         GETFDNETGR.
56131         (netgroup_response_header): Define.
56132         (innetgroup_response_header): Define.
56133         (datahead): Add netgroup_response_header and innetgroup_response_header
56134         elements.
56135         * nscd/nscd.conf: Add entries for netgroup cache.
56136         * nscd/nscd.h (dbtype): Add netgrdb.
56137         (_PATH_NSCD_NETGROUP_DB): Define.
56138         (netgroup_iov_disabled): Declare.
56139         (xmalloc, xcalloc, xrealloc): Move declarations here.
56140         (cache_search): Adjust prototype.
56141         Add netgroup-related prototypes.
56142         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
56143         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
56144         (__nscd_innetgr): Declare.
56145         * nscd/selinux.c (perms): Use access_vector_t as element type and
56146         add netgroup-related initializers.
56147         * nscd/netgroupcache.c: New file.
56148         * nscd/nscd_netgroup.c: New file.
56149         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
56150         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
56151         For four parameters use innetgr.
56152         * nss/nss_files/files-init.c: Add definition and callback for netgr.
56153         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
56154         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
56155         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
56157         * nscd/connections.c (register_traced_file): Don't register file
56158         for disabled databases.
56160 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
56162         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
56164         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
56165         from tree and freeing node.
56167 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
56169         * nss/nsswitch.c (__nss_database_lookup): Handle
56170         nss_parse_service_list out of memory case.
56172 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
56174         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
56175         out of memory case.
56177 2011-10-04  Andreas Schwab  <schwab@redhat.com>
56179         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
56180         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
56181         pass it down.
56182         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
56183         elf_machine_rela, elf_machine_lazy_rel.
56184         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
56185         (ELF_DYNAMIC_DO_REL): Likewise.
56186         (ELF_DYNAMIC_DO_RELA): Likewise.
56187         (ELF_DYNAMIC_RELOCATE): Likewise.
56188         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
56189         to ELF_DYNAMIC_DO_REL.
56190         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
56191         (dl_main): In trace mode always set __RTLD_NOIFUNC.
56192         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
56193         elf_machine_rela.
56194         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
56195         skip_ifunc, don't call ifunc function if non-zero.
56196         (elf_machine_rela): Likewise.
56197         (elf_machine_lazy_rel): Likewise.
56198         (elf_machine_lazy_rela): Likewise.
56199         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
56200         (elf_machine_lazy_rel): Likewise.
56201         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
56202         Likewise.
56203         (elf_machine_lazy_rel): Likewise.
56204         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56205         Likewise.
56206         (elf_machine_lazy_rel): Likewise.
56207         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
56208         (elf_machine_lazy_rel): Likewise.
56209         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
56210         (elf_machine_lazy_rel): Likewise.
56211         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
56212         (elf_machine_lazy_rel): Likewise.
56213         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
56214         (elf_machine_lazy_rel): Likewise.
56215         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
56216         (elf_machine_lazy_rel): Likewise.
56217         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
56218         (elf_machine_lazy_rel): Likewise.
56220 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
56222         * nss/nss_files/files-init.c (_nss_files_init): Use static
56223         initialization for all the *_traced_file variables.
56225 2011-09-28  Andreas Schwab  <schwab@redhat.com>
56227         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56229 2011-09-27  Roland McGrath  <roland@hack.frob.com>
56231         [BZ #13226]
56232         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
56234 2011-09-27  Andreas Schwab  <schwab@redhat.com>
56236         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
56237         Reread the line before reparsing it.
56239 2011-09-26  Andreas Schwab  <schwab@redhat.com>
56241         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
56243 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
56244             Maxim Kuvyrkov  <maxim@codesourcery.com>
56245             Joseph Myers  <joseph@codesourcery.com>
56247         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
56248         if needed for __stack_chk_guard.
56250 2011-09-19  Roland McGrath  <roland@hack.frob.com>
56252         * sysdeps/posix/spawni.c (script_execute): Always define it.
56253         It will be optimized away if unused.
56254         (maybe_script_execute): New function.
56255         (__spawni): Call it.
56257         * Makerules: Don't include tls.make.
56258         (config-tls): Always set to thread.
56259         * tls.make.c: File removed.
56261 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
56263         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
56264         * config.make.in (CPPFLAGS-config): New substituted variable.
56266 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56268         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
56270         [BZ #13192]
56271         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
56272         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
56274 2011-09-15  Roland McGrath  <roland@hack.frob.com>
56276         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
56277         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
56278         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56279         (CALL_FAIL): Likewise.
56280         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
56281         (CALL_FAIL): Macro removed.
56282         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
56284 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
56286         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
56287         for __FINITE_MATH_ONLY__ == 1.
56289 2011-09-15  Andreas Schwab  <schwab@redhat.com>
56291         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
56292         __ieee754_sqrt instead of sqrt.
56293         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
56294         __ieee754_sqrtf instead of sqrtf.
56295         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
56296         __floorf instead of floorf.
56297         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
56298         __floorf, __truncf instead of floorf, truncf.
56300 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
56302         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
56304         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
56305         __extern_always_inline.
56306         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
56307         32-bit.
56309 2011-09-14  Andreas Schwab  <schwab@redhat.com>
56311         * elf/rtld.c (dl_main): Also relocate in dependency order when
56312         doing symbol dependency testing.
56314 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
56316         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56317         Always define `refsym'.
56319 2011-09-13  Andreas Schwab  <schwab@redhat.com>
56321         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
56322         (__FD_ELT): Renamed from __FDELT.
56323         * misc/bits/select2.h (__FD_ELT): Likewise.
56324         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
56325         __FD_MASK instead of __FDELT, __FDMASK.
56326         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56327         Likewise.
56328         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
56329         Likewise.
56331         * elf/Makefile (gen-ldd): Fix pattern.
56333         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
56334         (init_tls): Likewise.
56336 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
56338         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
56340 2011-09-12  Andreas Schwab  <schwab@redhat.com>
56342         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
56343         `struct cmsghdr *' instead of `void *'.
56344         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
56345         Likewise.
56347 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
56349         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
56350         if non-absolute.
56351         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
56352         ldd_rewrite_script.
56354 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
56356         * configure.in: Remove --with-tls option.
56357         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
56358         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
56359         out in case it is missing.
56360         * sysdeps/ia64/elf/configure.in: Likewise.
56361         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
56362         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
56363         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
56364         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
56365         * sysdeps/sh/elf/configure.in: Likewise.
56366         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
56367         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
56368         * sysdeps/x86_64/elf/configure.in: Likewise.
56369         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
56370         * sysdeps/mach/hurd/tls.h: Likewise.
56372         [BZ #13067]
56373         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
56375         [BZ #13090]
56376         * configure.in: Fix use of AC_INIT.
56378         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
56380 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
56382         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
56383         __set_errno.
56384         * malloc/hooks.c: Likewise.
56386         [BZ #11929]
56387         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
56388         variables statically.
56389         (narenas): Initialize.
56390         (list_lock): Initialize.
56391         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
56392         initializtion of main_arena and list_lock.  Small cleanups.
56393         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
56394         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
56395         Add initializers to main_arena and mp_.
56396         (malloc_state): Remove pagesize member.  Change all users to use
56397         GLRO(dl_pagesize).
56399         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
56400         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
56401         is always initialized.
56403         * malloc/malloc.c: Removed unused configurations and dead code.
56404         * malloc/arena.c: Likewise.
56405         * malloc/hooks.c: Likewise.
56406         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
56408         * include/tls.h: Removed.  USE___THREAD must always be defined.
56409         * bits/libc-tsd.h: Don't handle !USE___THREAD.
56410         * elf/dl-libc.c: Likewise.
56411         * elf/dl-tsd.c: Likewise.
56412         * include/errno.h: Likewise.
56413         * include/netdb.h: Likewise.
56414         * include/resolv.h: Likewise.
56415         * inet/herrno-loc.c: Likewise.
56416         * inet/herrno.c: Likewise.
56417         * malloc/arena.c: Likewise.
56418         * malloc/hooks.c: Likewise.
56419         * malloc/malloc.c: Likewise.
56420         * resolv/res-state.c: Likewise.
56421         * resolv/res_libc.c: Likewise.
56422         * sysdeps/i386/dl-machine.h: Likewise.
56423         * sysdeps/ia64/dl-machine.h: Likewise.
56424         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
56425         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
56426         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
56427         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
56428         * sysdeps/sh/dl-machine.h: Likewise.
56429         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
56430         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
56431         * sysdeps/unix/i386/sysdep.S: Likewise.
56432         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
56433         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
56434         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
56435         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
56436         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
56437         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
56438         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
56439         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
56440         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
56441         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
56442         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56443         * sysdeps/x86_64/dl-machine.h: Likewise.
56444         * tls.make.c: Likewise.
56446         * configure.in: Remove --with-__thread option.  Make tests for
56447         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
56448         tls_model attribute fail if no support is available.  Remove
56449         USE_IN_LIBIO.
56450         * Makeconfig: Adjust for dropped configure option.  All features are
56451         now mandatory.
56452         * Makerules: Likewise.
56453         * Versions.def: Likewise.
56454         * argp/argp-fmtstream.c: Likewise.
56455         * argp/argp-fmtstream.h: Likewise.
56456         * argp/argp-help.c: Likewise.
56457         * assert/assert.c: Likewise.
56458         * config.h.in: Likewise.
56459         * config.make.in: Likewise.
56460         * configure: Likewise.
56461         * configure.in: Likewise.
56462         * csu/Versions: Likewise.
56463         * csu/init.c: Likewise.
56464         * elf/tst-audit2.c: Likewise.
56465         * elf/tst-tls10.c: Likewise.
56466         * elf/tst-tls10.h: Likewise.
56467         * elf/tst-tls11.c: Likewise.
56468         * elf/tst-tls12.c: Likewise.
56469         * elf/tst-tls14.c: Likewise.
56470         * elf/tst-tlsmod11.c: Likewise.
56471         * elf/tst-tlsmod12.c: Likewise.
56472         * elf/tst-tlsmod13.c: Likewise.
56473         * elf/tst-tlsmod13a.c: Likewise.
56474         * elf/tst-tlsmod14a.c: Likewise.
56475         * elf/tst-tlsmod15b.c: Likewise.
56476         * elf/tst-tlsmod16a.c: Likewise.
56477         * elf/tst-tlsmod16b.c: Likewise.
56478         * elf/tst-tlsmod7.c: Likewise.
56479         * elf/tst-tlsmod8.c: Likewise.
56480         * elf/tst-tlsmod9.c: Likewise.
56481         * gmon/gmon.c: Likewise.
56482         * grp/fgetgrent_r.c: Likewise.
56483         * grp/putgrent.c: Likewise.
56484         * hurd/fopenport.c: Likewise.
56485         * include/libc-symbols.h: Likewise.
56486         * include/tls.h: Likewise.
56487         * intl/gettextP.h: Likewise.
56488         * intl/loadinfo.h: Likewise.
56489         * locale/global-locale.c: Likewise.
56490         * locale/localeinfo.h: Likewise.
56491         * mach/devstream.c: Likewise.
56492         * malloc/arena.c: Likewise.
56493         * malloc/set-freeres.c: Likewise.
56494         * misc/err.c: Likewise.
56495         * misc/getttyent.c: Likewise.
56496         * misc/mntent_r.c: Likewise.
56497         * posix/getopt.c: Likewise.
56498         * posix/wordexp.c: Likewise.
56499         * pwd/fgetpwent_r.c: Likewise.
56500         * resolv/Versions: Likewise.
56501         * resolv/res_hconf.c: Likewise.
56502         * shadow/fgetspent_r.c: Likewise.
56503         * shadow/putspent.c: Likewise.
56504         * stdio-common/printf_fphex.c: Likewise.
56505         * stdio-common/tmpfile.c: Likewise.
56506         * stdlib/abort.c: Likewise.
56507         * stdlib/fmtmsg.c: Likewise.
56508         * sunrpc/auth_unix.c: Likewise.
56509         * sunrpc/clnt_perr.c: Likewise.
56510         * sunrpc/clnt_tcp.c: Likewise.
56511         * sunrpc/clnt_udp.c: Likewise.
56512         * sunrpc/clnt_unix.c: Likewise.
56513         * sunrpc/openchild.c: Likewise.
56514         * sunrpc/svc_simple.c: Likewise.
56515         * sunrpc/svc_tcp.c: Likewise.
56516         * sunrpc/svc_udp.c: Likewise.
56517         * sunrpc/svc_unix.c: Likewise.
56518         * sunrpc/xdr.c: Likewise.
56519         * sunrpc/xdr_array.c: Likewise.
56520         * sunrpc/xdr_rec.c: Likewise.
56521         * sunrpc/xdr_ref.c: Likewise.
56522         * sunrpc/xdr_stdio.c: Likewise.
56524 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56526         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
56528 2011-07-03  Andreas Jaeger  <aj@suse.de>
56530         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
56531         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
56532         regenerate with gen-libm-tests.pl.
56534 2010-05-12  Petr Baudis  <pasky@suse.cz>
56536         [BZ #11589]
56537         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
56538         around j0() zero points by switching to j1().
56539         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
56540         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
56541         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
56542         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
56544 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56546         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
56547         instead of 0.
56548         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
56549         instead of 0.
56550         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56551         Patch in part by Pavel Roskin <proski@gnu.org>.
56553         [BZ #13138]
56554         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
56555         realloc.
56556         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
56557         Free memory block if necessary.
56559         [BZ #12847]
56560         * libio/genops.c (INTDEF): For string streams the _lock pointer can
56561         be NULL.  Don't lock in this case.
56563 2011-09-09  Roland McGrath  <roland@hack.frob.com>
56565         * elf/elf.h (ELFOSABI_GNU): New macro.
56566         (ELFOSABI_LINUX): Define to that.
56568 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
56570         * string/strncat.c (strncat): Undef the symbol in case it has been
56571         defined in bits/string.h.
56573 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
56575         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
56577         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
56578         link map.
56580 2011-08-17  Andreas Jaeger  <aj@suse.de>
56582         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
56584 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
56585             Ian Lance Taylor  <iant@google.com>
56587         * math/libm-test.inc (lround_test): New testcase.
56588         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
56590 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
56592         * Makefile: Remove support for automatic cvs check-ins.
56593         * Makerules: Likewise.
56594         * config.make.in: Likewise.
56595         * configure.in: Likewise.
56596         * intl/Makefile: Likewise.
56597         * locale/Makefile: Likewise.
56598         * po/Makefile: Likewise.
56599         * posix/Makefile: Likewise.
56600         * sysdeps/gnu/Makefile: Likewise.
56601         * sysdeps/mach/hurd/Makefile: Likewise.
56602         * sysdeps/sparc/sparc32/Makefile: Likewise.
56604         [BZ #13118]
56605         * posix/Makefile (bug-regex32-ENV): Define.
56606         Patch by John Stanley <jpsinthemix@verizon.net>.
56608         * misc/Makefile (headers): Add bits/select2.h.
56609         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
56610         * misc/bits/select2.h: New file.
56611         * include/bits/select2.h: New file.
56612         * debug/Makefile (routines): Add fdelt_chk.
56613         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
56614         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
56615         FD_ISSET.
56616         * debug/fdelt_chk.c: New file.
56618         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
56619         * wcsmbs/test-wmemcmp.c: Likewise.
56620         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
56621         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
56623 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56625         * string/Makefile (strop-tests): Add memcmp.
56626         * string/test-wmemcmp.c: New file.
56627         * string/test-memcmp.c: Add wmemcmp support.
56629 2011-09-08  Roland McGrath  <roland@hack.frob.com>
56631         [BZ #13153]
56632         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
56633         2011-07-19 change.
56635         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
56636         garbage value in a __mach_port_mod_refs call in the cases of the
56637         task-self and thread-self ports.
56639 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56641         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
56643 2011-09-08  Andreas Schwab  <schwab@redhat.com>
56645         * elf/dl-load.c (lose): Check for non-null L.
56647 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56649         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
56651         * elf/dl-libc.c (dlerror_run): Pass back error code from
56652         dl_catch_error.
56654         [BZ #13123]
56655         * elf/dl-load.c (lose): Free l_origin if it is valid.
56657         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
56658         names.
56659         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
56660         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56661         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
56662         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56663         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
56664         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
56666 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56668         * sysdeps/powerpc/fpu/e_hypot.c: New file.
56669         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
56670         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
56671         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
56672         * sysdeps/powerpc/fpu/k_cosf.c: New file.
56673         * sysdeps/powerpc/fpu/k_sinf.c: New file.
56674         * sysdeps/powerpc/fpu/s_cosf.c: New file.
56675         * sysdeps/powerpc/fpu/s_sinf.c: New file.
56676         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
56677         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
56679 2011-08-15  Alan Modra  <amodra@gmail.com>
56681         [BZ #13092]
56682         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
56683         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
56684         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
56685         ppc_mcount to static-only-routines.
56686         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
56687         __mcount_internal.
56688         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
56689         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
56691 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
56693         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
56694         for finite and infinity parameters.
56696 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
56698         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
56699         and add nop instructions for throughput optimization.
56700         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56702 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
56704         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
56705         aligned copy for power7 with vector-scalar instructions.
56706         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
56708 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
56710         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
56711         AVX check.
56713 2011-09-07  Andreas Schwab  <schwab@redhat.com>
56715         [BZ #13144]
56716         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
56717         last change.
56719 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
56721         * sysdeps/unix/sysv/linux/x86_64/init-first.c
56722         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
56723         syscall wrapper around clock_gettime in __vdso_clock_gettime.
56724         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
56725         clock_gettime.
56727 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56729         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
56730         Forgot to demangle the pointer.
56732         * sysdeps/i386/sysdep.h: Define atom_text_section.
56733         * sysdeps/x86_64/sysdep.h: Likewise.
56734         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
56735         section with atom_text_section.
56736         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
56737         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
56738         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
56739         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
56740         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
56742         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
56743         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
56744         already be defined.  Change to take two parameters and don't assign
56745         result to variable.  Adjust all users.
56746         Define INTERNAL_GETTIME if not already defined.
56747         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
56748         call.
56749         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
56750         HAVE_CLOCK_GETTIME_VSYSCALL.
56751         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
56753         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
56754         gettimeofday vsyscall, just use time.
56756 2011-09-06  Andreas Schwab  <schwab@redhat.com>
56758         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
56759         <errno.h>.
56761 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
56763         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
56764         syscall on x86-64.
56765         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
56766         syscall.
56767         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
56768         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
56769         syscall if possible.
56771 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56773         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
56774         e_ident.  Don't pass to find_mapsXX.
56775         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
56777 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56780         strchr-sse2-no-bsf strrchr-sse2-no-bsf
56781         * sysdeps/x86_64/multiarch/strchr.S: Update.
56782         Check bit_slow_BSF bit.
56783         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
56784         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
56785         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
56787 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56789         [BZ #13134]
56790         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
56791         before glibc 2.15.
56792         (tryshell): Define.
56793         (__spawni): Change last parameter to be flag.  Test
56794         SPAWN_XFLAGS_USE_PATH flag to use path or not.
56795         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
56796         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
56797         * posix/spawni.c: Likewise.
56798         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
56799         * posix/spawnp.c: Likewise.  Change normal version to use
56800         SPAWN_XFLAGS_USE_PATH.
56801         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
56802         SPAWN_XFLAGS_TRY_SHELL.
56804         [BZ #13150]
56805         * posix/glob.h: Remove gcc 1.x support.
56807         [BZ #13068]
56808         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
56810 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
56812         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56813         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
56814         strrchr-sse2-bsf
56815         * sysdeps/i386/i686/multiarch/strchr.S: New file.
56816         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
56817         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
56818         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
56819         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
56820         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
56822 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
56824         * sysdeps/x86_64/wcscmp.S: New file.
56826         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
56827         wcscmp-c wcscmp-sse2
56828         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
56829         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
56830         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
56831         * wcsmbs/wcscmp.c: Allow renaming.
56833 2011-09-05  David S. Miller  <davem@davemloft.net>
56835         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
56836         stack slot, rather than the struct return pointer slot.
56837         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
56838         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
56839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
56840         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
56842 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
56844         * po/ja.po: Update from translation team.
56846         [BZ #13144]
56847         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
56848         kernel in 64-bit binaries.
56850 2011-09-01  David S. Miller  <davem@davemloft.net>
56852         * elf/elf.h (HWCAP_SPARC_*): Move to..
56853         * sysdeps/sparc/sysdep.h: this new file and add new values.
56854         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
56855         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
56856         _DL_HWCAP_COUNT to 24.
56857         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
56858         entries.
56859         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
56860         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
56861         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
56862         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
56863         instead of magic constants.
56864         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
56866 2011-08-31  David S. Miller  <davem@davemloft.net>
56868         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
56869         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
56870         Reimplement to do errno handling inline.
56871         (SYSCALL_ERROR_HANDLER): New macro.
56872         (__SYSCALL_STRING): Do not do errno handling in asm.
56873         (__CLONE_SYSCALL_STRING): Delete.
56874         (__INTERNAL_SYSCALL_STRING): Delete.
56875         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
56876         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
56877         (PSEUDO): Reimplement to do errno handling inline.
56878         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
56879         (SYSCALL_ERROR_HANDLER): New macro.
56880         (__SYSCALL_STRING): Do not do errno handling in asm.
56881         (__CLONE_SYSCALL_STRING): Delete.
56882         (__INTERNAL_SYSCALL_STRING): Delete.
56883         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
56884         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
56885         i386.
56886         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
56887         (inline_syscall*): Add 'err' argument.
56888         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
56889         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
56890         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
56891         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
56893         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
56894         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
56896 2011-08-30  Andreas Schwab  <schwab@redhat.com>
56898         * elf/rtld.c (dl_main): Relocate objects in dependency order.
56900 2011-08-29  Jiri Olsa <jolsa@redhat.com>
56902         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
56903         directive.
56905 2011-08-24  David S. Miller  <davem@davemloft.net>
56907         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
56909 2011-08-24  Andreas Schwab  <schwab@redhat.com>
56911         * elf/Makefile: Add rules to build and run unload8 test.
56912         * elf/unload8.c: New file.
56913         * elf/unload8mod1.c: New file.
56914         * elf/unload8mod1x.c: New file.
56915         * elf/unload8mod2.c: New file.
56916         * elf/unload8mod3.c: New file.
56918         * elf/dl-close.c (_dl_close_worker): Reset private search list if
56919         it wasn't used.
56921 2011-08-23  David S. Miller  <davem@davemloft.net>
56923         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
56924         subtract stack bias.
56925         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
56926         %sp not %fp in calculations.
56927         (_JMPBUF_UNWINDS_ADJ): Likewise.
56929         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
56930         (aio_suspend): Call it to force an exception region around the
56931         AIO_MISC_WAIT() invocation.
56933 2011-08-23  Andreas Schwab  <schwab@redhat.com>
56935         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
56936         backslash.
56938 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
56940         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
56941         protection macro.
56942         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
56943         and <dl-machine.h>.
56944         (Elf64_FuncDesc): Remove.
56946 2011-08-22  David S. Miller  <davem@davemloft.net>
56948         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
56949         sigaltstack check, add missing cfi directives.
56950         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
56951         missing cfi directives, and sigaltstack handling.
56953 2011-08-16  Andreas Schwab  <schwab@redhat.com>
56955         [BZ #11724]
56956         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
56957         object is seen twice.
56958         * elf/dl-fini.c (_dl_sort_fini): Likewise.
56960         * elf/Makefile (distribute): Add tst-initorder2.c.
56961         (tests): Add tst-initorder2.
56962         (modules-names): Add tst-initorder2a tst-initorder2b
56963         tst-initorder2c tst-initorder2d.  Add rules to build them.
56964         ($(objpfx)tst-initorder2.out): New rule.
56965         * elf/tst-initorder2.c: New file.
56966         * elf/tst-initorder2.exp: New file.
56968 2011-08-22  Andreas Schwab  <schwab@redhat.com>
56970         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
56972         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
56973         dependencies back to end of function.
56975         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56976         $(elfobjdir)/ld.so.
56978 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
56980         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
56981         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
56982         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
56983         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
56984         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
56985         of __vdso_gettimeofday.
56986         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
56987         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
56988         attribute_hidden.
56989         (_libc_vdso_platform_setup): Remove initialization of
56990         __vdso_gettimeofday and __vdso_time.
56992 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
56994         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
56995         and fgetc_unlocked.
56996         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
56997         getc_unlocked.
56999         * elf/dl-open.c (add_to_global): Report additions to the global scope
57000         for LD_DEBUG=scopes.
57001         (dl_open_worker): Also print scope of newly loaded dependencies.
57002         (_dl_show_scope): Indicate if there is no scope.
57004         [BZ #13114]
57005         * stdio-common/Makefile (tests): Add bug24.
57006         * stdio-common/bug24.c: New file.
57008 2011-08-19  Andreas Jaeger  <aj@suse.de>
57010         [BZ #13114]
57011         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
57012         non-existant file when using close-on-exec mode.
57014 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
57016         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
57017         the very first instruction.
57019         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
57020         the CFI state in the end.
57021         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
57022         inclusion of dl-trampoline.h.
57023         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
57025 2011-08-19  Andreas Schwab  <schwab@redhat.com>
57027         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
57028         expectations for long double.
57030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
57031         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
57033 2011-08-14  David S. Miller  <davem@davemloft.net>
57035         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
57036         artificual limit depends upon the system page size.
57038 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57040         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
57041         * resolv/Makefile: Define CFLAGS-libresolv.
57043 2011-08-17  Andreas Schwab  <schwab@redhat.com>
57045         * nss/makedb.c (compute_tables): Make variables used in nested
57046         function static.
57048 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
57050         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
57051         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
57052         if buffer was too small.
57054         * elf/pldd.c (main): Attach to all threads in the process.
57055         Rewrite /proc handling to use *at functions.
57057 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
57059         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
57060         specifies first scope to show.
57061         (dl_open_worker): Update callers.  Move printing scope of new
57062         object to before the relocation.
57063         * elf/rtld.c (dl_main): Update _dl_show_scope call.
57064         * sysdeps/generic/ldsodefs.h: Update declaration.
57066         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
57067         string for the scope number.
57069 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
57071         * nscd/servicescache.c (cache_addserv): Make sure written is always
57072         initialized.
57074 2011-08-14  Roland McGrath  <roland@hack.frob.com>
57076         * sysdeps/i386/i486/bits/atomic.h
57077         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
57078         statement expression, so as to suppress "set but not used" warning.
57079         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
57081         * string/strncat.c (STRNCAT): Use prototype definition.
57083         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
57084         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
57085         -Iprograms here.
57086         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
57087         (localedef-modules): Add localedef.
57088         (locale-modules): Add locale.
57090         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
57091         * elf/rtld.c (dl_main): Invert order of assignment in last change,
57092         to avoid a warning.
57094 2011-08-14  David S. Miller  <davem@davemloft.net>
57096         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
57097         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
57099 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
57101         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
57102         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
57103         * elf/rtld.c (dl_main): Set l_name of vDSO.
57104         Call _dl_show_scope when DL_DEBUG_SCOPES.
57105         (process_dl_debug): Recognize scopes flag and also set it for all.
57106         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
57107         Declare _dl_show_scope.
57109         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
57110         (do_dlopen): Pass caller_dlopen to dl_open.
57111         (__libc_dlopen_mode): Initialize caller_dlopen.
57113         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
57114         of libc.  Make tolower call locale-independent.  Optimize a bit by
57115         using isdigit instead of isalnum.
57116         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
57118 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
57120         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
57121         was a dependency or dynamically loaded.
57123 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
57125         * intl/l10nflist.c: Allow architecture-specific pop function.
57126         * sysdeps/x86_64/l10nflist.c: New file.
57128         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
57129         classification.
57131 2011-08-10  Andreas Schwab  <schwab@redhat.com>
57133         * include/dirent.h: Add libc_hidden_proto for scandirat and
57134         scandirat64.  Don't declare __scandirat64.
57135         * dirent/scandirat.c: Add libc_hidden_def.
57136         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
57137         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
57139 2011-08-10  David S. Miller  <davem@davemloft.net>
57141         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
57142         enum.
57143         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57144         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57145         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57147 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
57149         * Versions.def [libc]: Add GLIBC_2.15.
57150         * dirent/Makefile (routines): Add scandirat and scandirat64.
57151         * dirent/Versions [libc]: Export scandirat and scandirat64 for
57152         GLIBC_2.15.
57153         * dirent/dirent.h: Declare scandirat and scandirat64.
57154         * dirent/scandirat.c: New file.
57155         * dirent/scandirat64.c: New file.
57156         * sysdeps/wordsize-64/scandirat.c: New file.
57157         * sysdeps/wordsize-64/scandirat64.c: New file.
57158         * dirent/opendir.c: Define opendirat.
57159         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
57160         using scandirat.
57161         * dirent/scandir64.c: Adjust for scandir.c change.
57162         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
57163         __scandirat64, and __scandir_cancel_handler.
57164         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
57165         additional parameter and use openat instead of open (outside of ld.so).
57166         Add new __opendir as wrapper around __opendirat.
57167         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
57168         here without requiring old scandirat implementation.
57170 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
57172         * dirent/scandir.c (cancel_handler): Renamed to
57173         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
57174         defined.  Adjust users.
57175         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
57176         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
57178 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
57180         * string/test-string.h (IMPL): Use __STRING to expand name and then
57181         stringify it.
57183         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
57184         of cleanups.
57186 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57188         * string/Makefile: Update.
57189         (strop-tests): Append strncat.
57190         * string/test-wcscmp.c: New file.
57191         New comprehensive test for wcscmp.
57192         * string/test-strcmp.c: Update.
57193         (WIDE): New define.
57195 2011-07-22  Andreas Schwab  <schwab@redhat.com>
57197         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
57198         line.
57200 2011-07-26  Andreas Schwab  <schwab@redhat.com>
57202         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57203         encoding to ACE if AI_IDN.
57205 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
57207         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
57208         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
57210 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57212         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
57213         Fix overflow bug in strncat.
57214         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
57216         * string/test-strncat.c: Update.
57217         Add new tests for checking overflow bugs.
57219 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57221         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57222         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
57223         * sysdeps/i386/i686/multiarch/strcat.S: New file.
57224         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
57225         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
57226         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
57227         * sysdeps/i386/i686/multiarch/strncat.S: New file.
57228         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
57229         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
57231         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
57232         (USE_AS_STRCAT): Define.
57233         Add strcat and strncat support.
57234         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
57236 2011-07-25  Andreas Schwab  <schwab@redhat.com>
57238         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
57239         __n bigger than INT_MAX+1.
57240         (__strncmp_g): Likewise.
57242 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
57244         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
57245         * libio/stido.h: Likewise.
57247         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
57248         (AF_NFC): Define.
57249         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
57250         (AF_NFC): Define.
57252         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
57253         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57254         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57255         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
57256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57258         [BZ #13021]
57259         * scripts/test-installation.pl: Don't expect libnss_test1 to be
57260         installed.
57262         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
57263         typo.
57264         (_dl_x86_64_save_sse): Likewise.
57266 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
57268         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
57269         OSXSAVE.
57270         (_dl_x86_64_save_sse): Likewise.
57272         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
57274         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
57276 2011-07-21  Andreas Schwab  <schwab@redhat.com>
57278         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
57279         change.
57280         (_dl_x86_64_save_sse): Use correct AVX check.
57282 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
57284         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
57285         bug in strncpy/strncat.
57286         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
57288 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
57290         * string/tester.c (test_strcat): Add tests for different alignments
57291         of source and destination.
57292         (test_strncat): Likewise.
57294 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57296         [BZ #12852]
57297         * posix/glob.c (glob): Check passed in values before using them in
57298         expressions to avoid some overflows.
57299         (glob_in_dir): Likewise.
57301         [BZ #13007]
57302         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
57303         check for AVX enablement so that we don't crash with old kernels and
57304         new hardware.
57305         * elf/tst-audit4.c: Add same checks here.
57306         * elf/tst-audit6.c: Likewise.
57308         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
57310 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
57312         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
57314 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
57316         * po/cs.po: Update from translation team.
57317         * po/bg.po: Likewise.
57319 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
57321         * misc/sys/cdefs.h: Add support for const attribute.
57322         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
57323         to gnu_dev_{major,minor,makedev} functions.
57325 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
57327         * intl/dcigettext.c (get_output_charset): Add missing bracket.
57329 2011-07-20  Andreas Schwab  <schwab@redhat.com>
57331         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
57332         strlen results.
57334 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57336         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
57337         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
57338         register in order to avoid conflicts with the soft frame pointer
57339         being held in r11 when necessary.
57340         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
57341         (INTERNAL_VSYSCALL_NCS): Likewise.
57343 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
57345         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
57346         * elf/dl-fini.c (_dl_fini): Adjust caller.
57347         * elf/dl-close.c (_dl_close_worker): Likewise.
57348         * sysdeps/generic/ldsodefs.h: Adjust declaration.
57350 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57352         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
57353         "aux_cache->nlibs < 0".
57355         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
57356         in the reload-count case.
57358 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
57360         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57361         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
57362         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
57363         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
57364         * sysdeps/x86_64/multiarch/strcat.S: New file.
57365         * sysdeps/x86_64/multiarch/strncat.S: New file.
57366         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
57367         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
57368         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
57369         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
57370         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
57371         (USE_AS_STRCAT): Define.
57372         Add strcat and strncat support.
57373         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
57374         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
57375         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
57376         * string/strncat.c: Update.
57377         (USE_AS_STRNCAT): Define.
57378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57379         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
57380         and i7.
57381         * sysdeps/x86_64/multiarch/init-arch.h
57382         (bit_Prefer_PMINUB_for_stringop): New.
57383         (index_Prefer_PMINUB_for_stringop): Likewise.
57384         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
57385         bit_Prefer_PMINUB_for_stringop.
57387 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57389         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
57390         buffer64.
57391         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
57392         of casting of buffer.
57393         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
57394         buffer32 and buffer64.
57395         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
57396         writes instead of casting of buffer.
57397         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
57398         buffer32.
57399         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
57400         casting of buffer.
57402 2011-07-19  Andreas Schwab  <schwab@redhat.com>
57404         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
57406 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
57408         * nscd/nscd.c (termination_handler): Don't do anything for a database
57409         if it has not yet been initialized.
57411 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57413         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57415 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
57417         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
57419 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
57421         * po/nl.po: Update from translation team.
57422         * po/sv.po: Likewise.
57424 2011-07-16  Roland McGrath  <roland@hack.frob.com>
57426         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
57427         now disallowed by GCC.
57429         * configure.in (use-default-link): Default to yes if a test -shared
57430         link meets our qualifications.
57431         * configure: Regenerated.
57433         * config.make.in (output-format): New variable.
57434         * configure.in: Check for ld --print-output-format support.
57435         * configure: Regenerated.
57436         * Makerules ($(common-objpfx)format.lds)
57437         [$(output-format) != unknown]: Just use $(output-format),
57438         instead of the linker-script munging.
57440 2011-07-14  Roland McGrath  <roland@hack.frob.com>
57442         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
57443         of $(common-objpfx)shlib.lds.
57444         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
57446         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
57447         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
57449         * configure.in (-z relro check): Adjust test code to add a large
57450         writable data section after it.
57451         * configure: Regenerated.
57453 2011-07-11  Roland McGrath  <roland@hack.frob.com>
57455         * configure.in (-z relro check): Fix test code to make the variable
57456         truly const.
57457         * configure: Regenerated.
57459 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
57461         * nscd/nscd.h (struct traced_file): Define.
57462         (struct database_dyn): Remove inotify_descr, reset_res, and filename
57463         elements.  Add traced_files.
57464         (inotify_fd): Declare.
57465         (register_traced_file): Declare.
57466         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
57467         (inotify_fd): Export.
57468         (resolv_conf_descr): Remove.
57469         (nscd_init): Move inotify descriptor creation to main.
57470         Don't register files for notification here.
57471         (register_traced_file): New function.
57472         (invalidate_cache): Don't use reset_res to determine whether to call
57473         res_init, go through the list of registered files.
57474         (main_loop_poll): The inotify descriptors are now stored in the
57475         structures for the traced files.
57476         (main_loop_epoll): Likewise
57477         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
57478         to __nss_disable_nscd.
57479         * nscd/cache.c (prune_cache): There is no single inotify descriptor
57480         for a database anymore.  Check the records for all the registered
57481         files instead.
57482         * nss/Makefile (libnss_files-routines): Add files-init.
57483         (libnss_db-routines): Add db-init.
57484         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
57485         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
57486         * nss/nss_db/db-init.c: New file.
57487         * nss/nss_files/files-init.c: New file.
57488         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
57489         __nss_lookup_function.
57490         (__nss_lookup_function): Call nss_load_library.
57491         (nss_load_all_libraries): New function.
57492         (__nss_disable_nscd): Take parameter with callback function for files
57493         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
57494         used for the cached services.
57495         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
57496         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
57497         options for features to all the files in nscd.
57499         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
57501 2011-07-10  Roland McGrath  <roland@hack.frob.com>
57503         * csu/elf-init.c (__libc_csu_init): Comment typo.
57505 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
57507         * po/pl.po: Update from translation team.
57508         * po/ja.po: Likewise.
57509         * po/ru.po: Likewise.
57510         * po/ko.po: Likewise.
57511         * po/fr.po: Likewise.
57513 2011-07-09  Roland McGrath  <roland@hack.frob.com>
57515         * configure.in (.ctors/.dtors header and trailer check):
57516         Use an empirical test on a built program.
57517         * configure: Regenerated.
57519         * configure.in (-z relro check): Use an empirical test on a built DSO.
57520         Detect, but do not require, on ia64.
57521         * configure: Regenerated.
57523         * configure.in (READELF): Find it with AC_CHECK_TOOL.
57524         Update tests that use readelf to use $READELF instead.
57525         * configure: Regenerated.
57527 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
57529         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
57530         if the result is not used.
57532 2011-07-05  Andreas Jaeger  <aj@suse.de>
57534         [BZ#9696]
57535         * stdlib/tst-strtod.c: Add testcase.
57537 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
57539         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
57540         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
57541         The latter has a higher limit.  Take additional parameter to pass to
57542         the new function.
57543         (__pathconf): Pass file to __statfs_link_max.
57544         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
57545         __statfs_link_max.
57546         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
57547         __statfs_link_max.
57549         [BZ #12868]
57550         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
57551         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57552         Handle Lustre.
57553         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
57554         (__statfs_filesize_max): Likewise.
57555         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
57557 2011-07-05  Andreas Jaeger  <aj@suse.de>
57559         * resolv/res_comp.c (dn_skipname): Remove unused variable.
57561 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
57563         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
57564         `status' variable.
57565         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
57566         Likewise.
57568 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
57570         * Makefile (strop-tests): Add strncat.
57571         * string/test-strncat.c: New file.
57573 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
57575         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
57577 2011-06-21  Andreas Jaeger  <aj@suse.de>
57579         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
57580         Copy rule from iconvdata/Makefile.
57582 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57584         [BZ #12922]
57585         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
57586         but no long options are defined, just return 'W'.
57588 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
57590         [BZ #9696]
57591         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
57593 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
57595         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
57596         netgroups to read.
57597         (innetgr): Likewise.
57599 2011-07-05  Roland McGrath  <roland@hack.frob.com>
57601         * config.make.in (install_root): Default to $(DESTDIR).
57603 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
57605         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
57607 2011-07-02  Roland McGrath  <roland@hack.frob.com>
57609         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
57611         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
57612         containing directory rather than embedding absolute directory names.
57614         * scripts/check-local-headers.sh: Rewritten using awk.
57615         Match by word, not by line.  Print error messages for matches.
57616         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
57618         * Makerules [shlib-lds-flags empty]:
57619         ($(common-objpfx)libc_pic.opts): New target.
57620         ($(common-objpfx)libc_pic.os.clean): New target.
57621         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
57623         * config.make.in (OBJCOPY): New variable.
57624         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
57625         * configure: Regenerated.
57627         * config.make.in (use-default-link): New variable.
57628         * configure.in (use_default_link): Grok --with-default-link to set it.
57629         * configure: Regenerated.
57630         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
57631         (shlib-lds, shlib-lds-flags): Define to empty.
57633         * Makerules (shlib-lds): New variable.
57634         (shlib-lds-flags): New variable.
57635         (build-shlib, build-moduile, build-module-asneeded): Use it.
57636         ($(common-objpfx)libc.so): Use $(shlib-lds).
57637         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
57638         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
57640         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
57641         DT_FLAGS/DT_FLAGS_1 with zero flags.
57643         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
57644         linker script munging.
57646 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
57648         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
57649         as 128-bit value.
57650         * crypt/sha512.c (sha512_process_block): Perform total addition using
57651         128-bit if possible.
57652         (__sha512_finish_ctx): Likewise.
57653         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
57654         as 64-bit value.
57655         * crypt/sha256.c (SWAP64): Define.
57656         (sha256_process_block): Perform total addition using 64-bit if
57657         possible.
57658         (__sha256_finish_ctx): Likewise.
57660 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
57662         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
57663         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57664         * nscd/hstcache.c (cache_addhst): Likewise.
57665         * nscd/grpcache.c (cache_addgr): Likewise.
57666         * nscd/aicache.c (addhstaiX): Likewise
57667         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
57669 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
57671         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
57672         * nscd/initgrcache.c (addinitgroupsX): Likewise.
57673         * nscd/hstcache.c (cache_addhst): Likewise.
57674         * nscd/grpcache.c (cache_addgr): Likewise.
57675         * nscd/aicache.c (addhstaiX): Likewise
57677 2011-07-01  Andreas Schwab  <schwab@redhat.com>
57679         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
57680         domain only when needed.
57682 2011-06-30  Andreas Schwab  <schwab@redhat.com>
57684         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
57685         is always restored.
57687 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
57689         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
57690         are re-adding the entry.
57691         * nscd/servicescache.c (cache_addserv): Likewise.
57693 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
57695         * sysdeps/generic/dl-irel.h: fix protection against multiple
57696         inclusions.
57697         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
57699 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
57701         [BZ #12935]
57702         * malloc/memusage.sh: Fix quoting in message.
57703         * debug/xtrace.sh: Likewise.
57705         * configure.in: Remove support for --experimental-malloc option, make
57706         it the default.
57707         * config.make.in: Likewise.
57708         * malloc/Makefile: Likewise.
57710 2011-06-27  Andreas Schwab  <schwab@redhat.com>
57712         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
57713         two-byte characters.
57715 2011-06-27  Roland McGrath  <roland@hack.frob.com>
57717         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
57718         AC_CACHE_CHECK invocation.
57719         * configure: Regenerated.
57721         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
57723 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
57725         [BZ #12350]
57726         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
57727         bit from old_res_options.
57729         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
57731         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
57732         value type for setfct.
57734 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
57736         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57737         __gettimeofday instead of gettimeofday.
57739 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
57741         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
57743 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
57745         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
57747         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
57748         info.
57750 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57753         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57754         strcpy-sse2-unaligned strncpy-sse2-unaligned
57755         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
57756         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
57757         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
57758         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
57759         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
57760         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
57761         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
57762         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
57763         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
57764         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
57765         (STRCPY): Support SSE2 and SSSE3 versions.
57767 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
57769         [BZ #12874]
57770         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
57771         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
57772         kernels which artificially limit size of requests.
57774 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
57776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57777         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
57778         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
57779         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
57780         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
57781         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
57782         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
57783         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
57784         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
57785         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
57786         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
57787         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
57788         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
57789         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
57790         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
57791         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57792         Enable unaligned load optimization for Intel Core i3, i5 and i7
57793         processors.
57794         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
57795         Define.
57796         (index_Fast_Unaligned_Load): Define.
57797         (HAS_FAST_UNALIGNED_LOAD): Define.
57799 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
57801         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
57803 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57805         [BZ #12907]
57806         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
57807         until it is clear that the information is realy needed.
57808         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
57810 2011-06-22  Andreas Schwab  <schwab@redhat.com>
57812         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
57814 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
57816         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
57817         /sys/devices/system/cpu/online if it is usable.
57819         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
57820         reading the information from the /proc filesystem to once a second.
57822 2011-06-21  Andreas Jaeger  <aj@suse.de>
57824         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
57825         NULL after inclusion of kernel headers.
57827 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
57829         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
57830         calls to internal_setent.
57832         [BZ #12885]
57833         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
57834         addresses using gethostbyname4_r ignore IPv4 addresses.
57836         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
57837         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
57839         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
57841 2011-06-20  David S. Miller  <davem@davemloft.net>
57843         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
57844         inclusions.
57845         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
57847         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
57848         (elf_irel): Use it.
57849         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
57850         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
57851         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
57852         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
57853         * sysdeps/x86_64/dl-irel.h: Likewise.
57855         * elf/dl-runtime.c: Use elf_ifunc_invoke.
57856         * elf/dl-sym.c: Likewise.
57858 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57860         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
57861         need to dereference resplen2.
57863 2011-06-14  Andreas Schwab  <schwab@redhat.com>
57865         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
57867 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
57869         * Makeconfig: Define vardbdir and inst_vardbdir.
57870         * nss/Makefile: Add rules to install db-Makefile.
57872         * nss/nss_db/db-XXX.c: Cleanup.
57874         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
57875         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
57876         GLIBC_PRIVATE.
57877         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
57878         * nss/makedb.c: Implement -g option to specify that value strings
57879         are generated and should not be added to table iterated over for
57880         get*ent calls.
57881         * nss/nss_db/db-initgroups.c: New file.
57883         * nss/getent.c: Add support for initgroups lookups through getgrouplist
57884         interface.
57886         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
57887         (internal_getgrouplist): Adjust to name change.
57888         Update use_initgroups_entry if this is not the first call.
57889         * nss/databases.def: Add initgroups entry.
57891         * nss/makedb.c (compute_tables): Check result of multiple hash table
57892         sizes to minimize maximum chain length.
57894 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
57896         * Versions.def: Add entry for libnss_db.
57897         * shlib-versions: Likewise.
57898         * nss/Makefile: Add rules to build libnss_db.
57899         * nss/Versions: Add libnss_db information.  Organize libnss_files
57900         entries better.
57901         * nss/db-Makefile: Add gshadow support.  Change rules for the new
57902         makedb progra.  Some minor improvements to generate smaller files.
57903         * nss/nss_db/nss_db.h: Move NSS database header data structures to
57904         here from...
57905         * nss/makedb.c: ...here.
57906         Improve database format to be smaller and require less memory at
57907         runtime.
57908         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
57909         db anymore.
57910         * nss/nss_db/db-netgrp.c: Likewise.
57911         * nss/nss_db/db-open.c: Likewise.
57912         * nss/nss_files/flies-XXX.x: Adjust comments.
57913         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
57914         * nss/nss_files/files-grp.c: Likewise.
57915         * nss/nss_files/files-hosts.c: Likewise.
57916         * nss/nss_files/files-network.c: Likewise.
57917         * nss/nss_files/files-proto.c: Likewise.
57918         * nss/nss_files/files-pwd.c: Likewise.
57919         * nss/nss_files/files-rpc.c: Likewise.
57920         * nss/nss_files/files-service.c: Likewise.
57921         * nss/nss_files/files-sgrp.c: Likewise.
57922         * nss/nss_files/files-spwd.c: Likewise.
57923         * nss/nss_db/db-alias.c: Removed.
57924         * nss/nss_db/dummy-db.h: Removed.
57926 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
57928         * nss/makedb.c: Rewritten to not use database library.
57929         * nss/Makefile: Update to build new makedb program.
57931 2011-06-14  Andreas Jaeger  <aj@suse.de>
57933         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
57934         memset declaration.
57936 2011-06-10  Andreas Schwab  <schwab@redhat.com>
57938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
57939         tmpbuf.
57941 2011-06-10  Roland McGrath  <roland@hack.frob.com>
57943         * Makerules (shlib.lds): Fail if the linker script comes out empty.
57944         * elf/Makefile ($(objpfx)ld.so): Likewise.
57946         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
57947         Don't list ld.so twice in dependencies.
57949         * posix/bug-regex31.c: Include <stdlib.h>.
57951         * nscd/hstcache.c (cache_addhst): Remove unused variable.
57953         * nis/nss_compat/compat-spwd.c
57954         (getspent_next_nss_netgr): Remove unused variable.
57955         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
57957         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
57958         nonmembers" output to use the right array.
57960         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
57962         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
57964         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
57965         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
57966         * catgets/gencat.c (read_input_file): Likewise.
57967         * locale/programs/locarchive.c (enlarge_archive): Likewise.
57969         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
57970         variable definition inside #if's controlling its use.
57972         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
57974         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
57976         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
57978         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
57979         unreachable code.
57981         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
57983         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
57984         * configure: Regenerated.
57986         * Makerules: Revert last change.
57987         * elf/Makefile: Likewise.
57989 2011-06-09  Roland McGrath  <roland@hack.frob.com>
57991         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
57992         * elf/Makefile ($(objpfx)librtld.os): Likewise.
57993         (reloc-link): Likewise.
57995 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
57997         * elf/Makefile: Add rules to build pldd.
57998         * elf/pldd.c: New file.
57999         * elf/pldd-xx.c: New file.
58001 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
58003         * version.h: Update for 2.15 development version.
58005 2011-06-07  David S. Miller  <davem@davemloft.net>
58007         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
58008         ifuncs.
58009         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
58010         elf_machine_lazy_rel): Likewise.
58011         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
58012         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
58013         elf_machine_lazy_rel): Likewise.
58014         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
58015         dl_hwcap via passed in argument.
58016         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
58017         Likewise.
58019 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58021         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
58023 2011-06-06  Roland McGrath  <roland@hack.frob.com>
58025         [BZ #12849]
58026         * manual/fdl-1.1.texi: New file, verbatim from:
58027         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
58028         * manual/lgpl-2.1.texi: New file, verbatim from:
58029         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
58030         * manual/Makefile (licenses): New variable, list those new file names.
58031         (texis): Use it.
58032         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
58034         * manual/fdl.texi: File removed.
58035         * manual/lesser.texi: File removed.
58036         * manual/libc.texinfo (Copying, Documentation License):
58037         Use new @include file names, put @appendix directive before @include.
58039 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
58041         [BZ #12841]
58042         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
58043         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
58044         (mq_open): Add __NTH.
58046 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
58048         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58049         Assume Intel Core i3/i5/i7 processor if AVX is available.
58051 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58053         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
58054         typo.
58056 2011-05-31  Andreas Schwab  <schwab@redhat.com>
58058         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
58059         memory.  Use alloca_account.  Fix memory leak when retrying.
58061 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
58063         * version.h (RELEASE): Bump for 2.14 release.
58064         * include/features.h (__GLIBC_MINOR__): Bump to 14.
58066         * config.make.in (RANLIB): Remove entry.
58068 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
58070         * po/Makefile (po-sed-cmd): Add ksh to extensions.
58071         (libc.pot): Work around missing support for .ksh extension in xgettext.
58073         [BZ #12684]
58074         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
58075         if both request failed.
58076         (send_dg): In case of server errors clear resplen or *resplen2.
58078         [BZ #12454]
58079         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
58080         when there are multiple maps.
58081         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
58082         (_dl_fini): Remove test here.
58084         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
58086 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
58088         [BZ #12350]
58089         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
58090         bit from old_res_options.
58091         (gaih_inet): Likewise.
58093         [BZ #11099]
58094         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
58095         as signed.
58097         * resolv/res_init.c (res_setoptions): Make the code more compact.
58099         [BZ #11558]
58100         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
58101         set RES_USEVC.
58103         [BZ #11634]
58104         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
58106         * malloc/malloc.h: Mark malloc hook variables as deprecated.
58108         [BZ #11781]
58109         * malloc/malloc.h: Declare malloc hook variables as volatile.
58111         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
58112         in last patch.
58114         [BZ #11799]
58115         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
58116         raise in the comment.
58117         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58118         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58119         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
58121 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
58123         [BZ #12811]
58124         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
58125         grow the buffers more if it already has to be sufficient.
58126         (build_wcs_upper_buffer): Likewise.
58127         * posix/regexec.c (check_matching): Likewise.
58128         (clean_state_log_if_needed): Likewise.
58129         (extend_buffers): Don't enlarge buffers beyond size of the input
58130         buffer.
58131         Patches mostly by Emil Wojak <emil@wojak.eu>.
58132         * posix/bug-regex32.c: New file.
58133         * posix/Makefile (tests): Add bug-regex32.
58135         * locale/findlocale.c (_nl_find_locale): Return right away if
58136         _nl_explode_name failed.
58137         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
58139         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
58141         * debug/xtrace.sh: Unify messages.
58142         * malloc/memusage.sh: Likewise.
58144         [BZ #12813]
58145         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
58146         time symbol from vDSO.  Substitute with vsyscall if not available.
58147         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
58148         __vdso_time.
58150         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
58151         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
58152         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
58153         Add sendmmsg and internal_sendmmsg.
58154         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
58155         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
58156         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
58158         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
58159         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
58160         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
58162 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
58164         [BZ #12813]
58165         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
58166         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
58167         available.
58168         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
58169         __vdso_getcpu.
58171         [BZ #12814]
58172         * iconvdata/Makefile (tests): Add bug-iconv9.
58173         * iconvdata/bug-iconv9.c: New file.
58175 2011-05-27  Andreas Schwab  <schwab@redhat.com>
58177         [BZ #12814]
58178         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
58180 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
58182         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58183         (struct user_regs_struct): Change intcs field back to cs.
58185 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
58187         * po/ja.po: Update from translation team.
58189 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
58191         [BZ #12795]
58192         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
58193         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
58195 2011-05-20  Andreas Schwab  <schwab@redhat.com>
58197         * stdlib/longlong.h: Update from GCC.
58199 2011-05-23  Andreas Schwab  <schwab@redhat.com>
58201         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
58202         parameter name.
58203         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
58204         Add parameter name.
58205         (__sysconf): Pass it down.
58207 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
58209         [BZ #12671]
58210         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
58211         some situations.
58212         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
58213         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
58214         add in in __libc_use_alloca calls.  Adjust callers.
58215         (glob): Use malloc in some situations.
58217         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
58218         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
58219         pltexit.
58221 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
58223         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
58224         and CLOCK_BOOTTIME_ALARM.
58226         [BZ #12782]
58227         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
58228         is returned.
58230         * string/_strerror.c (__strerror_r): Print negative errors as signed
58231         numbers.
58233         [BZ #12777]
58234         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
58235         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
58236         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
58238         * configure.in: Fix typo in redirection and correct removal of test
58239         files in two cases.
58241         [BZ #12788]
58242         * locale/setlocale.c (new_composite_name): Fix test to check for
58243         identical name of all categories.
58245         [BZ #12792]
58246         * libio/filedoalloc.c (local_isatty): New function.
58247         (_IO_file_doallocate): Use local_isatty.
58248         * stdio-common/perror.c (perror): In case a new stream is used
58249         forward the stream error.
58250         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
58251         error flag.
58253 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
58255         [BZ #11869]
58256         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
58257         alloca.
58258         * include/alloca.h (extend_alloca_account): Define.
58260         [BZ #11857]
58261         * posix/regex.h: Fix comments with documentation of user-accessible
58262         fields after compilation and describe correct free'ing of pattern
58263         after re_compile_pattern.
58264         Patch by Reuben Thomas <rrt@sc3d.org>.
58266 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
58268         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
58269         and -mno-altivec to prevent the compiler from using Altivec and/or
58270         VSX instructions when the corresponding registers are not available.
58272 2011-05-19  Andreas Schwab  <schwab@redhat.com>
58274         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
58276 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
58278         * libio/freopen.c (freopen): Use __dup2, not dup2.
58279         * libio/freopen64.c (freopen64): Likewise.
58281 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
58283         [BZ #12775]
58284         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
58285         * math/Makefile (tests): Add test-powl.
58286         (CFLAGS-test-powl.c): Define.
58287         * math/test-powl.c: New file.
58289 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
58291         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
58293 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
58295         [BZ #11837]
58296         * iconvdata/gb18030.c: Update to GB18020-2005.
58298 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
58300         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
58301         RE_SYNTAX_POSIX_AWK): Update to match recent development.
58302         Patch by Aharon Robbins <arnold@skeeve.com>.
58304         [BZ #11892]
58305         * stdlib/putenv.c (putenv): Don't always create copy of the variable
58306         on the stack.
58308         [BZ #11895]
58309         * misc/pselect.c (__pselect): Handle timeout value errors hidden
58310         through underflows.
58312         [BZ #12766]
58313         * misc/error.c (error_at_line): Ensure file_name and old_file_name
58314         point to strings before performing equality test for error_one_per_line
58315         mode.
58317         [BZ #11697]
58318         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
58320         [BZ #11820]
58321         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
58322         (struct user_fpregs_struct): Avoid __uint*_t types.
58324         [BZ #6420]
58325         * malloc/mtrace.c (tr_where): Add additional parameter to point to
58326         symbol info.  Use it instead of calling _dl_addr locally.
58327         (lock_and_info): New function.
58328         (tr_freehook): Call lock_and_info and pass symbol info as additional
58329         parameter to tr_where.
58330         (tr_mallochook): Likewise.
58331         (tr_reallochook): Likewise.
58332         (tr_memalignhook): Likewise.
58334         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
58335         used and couldn't be at all thread-safe.
58337 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
58339         * libio/freopen.c (freopen): Don't close old file descriptor
58340         before the new one is opened.  Instead dup the new file descriptor
58341         to the old one after the new stream is created.
58342         * libio/freopen64.c (freopen64): Likewise.
58343         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
58344         * libio/fileops.c (_IO_new_file_close_it): Handle new
58345         _IO_FLAGS2_NOCLOSE flag.
58346         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
58347         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
58348         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
58349         _IO_FLAGS2_NOCLOSE flag.
58350         * include/unistd.h: Add hidden_proto for dup3.
58351         Define __have_dup3.
58352         * io/dup3.c: Define hidden symbol.
58353         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
58355         [BZ #7101]
58356         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
58357         when an incomplete long option is used.
58358         * posix/tst-getopt_long1.c: New file.
58359         * posix/Makefile (tests): Add tst-getopt_long1.
58361         [BZ #10138]
58362         * scripts/config.guess: Update from autoconf-2.68.
58363         * scripts/config.sub: Likewise.
58365         [BZ #10157]
58366         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
58367         tests into ...
58368         (has_cpuclock): ...this.  New function.
58369         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
58370         macro here based on has_cpuclock code.
58372         [BZ #10149]
58373         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58374         First byte (not low byte) is now always NUL.
58375         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
58377         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
58378         Use non-cancelable interfaces.
58380         [BZ #9809]
58381         * locale/iso-639.def: Add entry for Sorani.
58383         [BZ #11901]
58384         * include/stdlib.h: Move include protection to the right place.
58385         Define abort_msg_s.  Declare __abort_msg with it.
58386         * stdlib/abort.c (__abort_msg): Adjust type.
58387         * assert/assert.c (__assert_fail_base): New function.  Majority
58388         of code from __assert_fail.  Allocate memory for __abort_msg with
58389         mmap.
58390         (__assert_fail): Now call __assert_fail_base.
58391         * assert/assert-perr.c: Remove bulk of implementation.  Use
58392         __assert_fail_base.
58393         * include/assert.hL Declare __assert_fail_base.
58394         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
58395         mmap.
58396         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
58398 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
58400         [BZ #11952]
58401         [BZ #12453]
58402         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
58403         until all modules are registered in the DTV.
58404         * elf/Makefile: Add rules to build and run tst-tls19.
58405         * elf/tst-tls19.c: New file.
58406         * elf/tst-tls19mod1.c: New file.
58407         * elf/tst-tls19mod2.c: New file.
58408         * elf/tst-tls19mod3.c: New file.
58409         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
58411         [BZ #12083]
58412         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
58413         correctly.
58415         [BZ #12601]
58416         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
58417         two-byte sequence errors.
58418         * iconvdata/Makefile (tests): Add bug-iconv8.
58419         * iconvdata/bug-iconv8.c: New file.
58421         [BZ #12626]
58422         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
58423         buf2 definition.
58425         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
58427         [BZ #12432]
58428         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
58429         (dummy_getcfa): New function.
58430         (init): Get _Unwind_GetCFA address, use dummy if not found.
58431         (backtrace_helper): In recursion check, also check whether CFA changes.
58432         (__backtrace): Completely initialize arg.
58434         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
58435         storing incomplete byte sequence in state object.  Avoid testing for
58436         guaranteed too small input if we know there is enough data available.
58438 2011-05-11  Andreas Schwab  <schwab@redhat.com>
58440         * Makeconfig (+link-pie): Indent.
58441         * Rules (binaries-pie): Define if $(have-fpie) and
58442         $(build-shared).
58443         (binaries-shared): Also filter out $(binaries-pie).
58444         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
58445         * nscd/Makefile (others-pie): Add nscd.
58446         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
58447         ($(objpfx)nscd): Remove command override.
58448         * login/Makefile (others-pie): Add pt_chown.
58449         ($(objpfx)pt_chown): Remove command override.
58450         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
58451         remove command overrides.
58453 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
58455         * libio/tst_putwc.c: Fix error messages.
58457         [BZ #12724]
58458         * libio/fileops.c (_IO_new_file_close_it): Always flush when
58459         currently writing and seek to current position when not.
58460         * libio/Makefile (tests): Add bug-fclose1.
58461         * libio/bug-fclose1.c: New file.
58463 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
58465         [BZ #12511]
58466         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
58467         don't set DF_1_NODELETE here.
58468         (do_lookup_x): When entering new entry test for copy relocation
58469         and if necessary set DF_1_NODELETE flag.
58470         * elf/tst-unique4.cc: New file.
58471         * elf/tst-unique4.h: New file.
58472         * elf/tst-unique4lib.cc: New file.
58473         * elf/Makefile: Add rules to build and run tst-unique4.
58474         Patch by Piotr Bury <pbury@goahead.com>.
58476 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
58478         [BZ #12052]
58479         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
58481         [BZ #12625]
58482         * misc/mntent_r.c (addmntent): Flush the stream after the output
58484         [BZ #12393]
58485         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
58486         (is_trusted_path_normalize): Skip initial colon.  Append slash
58487         to empty buffer.  Duplicate is_trusted_path code but allow
58488         constructed patch to be prefix.
58489         (is_dst): Allow $ORIGIN followed by /.
58490         (_dl_dst_substitute): Correct clearing of check_for_trusted.
58491         Correct testing of result of is_trusted_path_normalize
58492         (decompose_rpath): Fix warning.
58494 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
58496         [BZ #11257]
58497         * grp/initgroups.c (internal_getgrouplist): When we found the service
58498         list through the initgroups entry in nsswitch.conf do not always
58499         continue on a successful lookup.  Don't always use the
58500         __nss_group_database value if it is set.
58501         * nss/nsswitch.conf (initgroups): Change action for successful db
58502         lookup to continue for compatibility.
58504 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
58506         [BZ #11532]
58507         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
58508         and CP774 modules.
58509         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
58510         and CP774 modules.
58511         * iconvdata/tst-tables.sh: Likewise.
58512         * iconvdata/cp770.c: New file.
58513         * iconvdata/cp771.c: New file.
58514         * iconvdata/cp772.c: New file.
58515         * iconvdata/cp773.c: New file.
58516         * iconvdata/cp774.c: New file.
58517         * iconvdata/testdata/CP770: New file.
58518         * iconvdata/testdata/CP770..UTF8: New file.
58519         * iconvdata/testdata/CP771: New file.
58520         * iconvdata/testdata/CP771..UTF8: New file.
58521         * iconvdata/testdata/CP772: New file.
58522         * iconvdata/testdata/CP772..UTF8: New file.
58523         * iconvdata/testdata/CP773: New file.
58524         * iconvdata/testdata/CP773..UTF8: New file.
58525         * iconvdata/testdata/CP774: New file.
58526         * iconvdata/testdata/CP774..UTF8: New file.
58528         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
58529         END CHARMAP line.
58530         * iconvdata/gen-8bit-gap.sh: Likewise.
58531         * iconvdata/gen-8bit.sh: Likewise.
58533         * locale/iso-639.def: Add ary entry.
58535         [BZ #11258]
58536         * locale/C-translit.h.in: Add U20A1 transliteration.
58538         [BZ #12178]
58539         * locale/iso-639.def: Add wae entry.
58540         Patch by Kevin Bortis <bortis@translate-wae.ch>.
58542         [BZ #12545]
58543         * locale/programs/localedef.c (construct_output_path): Use ssize_t
58544         for n.
58546         [BZ #12711]
58547         * locale/C-translit.h.in: Add entry for U20B9.
58548         Patch by pravin.d.s@gmail.com.
58550 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
58552         [BZ #12713]
58553         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
58554         ENAMETOOLONG use generic getcwd.
58555         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
58556         in rtld.  Use *stat64.
58557         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
58558         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
58559         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
58560         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
58561         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
58562         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
58563         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
58564         __fstatat64 macros.
58565         * include/dirent.h: Add libc_hidden_proto for rewinddir.
58566         * dirent/rewinddir.c: Add libc_hidden_def.
58567         * sysdeps/mach/hurd/rewinddir.c: Likewise.
58568         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
58570         * include/dirent.h (__alloc_dir): Add flags parameter.
58571         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
58572         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
58573         __alloc_dir.
58574         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
58575         from fdopendir if O_CLOEXEC is already set.
58577 2011-03-15  Alan Modra  <amodra@gmail.com>
58579         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
58580         l_tls_firstbyte_offset non-zero.  Save padding offset in
58581         l_tls_firstbyte_offset for later use.
58582         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
58583         freeing static tls block.
58585 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
58587         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
58588         where #ifdef was intended.  The intent is to prevent ARG_MAX from
58589         being defined by the kernel headers.
58591 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
58593         [BZ #12734]
58594         * resolv/resolv.h: Define RES_NOTLDQUERY.
58595         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
58596         no-tld-query and set RES_NOTLDQUERY.
58597         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
58598         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
58599         modern BIND to search name as TLD unless forbidden.
58601 2011-05-07  Petr Baudis  <pasky@suse.cz>
58602             Ulrich Drepper  <drepper@gmail.com>
58604         [BZ #12393]
58605         * elf/dl-load.c (fillin_rpath): Move trusted path check...
58606         (is_trusted_path): ...to here.
58607         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
58608         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
58609         using is_trusted_path_normalize() in setuid scripts.
58611 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
58613         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
58614         __BEGIN/__END_DECLS.
58616 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
58618         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
58619         NSS_STATUS_NOTFOUND if no record was found.
58621 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58623         * sunrpc/Makefile (headers): Add rpc/netdb.h.
58624         (headers-not-in-tirpc): Remove rpc/netdb.h
58625         * resolv/netdb.h: Revert last change.
58627 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
58629         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
58630         circular dependency between libgcc.a and libc.a.
58632 2011-05-05  Andreas Schwab  <schwab@redhat.com>
58634         * resolv/netdb.h: Don't include <rpc/netdb.h>.
58635         * nis/Makefile: Don't install rpcsvc/*.
58636         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
58637         instead of <rpc/types.h>.
58638         (MAXHOSTNAMELEN): Define.
58640 2011-05-03  Andreas Schwab  <schwab@redhat.com>
58642         * elf/ldconfig.c (add_dir): Don't crash on empty path.
58644 2011-04-28  Maciej Babinski  <mbabinski@google.com>
58646         [BZ #12714]
58647         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
58648         gethostbyname4_r when IPv6 results are possible.
58650 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
58652         [BZ #12723]
58653         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
58654         _PC_PIPE_BUF handling.
58656 2011-04-30  Bruno Haible  <bruno@clisp.org>
58658         [BZ #12717]
58659         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
58660         * resolv/netdb.h (getnameinfo): Change type of flags parameter
58661         to 'int'.
58662         * inet/getnameinfo.c (getnameinfo): Likewise.
58664 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
58666         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
58667         to groups setting in database lookup.
58668         * nss/nsswitch.conf: Add initgroups entry.
58670 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
58672         [BZ #12685]
58673         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
58674         mode string.
58675         Patch by Eric Blake <eblake@redhat.com>.
58677 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
58679         * sunrpc/Makefile (need-export-routines): Add svc_run.
58680         (routines): Remove svc_run.
58681         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
58682         * sunrpc/clnt_perr.c (clnt_perrno): Export.
58683         * sunrpc/svc_run.c (svc_run): Likewise.
58684         * sunrpc/svc_udp.c (svcudp_create): Likewise.
58686 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
58688         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
58689         problem in reallocation in last patch.
58691 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
58693         * sunrpc/Makefile: Move inclusion of Rules.
58695 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58697         * nss/nss_files/files-initgroups.c: New file.
58698         * nss/Makefile (libnss_files-routines): Add files-initgroups.
58699         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
58700         _nss_files_initgroups_dyn.
58702 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
58704         * elf/elf.h (R_ARM_IRELATIVE): Define.
58706 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
58708         * po/ru.po: Update from translation team.
58710 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58712         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
58713         dependencies.
58715 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
58717         [BZ #12653]
58718         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
58719         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
58720         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
58721         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58722         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58724 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
58726         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
58727         differing bytes.
58728         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
58729         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
58730         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
58732 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
58734         [BZ #12420]
58735         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
58736         storing it.
58737         * stdlib/bug-getcontext.c: New file.
58738         * stdlib/Makefile: Add rules to build and run bug-getcontext.
58740 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58742         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
58743         instructions into .machine "z9-109".
58744         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
58745         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
58747 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58749         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
58750         between environment variables and auxiliary vector.
58752 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
58754         * Makefile: Add rules to build linkobj/libc.so.
58755         * include/libc-symbols.h: Define libc_hidden_nolink.
58756         * include/rpc/auth.h: Mark functions which are to be hidden.
58757         * include/rpc/auth_des.h: Likewise.
58758         * include/rpc/auth_unix.h: Likewise.
58759         * include/rpc/clnt.h: Likewise.
58760         * include/rpc/des_crypt.h: Likewise.
58761         * include/rpc/key_prot.h: Likewise.
58762         * include/rpc/pmap_clnt.h: Likewise.
58763         * include/rpc/pmap_prot.h: Likewise.
58764         * include/rpc/pmap_rmt.h: Likewise.
58765         * include/rpc/rpc_msg.h: Likewise.
58766         * include/rpc/svc.h: Likewise.
58767         * include/rpc/svc_auth.h: Likewise.
58768         * include/rpc/xdr.h: Likewise.
58769         * nis/Makefile: Link all DSOs against linkobj/libc.so.
58770         * nss/Makefile: Likewise.
58771         * sunrpc/Makefile: Don't install headers.  Build library with normal
58772         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
58773         * sunrpc/auth_des.c: Hide exported symbols by default, export some
58774         for the compat linking library.  Remove use of INTDEF/INTUSE.
58775         * sunrpc/auth_none.c: Likewise.
58776         * sunrpc/auth_unix.c: Likewise.
58777         * sunrpc/authdes_prot.c: Likewise.
58778         * sunrpc/authuxprot.c: Likewise.
58779         * sunrpc/clnt_gen.c: Likewise.
58780         * sunrpc/clnt_perr.c: Likewise.
58781         * sunrpc/clnt_raw.c: Likewise.
58782         * sunrpc/clnt_simp.c: Likewise.
58783         * sunrpc/clnt_tcp.c: Likewise.
58784         * sunrpc/clnt_udp.c: Likewise.
58785         * sunrpc/clnt_unix.c: Likewise.
58786         * sunrpc/des_crypt.c: Likewise.
58787         * sunrpc/des_soft.c: Likewise.
58788         * sunrpc/get_myaddr.c: Likewise.
58789         * sunrpc/key_call.c: Likewise.
58790         * sunrpc/key_prot.c: Likewise.
58791         * sunrpc/netname.c: Likewise.
58792         * sunrpc/pm_getmaps.c: Likewise.
58793         * sunrpc/pm_getport.c: Likewise.
58794         * sunrpc/pmap_clnt.c: Likewise.
58795         * sunrpc/pmap_prot.c: Likewise.
58796         * sunrpc/pmap_prot2.c: Likewise.
58797         * sunrpc/pmap_rmt.c: Likewise.
58798         * sunrpc/publickey.c: Likewise.
58799         * sunrpc/rpc_cmsg.c: Likewise.
58800         * sunrpc/rpc_common.c: Likewise.
58801         * sunrpc/rpc_dtable.c: Likewise.
58802         * sunrpc/rpc_prot.c: Likewise.
58803         * sunrpc/rpc_thread.c: Likewise.
58804         * sunrpc/rtime.c: Likewise.
58805         * sunrpc/svc.c: Likewise.
58806         * sunrpc/svc_auth.c: Likewise.
58807         * sunrpc/svc_authux.c: Likewise.
58808         * sunrpc/svc_raw.c: Likewise.
58809         * sunrpc/svc_run.c: Likewise.
58810         * sunrpc/svc_simple.c: Likewise.
58811         * sunrpc/svc_tcp.c: Likewise.
58812         * sunrpc/svc_udp.c: Likewise.
58813         * sunrpc/svc_unix.c: Likewise.
58814         * sunrpc/svcauth_des.c: Likewise.
58815         * sunrpc/xcrypt.c: Likewise.
58816         * sunrpc/xdr.c: Likewise.
58817         * sunrpc/xdr_array.c: Likewise.
58818         * sunrpc/xdr_float.c: Likewise.
58819         * sunrpc/xdr_intXX_t.c: Likewise.
58820         * sunrpc/xdr_mem.c: Likewise.
58821         * sunrpc/xdr_rec.c: Likewise.
58822         * sunrpc/xdr_ref.c: Likewise.
58823         * sunrpc/xdr_sizeof.c: Likewise.
58824         * sunrpc/xdr_stdio.c: Likewise.
58826 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
58828         [BZ #12650]
58829         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
58830         * sysdeps/ia64/dl-tls.h: Likewise.
58831         * sysdeps/powerpc/dl-tls.h: Likewise.
58832         * sysdeps/s390/dl-tls.h: Likewise.
58833         * sysdeps/sh/dl-tls.h: Likewise.
58834         * sysdeps/sparc/dl-tls.h: Likewise.
58835         * sysdeps/x86_64/dl-tls.h: Likewise.
58836         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
58838 2011-03-14  Andreas Schwab  <schwab@redhat.com>
58840         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
58841         rpath element also skip the following colon.
58842         (expand_dynamic_string_token): Add is_path parameter and pass
58843         down to DL_DST_REQUIRED and _dl_dst_substitute.
58844         (decompose_rpath): Call expand_dynamic_string_token with
58845         non-zero is_path.  Ignore empty rpaths.
58846         (_dl_map_object_from_fd): Call expand_dynamic_string_token
58847         with zero is_path.
58849 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
58851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58852         Make cancelable.
58854 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
58856         [BZ #12655]
58857         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
58858         Patch by Filipe David Manana <fdmanana@apache.org>.
58860 2011-04-07  Andreas Schwab  <schwab@redhat.com>
58862         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
58863         Maintain aligned stack.
58864         (CHECK_RSP): Remove unused macro.
58866 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
58868         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
58869         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
58871 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
58873         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
58875         * include/features.h: Mention __USE_XOPEN2K8 in comment.
58877 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
58879         [BZ #12518]
58880         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
58881         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
58882         * sysdeps/x86_64/memmove.c: New file.
58883         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
58884         (memcpy): Renamed to ...
58885         (__new_memcpy): This.
58886         (memcpy): Provide GLIBC_2_14 memcpy.
58887         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
58888         (memcpy): Provide GLIBC_2_2_5 memcpy.
58890 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58892         [BZ #12631]
58893         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
58895 2011-03-30  Andreas Schwab  <schwab@redhat.com>
58897         * misc/syncfs.c: New file.
58898         * misc/Makefile (routines): Add syncfs.
58899         * posix/unistd.h: Declare syncfs.
58900         * sysdeps/unix/syscalls.list: Add syncfs.
58902 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58904         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
58905         open_by_handle_at.
58906         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58907         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58908         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58909         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58910         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58911         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
58912         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58914 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58916         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
58917         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58918         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
58919         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58920         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58921         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58922         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58924         * io/Makefile: Compile fallocate.c, fallocate64.c, and
58925         sync_file_range.c with -fexceptions.
58926         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
58927         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
58928         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
58929         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
58930         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
58931         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58932         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
58933         sync_file_range as cancellation point
58934         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
58935         now a wrapper around __call_sync_file_range with cancellation handling.
58936         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
58937         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
58938         function name to __call_sync_file_range.
58939         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
58940         Add call_sync_file_range.
58942 2011-04-01  Andreas Schwab  <schwab@redhat.com>
58944         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58945         bits/timex.h.
58947 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
58949         * iconv/iconv.h: Fix typo in comment.
58950         * io/fcntl.h: Likewise.
58951         * libio/stdio.h: Likewise.
58952         * posix/spawn.h: Likewise.
58953         * posix/unistd.h: Likewise.
58954         * stdlib/stdlib.h: Likewise.
58955         * time/time.h: Likewise.
58956         * wcsmbs/wchar.h: Likewise.
58958         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
58959         open_by_handle): Add.
58960         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
58961         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
58962         Augment a few comments.
58963         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
58964         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58965         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58966         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58967         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58968         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
58969         open_by_handle.
58971         * io/fcntl.h (AT_EMPTY_PATH): Define.
58973 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
58975         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
58976         * sysdeps/unix/sysv/linux/bits/time.h: New file.
58977         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
58978         to...
58979         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
58980         * Versions.def: Add GLIBC_2.14.
58981         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
58982         Export.
58984 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
58986         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
58987         round counter.
58988         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
58990 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
58992         [BZ #12597]
58993         * string/test-strncmp.c (do_page_test): New function.
58994         (check2): Likewise.
58995         (test_main): Call check2.
58996         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
58998 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
59000         [BZ #12587]
59001         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
59002         Handle cache information in CPU leaf 4.
59003         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
59005 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
59007         [BZ #12583]
59008         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
59009         character representation.
59010         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
59012 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
59014         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
59015         END(__isnan) to END(__isnanf) to match function entry point/label
59016         EALIGN(__isnanf,...).
59018 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
59020         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
59022 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
59024         [BZ #12510]
59025         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
59026         copy from the symbol referenced in the relocation to initialize the
59027         used variable.
59028         Patch by Piotr Bury <pbury@goahead.com>.
59029         * elf/Makefile: Add rules to build and tst-unique3.
59030         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
59031         * elf/tst-unique3.cc: New file.
59032         * elf/tst-unique3.h: New file.
59033         * elf/tst-unique3lib.cc: New file.
59034         * elf/tst-unique3lib2.cc: New file.
59036         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
59038 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
59040         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
59041         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
59042         to _start.
59044 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
59046         * elf/dl-load.c (_dl_map_object): If we are looking for the first
59047         to-be-loaded object along a path to loader is ld.so.
59049 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59050             Ulrich Drepper  <drepper@gmail.com>
59052         * sysdeps/x86_64/memset.S: After aligning destination, code
59053         branches to different locations depending on the value of
59054         misalignment, when multiarch is enabled. Fix this.
59056 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
59058         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
59059         Set _x86_64_preferred_memory_instruction for AMD processsors.
59060         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59061         Set bit_Prefer_SSE_for_memop for AMD processors.
59063 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
59065         * libio/fmemopen.c (fmemopen): Optimize a bit.
59067 2011-03-03  Andreas Schwab  <schwab@redhat.com>
59069         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
59071 2011-03-03  Roland McGrath  <roland@redhat.com>
59073         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
59075 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
59077         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
59078         __bzero_ultra1 instead of __memset_ultra1.
59080 2011-02-23  Andreas Schwab  <schwab@redhat.com>
59081             Ulrich Drepper  <drepper@gmail.com>
59083         [BZ #12509]
59084         * include/link.h (struct link_map): Add l_orig_initfini.
59085         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
59086         returning unsuccessfully.
59087         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
59088         close of a file loaded at startup, restore the original l_initfini
59089         list.
59090         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
59091         list, store the pointer.
59092         * elf/Makefile ($(objpfx)noload-mem): New rule.
59093         (noload-ENV): Define.
59094         (tests): Add $(objpfx)noload-mem.
59095         * elf/noload.c: Include <memcheck.h>.
59096         (main): Call mtrace.  Close all opened handles.
59098 2011-02-17  Andreas Schwab  <schwab@redhat.com>
59100         [BZ #12454]
59101         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
59102         dependencies are missing.
59104 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59106         Fix __if_freereq crash: Unlike the generic version which uses free,
59107         Hurd needs munmap.
59108         * sysdeps/mach/hurd/ifreq.h: New file.
59110 2011-01-27  Petr Baudis  <pasky@suse.cz>
59111             Ulrich Drepper  <drepper@gmail.com>
59113         [BZ 12445]#
59114         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
59115         to extend_alloca().
59116         * stdio-common/bug23.c: New file.
59117         * stdio-common/Makefile (tests): Add bug23.
59119 2010-09-28  Andreas Schwab  <schwab@redhat.com>
59120             Ulrich Drepper  <drepper@gmail.com>
59122         [BZ #12489]
59123         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
59124         before performing relro protection.  At old place add assertion
59125         to make sure nothing changed.
59127 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
59128             Glauber de Oliveira Costa  <glommer@gmail.com>
59130         * elf/elf.h: Add new ARM TLS relocs.
59132 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
59134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
59135         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
59136         cast from r3.
59137         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
59138         'tests' variable.
59139         * sysdeps/wordsize-64/tst-writev.c: New file.
59141 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
59143         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
59144         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
59145         insns in _dl_start to prevent a TOC reference before relocs are
59146         resolved.
59148 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
59150         [BZ #12469]
59151         * Makeconfig: Remove RANLIB definition.
59152         * Makerules: Don't use RANLIB.
59153         * aclocal.m4: Remove ranlib test.
59154         * configure.in: No need to check for ranlib.
59155         * elf/rtld-Rules: Don't use RANLIB.
59157 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59159         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
59160         protection macro.
59161         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
59162         inclusion protection macro.
59164         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
59165         SIGRTMIN and SIGRTMAX and print information in that case only when
59166         SIGRTMIN is defined.
59168 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
59170         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
59171         arginfo fn returning -1.
59173         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
59174         and thousands string is zero terminated.
59176 2011-02-03  Andreas Schwab  <schwab@redhat.com>
59178         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
59179         sysdeps/unix/sysv/linux/bits/socket.h.
59181 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59183         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
59184         (__CPU_COUNT): Remove old macros.
59185         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
59186         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
59187         (__CPU_ALLOC, __CPU_FREE): Add macros.
59188         (__sched_cpualloc, __sched_cpufree): Add declarations.
59190 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
59192         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
59193         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
59194         * nscd/aicache.c (addhstaiX): Return timeout of added value.
59195         (readdhstai): Return value of addhstaiX call.
59196         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
59197         (addgrbyX): Return value returned by cache_addgr.
59198         (readdgrbyname): Return value returned by addgrbyX.
59199         (readdgrbygid): Likewise.
59200         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
59201         (addpwbyX): Return value returned by cache_addpw.
59202         (readdpwbyname): Return value returned by addhstbyX.
59203         (readdpwbyuid): Likewise.
59204         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
59205         (addservbyX): Return value returned by cache_addserv.
59206         (readdservbyname): Return value returned by addservbyX:
59207         (readdservbyport): Likewise.
59208         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
59209         (addhstbyX): Return value returned by cache_addhst.
59210         (readdhstbyname): Return value returned by addhstbyX.
59211         (readdhstbyaddr): Likewise.
59212         (readdhstbynamev6): Likewise.
59213         (readdhstbyaddrv6): Likewise.
59214         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
59215         (readdinitgroups): Return value returned by addinitgroupsX.
59216         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
59217         (prune_cache): Keep track of timeout value of re-added entries.
59218         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
59219         * nscd/nscd.h: Adjust prototypes of readd* functions.
59221 2011-02-04  Roland McGrath  <roland@redhat.com>
59223         * nis/nis_server.c (nis_servstate): Use the right name for 0.
59224         (nis_stats): Likewise.
59225         * nis/nis_modify.c (nis_modify): Likewise.
59226         * nis/nis_remove.c (nis_remove): Likewise.
59227         * nis/nis_add.c (nis_add): Likewise.
59229         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
59231         * posix/fnmatch_loop.c: Add some consts.
59233         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
59235 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
59237         [BZ #12460]
59238         * config.make.in (config-cflags-novzeroupper): Define.
59239         * configure.in: Substitute libc_cv_cc_novzeroupper.
59240         * elf/Makefile (AVX-CFLAGS): Define.
59241         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
59242         (CFLAGS-tst-auditmod4a.c): Likewise.
59243         (CFLAGS-tst-auditmod4b.c): Likewise.
59244         (CFLAGS-tst-auditmod6b.c): Likewise.
59245         (CFLAGS-tst-auditmod6c.c): Likewise.
59246         (CFLAGS-tst-auditmod7b.c): Likewise.
59247         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
59249 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
59251         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
59252         function to the callback.
59253         Patch partly by Jiri Olsa <jolsa@redhat.com>.
59255 2011-02-02  Andreas Schwab  <schwab@redhat.com>
59257         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
59258         of errno.
59260 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
59262         [BZ #11724]
59263         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
59264         of constructors.
59265         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
59266         of destructors.
59267         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
59269         [BZ #11724]
59270         * elf/Makefile: Add rules to build and run new test.
59271         * elf/tst-initorder.c: New file.
59272         * elf/tst-initorder.exp: New file.
59273         * elf/tst-initordera1.c: New file.
59274         * elf/tst-initordera2.c: New file.
59275         * elf/tst-initordera3.c: New file.
59276         * elf/tst-initordera4.c: New file.
59277         * elf/tst-initorderb1.c: New file.
59278         * elf/tst-initorderb2.c: New file.
59279         * elf/tst-order-a1.c: New file.
59280         * elf/tst-order-a2.c: New file.
59281         * elf/tst-order-a3.c: New file.
59282         * elf/tst-order-a4.c: New file.
59283         * elf/tst-order-b1.c: New file.
59284         * elf/tst-order-b2.c: New file.
59285         * elf/tst-order-main.c: New file.
59286         New test case by George Gensure <werkt0@gmail.com>.
59288 2010-10-01  Andreas Schwab  <schwab@redhat.com>
59290         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
59291         decoding ACE if AI_CANONIDN.
59293 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
59295         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
59297 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
59299         * version.h (RELEASE): Bump for 2.13 release.
59300         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
59302         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
59304         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
59305         MADV_NOHUGEPAGE.
59306         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
59307         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59308         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59309         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
59310         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59311         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59313         * posix/getconf.c: Update copyright year.
59314         * catgets/gencat.c: Likewise.
59315         * csu/version.c: Likewise.
59316         * debug/catchsegv.sh: Likewise.
59317         * debug/xtrace.sh: Likewise.
59318         * elf/ldconfig.c: Likewise.
59319         * elf/ldd.bash.in: Likewise.
59320         * elf/sprof.c (print_version): Likewise.
59321         * iconv/iconv_prog.c: Likewise.
59322         * iconv/iconvconfig.c: Likewise.
59323         * locale/programs/locale.c: Likewise.
59324         * locale/programs/localedef.c: Likewise.
59325         * malloc/memusage.sh: Likewise.
59326         * malloc/mtrace.pl: Likewise.
59327         * nscd/nscd.c (print_version): Likewise.
59328         * nss/getent.c: Likewise.
59330         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
59331         PF_CAIF, and PF_ALG.
59332         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
59334 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
59336         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
59337         (modules-names): Use them.
59338         (ifunc-test-modules, ifunc-pie-tests): Define.
59339         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
59340         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
59341         (test-extras): Likewise.
59342         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
59343         $(compile-command.c).
59344         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
59345         (all-built-dso): Define.
59346         (check-textrel.out, check-execstack.out): Depend on it.
59348         * configure.in: Don't override --enable-multi-arch.
59350 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
59352         [BZ #6812]
59353         * nscd/hstcache.c (tryagain): Define.
59354         (cache_addhst): Return tryagain not notfound for temporary errors.
59355         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
59356         failed.
59358 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
59360         [BZ #10563]
59361         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
59362         to make the syscall.
59363         * sysdeps/unix/sysv/linux/setgroups.c: New file.
59365         [BZ #12378]
59366         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
59367         and fall back to matching as normal character if the string ends before
59368         the matching ']' is found.  This is what POSIX requires.
59369         * posix/testfnm.c: Adjust test result.
59370         * posix/globtest.sh: Adjust test result.  Add new test.
59371         * posix/tst-fnmatch.input: Likewise.
59372         * posix/tst-fnmatch2.c: Add new test.
59374 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
59376         * elf/Makefile (check-execstack): Revert last change.  Depend on
59377         check-execstack.h.
59378         (check-execstack.h): New target.
59379         (generated): Add check-execstack.h.
59380         * elf/check-execstack.c: Include "check-execstack.h".
59381         (main): Revert last change.
59382         (handle_file): Return zero if GNU_STACK is absent and
59383         DEFAULT_STACK_PERMS doesn't include PF_X.
59385 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
59387         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
59388         in child fails because the descriptor is already closed.
59389         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
59390         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
59391         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
59393         [BZ #12397]
59394         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
59395         syscall.
59397         [BZ #10484]
59398         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
59399         temporary buffer used to handle multi lookups locally.
59400         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
59402 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59404         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
59405         loader is ld.so.
59407 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
59409         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
59410         alignment for SSE2.
59412 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
59414         [BZ #12394]
59415         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
59416         characters.  When rounding increased number of integer digits recompute
59417         number of groups.
59418         * stdio-common/tst-grouping.c: New file.
59419         * stdio-common/Makefile: Add rules to build and run tst-grouping.
59421 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
59423         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
59424         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
59426         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
59427         void.
59428         * bits/select.h: Likewise.
59430 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
59432         * po/ja.po: Update from translation team.
59434 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
59436         [BZ #11155]
59437         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
59438         implementation just like for lxstat, fxstatat, et al.
59440 2010-12-27  Jim Meyering  <meyering@redhat.com>
59442         [BZ #12348]
59443         * posix/regexec.c (build_trtable): Return failure indication upon
59444         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
59446 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
59448         [BZ #12201]
59449         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
59450         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
59451         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
59452         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
59454         [BZ #12207]
59455         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
59457         [BZ #12204]
59458         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
59459         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
59461 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
59463         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
59464         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
59465         script has SORT_BY_INIT_PRIORITY.
59466         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
59467         NO_CTORS_DTORS_SECTIONS is defined.
59468         * elf/soinit.c: Likewise.
59469         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
59470         NO_CTORS_DTORS_SECTIONS is defined.
59471         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
59472         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
59473         * sysdeps/sh/init-first.c: Likewise.
59474         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
59476 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
59478         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
59479         always use the slow path.
59481 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
59483         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
59484         similar rule which adds the sysdep directories to the header search in
59485         order to pick up the correct platform stackinfo.h.
59486         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
59487         perform test if it is, otherwise return successfully without testing.
59488         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
59489         DEFAULT_STACK_PERMS define in stackinfo.h.
59490         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
59491         defined in stackinfo.h.
59492         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
59493         DEFAULT_STACK_PERMS defined in stackinfo.h.
59494         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
59495         * sysdeps/ia64/stackinfo.h: Likewise.
59496         * sysdeps/s390/stackinfo.h: Likewise.
59497         * sysdeps/sh/stackinfo.h: Likewise.
59498         * sysdeps/sparc/stackinfo.h: Likewise.
59499         * sysdeps/x86_64/stackinfo.h: Likewise.
59500         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
59501         PF_X for powerpc64.  Retain PF_X for powerpc32.
59503 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
59505         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
59506         accurately.
59507         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
59508         GETDENTS_64BIT_ALIGNED.
59510 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
59512         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
59514 2010-12-10  Andreas Schwab  <schwab@redhat.com>
59516         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
59517         _GNU_SOURCE.
59519         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
59520         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
59521         Remove __restrict.
59522         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
59523         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
59525 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
59527         [BZ #11655]
59528         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
59529         are initialized.
59531 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
59533         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
59535 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
59537         * po/it.po: Update from translation team.
59539 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
59541         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
59542         unused codes.
59544 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
59546         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
59548 2010-11-24  Andreas Schwab  <schwab@redhat.com>
59550         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
59551         specially.
59552         (gaih_getanswer_slice): Likewise.
59554 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
59556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
59558 2010-05-31  Petr Baudis  <pasky@suse.cz>
59560         [BZ #11149]
59561         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
59562         silently even in the chroot mode.
59564 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
59566         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
59567         last patch a bit.  Pretty printing
59569 2010-05-31  Petr Baudis <pasky@suse.cz>
59571         [BZ #10085]
59572         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
59573         initialization of skip_initgroups_dyn.
59575 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
59577         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
59578         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
59580 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
59582         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
59584 2010-11-11  Andreas Schwab  <schwab@redhat.com>
59586         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
59587         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
59588         (tst-fnmatch-ENV): Set MALLOC_TRACE.
59589         ($(objpfx)tst-fnmatch-mem): New rule.
59590         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
59591         * posix/tst-fnmatch.c (main): Call mtrace.
59593 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
59595         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59596         Support Intel processor model 6 and model 0x2c.
59598 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
59600         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
59601           signed comparison.
59603 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
59605         [BZ #12205]
59606         * string/test-strncasecmp.c (check_result): New function.
59607         (do_one_test): Use it.
59608         (check1): New function.
59609         (test_main): Use it.
59610         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
59611         Support strcasecmp and strncasecmp.
59613 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
59615         [BZ #12194]
59616         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
59617         * sysdeps/x86_64/bits/byteswap.h: Likewise.
59619 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59621         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
59622         IFUNC support.
59623         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
59624         memset-x86-64.
59625         * sysdeps/x86_64/multiarch/bzero.S: New file.
59626         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
59627         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
59628         * sysdeps/x86_64/multiarch/memset.S: New file.
59629         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
59630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59631         Set bit_Prefer_SSE_for_memop for Intel processors.
59632         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
59633         Define.
59634         (index_Prefer_SSE_for_memop): Define.
59635         (HAS_PREFER_SSE_FOR_MEMOP): Define.
59637 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
59639         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
59640         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
59642 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
59644         [BZ #12191]
59645         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59646         (__x86_64_raw_data_cache_size_half): Likewise.
59647         (__x86_64_raw_shared_cache_size): Likewise.
59648         (__x86_64_raw_shared_cache_size_half): Likewise.
59650         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
59651         (__x86_64_raw_data_cache_size_half): Likewise.
59652         (__x86_64_raw_shared_cache_size): Likewise.
59653         (__x86_64_raw_shared_cache_size_half): Likewise.
59654         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
59655         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
59656         and __x86_64_raw_shared_cache_size_half.  Round
59657         __x86_64_data_cache_size_half, __x86_64_data_cache_size
59658         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
59659         to multiple of 256 bytes.
59661 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
59663         [BZ #12167]
59664         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
59665         of inacessible symlinks.  Verify result of symlink before returning it.
59666         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
59667         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
59669 2010-10-28  Erich Ritz  <erichritz@gmail.com>
59671         * math/math.h (isinf): Fix typo in comment.
59673 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
59675         * po/da.po: Update from translation team.
59677 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
59679         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
59680         is added to the list.
59682 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59683             Ulrich Drepper  <drepper@gmail.com>
59685         * elf/dl-object.c (_dl_new_object): Don't append the new object to
59686         the global list here.  Move code to...
59687         (_dl_add_to_namespace_list): ...here.  New function.
59688         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
59689         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
59690         * elf/dl-load.c (lose): Don't remove the element from the list.
59691         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
59692         (_dl_map_object): Likewise.
59694 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
59696         [BZ #12159]
59697         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
59698         into all bytes of SSE register.
59699         Patch by Richard Li <richardpku@gmail.com>.
59701 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
59703         [BZ #12140]
59704         * malloc/malloc.c (_int_free): Fill correct number of bytes when
59705         perturbing.
59707 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
59709         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
59710         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
59711         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
59712         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
59714         submachine.
59715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
59717 2010-10-22  Andreas Schwab  <schwab@redhat.com>
59719         * include/dlfcn.h (__RTLD_SECURE): Define.
59720         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
59721         mode & __RTLD_SECURE instead.
59722         (open_path): Rename preloaded parameter to secure.
59723         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
59724         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
59725         * elf/dl-deps.c (openaux): Likewise.
59726         * elf/rtld.c (struct map_args): Remove is_preloaded.
59727         (map_doit): Don't use it.
59728         (dl_main): Likewise.
59729         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
59730         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
59732 2010-09-09  Andreas Schwab  <schwab@redhat.com>
59734         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
59735         (sysd-rules-targets): Remove duplicates.
59736         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
59737         rtld-%.$o dependency.
59739 2010-10-18  Andreas Schwab  <schwab@redhat.com>
59741         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
59742         _dl_map_object do it.
59744 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
59746         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
59747         fast fma builtins, define the macros in the C99 standard.
59748         (FP_FAST_FMAF): Likewise.
59749         (FP_FAST_FMAL): Likewise.
59750         * sysdeps/x86_64/bits/mathdef.h: Likewise.
59752         * bits/mathdef.h: Update copyright year.
59753         * sysdeps/powerpc/bits/mathdef.h: Likewise.
59755 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
59757         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
59758         builtins, define the macros in the C99 standard.
59759         (FP_FAST_FMAF): Likewise.
59760         (FP_FAST_FMAL): Likewise.
59761         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
59762         multiply/add.
59763         (FP_FAST_FMAF): Likewise.
59765 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
59767         [BZ #3268]
59768         * math/libm-test.inc (fma_test): Some new testcases.
59769         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
59770         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
59771         y and infinite z.  Do multiplication by C already in long double.
59772         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
59773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
59774         y and infinite z.  Do bitwise or of inexact bit into u.d.
59775         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
59776         * sysdeps/i386/fpu/s_fmaf.S: Removed.
59777         * sysdeps/i386/fpu/s_fma.S: Removed.
59778         * sysdeps/i386/fpu/s_fmal.S: Removed.
59780 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
59782         [BZ #3268]
59783         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
59784         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
59785         computation is not scheduled after fetestexcept.  Fix value
59786         of minimum denormal long double.
59788 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
59790         [BZ #3268]
59791         * math/libm-test.inc (fma_test): Add some more tests.
59792         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
59793         correctly.
59795 2010-10-15  Andreas Schwab  <schwab@redhat.com>
59797         * scripts/data/localplt-s390-linux-gnu.data: New file.
59798         * scripts/data/localplt-s390x-linux-gnu.data: New file.
59800 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
59802         [BZ #3268]
59803         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
59804         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
59805         instead of dbl-64.
59806         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
59807         inlines.
59808         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
59809         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
59810         if one of x and y is very large and the other is subnormal.
59811         * sysdeps/s390/fpu/s_fmaf.c: New file.
59812         * sysdeps/s390/fpu/s_fma.c: New file.
59813         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
59814         * sysdeps/powerpc/fpu/s_fma.S: New file.
59815         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
59816         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
59817         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
59819 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
59821         [BZ #3268]
59822         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
59823         fma tests.
59824         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
59825         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
59826         * sysdeps/i386/i686/multiarch/s_fma.c: Include
59827         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
59828         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
59829         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
59830         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
59832 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
59834         [BZ #12078]
59835         * posix/regcomp.c (parse_branch): One more memory leak plugged.
59836         * posix/bug-regex31.input: Add test case.
59838 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59840         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
59841         * posix/bug-regex31.input: New file.
59843         [BZ #12078]
59844         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
59845         (parse_sub_exp): Fix last change, use postorder.
59847         * posix/bug-regex31.c: New file.
59848         * posix/Makefile: Add rules to build and run bug-regex31.
59850         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
59852         [BZ #12078]
59853         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
59855         [BZ #12108]
59856         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
59857         to have entries in sys_siglist.
59859         [BZ #12093]
59860         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
59861         be NULL.
59863 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
59865         [BZ #3268]
59866         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
59867         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
59868         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
59869         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
59870         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
59871         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
59872         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
59873         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
59874         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
59875         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
59876         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
59877         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
59878         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
59879         * math/ftestexcept.c (fetestexcept): Likewise.
59880         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
59881         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
59882         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
59883         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
59884         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
59885         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
59886         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
59888 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
59890         [BZ #12107]
59891         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
59892         newline.
59894 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
59896         * string/bug-strstr1.c: New file.
59897         * string/Makefile: Add rules to build and run bug-strstr1.
59899 2010-10-05  Eric Blake  <eblake@redhat.com>
59901         [BZ #12092]
59902         * string/str-two-way.h (two_way_long_needle): Always clear memory
59903         when skipping input due to the shift table.
59905 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
59907         [BZ #12005]
59908         * malloc/mcheck.c: Handle large requests.
59910         [BZ #12077]
59911         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
59912         for strncmp and strncasecmp.
59913         * string/stratcliff.c: Add tests for strcmp and strncmp.
59914         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
59916 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
59918         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
59919         __set_fpscr.
59921 2010-09-30  Andreas Jaeger  <aj@suse.de>
59923         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
59924         (CGROUP_SUPER_MAGIC): Define.
59925         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59926         Handle btrfs and cgroup file systems.
59927         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59928         Likewise.
59930 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
59932         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
59933         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
59935 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59937         [BZ #12067]
59938         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
59939         trying to locate the ELF header.
59941 2010-09-27  Andreas Schwab  <schwab@redhat.com>
59943         [BZ #11611]
59944         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
59945         Mask out sign-bit copies when constructing f_fsid.
59947 2010-09-24  Petr Baudis <pasky@suse.cz>
59949         * debug/stack_chk_fail_local.c: Add missing licence exception.
59950         * debug/warning-nop.c: Likewise.
59952 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
59954         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
59955         implementing getdents64 using getdents syscall, set d_type if
59956         __ASSUME_GETDENTS32_D_TYPE.
59958 2010-09-16  Andreas Schwab  <schwab@redhat.com>
59960         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
59961         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
59963 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
59965         [BZ #12037]
59966         * posix/unistd.h: Undo change of feature selection for ftruncate from
59967         2010-01-11.
59969 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
59971         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
59972         detection.
59974 2010-09-20  Andreas Schwab  <schwab@redhat.com>
59976         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
59977         fanotify_mark.
59978         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
59980 2010-09-14  Andreas Schwab  <schwab@redhat.com>
59982         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
59983         variables after CHECK_SP call.
59984         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
59986 2010-09-13  Andreas Schwab  <schwab@redhat.com>
59987             Ulrich Drepper  <drepper@redhat.com>
59989         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
59990         re-relocationg ld.so.
59991         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
59992         _dl_init_paths call.
59993         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
59994         here anymore.
59996 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
59998         * resolv/res_init.c (__res_vinit): Count the default server we added.
60000 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
60001             Ulrich Drepper  <drepper@redhat.com>
60003         [BZ #11968]
60004         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
60005         (____longjmp_chk): Use %ebx for saving value across system call.
60006         Add unwind info.
60008 2010-09-06  Andreas Schwab  <schwab@redhat.com>
60010         * manual/Makefile: Don't mix pattern rules with normal rules.
60012 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60014         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
60015         operation.
60016         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
60017         * libio/iofopncook.c (_IO_cookie_init): Likewise.
60018         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
60019         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
60020         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
60021         Likewise.
60023 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
60025         [BZ #11979]
60026         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
60027         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
60029 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
60031         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
60032         * sysdeps/x86_64/addmul_1.S: Likewise.
60033         * sysdeps/x86_64/lshift.S: Likewise.
60034         * sysdeps/x86_64/mul_1.S: Likewise.
60035         * sysdeps/x86_64/rshift.S: Likewise.
60036         * sysdeps/x86_64/sub_n.S: Likewise.
60037         * sysdeps/x86_64/submul_1.S: Likewise.
60039 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60041         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
60042         Define __sched_param instead of SCHED_* and sched_param when
60043         <bits/sched.h> is included with __need_schedparam defined.
60044         * bits/sched.h [__need_schedparam]
60045         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
60046         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
60047         (__defined_schedparam): Define to 1.
60048         (__sched_param): New structure, identical to sched_param.
60049         (__need_schedparam): Undefine.
60051 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
60053         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
60054         (epoll_create1): Declare.
60056         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
60058 2010-08-31  Andreas Schwab  <schwab@redhat.com>
60060         [BZ #7066]
60061         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
60062         shifting retval into place.
60064 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
60066         * nis/rpcsvc/nis.h: Update copyright notice.
60067         * nis/rpcsvc/nis.x: Likewise.
60068         * nis/rpcsvc/nis_callback.h: Likewise.
60069         * nis/rpcsvc/nis_callback.x: Likewise.
60070         * nis/rpcsvc/nis_object.x: Likewise.
60071         * nis/rpcsvc/nis_tags.h: Likewise.
60072         * nis/rpcsvc/yp.h: Likewise.
60073         * nis/rpcsvc/yp.x: Likewise.
60074         * nis/rpcsvc/ypupd.h: Likewise.
60075         * nis/yp_xdr.c: Likewise.
60076         * nis/ypupdate_xdr.c: Likewise.
60078         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
60079         mainly the body of pmap_getport.  Add parameters to specify timeouts.
60080         (pmap_getport): Use __libc_rpc_getport.
60081         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
60082         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
60083         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
60085 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
60087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
60088         fanotify_mark.
60090 2010-08-27  Roland McGrath  <roland@redhat.com>
60092         * sysdeps/i386/i686/multiarch/Makefile
60093         (CFLAGS-varshift.c): New variable.
60095 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
60097         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
60098         * sysdeps/i386/i686/multiarch/varshift.c: New file.
60100         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
60102         * sysdeps/x86_64/strlen.S: Minimal code improvement.
60104 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
60106         * sysdeps/x86_64/strlen.S: Unroll the loop.
60107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60108         strlen-sse2 strlen-sse2-bsf.
60109         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
60110         __strlen_no_bsf if bit_Slow_BSF is set.
60111         (__strlen_sse42): Removed.
60112         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
60113         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
60115 2010-08-25  Roland McGrath  <roland@redhat.com>
60117         * sysdeps/x86_64/multiarch/varshift.S: File removed.
60118         * sysdeps/x86_64/multiarch/varshift.c: New file.
60119         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
60120         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
60121         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
60122         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
60124 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
60126         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60127         strlen-sse2 strlen-sse2-bsf.
60128         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
60129         __strlen_sse2_bsf if bit_Slow_BSF is unset.
60130         (__strlen_sse2): Removed.
60131         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
60132         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
60133         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
60134         bit_Slow_BSF for Atom.
60135         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
60136         (index_Slow_BSF): Define.
60137         (HAS_SLOW_BSF): Define.
60139 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
60141         [BZ #10851]
60142         * resolv/res_init.c (__res_vinit): When no server address at all
60143         is given default to loopback.
60145 2010-08-24  Roland McGrath  <roland@redhat.com>
60147         * configure.in: Remove config-name.h generation.
60148         * configure: Regenerated.
60149         * config-name.in: File removed.
60150         * scripts/config-uname.sh: New file.
60151         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
60152         ($(objdir)config-name.h): New target.
60154         * sunrpc/rpc_parse.h: Avoid nested comment.
60156 2010-08-24  Richard Henderson  <rth@redhat.com>
60157             Ulrich Drepper  <drepper@redhat.com>
60158             H.J. Lu  <hongjiu.lu@intel.com>
60160         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
60161         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
60162         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
60163         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
60164         _mm_alignr_epi8 with _mm_loadu_si128.
60165         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
60166         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
60167         (__m128i_shift_right): Removed.
60168         * sysdeps/i386/i686/multiarch/varshift.h: New file.
60169         * sysdeps/i386/i686/multiarch/varshift.S: New file.
60170         * sysdeps/x86_64/multiarch/varshift.h: New file.
60171         * sysdeps/x86_64/multiarch/varshift.S: New file.
60173 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
60175         * configure.in: Move assembler checks to before sysdep dir checking.
60177 2010-08-20  Petr Baudis  <pasky@suse.cz>
60179         * LICENSES: Sync the sunrpc license.
60181 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
60183         * sunrpc/auth_des.c: Update copyright notice once again.
60184         * sunrpc/auth_none.c: Likewise.
60185         * sunrpc/auth_unix.c: Likewise.
60186         * sunrpc/authdes_prot.c: Likewise.
60187         * sunrpc/authuxprot.c: Likewise.
60188         * sunrpc/bindrsvprt.c: Likewise.
60189         * sunrpc/clnt_gen.c: Likewise.
60190         * sunrpc/clnt_perr.c: Likewise.
60191         * sunrpc/clnt_raw.c: Likewise.
60192         * sunrpc/clnt_simp.c: Likewise.
60193         * sunrpc/clnt_tcp.c: Likewise.
60194         * sunrpc/clnt_udp.c: Likewise.
60195         * sunrpc/clnt_unix.c: Likewise.
60196         * sunrpc/des_crypt.c: Likewise.
60197         * sunrpc/des_soft.c: Likewise.
60198         * sunrpc/get_myaddr.c: Likewise.
60199         * sunrpc/getrpcport.c: Likewise.
60200         * sunrpc/key_call.c: Likewise.
60201         * sunrpc/key_prot.c: Likewise.
60202         * sunrpc/openchild.c: Likewise.
60203         * sunrpc/pm_getmaps.c: Likewise.
60204         * sunrpc/pm_getport.c: Likewise.
60205         * sunrpc/pmap_clnt.c: Likewise.
60206         * sunrpc/pmap_prot.c: Likewise.
60207         * sunrpc/pmap_prot2.c: Likewise.
60208         * sunrpc/pmap_rmt.c: Likewise.
60209         * sunrpc/rpc/auth.h: Likewise.
60210         * sunrpc/rpc/auth_unix.h: Likewise.
60211         * sunrpc/rpc/clnt.h: Likewise.
60212         * sunrpc/rpc/des_crypt.h: Likewise.
60213         * sunrpc/rpc/key_prot.h: Likewise.
60214         * sunrpc/rpc/netdb.h: Likewise.
60215         * sunrpc/rpc/pmap_clnt.h: Likewise.
60216         * sunrpc/rpc/pmap_prot.h: Likewise.
60217         * sunrpc/rpc/pmap_rmt.h: Likewise.
60218         * sunrpc/rpc/rpc.h: Likewise.
60219         * sunrpc/rpc/rpc_des.h: Likewise.
60220         * sunrpc/rpc/rpc_msg.h: Likewise.
60221         * sunrpc/rpc/svc.h: Likewise.
60222         * sunrpc/rpc/svc_auth.h: Likewise.
60223         * sunrpc/rpc/types.h: Likewise.
60224         * sunrpc/rpc/xdr.h: Likewise.
60225         * sunrpc/rpc_clntout.c: Likewise.
60226         * sunrpc/rpc_cmsg.c: Likewise.
60227         * sunrpc/rpc_common.c: Likewise.
60228         * sunrpc/rpc_cout.c: Likewise.
60229         * sunrpc/rpc_dtable.c: Likewise.
60230         * sunrpc/rpc_hout.c: Likewise.
60231         * sunrpc/rpc_main.c: Likewise.
60232         * sunrpc/rpc_parse.c: Likewise.
60233         * sunrpc/rpc_parse.h: Likewise.
60234         * sunrpc/rpc_prot.c: Likewise.
60235         * sunrpc/rpc_sample.c: Likewise.
60236         * sunrpc/rpc_scan.c: Likewise.
60237         * sunrpc/rpc_scan.h: Likewise.
60238         * sunrpc/rpc_svcout.c: Likewise.
60239         * sunrpc/rpc_tblout.c: Likewise.
60240         * sunrpc/rpc_util.c: Likewise.
60241         * sunrpc/rpc_util.h: Likewise.
60242         * sunrpc/rpcinfo.c: Likewise.
60243         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
60244         * sunrpc/rpcsvc/key_prot.x: Likewise.
60245         * sunrpc/rpcsvc/klm_prot.x: Likewise.
60246         * sunrpc/rpcsvc/mount.x: Likewise.
60247         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
60248         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
60249         * sunrpc/rpcsvc/rex.x: Likewise.
60250         * sunrpc/rpcsvc/rstat.x: Likewise.
60251         * sunrpc/rpcsvc/rusers.x: Likewise.
60252         * sunrpc/rpcsvc/sm_inter.x: Likewise.
60253         * sunrpc/rpcsvc/spray.x: Likewise.
60254         * sunrpc/rpcsvc/yppasswd.x: Likewise.
60255         * sunrpc/rtime.c: Likewise.
60256         * sunrpc/svc.c: Likewise.
60257         * sunrpc/svc_auth.c: Likewise.
60258         * sunrpc/svc_authux.c: Likewise.
60259         * sunrpc/svc_raw.c: Likewise.
60260         * sunrpc/svc_run.c: Likewise.
60261         * sunrpc/svc_simple.c: Likewise.
60262         * sunrpc/svc_tcp.c: Likewise.
60263         * sunrpc/svc_udp.c: Likewise.
60264         * sunrpc/svc_unix.c: Likewise.
60265         * sunrpc/svcauth_des.c: Likewise.
60266         * sunrpc/xcrypt.c: Likewise.
60267         * sunrpc/xdr.c: Likewise.
60268         * sunrpc/xdr_array.c: Likewise.
60269         * sunrpc/xdr_float.c: Likewise.
60270         * sunrpc/xdr_mem.c: Likewise.
60271         * sunrpc/xdr_rec.c: Likewise.
60272         * sunrpc/xdr_ref.c: Likewise.
60273         * sunrpc/xdr_sizeof.c: Likewise.
60274         * sunrpc/xdr_stdio.c: Likewise.
60276         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
60277         handling.
60279 2010-08-19  Andreas Schwab  <schwab@redhat.com>
60281         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
60283 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
60285         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
60286         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
60287         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
60288         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
60289         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
60290         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
60291         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
60292         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
60293         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
60294         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
60295         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
60296         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
60297         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
60298         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
60300 2010-07-26  Anton Blanchard  <anton@samba.org>
60302         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
60303         * malloc/arena.c (heap_trim): Likewise.
60305 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
60307         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
60308         here.  Not...
60309         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
60310         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
60312 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
60314         * sysdeps/i386/elf/Makefile: New file.
60316 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60318         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
60319         from fanotify_init.
60320         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
60321         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60323 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
60325         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
60326         of strncasecmp_l.
60327         * sysdeps/multiarch/strcmp.S: Likewise.
60329 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
60331         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60332         strncase_l-nonascii.
60333         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60334         Add strncase_l-ssse3.
60335         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
60336         * sysdeps/x86_64/strcmp.S: Likewise.
60337         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
60338         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
60339         * sysdeps/x86_64/strncase.S: New file.
60340         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
60341         * sysdeps/x86_64/strncase_l.S: New file.
60342         * string/Makefile (strop-tests): Add strncasecmp.
60343         * string/test-strncasecmp.c: New file.
60345         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
60346         warning.
60348         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
60349         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
60351 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
60353         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
60355 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
60357         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
60358         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
60359         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
60361 2010-05-01  Alan Modra  <amodra@gmail.com>
60363         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
60364         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
60365         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
60366         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
60367         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
60368         tidying.  Don't tail-call __sigjmp_save for static lib.
60369         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
60370         save location.
60371         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
60372         (CALL_MCOUNT): Add eh info, and nop after bl.
60373         (TAIL_CALL_SYSCALL_ERROR): New macro.
60374         (PSEUDO_RET): Use it.
60375         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
60376         Correct save location of integer regs and cr.
60377         (_dl_profile_resolve): Correct cr save location.  Delete nops
60378         after bl when SHARED.  Reduce cfi size a little by better
60379         placement of cfi directives.
60380         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
60381         make a stack frame.  Instead use parm save area as a temp.
60382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
60383         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
60384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
60385         Don't make a stack frame for parent, use parm save area.
60386         Increase child stack frame to 112 bytes.  Don't save unused reg,
60387         and adjust reg usage.  Set up cfi on error recovery and
60388         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
60389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60390         (__makecontext): Add dummy nop after jump to exit.
60391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
60392         Use correct parm save area and cr save, reduce stack frame.
60393         Correct cfi for possible PSEUDO_RET frame setup.
60394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
60395         Branch to local label emitted by PSEUDO_RET rather than
60396         __syscall_error.
60398 2010-08-12  Andreas Schwab  <schwab@redhat.com>
60400         [BZ #11904]
60401         * locale/programs/locale.c (print_assignment): New function.
60402         (show_locale_vars): Use it.
60404 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
60406         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
60407         field.
60408         (struct statfs64): Likewise.
60409         (_STATFS_F_FLAGS): Define.
60410         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
60411         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
60412         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
60413         (ST_VALID): Define locally.
60414         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
60415         __statvfs_getflags, use the provided value.
60416         * sysdeps/unix/sysv/linux/kernel-features.h: Define
60417         __ASSUME_STATFS_F_FLAGS.
60419         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
60421         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
60422         Add sys/fanotify.h.
60423         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
60424         fanotify_mask for GLIBC_2.13.
60425         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
60426         fanotify_init and fanotify_mark.
60427         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
60428         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
60430         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
60431         Add prlimit.
60432         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
60433         prlimit64 for GLIBC_2.13.
60434         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
60435         prlimit64.
60436         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
60437         syscall.
60438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
60439         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
60440         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
60441         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
60442         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
60443         add prlimit alias.
60444         * sysdeps/unix/sysv/linux/prlimit.c: New file.
60446         [BZ #11903]
60447         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
60448         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
60450         * nss/Makefile: Add rules to build and run tst-nss-test1.
60451         * shlib-versions: Add entry for libnss_test1.
60452         * nss/nss_test1.c: New file.
60453         * nss/tst-nss-test1.c: New file.
60455         * nss/nsswitch.c (__nss_database_custom): Define new variable.
60456         (__nss_configure_lookup): Set appropriate entry in
60457         __nss_configure_lookup to true.
60458         * nss/nsswitch.h: Define enum with indeces of databases in
60459         databases and __nss_database_custom arrays.  Declare
60460         __nss_database_custom.
60461         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
60462         to avoid using nscd when custom rules are installed.
60463         * nss/getXXbyYY_r.c: Likewise.
60464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60466         * nss/nss_files/files-parse.c: Whitespace fixes.
60468 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
60470         [BZ #11883]
60471         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
60472         * posix/fnmatch_loop.c: Likewise.
60474 2010-07-17  Andi Kleen  <ak@linux.intel.com>
60476         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
60477         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
60478         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
60479         * Versions.def [GLIBC_2.13]: Add.
60481 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
60483         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60484         Also fail if tpwd after pwuid call is NULL.
60486 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60488         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
60489         when converting to ms.
60491 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60493         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
60494         EOPNOTSUPP errors with ENOTTY.
60495         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
60496         EOPNOTSUPP errors with ENOTTY.
60498 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
60500         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
60501         Add strcasecmp_l-ssse3.
60502         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
60503         strcasecmp.
60504         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
60505         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
60506         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
60508 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
60510         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
60512         * string/Makefile (strop-tests): Add strcasecmp.
60513         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
60514         strcasecmp_l-nonascii.
60515         (gen-as-const-headers): Add locale-defines.sym.
60516         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
60517         * sysdeps/x86_64/strcasecmp.S: New file.
60518         * sysdeps/x86_64/strcasecmp_l.S: New file.
60519         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
60520         * sysdeps/x86_64/locale-defines.sym: New file.
60521         * string/test-strcasecmp.c: New file.
60523         * string/test-strcasestr.c: Test both ends of the range of characters.
60524         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
60526 2010-07-29  Roland McGrath  <roland@redhat.com>
60528         [BZ #11856]
60529         * manual/locale.texi (Yes-or-No Questions): Fix example code.
60531 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
60533         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
60534         for ld.so.
60536 2010-07-27  Andreas Schwab  <schwab@redhat.com>
60538         * manual/memory.texi (Malloc Tunable Parameters): Document
60539         M_PERTURB.
60541 2010-07-26  Roland McGrath  <roland@redhat.com>
60543         [BZ #11840]
60544         * configure.in (-fgnu89-inline check): Set and substitute
60545         gnu89_inline, not libc_cv_gnu89_inline.
60546         * configure: Regenerated.
60547         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
60549 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
60551         * string/test-strnlen.c: New file.
60552         * string/Makefile (strop-tests): Add strnlen.
60553         * string/tester.c (test_strnlen): Add a few more test cases.
60554         * string/tst-strlen.c: Better error reporting.
60556         * sysdeps/x86_64/strnlen.S: New file.
60558 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
60560         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
60561         lower-latency instructions.
60563 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
60565         * string/test-strcasestr.c: New file.
60566         * string/test-strstr.c: New file.
60567         * string/Makefile (strop-tests): Add strstr and strcasestr.
60568         * string/str-two-way.h: Don't undefine MAX.
60569         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
60571 2010-07-21  Andreas Schwab  <schwab@redhat.com>
60573         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
60574         strcasestr-nonascii.
60575         (CFLAGS-strcasestr-nonascii.c): Define.
60576         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
60577         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
60578         Remove unused attribute.
60580 2010-07-20  Roland McGrath  <roland@redhat.com>
60582         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
60583         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
60584         ld.so.cache was broken.  With it, there is no way to disable dsocaps
60585         like LD_HWCAP_MASK can disable hwcaps.
60587 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60589         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
60591 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
60593         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
60594         call in strcasestr.
60595         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
60596         __strcasestr_sse42_nonascii.
60597         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
60598         strcasestr-nonascii.c.
60599         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
60601 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
60603         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
60604         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
60605         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
60606         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
60608 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
60610         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
60611         fcntl.
60613 2010-07-06  Andreas Schwab  <schwab@redhat.com>
60615         [BZ #11577]
60616         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
60617         dl_signal_cerror.
60619 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
60621         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
60622         _PC_PIPE_BUF using F_GETPIPE_SZ.
60624 2010-07-05  Roland McGrath  <roland@redhat.com>
60626         * manual/arith.texi (Rounding Functions): Fix rint description
60627         implicit in round description.
60629 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
60631         * elf/Makefile: Fix linking for a few tests to make recent linker
60632         happy.
60634 2010-06-30  Andreas Schwab  <schwab@redhat.com>
60636         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
60637         $(common-objpfx)libc_nonshared.a.
60639 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
60641         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
60642         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
60643         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60644         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60645         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
60646         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
60647         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60648         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
60650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
60651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
60652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
60653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
60654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
60655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
60656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
60657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
60658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
60659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
60660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
60661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
60662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
60663         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
60664         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
60665         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
60666         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
60667         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
60668         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
60669         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
60670         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
60671         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
60672         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
60673         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
60674         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
60675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
60676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
60677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
60678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
60679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
60680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
60681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
60682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
60683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
60684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
60685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
60686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
60687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
60688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
60690 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
60692         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
60693         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
60694         * string/memmove.c (memmove): Renamed to ...
60695         (MEMMOVE): ...this.  Default to memmove.
60696         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
60697         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
60698         (END_CHK): Define.
60699         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
60700         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
60701         mempcpy-ssse3-back memmove-ssse3-back.
60702         * sysdeps/x86_64/multiarch/bcopy.S: New file .
60703         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
60704         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
60705         * sysdeps/x86_64/multiarch/memcpy.S: New file.
60706         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
60707         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
60708         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
60709         * sysdeps/x86_64/multiarch/memmove.c: New file.
60710         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
60711         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
60712         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
60713         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
60714         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
60715         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
60716         Define.
60717         (index_Fast_Copy_Backward): Define.
60718         (HAS_ARCH_FEATURE): Define.
60719         (HAS_FAST_REP_STRING): Define.
60720         (HAS_FAST_COPY_BACKWARD): Define.
60722 2010-06-21  Andreas Schwab  <schwab@redhat.com>
60724         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
60725         Restore proper fallback handling.
60727 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
60729         [BZ #11701]
60730         * posix/group_member.c (__group_member): Correct checking loop.
60732         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
60733         OOM in getpwuid_r correctly.  Return error number when the caller
60734         should return, otherwise -1.
60735         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
60736         call returning > 0 value.
60737         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
60739 2010-06-07  Andreas Schwab  <schwab@redhat.com>
60741         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
60742         libc_nonshared.a from targets in modules-names.
60744 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
60746         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
60747         requires it.
60749 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
60751         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
60752         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
60753         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
60754         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
60756 2010-06-02  Andreas Schwab  <schwab@redhat.com>
60758         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
60760 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
60762         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
60763         and F_GETPIPE_SZ.
60764         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
60765         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
60766         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
60767         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60768         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
60769         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
60771 2010-06-14  Roland McGrath  <roland@redhat.com>
60773         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
60775 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
60777         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
60778         __REDIRECT followed by __THROW.
60779         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
60780         * posix/getopt.h (getopt): Likewise.
60782 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
60784         * hurd/lookup-at.c (__file_name_lookup_at): Accept
60785         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
60786         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
60787         in AT_FLAGS.
60788         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
60789         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
60791 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
60793         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
60795 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
60797         [BZ #11640]
60798         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
60799         Properly check family and model.
60801 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
60803         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
60805 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
60807         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
60809 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
60811         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
60812         symbol reference.
60814 2010-05-19  Andreas Schwab  <schwab@redhat.com>
60816         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
60817         symbol reference.
60819 2010-05-21  Andreas Schwab  <schwab@redhat.com>
60821         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
60822         and internal_recvmmsg.
60823         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
60824         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
60825         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
60826         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
60828         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
60829         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
60830         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
60832 2010-05-20  Andreas Schwab  <schwab@redhat.com>
60834         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
60836 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
60838         POWER7 optimizations.
60839         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
60840         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
60842 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
60844         * version.h: Update for 2.13 development version.
60846 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
60848         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
60849         exceptions.  Return 0.
60851 2010-05-07  Roland McGrath  <roland@redhat.com>
60853         * elf/ldconfig.c (main): Add a const.
60855 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
60857         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
60858         (args_options): Add no-idn option.
60859         (ahosts_keys_int): Add idn_flags to ai_flags.
60860         (parse_option): Handle 'i' option to clear idn_flags.
60862         * malloc/malloc.c (_int_free): Possible race in the most recently
60863         added check.  Only act on the data if no current modification
60864         happened.
60866 See ChangeLog.17 for earlier changes.